[AJUDA] Gangs
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1964.6407,1343.0209,16.5906);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

    if(classid >= 0 && classid <= 2)
    {
        Gang[playerid] = GROVE;
        GameTextForPlayer(playerid,"~g~Grove Street",6000,6);
    }
    else if(classid >= 3 && classid <= 5)
    {
        Gang[playerid] = BALLAS;
        GameTextForPlayer(playerid,"~r~Ballas",6000,6);
    }
    else if(classid >= 6 && classid <= 8)
    {
        Gang[playerid] = LOSAZTECAS;
        GameTextForPlayer(playerid,"~b~Los Aztecas",6000,6);
    }
    else if(classid >= 9 && classid <= 11)
    {
        Gang[playerid] = LOSVAGOS;
        GameTextForPlayer(playerid,"~y~Los Vagos",6000,6);
    }
    else if(classid >= 12 && classid <= 14)
    {
        Gang[playerid] = NANGBOYS;
        GameTextForPlayer(playerid,"Nang Boys",6000,6);
    }
    else if(classid >= 15 && classid <= 17)
    {
        Gang[playerid] = RUSSOS;
        GameTextForPlayer(playerid,"~w~Russos",6000,6);
    }
    return 1;
}
Teste com isso. Acho que estб certo, nгo testei. Espero ter ajudado.
Reply


Messages In This Thread
[AJUDA] Gangs - by [AF]Junior - 31.01.2011, 14:47
Re: [AJUDA] Gangs - by ManoLexuS - 31.01.2011, 15:00
Re: [AJUDA] Gangs - by Macintosh - 31.01.2011, 18:51
Re: [AJUDA] Gangs - by [AF]Junior - 31.01.2011, 20:08
Re: [AJUDA] Gangs - by LuaN_ - 31.01.2011, 21:08
Re: [AJUDA] Gangs - by Macintosh - 31.01.2011, 21:34
Re: [AJUDA] Gangs - by LuaN_ - 31.01.2011, 21:55
Re: [AJUDA] Gangs - by ManoLexuS - 31.01.2011, 22:17
Re: [AJUDA] Gangs - by [AF]Junior - 01.02.2011, 02:13
Respuesta: [AJUDA] Gangs - by ipsBruno - 01.02.2011, 02:29

Forum Jump:


Users browsing this thread: 7 Guest(s)