I seem to fail again O_o
#6

Take it rather easy, you've got:

pawn Код:
if(pInfo[playerid][Team] != TEAM_COPS || pInfo[playerid][Team] != TEAM_MEDICS)
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.


pawn Код:
if(pInfo[playerid][Team] != TEAM_COPS && pInfo[playerid][Team] != TEAM_MEDICS)
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:
Reply


Messages In This Thread
I seem to fail again O_o - by [XST]O_x - 12.07.2010, 18:16
Re: I seem to fail again O_o - by oliverrud - 12.07.2010, 18:18
Re: I seem to fail again O_o - by MikkelGutten - 12.07.2010, 18:19
Re: I seem to fail again O_o - by [XST]O_x - 12.07.2010, 18:26
Re: I seem to fail again O_o - by DJDhan - 12.07.2010, 18:34
Re: I seem to fail again O_o - by Hiddos - 12.07.2010, 18:43
Re: I seem to fail again O_o - by [XST]O_x - 12.07.2010, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)