Ayuda con GetPlayerTeam porfavor.
#4

a eso me referia. si usabas SetPlayerTeam, o usabas XX[playerid] = X.

fijate asi:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/micomando", false)){
        if(GetPlayerTeam(playerid) != 4)return 0;//si o es del equipo 4, entonces retornara 0(el comando no existe)
        else{//si es del equipo 4...
            //accion  del comando
            return 1;
        }
    }
    return 0;
}
Reply


Messages In This Thread
Ayuda con GetPlayerTeam porfavor. - by arturo clark - 22.11.2010, 01:58
Respuesta: Ayuda con GetPlayerTeam porfavor. - by TheChaoz - 22.11.2010, 02:21
Re: Ayuda con GetPlayerTeam porfavor. - by arturo clark - 22.11.2010, 02:45
Respuesta: Ayuda con GetPlayerTeam porfavor. - by TheChaoz - 22.11.2010, 04:07
Re: Ayuda con GetPlayerTeam porfavor. - by arturo clark - 22.11.2010, 15:00

Forum Jump:


Users browsing this thread: 1 Guest(s)