Skip to content

Commit

Permalink
Update IsEntityAtCoord.md
Browse files Browse the repository at this point in the history
  • Loading branch information
niekschoemaker authored Oct 30, 2024
1 parent 9c84a5c commit 7f27e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ENTITY/IsEntityAtCoord.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 7f27e5e

Please sign in to comment.