Macro help
#1

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
Reply
#2

Post your errors please.

[EDIT your post pls]
Reply
#3

No spaces between parameters

pawn Код:
#define HighPVarInt(%0,%1,%2) SetPVarInt(%0, %1, GetPVarInt(%0, %1) + %2)
Reply
#4

Thanks alot!!!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)