Jump to content
  • 0

pls ajutor culori


laury

Question

4 answers to this question

Recommended Posts

Cauta linia public SetPlayerToTeamColor(playerid) si sub ea adaugi culorile

Exemplu:

public SetPlayerToTeamColor(playerid)

{

if(IsPlayerConnected(playerid))

{

  SetPlayerColor(playerid,COLOR_WHITE); //Civilian

      if(PlayerInfo[playerid][pMember] == 1) { SetPlayerColor(playerid, COLOR_PD); } //PD

      if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid, COLOR_PD); } //PD

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

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

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

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

      if(PlayerInfo[playerid][pMember] == 4) { SetPlayerColor(playerid, COLOR_LIGHTRED); } //Medics&Fireman

      if(PlayerInfo[playerid][pLeader] == 4) { SetPlayerColor(playerid, COLOR_LIGHTRED); } //Medics&Fireman

      if(PlayerInfo[playerid][pMember] == 5) { SetPlayerColor(playerid, 0xFF8000FF); } //The Triads

      if(PlayerInfo[playerid][pLeader] == 5) { SetPlayerColor(playerid, 0xFF8000FF); } //The Triads

stats.php?page=2&ip=samp.zonek.ro&port=7777
Link to comment
Share on other sites

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.