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.
SomeFunction()
{
new
a = 5; // local variable
if(a == 5)
print("a is 5");
}
new
a = 5; // global variable
SomeFunction()
{
if(a == 5)
print("a is 5");
}
|
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~ 1.PWN(6) : error 054: unmatched closing brace ("}") |
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Dai bataie", cmdtext, true, 10) == 0)
{
new
a = 5;
if(a == 5)
print("a is 5");
return 1;
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(95) : warning 217: loose indentation C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\TESTE_~1.PWN(97) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.


new
OnePlayerConnect = 5;
if(OnePlayerConnect == 5)
print("OnePlayerConnect is really 5")