01.11.2011, 13:34
Like I want to do this (in my words):
if player team is different from DRIVER or PILOT send a message.
But if he's a DRIVER and a not a PILOT or vice versa it still sends it,
I can't understand the difference between && and ||. They always confuse me
if player team is different from DRIVER or PILOT send a message.
But if he's a DRIVER and a not a PILOT or vice versa it still sends it,
I can't understand the difference between && and ||. They always confuse me
pawn Код:
if(team[playerid] != DRIVER || team[playerid] != PILOT) return SendClientMessage(playerid,Red,"ERROR: "lgrey"You aren't a "lyellow"driver/pilot"lgrey"!");