i want to use this command only for admin....
#9

Quote:
Originally Posted by wups
Посмотреть сообщение
Actualy
pawn Код:
if(!IsPlayerAdmin(playerid)) continue;




Actually it works that way too!
Also, for the area, you can search for IsPlayerInArea in here, or just use IsPlayerInRangeOfPoint
pawn Код:
if ( IsPlayerInRangeOfPoint( playerid, Float:range, Float:x, Float:y, Float:z ) )
{
    SendClientMessage( playerid, 0xAAAAAA, "YAY! You are in range!" );
}
else
{
    SendClientMessage( playerid, 0xAAAAAA, "You are not in range!" );
}
Example usage^^
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)