[Pedido] Definir skin como time
#6

Exatamente, para isso vocк vai usar as callbacks e a funзгo:
AddPlayerClass
OnPlayerRequestClass
OnGameModeInit

Exemplo:
pawn Код:
public OnGameModeInit()
{
    /*ID 0*/AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0); // CJ
    /*ID 1*/AddPlayerClass(1, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0); // The Truth
    return 1;
}
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == 0)
    {
        SetPlayerTeam(playerid, 0);
    }
    if(classid == 1)
    {
        SetPlayerTeam(playerid, 1);
    }
    return 1;
}
Reply


Messages In This Thread
Definir skin como time - by xJasonxX - 09.12.2014, 13:45
Re: Definir skin como time - by MultiKill - 09.12.2014, 13:50
Re: Definir skin como time - by xJasonxX - 09.12.2014, 13:57
Re: Definir skin como time - by MultiKill - 09.12.2014, 14:04
Re: Definir skin como time - by xJasonxX - 09.12.2014, 14:32
Re: Definir skin como time - by MultiKill - 09.12.2014, 14:42
Re: Definir skin como time - by xJasonxX - 09.12.2014, 16:23
Re: Definir skin como time - by MultiKill - 09.12.2014, 16:28
Re: Definir skin como time - by xJasonxX - 09.12.2014, 16:30
Re: Definir skin como time - by MultiKill - 09.12.2014, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)