@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 [pawn]Zona@YSII_Ag[/pawn] https://prnt.sc/tgd1qw

Deo skripte:[pawn] foreach(new i : Zona)
   {
       if(GZ[zonaTeam] == 1) {
          GangZoneShowForPlayer(playerid, ZonaID, 0xe80d0dEE);
       } if(GZ[zonaTeam] == 2) {
          GangZoneShowForPlayer(playerid, ZonaID, 0xF5DEB3FF);
       } if(GZ[zonaTeam] == 3) {
          GangZoneShowForPlayer(playerid, ZonaID, 0x06e006DD);
       } if(GZ[zonaTeam] == 4) {
          GangZoneShowForPlayer(playerid, ZonaID, 0x800080FF);
       } if(GZ[zonaTeam] == 5) {
          GangZoneShowForPlayer(playerid, ZonaID, 0xFFDD48EE);
       } if(GZ[zonaTeam] == 6) {
          GangZoneShowForPlayer(playerid, ZonaID, 0x729b1aDD);
       } if(GZ[zonaTeam] == 7) {
          GangZoneShowForPlayer(playerid, ZonaID, 0x0000BBDD);
       } if(GZ[zonaTeam] == 8) {
          GangZoneShowForPlayer(playerid, ZonaID, 0x33CCFFAA);
       } if(GZ[zonaTeam] == 9) {
          GangZoneShowForPlayer(playerid, ZonaID, 0xB8860BAA);
       } if(GZ[zonaTeam] == 10) {
          GangZoneShowForPlayer(playerid, ZonaID, 0xFF8040EE);
       } if(GZ[zonaTeam] == 11)  {
          GangZoneShowForPlayer(playerid, ZonaID, 0x000000EE);
       } if(GZ[zonaTeam] == 12) {
          GangZoneShowForPlayer(playerid, ZonaID, 0x872424EE);
       } if(GZ[zonaTeam] == 13) {
          GangZoneShowForPlayer(playerid, ZonaID, 0xFF9AFFEE);
       } if(GZ[zonaTeam] == 14) {
          GangZoneShowForPlayer(playerid, ZonaID, 0x33CCFFAA);
       }
   }[/pawn] na ovo mi izbaca error [pawn]   foreach(new i : Zona)
   {[/pawn]
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 [pawn]static Iterator: Zona<MAX_ZONA>; [/pawn]
Vandals Project OGC
[size=11.25pt]Vandals Project OGC[/size][/font]
[/color]

[pawn]#include <YSI\y_iterate>[/pawn]

Citat: V01D poslato Jul 12, 2020, 17:46:11 POSLE PODNE
[pawn]#include <YSI\y_iterate>[/pawn]
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]