Error by a check at OnPlayerStateChange [SOLVED]
#1

I need to check if players last state is on foot and old state was NOT as passenger,
but im getting this error:

Код:
warning 213: tag mismatch
my code:

pawn Код:
if(newstate == PLAYER_STATE_ONFOOT && !oldstate == PLAYER_STATE_PASSENGER)
What could be wrong there?

EDIT: Nevermind, solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)