Quote:
Originally Posted by [ABK]Antonio
pawn Код:
CMD:car(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, Float:range, Float:x, Float:y, Float:z)) return 0; //means the command stops here (gives UNKNOWN COMMAND) }
The range would be how close to those coords do you want to check. So, everyone inside of the range you specify won't be able to spawn a car.
|
Where in my script do I place this code? and i'm using regular /command. like for esxample: /teleports