toribio

toribio

Feb 6th, 2010
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. if(!strcmp(cmdtext, "/desligar", true))
  2.  
  3.     new Float:x, Float:y, Float:z;
  4.     GetPlayerPos(playerid, x, y, z);
  5.     for(new i; i < MAX_PLAYERS; i++)
  6.     {
  7.         if(IsPlayerInRangeOfPoint(i, 100.0, x, y, z) && i != playerid)
  8.         {
  9.             TogglePlayerControllable(i, false);
  10.         }
  11.     }
  12. }
Add Comment
Please, Sign In to add comment