Ayuda Con este Error...
#1

Buenas a todos, tengo un problema con un stock ke cree para verificar si hay una cantidad de player con la misma variable, me tira error y no le veo donde esta el problemas.

si me pueden ayudar se los agradezco.
desde ya muchas Gracias

ERRORES:
pawn Код:
warning 229: index tag mismatch (symbol "Ejemplo")
warning 213: tag mismatch
warning 213: tag mismatch
LINEA::
pawn Код:
if(Funcion(playerid,Ejemplo,opciones,MAX_EJEMPLO)) {
FUNCION EJEMPLO:
pawn Код:
#define MAX_EJEMPLO (3)
enum Info {
    bool:opciones,
};
new Ejemplo[MAX_PLAYERS][Info];

if(Funcion(playerid,Ejemplo,opciones,MAX_EJEMPLO)) {
    //SendClientMessage....
    return true;
}

stock Funcion(playerid,bool:var[][],ocu,max) {
    new count=0;
    for(new player=0; player<GetMaxPlayers(); player++)
    if(IsPlayerConnected(player) && var[player][ocu]==true && player==playerid) count++;
    if(count==max) return true;
    return false;
}
Reply


Messages In This Thread
Ayuda Con este Error... - by OTACON - 30.05.2013, 14:26
Respuesta: Ayuda Con este Error... - by DesingMyCry - 30.05.2013, 14:37
Respuesta: Ayuda Con este Error... - by OTACON - 30.05.2013, 14:44
Respuesta: Ayuda Con este Error... - by Dreyfuz - 30.05.2013, 19:49
Respuesta: Ayuda Con este Error... - by DesingMyCry - 30.05.2013, 23:17
Respuesta: Ayuda Con este Error... - by OTACON - 31.05.2013, 00:32
Respuesta: Ayuda Con este Error... - by OTACON - 31.05.2013, 04:15
Respuesta: Ayuda Con este Error... - by DesingMyCry - 31.05.2013, 06:32
Respuesta: Ayuda Con este Error... - by OTACON - 31.05.2013, 06:42
Re: Respuesta: Ayuda Con este Error... - by Daniel-92 - 31.05.2013, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)