19.07.2010, 10:31
I would suggest you to take a closer look on this function.
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
It's IsPlayerInRangeOfPoint(playerid, range, x,y,z))
This one to destroy objects.
https://sampwiki.blast.hk/wiki/DestroyObject
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
It's IsPlayerInRangeOfPoint(playerid, range, x,y,z))
This one to destroy objects.
https://sampwiki.blast.hk/wiki/DestroyObject