#1

I want to check players skin if not id 240

pawn Код:
if(!Player[playerid][pChar] == 240)
{
        SetPlayer(playerid, 0);
}

pawn Код:
warning 213: tag mismatch
Reply
#2

pawn Код:
if(GetPlayerSkin != 240)
{
       SetPlayer(playerid,0);
}
Reply
#3

not sure if !... works, never actually tried but "if not" is actuall != instead of ==
Reply
#4

You're using a separate variable pChar, so you should use it like this:
pawn Код:
if(Player[playerid][pChar] != 240)
{
        SetPlayer(playerid, 0);
}
Reply
#5

Worked Thank you, Biker That easy but i forgot :P rep'ed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)