[Ajuda] Sistema de gzs
#5

GM do PlayHard...

Vб em GangZonesCheck e procure por:
Код:
	if(gZonesData[pZone][ZonePlayerReqMet][GetPlayerOrg(i)] > 0 && gZonesData[pZone][ZoneOwner] != GetPlayerOrg(i))
				{
                    new percent = 100;
					percent = floatround((100*gZonesData[pZone][ZonePlayerReqMet][GetPlayerOrg(i)])/ZONE_CHECKS);
					PlayerTextDrawTextSize(i, g_ptdTurfBar[i][2], 27.0 + 1.23 * percent, 0.000000);

					TextDrawShowForPlayer(i, GZSTDW[i]);

					//PlayerTextDrawShow(i, g_ptdTurfBar[i][0]);
					PlayerTextDrawShow(i, g_ptdTurfBar[i][1]);
					PlayerTextDrawShow(i, g_ptdTurfBar[i][2]);
					Player[i][SeeChecksBar] = true;
				}
substitua por
Код:
if(gZonesData[pZone][ZonePlayerReqMet][GetPlayerOrg(i)] > 0 && gZonesData[pZone][ZoneOwner] != GetPlayerOrg(i))
				{
                    for(new a; a < 12; a++)
                        if(0 < AllowedOrgs[pZone][a] && AllowedOrgs[pZone][a] == GetPlayerOrg(i))
                            continue;
                    new percent = 100;
					percent = floatround((100*gZonesData[pZone][ZonePlayerReqMet][GetPlayerOrg(i)])/ZONE_CHECKS);
					PlayerTextDrawTextSize(i, g_ptdTurfBar[i][2], 27.0 + 1.23 * percent, 0.000000);

					TextDrawShowForPlayer(i, GZSTDW[i]);

					//PlayerTextDrawShow(i, g_ptdTurfBar[i][0]);
					PlayerTextDrawShow(i, g_ptdTurfBar[i][1]);
					PlayerTextDrawShow(i, g_ptdTurfBar[i][2]);
					Player[i][SeeChecksBar] = true;
				}
Reply


Messages In This Thread
Sistema de gzs - by BigRet - 08.05.2015, 04:11
Re: Sistema de gzs - by #Luca[S]. - 08.05.2015, 04:21
Re: Sistema de gzs - by BigRet - 08.05.2015, 04:30
Re: Sistema de gzs - by #Luca[S]. - 08.05.2015, 04:50
Re: Sistema de gzs - by GabrielDias_Invision - 08.05.2015, 15:42

Forum Jump:


Users browsing this thread: 1 Guest(s)