AYUDA - colocar nombres debajo del skin
#10

Quote:
Originally Posted by chucho
Посмотреть сообщение
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;
}
En el classid estas retornando un "0", y arriba pusiste los corchetes pero no estas haciendo un ciclo o preguntando algo,creo que ahн estб el error amigo, te quedaria algo asн
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
   if(iSpawnSet[playerid] == 0) return SetupPlayerForClassSelection(playerid), 1;
   if(classid == 0) GameTextForPlayer(playerid, "~g~Grove", 10000, 1);
    return 1;
}
puedes agregarle
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!
Suerte!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)