SA-MP Forums Archive
undefined symbol newkeys? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: undefined symbol newkeys? (/showthread.php?tid=94672)



undefined symbol newkeys? - aspire5630 - 31.08.2009

Hello,
i have this error
Код:
undefined symbol newkeys?
on this line.
Код:
if (newkeys == KEY_ACTION){
Heres my full OnPlayerChangeKeyState

http://pastebin.com/m37e223bf


Re: undefined symbol newkeys? - Weirdosport - 31.08.2009

You made a callback fail:

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

Presumably you had other errors about the prototype ect ect...


Re: undefined symbol newkeys? - aspire5630 - 31.08.2009

Quote:
Originally Posted by Weirdosport
You made a callback fail:

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

Presumably you had other errors about the prototype ect ect...
No, just the one error
Код:
undefined symbol newkeys?



Re: undefined symbol newkeys? - Correlli - 31.08.2009

Your key-code is at OnPlayerStateChange callback, put it at OnPlayerKeyStateChange callback.


Re: undefined symbol newkeys? - aspire5630 - 31.08.2009

Quote:
Originally Posted by Don Correlli
Your key-code is at OnPlayerStateChange callback, put it at OnPlayerKeyStateChange callback.
Ahh shit yeah, lol thanks