[Ajuda] Erros no meu GM
#7

Vc definiu o valor?
exp:
pawn Код:
#define DIALOG_LOGAR 1
Um exemplo de uso de classid:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 2074.3289,1924.5944,14.3246);
    SetPlayerCameraPos(playerid, 2078.3647,1923.4133,13.3281);
    SetPlayerCameraLookAt(playerid, 2074.3289,1924.5944,14.3246);
    SetPlayerFacingAngle(playerid, 252.4539);
    if((classid >= 0) && (classid <= 2))
    {
        gTeam[playerid] = Aztecas;
        GameTextForPlayer(playerid,"~n~~n~~n~~b~Aztecas",4000,5);
    }
    if((classid >= 3) && (classid <= 5))
    {
        gTeam[playerid] = Grove;
        GameTextForPlayer(playerid,"~n~~n~~n~~g~Grove",4000,5);
    }
    if((classid >= 6) && (classid <= 8))
    {
        gTeam[playerid] = Ballas;
        GameTextForPlayer(playerid,"~n~~n~~n~~g~Ballas",4000,5);
    }
    return 1;
}
Reply


Messages In This Thread
Erros no meu GM - by Shum493 - 20.08.2012, 19:30
Respuesta: Erros no meu GM - by AnonymouSs - 20.08.2012, 19:40
Re: Erros no meu GM - by Shum493 - 20.08.2012, 19:44
Re: Erros no meu GM - by Panico622 - 20.08.2012, 19:48
Re: Erros no meu GM - by humildadeforever - 20.08.2012, 19:53
Re: Erros no meu GM - by Shum493 - 20.08.2012, 20:05
Re: Erros no meu GM - by Panico622 - 20.08.2012, 20:09
Re: Erros no meu GM - by Crueliz0n - 20.08.2012, 20:24
Re: Erros no meu GM - by Shum493 - 20.08.2012, 20:45
Re: Erros no meu GM - by Crueliz0n - 20.08.2012, 20:53

Forum Jump:


Users browsing this thread: 3 Guest(s)