Hello again in this beautiful day just.. Again have a prob with entering cars..
#6

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
EDIT: @coole210 Incorrect.
No. Maybe I'm not using the best method, as you stated, but I'm not incorrect.

pawn Код:
if(gTeam[playerid] != 1 && gTeam[playerid] != 2 && gTeam[playerid] != 3)
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)