@YSI_AG

Započeo Skorpija_026, Jul 12, 2020, 17:06:17 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Ovako teritorije sistem sam prebacio u mysql na moj nacin i izbaca mi ovo
Zona@YSII_Ag
https://prnt.sc/tgd1qw

Deo skripte:
foreach(new i : Zona)
	{
	    if(GZ[i][zonaTeam] == 1) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0xe80d0dEE);
	    } if(GZ[i][zonaTeam] == 2) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0xF5DEB3FF);
	    } if(GZ[i][zonaTeam] == 3) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x06e006DD);
	    } if(GZ[i][zonaTeam] == 4) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x800080FF);
	    } if(GZ[i][zonaTeam] == 5) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0xFFDD48EE);
	    } if(GZ[i][zonaTeam] == 6) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x729b1aDD);
	    } if(GZ[i][zonaTeam] == 7) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x0000BBDD);
	    } if(GZ[i][zonaTeam] == 8) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x33CCFFAA);
	    } if(GZ[i][zonaTeam] == 9) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0xB8860BAA);
	    } if(GZ[i][zonaTeam] == 10) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0xFF8040EE);
	    } if(GZ[i][zonaTeam] == 11)  {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x000000EE);
	    } if(GZ[i][zonaTeam] == 12) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x872424EE);
	    } if(GZ[i][zonaTeam] == 13) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0xFF9AFFEE);
	    } if(GZ[i][zonaTeam] == 14) {
	    	GangZoneShowForPlayer(playerid, ZonaID[i], 0x33CCFFAA);
	    }
	}
na ovo mi izbaca error
foreach(new i : Zona)
	{

probao sam da update foreach inc, i ysi( iterate ),ali nece opet isto
Vandals Project OGC
[size=11.25pt]Vandals Project OGC[/size][/font]
[/color]

ps to mi je definisano kao static
static Iterator: Zona<MAX_ZONA>;
Vandals Project OGC
[size=11.25pt]Vandals Project OGC[/size][/font]
[/color]

#include <YSI\y_iterate>

Citat: V01D poslato Jul 12, 2020, 17:46:11 POSLE PODNE
#include <YSI\y_iterate>

Imam buraz
Vandals Project OGC
[size=11.25pt]Vandals Project OGC[/size][/font]
[/color]

Fixed. Lock
Vandals Project OGC
[size=11.25pt]Vandals Project OGC[/size][/font]
[/color]