08.11.2010, 16:45
Quote:
I did but i dont understan any thing, can you please make a full script of that, all i got is
pawn Код:
|
but that piece of code you have there is pretty explanatory.
pawn Код:
if(IsPlayerInRange(playerid, Rangeshithere)) // http://wiki.sa-mp.com and search for the function.
{
if(!IsPlayerAdmin(playerid)) // Is Player RCON ADMIN? kill if not..
{
SetPlayerHealth(playerid,0.0); // Kill the player..
}
}