25.02.2012, 13:41
(
Последний раз редактировалось PawnoQ; 25.02.2012 в 14:19.
)
hi,
i want that certain skin is only for admins and not for normal players.
But some players still can choose the admin skin. (in class selection)
Why?
Note: they cant use admin commands only they can choose an admin skin SOMETIMES.
+rep for help
i want that certain skin is only for admins and not for normal players.
But some players still can choose the admin skin. (in class selection)
Why?
Note: they cant use admin commands only they can choose an admin skin SOMETIMES.
pawn Код:
//OnPlayerRequestSpawn
switch(GetPlayerSkin(playerid))
{
case 84:
{
if(player[playerid][admin] == 0)
{
SendClientMessage(playerid,0xE100E1FF,"Only admins!");
return 0;
}
}
//further skins/cases...
}