Jump to content
  • 0

ajutor factiuni


Question

Posted

cum modific la factiuni culorile cand apas tab de exemplu am grovre street si e cu rosu si eu vreau sa arate cu verde..si pe mapa playeri la factiuni

2 answers to this question

Recommended Posts

Posted

Cauta SetPlayerToTeamColor(playerid) si acolo adaugi:

if(PlayerInfo[playerid][pMember] == 0) { SetPlayerColor(playerid,0xFFFFFFAA); } // CIVIL
	    if(PlayerInfo[playerid][pLeader] == 0) { SetPlayerColor(playerid,0xFFFFFFAA); } // CIVIl
	    if(PlayerInfo[playerid][pMember] == 1) { SetPlayerColor(playerid,COLOR_DBLUE); } // LSPD
	    if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid,COLOR_DBLUE); } // LSPD
Si adaugi dupa urmatoru ex:
if(PlayerInfo[playerid][pLeader] == idfac) { SetPlayerColor(playerid,color); }
if(PlayerInfo[playerid][pMember] == idfac) { SetPlayerColor(playerid,color); }
//idfac - idu de la factiune
//color - pui culoarea definita sau in hex

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

Posted

Cauta SetPlayerToTeamColor(playerid) si acolo adaugi:

if(PlayerInfo[playerid][pMember] == 0) { SetPlayerColor(playerid,0xFFFFFFAA); } // CIVIL
	    if(PlayerInfo[playerid][pLeader] == 0) { SetPlayerColor(playerid,0xFFFFFFAA); } // CIVIl
	    if(PlayerInfo[playerid][pMember] == 1) { SetPlayerColor(playerid,COLOR_DBLUE); } // LSPD
	    if(PlayerInfo[playerid][pLeader] == 1) { SetPlayerColor(playerid,COLOR_DBLUE); } // LSPD
Si adaugi dupa urmatoru ex:
if(PlayerInfo[playerid][pLeader] == idfac) { SetPlayerColor(playerid,color); }
if(PlayerInfo[playerid][pMember] == idfac) { SetPlayerColor(playerid,color); }
//idfac - idu de la factiune
//color - pui culoarea definita sau in hex

-IcE- te rog nu imi da warn ca zic asta, dar imi dai si mie id tau, sau imi dai allow sa iti dau PM , vreau sa te intreb ceva

9zZndmN.png
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.