- 0
Problema sistem de turfs
-
Similar Content
-
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):A incercat The Row sa imi faca sistemul de turf-uri dar a trebuit sa iasa....Imi da erori pe care habar nu am cum sa le rezolv
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
UpdateGangZone( const zoneID ) { new szString[ 128 ], z_id = zoneID - 1; GZ_DATA[ z_id ][ zColor ] = ( WarWon == 5 ) ? ( COLOR_CHICHAGOFF ) : ( WarWon == 6 ) ? ( COLOR_SMINIONA ) : ( WarWon == 12 ) ? ( COLOR_FORLENZAFF ) : ( COLOR_ZALUCHIFF ); GZ_DATA[ z_id ][ zOwner ] = WarWon; GZ_DATA[ z_id ][ zOwned ] = 1; for( new i = 0; 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 `zones` 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; }Imagini / Video (optional):http://imgur.com/uwCbv6y
Ati incercat sa rezolvati singur?:Da am adaugat new WarWon si turfs dar da alte erori...
27 answers to this question
Recommended Posts