Nick: Zut Problema: Am un gang system si imi da niste erori Erori / warnings: [pawn] C:\Users\Sergiu\Desktop\Untitled.pwn(5) : error 017: undefined symbol "cpTeritory" C:\Users\Sergiu\Desktop\Untitled.pwn(5) : warning 217: loose indentation C:\Users\Sergiu\Desktop\Untitled.pwn(5) : warning 215: expression has no effect C:\Users\Sergiu\Desktop\Untitled.pwn(5) : error 001: expected token: ";", but found "]" C:\Users\Sergiu\Desktop\Untitled.pwn(5) : error 029: invalid expression, assumed zero C:\Users\Sergiu\Desktop\Untitled.pwn(5) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.[/pawn] Lini/script: [pawn]//============================================================================== public OnPlayerEnterDynamicCP( playerid, checkpointid ) { new TerID = cpTeritory [checkpointid]; if ( TerID != 0 ) { if ( Users[ playerid ][ gang ] == 0 ) return 1; if ( Teritories[ TerID ][ owner ] == Users[ playerid ][ gang ] ) return 1; if ( GetGVarInt( "g_Ally", Teritories[ TerID ][ owner ] ) != 0 ) { if ( Teritories[ TerID ][ owner ] == GetGVarInt( "g_Ally", Users[ playerid ][ gang ] ) ) return Announce( playerid, "~w~You have alliance with this gang !", 3000, 4 ); } if ( Teritories[ TerID ][ turfing ] == true ) return 1; Teritories[ TerID ][ turfing ] = true; Teritories[ TerID ][ turfingby ] = Users[ playerid ][ gang ]; Users[ playerid ][ turfe ] = TerID; GangZoneFlashForAll( Teritories[ TerID ][ ID ], GangColors[ GetGVarInt( "g_Color", Users[ playerid ][ gang ] ) ] ); SetTimerEx( "ProgresTurfing", 999, 0, "i", playerid ); gsString[ 0 ] = EOS; format( gsString, sizeof( gsString ), "> WARNING <: {FFFFFF}Gang '{FF0000}%s{FFFFFF}' trying to capture your base !", GetGVarStringEx( "g_Name", Users[ playerid ][ gang ] ) ); SendGangMessage( Teritories[ TerID ][ owner ], gsString ); } ; [/pawn] Ai incercat sa rezolvi singur ?: