02.06.2009, 18:07
hi how to make a admin only command?
if(IsPlayerAdmin(playerid) == 1))
{
//code here
}
if(IsPlayerAdmin(playerid) == 1))
{
//do something here
return 1;
}else{
SendClientMessage(playerid, COLOR_RED, "You are not an admin");
return 0;
}
return 1;
}
Originally Posted by ·٠•●°Alive°●•٠·
pawn Код:
|
if(IsPlayerAdmin(playerid) == 1))
if(IsPlayerAdmin(playerid) == 5))
== 1))
== 0))
new pAdminLevel[MAX_PLAYERS];