SA-MP Forums Archive
[Ajuda] Definir cor profissгo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Definir cor profissгo (/showthread.php?tid=451329)



Definir cor profissгo - ThiagoMK - 16.07.2013

Galera nгo tou conseguindo definir a cor dessa profissгo eu defini a de todas desse jeito mais a unica que nгo funcionou foi a profissгo de assistencia

pawn Код:
#define assistance 0xB5B5B599
pawn Код:
case ClassAssistance: // Assistance class
        {
            format(missiontext, sizeof(missiontext), Assistance_NoJobText); // Preset the missiontext
            SetPlayerColor(playerid, assistance); // Set the playercolor (chatcolor for the player and color on the map)
            // Start the PlayerCheckTimer to scan for players who need assistance (be sure the timer has been destroyed first)
            KillTimer(APlayerData[playerid][PlayerCheckTimer]);
            APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Assistance_CheckPlayers", 1000, true, "i", playerid);
        }



Re: Definir cor profissгo - Coe1 - 16.07.2013

Essa:
pawn Код:
#define cor_assistance 0xB5B5B5FF  

case ClassAssistance: // Assistance class
        {
            format(missiontext, sizeof(missiontext), Assistance_NoJobText); // Preset the missiontext
            SetPlayerColor(playerid, cor_assistance); // Set the playercolor (chatcolor for the player and color on the map)
            // Start the PlayerCheckTimer to scan for players who need assistance (be sure the timer has been destroyed first)
            KillTimer(APlayerData[playerid][PlayerCheckTimer]);
            APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Assistance_CheckPlayers", 1000, true, "i", playerid);
        }
Ou

pawn Код:
#define cor_assistance 0xB5B5B570

case ClassAssistance: // Assistance class
        {
            format(missiontext, sizeof(missiontext), Assistance_NoJobText); // Preset the missiontext
            SetPlayerColor(playerid, cor_assistance); // Set the playercolor (chatcolor for the player and color on the map)
            // Start the PlayerCheckTimer to scan for players who need assistance (be sure the timer has been destroyed first)
            KillTimer(APlayerData[playerid][PlayerCheckTimer]);
            APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Assistance_CheckPlayers", 1000, true, "i", playerid);
        }



Re: Definir cor profissгo - Leopawno - 16.07.2013

me passa o code dela ? todo


Re : Re: Definir cor profissгo - ThiagoMK - 16.07.2013

Quote:
Originally Posted by Coe1
Посмотреть сообщение
Essa:
pawn Код:
#define cor_assistance 0xB5B5B5FF  

case ClassAssistance: // Assistance class
        {
            format(missiontext, sizeof(missiontext), Assistance_NoJobText); // Preset the missiontext
            SetPlayerColor(playerid, cor_assistance); // Set the playercolor (chatcolor for the player and color on the map)
            // Start the PlayerCheckTimer to scan for players who need assistance (be sure the timer has been destroyed first)
            KillTimer(APlayerData[playerid][PlayerCheckTimer]);
            APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Assistance_CheckPlayers", 1000, true, "i", playerid);
        }
Ou

pawn Код:
#define cor_assistance 0xB5B5B570

case ClassAssistance: // Assistance class
        {
            format(missiontext, sizeof(missiontext), Assistance_NoJobText); // Preset the missiontext
            SetPlayerColor(playerid, cor_assistance); // Set the playercolor (chatcolor for the player and color on the map)
            // Start the PlayerCheckTimer to scan for players who need assistance (be sure the timer has been destroyed first)
            KillTimer(APlayerData[playerid][PlayerCheckTimer]);
            APlayerData[playerid][PlayerCheckTimer] = SetTimerEx("Assistance_CheckPlayers", 1000, true, "i", playerid);
        }
Nгo funfou essa й a unica profissгo que eu nгo consigo mudar a cor..


Re: Definir cor profissгo - focaximubh - 17.07.2013

PPC_Defines hб uma linha com #define Color_ClassAssistance COR sу tu procurar direitinho.


Re : Re: Definir cor profissгo - ThiagoMK - 17.07.2013

Quote:
Originally Posted by focaximubh
Посмотреть сообщение
PPC_Defines hб uma linha com #define Color_ClassAssistance COR sу tu procurar direitinho.
Eu ja tinha conseguido pelo gm.. Mais vlw pela intenзгo