Function gives some errors.
#1

Hi, I'm not that experienced with those defines, so here I am to request your help.

PHP код:
#define PRIVATE(%0) if(GetPlayerScore(%0) < 50) return true; 
I get the following errors:

Код:
C:\Users\User-Science\Desktop\samp03z_svr_R1_win32\gamemodes\da.pwn(32) : error 029: invalid expression, assumed zero
C:\Users\User-Science\Desktop\samp03z_svr_R1_win32\gamemodes\da.pwn(32) : warning 215: expression has no effect
C:\Users\User-Science\Desktop\samp03z_svr_R1_win32\gamemodes\da.pwn(32) : error 001: expected token: ";", but found "return"
C:\Users\User-Science\Desktop\samp03z_svr_R1_win32\gamemodes\da.pwn(32) : warning 225: unreachable code
C:\Users\User-Science\Desktop\samp03z_svr_R1_win32\gamemodes\da.pwn(32) : error 029: invalid expression, assumed zero
C:\Users\User-Science\Desktop\samp03z_svr_R1_win32\gamemodes\da.pwn(32) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

show me line 31.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)