[Ajuda] Definir cor profissгo
#1

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);
        }
Reply
#2

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);
        }
Reply
#3

me passa o code dela ? todo
Reply
#4

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..
Reply
#5

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)