Jump to content
  • 0

Tutorial adaugare Culori [GF Mod]


Guest ZFun

Question

Vreti sa modificati culoarea la factiuni si nu stiti cum? Sau vreti sa aveti culori la factiuni?

Cautati liniile

public SetPlayerToTeamColor(playerid)
{
	if(IsPlayerConnected(playerid))
	{
Si adaugati acolo :
		if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
		SetPlayerColor(playerid,COLOR_LIGHTRED);
In loc de 1 puteti pune orice id de la orice factiuni doriti... in loc de COLOR_LIGHTRED puteti pune orice culoare,[dar sa o aveti definita in gm] Ca sa faceti culori la mai multe factiuni sau la toate, adaugati mai multe din acestea...
		if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
		SetPlayerColor(playerid,COLOR_LIGHTRED);
		if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
		SetPlayerColor(playerid,COLOR_Grove);
		if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
		SetPlayerColor(playerid,COLOR_White);

Sper ca am explicat bine... dak aveti nelamuriri reply

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Incearca asta

	    if (PlayerInfo[playerid][pAdmin] >= 1) //admin color
	    SetPlayerColor(playerid,COLOR_VLV);
Cred k merge.. pui tot acolo unde se pun si celelalte... la
public SetPlayerToTeamColor(playerid)
{
	if(IsPlayerConnected(playerid))
	{

Link to comment
Share on other sites

  • 0
Guest Mariachi

Modifica

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

Acum apar si membrii 'colorati' . Inainte la mine nu apareau

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.