Car wrap help
#1

Removed
Reply
#2

Help me out please.
Reply
#3

pawn Код:
if(newstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_DRIVER)
This?
Reply
#4

Removed, thanks for the help!
Reply
#5

This if:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
Should be:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_DRIVER)
Reply
#6

Not working
Reply
#7

pawn Код:
if(newstate & PLAYER_STATE_DRIVER || oldstate & PLAYER_STATE_DRIVER)
EDIT: Check the how NOT to check a key: https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)