SA-MP Forums Archive
[HELP!]error 017: undefined symbol "PRESSED" - 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: [HELP!]error 017: undefined symbol "PRESSED" (/showthread.php?tid=395199)



[HELP!]error 017: undefined symbol "PRESSED" - Veeco - 25.11.2012

Error Code :
Quote:

C:\Users\********\Desktop\Door.pwn(15) : error 017: undefined symbol "PRESSED"
C:\Users\********\Desktop\Door.pwn(22) : error 017: undefined symbol "PRESSED"
C:\Users/********\Desktop\Door.pwn(30) : error 030: compound statement not closed at the end of file (started at line 17)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

The Errors Is On Line 22 And 30.

Here Is The Code :
http://pastebin.com/sBLaXPfN

Can someone help me?
Have newest pawno and includes
And newest sscanf and streamer.


Re: [HELP!]error 017: undefined symbol "PRESSED" - Djole1337 - 25.11.2012

pawn Код:
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange


Re: [HELP!]error 017: undefined symbol "PRESSED" - Veeco - 25.11.2012

Thanks That was fast :P