SA-MP Forums Archive
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=466388)



OnPlayerKeyStateChange - Blackazur - 27.09.2013

~fixed~


Re: OnPlayerKeyStateChange - Konstantinos - 27.09.2013

pawn Код:
if(!weaponid == 9)
Do you want to check if the player's weapon is the weaponid 9? If so, change to:
pawn Код:
if( GetPlayerWeapon( playerid ) == 9 )