how to check if player has skin
#1

i want to check if player has skin
like this
Код:
 if(!IsPlayerAdmin(playerid)) return SCM(playerid, -1,"{FF0000}You must be rcon admin.");
but than with skins

Id's
165, 166, 280, 281, 282, 283, 288, ,284, 285, 286, 287, 163, 164

is this possible please tell me how of show me an example
Reply
#2

pawn Код:
if(GetPlayerSkin(playerid) == skinhere) return etc etc...
Reply
#3

pawn Код:
switch (GetPlayerSkin(playerid))
{
    case 165, 166, 280..283, 288, 284..287, 163, 164:
    {
        if (!IsPlayerAdmin(playerid))
        // do what you want
    }    
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)