From 7f27e5ebcb758bb689c67b0ca1dca7a767adbbfc Mon Sep 17 00:00:00 2001 From: Niek <32094562+niekschoemaker@users.noreply.github.com> Date: Wed, 30 Oct 2024 19:17:03 +0100 Subject: [PATCH] Update IsEntityAtCoord.md --- ENTITY/IsEntityAtCoord.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ENTITY/IsEntityAtCoord.md b/ENTITY/IsEntityAtCoord.md index 48b657b85..222bccc7b 100644 --- a/ENTITY/IsEntityAtCoord.md +++ b/ENTITY/IsEntityAtCoord.md @@ -5,7 +5,7 @@ ns: ENTITY ```c // 0x20B60995556D004F 0xD749B606 -BOOL IS_ENTITY_AT_COORD(Entity entity, float xPos, float yPos, float zPos, float xSize, float ySize, float zSize, BOOL p7, BOOL p8, int p9); +BOOL IS_ENTITY_AT_COORD(Entity entity, float xPos, float yPos, float zPos, float xSize, float ySize, float zSize, BOOL highlightArea, BOOL do3dCheck, int transportMode); ``` Checks if the entity is within the given square of size xSize, ySize, zSize centered around the given coordinates. @@ -30,7 +30,7 @@ So unfortunately the marker isn't that useful as it doesn't convey the correct i * **transportMode**: Checks the transport mode the ped is using, only does something if entity is a ped. Transport modes are: 0 (any), 1 (on foot), 2 (in vehicle) ## Return value -true if the entity is within the given square area +A boolean value which represents if the entity is within the given square area. ## Examples ```lua