08.08.2014, 14:36
How can i make admin team, that only admin can choose that team?? oh if regular player chooses this team it says "You need to be administrator to choose this team" or w/e
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be administrator to choose this team.");
new skin = GetPlayerSkin(playerid);
if(skin = (Your skin ID)
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, -1, "This is a admin team");
}
else
{
SpawnPlayer(playerid);
}
return 1;
}
[pawn]new skin = GetPlayerSkin(playerid);
if(skin = (Your skin ID) { if(PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, -1, "This is a admin team"); } else { SpawnPlayer(playerid); } return 1; } I believe this is how you do it ![]() ![]() |