Skip to content

Commit

Permalink
Correct cs_type decls for ClearArea* natives
Browse files Browse the repository at this point in the history
Correct cs_type declarations for ClearArea* natives to preserve
compatibility with C# scripts.
  • Loading branch information
4mmonium committed Sep 27, 2022
1 parent feac180 commit af95f7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MISC/ClearAreaOfCops.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: MISC

```c
// 0x04F8FC8FCF58F88D 0x95C53824
void CLEAR_AREA_OF_COPS(float x, float y, float z, float radius, bool createNetEvent);
void CLEAR_AREA_OF_COPS(float x, float y, float z, float radius, cs_type(int) BOOL createNetEvent);
```
Clears an area of cops at the given coordinates and radius.
Expand Down
2 changes: 1 addition & 1 deletion MISC/ClearAreaOfPeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: MISC

```c
// 0xBE31FD6CE464AC59 0x25BE7FA8
void CLEAR_AREA_OF_PEDS(float x, float y, float z, float radius, bool createNetEvent);
void CLEAR_AREA_OF_PEDS(float x, float y, float z, float radius, cs_type(int) BOOL createNetEvent);
```
Clears an area of peds at the given coordinates and radius.
Expand Down
2 changes: 1 addition & 1 deletion MISC/ClearAreaOfProjectiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: MISC

```c
// 0x0A1CB9094635D1A6 0x18DB5434
void CLEAR_AREA_OF_PROJECTILES(float x, float y, float z, float radius, bool createNetEvent);
void CLEAR_AREA_OF_PROJECTILES(float x, float y, float z, float radius, BOOL createNetEvent);
```
Clears an area of projectiles at the given coordinates and radius.
Expand Down

0 comments on commit af95f7d

Please sign in to comment.