Player does not get kicked out of a vehicle
#8

The OR operator does not work like that, both expressions require an operand.

pawn Код:
new skinid = GetPlayerSkin(playerid);

if( skin != 0 || skin != 1 )
{
    //if the players skinid is NOT 0 or 1 this will be executed
}
else
{
    //if the players skinid IS 0 or 1 this will be executed
}
Reply


Messages In This Thread
Player does not get kicked out of a vehicle - by 69 - 02.11.2012, 21:18
Re : Player does not get kicked out of a vehicle - by 69 - 02.11.2012, 21:42
Re: Player does not get kicked out of a vehicle - by [KHK]Khalid - 02.11.2012, 21:43
Re : Player does not get kicked out of a vehicle - by 69 - 02.11.2012, 22:05
Re : Player does not get kicked out of a vehicle - by 69 - 03.11.2012, 09:00
Re: Player does not get kicked out of a vehicle - by Emre__ - 03.11.2012, 09:35
Re : Re: Player does not get kicked out of a vehicle - by 69 - 03.11.2012, 09:43
Re: Player does not get kicked out of a vehicle - by iggy1 - 03.11.2012, 10:07

Forum Jump:


Users browsing this thread: 2 Guest(s)