OnPlayerKeyStateChange - 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: OnPlayerKeyStateChange (
/showthread.php?tid=402045)
OnPlayerKeyStateChange -
Scott Zulkifli - 25.12.2012
pawn Код:
if(PRESSED(KEY_SUBMISSION) && UnlimitedNos[playerid] == 1 || PRESSED(KEY_FIRE) && UnlimitedNos[playerid] == 1)
how to be more simple?
Re: OnPlayerKeyStateChange - Riddy - 25.12.2012
pawn Код:
if(PRESSED(KEY_SUBMISSION || KEY_FIRE) && UnlimitedNos[playerid] == 1)
Re: OnPlayerKeyStateChange -
Scott Zulkifli - 25.12.2012
Quote:
warning 213: tag mismatch
|
....
Re: OnPlayerKeyStateChange -
Lordzy - 25.12.2012
pawn Код:
if(PRESSED(KEY_SUBMISSION) || PRESSED(KEY_FIRE) && UnlimitedNos[playerid] == 1)
This might.
Re: OnPlayerKeyStateChange -
Scott Zulkifli - 25.12.2012
is it valid also for PRESSED(KEY_SUBMISSION)?
Re: OnPlayerKeyStateChange -
Lordzy - 25.12.2012
Care to test it?
Re: OnPlayerKeyStateChange -
Scott Zulkifli - 25.12.2012
Quote:
I'm too busy to do so albeit briefly.
|
but maybe later I will test.