Jump to content

Question

6 answers to this question

Recommended Posts

Posted

stiu asta io zic alceva, dupa cum am vazut pe multe servere cand dai pe fereastra aia TAB cei ce sunt in factiuni au o anumita culoare la nume cum as putea face si eu asta?

Posted

[pawn]public SetPlayerToTeamColor(playerid)

{

if(IsPlayerConnected(playerid))

{

    SetPlayerColor(playerid,0xFFFFFF00); //Civilian

if(PlayerInfo[playerid][pMember] == 1) { SetPlayerColor(playerid, 0x2641FE00); } //Cop

if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid, 0x2641FE00); } //Ccp

if(PlayerInfo[playerid][pMember] == 2) { SetPlayerColor(playerid, 0x2641FE00); } //FBI

if(PlayerInfo[playerid][pLeader] == 2) { SetPlayerColor(playerid, 0x2641FE00); } //FBI

if(PlayerInfo[playerid][pLeader] == 3) { SetPlayerColor(playerid, 0x2641FE00); } //National Guard

if(PlayerInfo[playerid][pMember] == 3) { SetPlayerColor(playerid, 0x2641FE00); } //National Guard

if(PlayerInfo[playerid][pMember] == 4) { SetPlayerColor(playerid, 0xFF634700); } //Medic&Fireman

if(PlayerInfo[playerid][pLeader] == 4) { SetPlayerColor(playerid, 0xFF634700); } //Medic&Fireman

if(PlayerInfo[playerid][pMember] == 5) { SetPlayerColor(playerid, 0xFF990000); } //LCN

if(PlayerInfo[playerid][pLeader] == 5) { SetPlayerColor(playerid, 0xFF990000); } //LCN

if(PlayerInfo[playerid][pMember] == 6) { SetPlayerColor(playerid, 0x33AA3300); } //Yakuza

if(PlayerInfo[playerid][pLeader] == 6) { SetPlayerColor(playerid, 0x33AA3300); } //Yakuza

if(PlayerInfo[playerid][pMember] == 7) { SetPlayerColor(playerid, 0x578C3300); } //Mayor

if(PlayerInfo[playerid][pLeader] == 7) { SetPlayerColor(playerid, 0x578C3300); } //Mayor

if(PlayerInfo[playerid][pMember] == 8 ) { SetPlayerColor(playerid, 0x84000000); } //Hitman

if(PlayerInfo[playerid][pLeader] == 8 ) { SetPlayerColor(playerid, 0x84000000); } //Hitman

if(PlayerInfo[playerid][pMember] == 9) { SetPlayerColor(playerid, 0xC2A2DA00); } //News Reporter

if(PlayerInfo[playerid][pLeader] == 9) { SetPlayerColor(playerid, 0xC2A2DA00); } //News Reporter

if(PlayerInfo[playerid][pMember] == 10) { SetPlayerColor(playerid, 0xFFFF0000); } //Taxi

if(PlayerInfo[playerid][pLeader] == 10) { SetPlayerColor(playerid, 0xFFFF0000); } //Taxi

if(PlayerInfo[playerid][pMember] == 11) { SetPlayerColor(playerid, 0x33CCFF00); } //School Instructor

if(PlayerInfo[playerid][pLeader] == 11) { SetPlayerColor(playerid, 0x33CCFF00); } //School Instructor

}

}

[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Posted

sau poti asa

SetPlayerColor(playerid, COLOR_GREY,"bun venit in factiune");

eu asa am facut la factiune si a mers

Serios?

Ce zici tu acolo,e SendClientMessage nu SetPlayerColor.

Warn ca reinvii topicuri aiurea,nu e prima data.

gXvsYS
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.