[Ajuda] Cor Org
#3

Quote:
Originally Posted by Caio_Freeze
Посмотреть сообщение
use essa funзгo:

pawn Код:
SetPlayerColor(playerid, COR_DA_ORG);
https://sampwiki.blast.hk/wiki/Function:SetPlayerColor
cara ja tentei de varios jeitos ate seguindo exemplo das profissao aki mais tbm nao funcionol .
pawn Код:
public Logarprof(playerid)
{
    new string[256];
    new nomepl[MAX_PLAYER_NAME];
    GetPlayerName(playerid, nomepl, sizeof(nomepl));
    format(file2, sizeof(file2), PASTA_CONTAS, nomepl);
    if(dini_Int(file2, "Profissao") == Desempregado)
    {
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid, 14, 1);
        SetPlayerColor(playerid, Branco);
        if(IsPlayerNPC(playerid))
        {
            if(IsValidDynamic3DTextLabel(NPCLabel[playerid]))
            {
                format(string, sizeof(string), "%s (%d)", nomepl, playerid);
                UpdateDynamic3DTextLabelText(NPCLabel[playerid], Branco, string);
            }
        }
        else
        {
            if(IsValidDynamic3DTextLabel(ProfLabel[playerid]))
            {
                UpdateDynamic3DTextLabelText(ProfLabel[playerid], Branco, "[Desempregado(a)]");
            }
        }
    }
Reply


Messages In This Thread
REsolvido - by vitere - 23.05.2013, 19:38
Re: Cor Org - by Caio_Freeze - 23.05.2013, 19:42
Re: Cor Org - by vitere - 23.05.2013, 19:49
Re: Cor Org - by vitere - 23.05.2013, 22:23
Re: Cor Org - by Don_Speed - 23.05.2013, 22:28
Re: Cor Org - by vitere - 23.05.2013, 22:49
Re: Cor Org - by Don_Speed - 23.05.2013, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)