17.08.2014, 18:32
This:
|| means that there is an or statement in the script, so the seconds newstate must be removed.
pawn Код:
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
pawn Код:
if((newstate == PLAYER_STATE_DRIVER || PLAYER_STATE_PASSENGER) && !(oldstate == PLAYER_STATE_DRIVER || PLAYER_STATE_PASSENGER))
