10.07.2012, 18:02
No. Maybe I'm not using the best method, as you stated, but I'm not incorrect.
Translation: IF gTeam does not equal 1 AND it does not equal 2 AND it does not equal 3, then remove from the vehicle.
The problem with the code is, IF they are one of those gTeam's, they won't recieve a message because it only sends a message if they're gTeam is 1 in the else if. The best option would be to change else if to just else.
pawn Код:
if(gTeam[playerid] != 1 && gTeam[playerid] != 2 && gTeam[playerid] != 3)
The problem with the code is, IF they are one of those gTeam's, they won't recieve a message because it only sends a message if they're gTeam is 1 in the else if. The best option would be to change else if to just else.