Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!strcmp(cmdtext, "/desligar", true))
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerInRangeOfPoint(i, 100.0, x, y, z) && i != playerid)
- {
- TogglePlayerControllable(i, false);
- }
- }
- }
Add Comment
Please, Sign In to add comment