21.06.2010, 13:53
Quote:
Originally Posted by Rat_
Hi hi
i searched alot of topics about this thing and no one works.. ![]() anyone know how i can put it? i want a private skin only for admin level 2 or superior.. |
pawn Code:
if(classid == skinid)
{
if(PlayerInfo[playerid][AdminLevel] >= 2)
{
SetPlayerSkin(playerid,skinid);
SendClientMessage(playerid, 0xFFFFFFF, "Welcome !");
return 1;
}
else
{
SendClientMessage(playerid, 0xFFFFFFF, "You are not an admin !");
}
}