- 0
expected token: ";", but found ")"
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Jimmi
Problema intalnita (descriere):Imi tot da eroare de la sistemul de turfs.....
Ero(area / rile) / warning-(ul / urile):
Imagini / Video (optional):=
Ati incercat sa rezolvati singur?:da
public UpdateGangZone(i) { new szString[ 128 ], z_id = zoneID - 1; if(WarWon == 5) GZ_DATA[ z_id ][ zColor ] = COLOR_CHICHAGOFF; else if(WarWon == 6) GZ_DATA[ z_id ][ zColor ] = COLOR_SMINIONA; else if(WarWon == 12) GZ_DATA[ z_id ][ zColor ] = COLOR_FORLENZAFF; else if(WarWon == 13) GZ_DATA[ z_id ][ zColor ] = COLOR_ZALUCHIFF; GZ_DATA[ z_id ][ zOwner ] = WarWon; GZ_DATA[ z_id ][ zOwned ] = 1; for(new i; i< MAX_PLAYERS; i++) { if( !IsPlayerConnected( i ) ) continue; if( turf[ i ] != 0 ){ GangZoneHideForPlayerEx( i, GZ_DATA[ z_id ][ zID ] ); GangZoneShowForPlayerEx( i, GZ_DATA[ z_id ][ zID ], GZ_DATA[ z_id ][ zColor ] ); } } format( szString, 128, "UPDATE `gangzones` SET `Color` = %d, `Owner` = %d, `Owned` = %d WHERE `ID` = %d", GZ_DATA[ z_id ][ zColor ], GZ_DATA[ z_id ][ zOwner ], GZ_DATA[ z_id ][ zOwned ], zoneID ); mysql_query( szString ); return 1; }23 answers to this question
Recommended Posts