Macro 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Macro help (
/showthread.php?tid=152087)
Macro help -
misko28 - 02.06.2010
Help me out, i get errors
Код:
#define HighPVarInt(%0, %1, %2) SetPVarInt(%0, %1, GetPVarInt(%0, %1) + %2)
Код:
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : error 029: invalid expression, assumed zero
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : warning 215: expression has no effect
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : error 029: invalid expression, assumed zero
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : warning 215: expression has no effect
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : error 001: expected token: ";", but found ")"
C:\Users\korisnik\Documents\samp2\gamemodes\Untitled.pwn(915) : fatal error 107: too many error messages on one line
Re: Macro help -
Flashy - 02.06.2010
Post your errors please.
[EDIT your post pls]
Re: Macro help -
MadeMan - 02.06.2010
No spaces between parameters
pawn Код:
#define HighPVarInt(%0,%1,%2) SetPVarInt(%0, %1, GetPVarInt(%0, %1) + %2)
Re: Macro help -
misko28 - 02.06.2010
Thanks alot!!!