Problem with gangzone
#1

Hi, I have a problem with GANGZONE.
when the player takes a territory, he marks on the map, but when disconnects and reconnects it does not see the GANGZONE have win on the map

when you capture a territory, it is displayed in the map, but when you relog, we see Nothing

Код:
	if(PlayerStats[playerid][GangID] != -1) SetPlayerColor(playerid, GangInfo[PlayerStats[playerid][GangID]][Color]); 
   	new ZoneFile[255];
   	for(new zoneid = 1; zoneid < MAX_ZONES; zoneid++)
	{
	    format(ZoneFile,sizeof(ZoneFile),GangZoneFile, zoneid);
		if(dini_Exists(ZoneFile))
		{
		   	if(ZoneInfo[zoneid][OfGangID] == -1)
		   	{
				GangZoneShowForPlayer(playerid, ZoneInfo[zoneid][GZID], GCOLOR_GRIGIO);
			}
			else
			{
			    GangZoneShowForPlayer(playerid, ZoneInfo[zoneid][GZID], GangInfo[ZoneInfo[zoneid][OfGangID]][Color]);
			}
   	    }
	}
Reply


Messages In This Thread
Problem with gangzone - by Saliim - 23.04.2016, 00:07
Re: Problem with gangzone - by colonel-top - 23.04.2016, 07:22
Re: Problem with gangzone - by Saliim - 23.04.2016, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)