23.04.2016, 00:07
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
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]); } } }