16.07.2013, 20:22
Essa:
Ou
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);
}
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);
}