12.07.2010, 18:43
Take it rather easy, you've got:
Checks if he isn't a cop OR isn't a medic, so if he'd be a medic but not a cop I'd trigger, and the other way around.
Checks if he isn't a medic AND isn't a cop.
Edit to Dhan: Second thing you posted will probably fail ^^. You're first checking if he's a medic/cop and after that checking his vehicle model D:
pawn Код:
if(pInfo[playerid][Team] != TEAM_COPS || pInfo[playerid][Team] != TEAM_MEDICS)
pawn Код:
if(pInfo[playerid][Team] != TEAM_COPS && pInfo[playerid][Team] != TEAM_MEDICS)
Edit to Dhan: Second thing you posted will probably fail ^^. You're first checking if he's a medic/cop and after that checking his vehicle model D: