17.08.2009, 15:21
Why doesn't this work?
I followed https://sampwiki.blast.hk/wiki/AdminSkins and added in PlayerInfo[playerid][pAdminLevel] >= 1.
I'm level 5 admin and it doesn't let mee choose it.
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(pClass[playerid] == yanzl && (PlayerInfo[playerid][pAdminLevel] >= 1 || IsPlayerAdmin(playerid)))
{
SendClientMessage(playerid,COLOR_RED,"This skin only for admins!");
return 0;
}
return 1;
}
I'm level 5 admin and it doesn't let mee choose it.