Can somebody help adding Player colors?
#1

Hi users,

I have Vortex Roleplay.

but i want if a Cop goes on duty they will get a Blue name and they will be Blue on the MAP can someone help me with that?

script: www.mixmusicfm.nl/gta/VortexRoleplay.pwn

Greetz
Reply
#2

Here
pawn Код:
if(Player[playerid][AdminDuty] == 1)
{
    if(strlen(Player[playerid][AdminName]) >= 1 || strcmp(Player[playerid][AdminName], "Nothing", true) == 0) {
        SendClientMessage(playerid, WHITE, "You are now on admin duty. You will appear on the /admins list and you'll be able to view reports.");
        Player[playerid][AdminDuty] = 1;

        if(Player[playerid][AdminLevel] >= 3) {
            SetPlayerHealth(playerid, 500000);
            SetPlayerColor(playerid,0x0259EAFF);

        }

        format(Player[playerid][NormalName], 255, "%s", GetName(playerid));

        SetPlayerName(playerid, Player[playerid][AdminName]);
        SetPlayerSkin(playerid, Player[playerid][AdminSkin]);

        if(Player[playerid][HospitalTime] >= 1) {
            Player[playerid][HospitalTime] = 0;
            SetCameraBehindPlayer(playerid);
            SetPlayerPos(playerid, SpawnX, SpawnY, SpawnZ);
            SetPlayerDrunkLevel(playerid, 0);
            SendClientMessage(playerid, WHITE, "You have been de-hospitalized.");
        }

        format(string, sizeof(string), "%s (%s) is now on Admin Duty (just authenticated, but logged on duty).", Player[playerid][AdminName], Player[playerid][NormalName]);
        SendToAdmins(ADMINORANGE, string, 0);
    }
    else {
        SendClientMessage(playerid, WHITE, "You haven't set an administrators' name yet.");
    }
There are a lot of code and I didn't had time a lot. But I changed this part
Reply
#3

This is Admin thing?

Not cop?
Reply
#4

Cop? Oh, My bad. My mind was away
I searched on admin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)