SA-MP Forums Archive
gangzone color help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: gangzone color help (/showthread.php?tid=566924)



gangzone color help - Camorra - 09.03.2015

FIXED


AW: gangzone color help - Kaliber - 09.03.2015

Can you show us, how you call GangZoneShowForPlayer?


Re: AW: gangzone color help - Camorra - 09.03.2015

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Can you show us, how you call GangZoneShowForPlayer?
As the tut -

Код:
public OnPlayerSpawn(playerid)
{
    for(new i=0; i < sizeof(ZoneInfo); i++)
	{
		GangZoneShowForPlayer(playerid, ZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam]));
	}
	return 1;
}



AW: Re: AW: gangzone color help - Kaliber - 09.03.2015

Quote:
Originally Posted by Camorra
Посмотреть сообщение
As the tut -
Your enum is wrong, write it like this:

Код:
enum eZone
{
    Float:zMinX,
    Float:zMinY,
    Float:zMaxX,
    Float:zMaxY,
    gID,
    gCOLOUR,
    zTeam,
    Text:gDRAW,
    gBLINK
}
Greekz


Re: gangzone color help - Camorra - 09.03.2015

Well, i edited the enum and forgot to edit the onplayerspawn.....
Also checking what u said



EDIT: Still white


2nd EDIT: FIXED