26.12.2011, 22:00
Код:
forward radargun(playerid); public radargun(playerid) { new Float:Pos[3]; GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerInRangeOfPoint(i,Pos[0],Pos[1],Pos[2],60.0) && GetPlayerSpeed(playerid) <= 120) { SetPlayerWantedLevel(i,(GetPlayerWantedLevel(i)+1)); } } return 1; }