18.05.2011, 18:58
Quote:
me aparecen los siguientes errores
C:\Documents and Settings\Geek Man\Escritorio\SERVIDOR\gamemodes\TerritorySkyLine .pwn(303) : error 010: invalid function or declaration C:\Documents and Settings\Geek Man\Escritorio\SERVIDOR\gamemodes\TerritorySkyLine .pwn(305) : error 010: invalid function or declaration C:\Documents and Settings\Geek Man\Escritorio\SERVIDOR\gamemodes\TerritorySkyLine .pwn(307) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors. y estas son las lineas qu tengo cual es mi errorayuda public OnPlayerRequestClass(playerid, classid) { iSpawnSet[playerid] = 0; SetupPlayerForClassSelection(playerid); return 1; } if(classid == 0){ GameTextForPlayer(playerid, "~g~Grove", 10000, 1); return 0; } return 1; } |
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(iSpawnSet[playerid] == 0) return SetupPlayerForClassSelection(playerid), 1;
if(classid == 0) GameTextForPlayer(playerid, "~g~Grove", 10000, 1);
return 1;
}
pawn Код:
if(classid == 0 || classid == 105 ||classid == 106 || classid == 107 )
GameTextForPlayer(playerid, "~g~Grove", 10000, 1); //asн te mostrarб el mensaje GROVE a todos los Skin de Groves!