D:\SS\gamemodes\Dten03e.pwn(2115) : error 029: invalid expression, assumed zero
D:\SS\gamemodes\Dten03e.pwn(2115) : error 029: invalid expression, assumed zero
D:\SS\gamemodes\Dten03e.pwn(2115) : error 029: invalid expression, assumed zero
D:\SS\gamemodes\Dten03e.pwn(2115) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
public OnGameModeInit()
{
MapAndreas_Init[MAP_ANDREAS_MODE_FULL]);
if(!fexist("Conce/setados.txt"))
{
new File:fhnd = fopen("Conce/setados.txt", io_append);
fclose(fhnd);
}
if(!fexist(SpawnPosFile))
{
Osh, vc abriu uma if ali, nгo fechou e nem deu return na public, percebeu ?
|
public OnGameModeInit()
{ // Aqui vc abriu a chave da public.
MapAndreas_Init[MAP_ANDREAS_MODE_FULL]);
if(!fexist("Conce/setados.txt"))
{
new File:fhnd = fopen("Conce/setados.txt", io_append);
fclose(fhnd);
}
if(!fexist(SpawnPosFile))
{
// Aqui ta faltando alguma coisa, veja no cуdigo que vc estб editando/copiando o que era, e coloque...
} // Vc esqueceu de fechar aqui у
return true;
} // Vc abriu a chave principal da public, e deve fecha-la.
}
public OnGameModeInit()
{
MapAndreas_Init[MAP_ANDREAS_MODE_FULL]);
if(!fexist("Conce/setados.txt"))
{
new File:fhnd = fopen("Conce/setados.txt", io_append);
fclose(fhnd);
}
if(!fexist(SpawnPosFile))
{
new File:fhnd = fopen(SpawnPosFile, io_append);
fclose(fhnd);
}
return true;
}
D:\SS\gamemodes\Dten03e.pwn(2115) : error 029: invalid expression, assumed zero
D:\SS\gamemodes\Dten03e.pwn(2115) : error 029: invalid expression, assumed zero
D:\SS\gamemodes\Dten03e.pwn(2115) : error 029: invalid expression, assumed zero
D:\SS\gamemodes\Dten03e.pwn(2115) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
MapAndreas_Init[MAP_ANDREAS_MODE_FULL]);
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
Falta de atenзгo
Troque a linha MapAndreas_Init[MAP_ANDREAS_MODE_FULL]); por йssa pawn Код:
|
D:\SS\gamemodes\Dten03e.pwn(2115) : error 029: invalid expression, assumed zero
D:\SS\gamemodes\Dten03e.pwn(2115) : error 001: expected token: ")", but found ";"
D:\SS\gamemodes\Dten03e.pwn(2115 -- 2117) : warning 215: expression has no effect
D:\SS\gamemodes\Dten03e.pwn(2117) : error 001: expected token: ";", but found "if"
D:\SS\gamemodes\Dten03e.pwn(2117) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.