Posts: 109
Threads: 17
Joined: Dec 2009
Reputation:
0
hey guys, question...im trying to work on my player colours and to see if there working or not but heres my problem, for testing purposes im really the only one on my server atm....but if you press "tab" to see a player list, and your the only one on your server, your name appears white until another name is clicked..so how can i tell if my playercolour's are working if my name is always tabbed white until another name is clicked
If this thread leads to the helping of others, a rep click would be sooo appreciated! thank you!!
Posts: 369
Threads: 31
Joined: Jun 2009
Reputation:
0
The color on the player when he talks is the color on the tab.
Posts: 109
Threads: 17
Joined: Dec 2009
Reputation:
0
rep up, thanks for your help
Posts: 109
Threads: 17
Joined: Dec 2009
Reputation:
0
actually, i have another question regarding the same topic......take a look at this code,
if(IsAFreecop(playerid))
{
format(string, sizeof(string), "* Officer %s took a Badge and a Gun from his locker.", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,CO LOR_CHAT5);
SafeResetPlayerWeapons(playerid);
SafeGivePlayerWeapon(playerid, 41, 150);
SafeGivePlayerWeapon(playerid, 24, 70);
SafeGivePlayerWeapon(playerid, 3, 0);
SetPlayerColor(playerid,0x0000FFAA);
PlayerInfo[playerid][pDuty] = 1;
PlayerInfo[playerid][pChar] = 71;
new factionskin = PlayerInfo[playerid][pChar];
SetPlayerSkin(playerid, factionskin);
SaveGuns(playerid);
return 1;
now in the set player colour part, ive changed it to blue...why arent my free cops names turning blue?
Posts: 109
Threads: 17
Joined: Dec 2009
Reputation:
0
if anyone can help with my last post regarding that code not changing my players names, when ive set the player color to blue hex, ill give lots a rep + all around..this has been really bugging me
suhrab_mujeeb
Unregistered
You can add it to the code, but I think it won't work if it has a function or something try editing that. If the gTeam changes during getting on duty then you can simply change the whole gTeam's color.
Posts: 369
Threads: 31
Joined: Jun 2009
Reputation:
0
Do you have a function for your faction colors?
Also use [pawn] [ /pawn]