Car wrap help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Car wrap help (
/showthread.php?tid=421791)
Car wrap help -
Fernado Samuel - 10.03.2013
Removed
Re: Car wrap help -
Fernado Samuel - 11.03.2013
Help me out please.
Re: Car wrap help -
B-Matt - 11.03.2013
pawn Код:
if(newstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_DRIVER)
This?
Re: Car wrap help -
Fernado Samuel - 11.03.2013
Removed, thanks for the help!
Re: Car wrap help -
B-Matt - 11.03.2013
This if:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
Should be:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_DRIVER)
Re: Car wrap help -
Fernado Samuel - 12.03.2013
Not working
Re: Car wrap help -
Denying - 12.03.2013
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