19.11.2009, 23:48
this code i copy pasted from wiki
now why i get this error at "if(a == 5)"
?
please help
Код:
new
a = 5;
if(a == 5)
print("a is 5");
?Код:
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(3) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(6) : error 054: unmatched closing brace ("}")
C:\Programas\Rockstar Games\server administration 0.3a R2\pawno\include\a_samp.inc(53) : error 025: function heading differs from prototype
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(32) : warning 202: number of arguments does not match definition
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(33) : warning 202: number of arguments does not match definition
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(34) : warning 202: number of arguments does not match definition
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(239) : warning 203: symbol is never used: "a"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.

