14.07.2018, 18:46
Quando eu vou tentar compilar apresenta o seguinte erro:
Estou tentando adicionar skins na callback OnGameModeInit pelo seguinte cуdigo:
E quando vou compilar apresenta esse erro, me ajudem por favor.
Estou comeзando agora.
PHP код:
C:\Users\Paelem\Desktop\To tentando.pwn(38 -- 40) : error 001: expected token: ")", but found ";"
C:\Users\Paelem\Desktop\To tentando.pwn(43) : error 001: expected token: ";", but found ")"
C:\Users\Paelem\Desktop\To tentando.pwn(43) : error 029: invalid expression, assumed zero
C:\Users\Paelem\Desktop\To tentando.pwn(43 -- 44) : warning 215: expression has no effect
C:\Users\Paelem\Desktop\To tentando.pwn(44) : error 001: expected token: ";", but found "return"
C:\Users\Paelem\Desktop\To tentando.pwn(44) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
PHP код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
for (new i=0; i < 311; i++)(
AddPlayerClass(i,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
)
return 1;
}
Estou comeзando agora.