Failing to Call Functions? [help]
-
I'm trying to call these functions, the text display works but the peds or cars don't get removed? anyone know why?
here is the Source Code.
Many Thanks.
-
The first 3 parameters of CLEAR_AREA_OF_PEDS and CLEAR_AREA_OF_VEHICLES are coordinates. You had the coordinates set to "0, 0, 0", so the only time the code would work is when you are nearby those coordinates.
To fix this, set the coordinates to your player's coordinates, like this.