SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/12/2018, 08:54 PM   #1
Extremac
Little Clucker
 
Join Date: Sep 2018
Posts: 15
Reputation: 0
Question Help about 5 eros

I wrote down the line number on the script below, where eror is definitely I'm org_tip_ps. I started working 2 lines, but again the same err! If you can solve them.

ERROR

Code:
C:\Users\skill\OneDrive\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(39100) : error 075: input line too long (after substitutions)
C:\Users\skill\OneDrive\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(39101) : error 037: invalid string (possibly non-terminated string)
C:\Users\skill\OneDrive\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(39101) : error 017: undefined symbol "Upisite"
C:\Users\skill\OneDrive\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(39101) : warning 215: expression has no effect
C:\Users\skill\OneDrive\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(39101) : error 001: expected token: ";", but found "-identifier-"
C:\Users\skill\OneDrive\Desktop\SAN MARINO LAST VERSION\Server\gamemodes\SMRP.pwn(39101) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
SCRIPT
Code:
else if( dialogid == dialog_WAR_ZAKAZI_7 ) {
	    if( response ) {
		    new id, w = KreiranjeWara[ playerid ], string[ 128 ];
			if( sscanf( inputtext, "u", id ) ) return SPD( playerid, dialog_WAR_ZAKAZI_7, DSI, "Lider Protivnika", "Upisite id lidera protivnicke orge.", "Odaberi", "Ponisti" );
			if( id == IPI ) return SPD( playerid, dialog_WAR_ZAKAZI_7, DSI, "Lider Protivnika", "Upisite id lidera protivnicke orge.", "Odaberi", "Ponisti" );
			if( PlayerInfo[ playerid ][ xLider ] == PlayerInfo[ id ][ xLider ] ) return SPD( playerid, dialog_WAR_ZAKAZI_7, DSI, "Lider Protivnika", "Upisite id lidera protivnicke orge.", "Odaberi", "Ponisti" );
			if( PlayerInfo[ id ][ xLider ] < 1 ) return SPD( playerid, dialog_WAR_ZAKAZI_7, DSI, "Lider Protivnika", "Upisite id lidera protivnicke orge.", "Odaberi", "Ponisti" );
	39100 if( id == playerid ) return SPD( playerid, dialog_WAR_ZAKAZI_7, DSI, "Lider Protivnika", "Upisite id lidera protivnicke orge.", "Odaberi", "Ponisti" );
          39101:  if( OI[ PlayerInfo[ id ][ xClan ] ][ oTip ] == ORG_TIP_PD && OI[ PlayerInfo[ id ][ xClan ] ][ oTip ] == ORG_TIP_MD && OI[ PlayerInfo[ id ][ xClan ] ][ oTip ] == ORG_TIP_CNN && OI[ PlayerInfo[ id ][ xClan ] ][ oTip ] == ORG_TIP_HITM && OI[ PlayerInfo[ id ][ xClan ] ][ oTip ] == ORG_TIP_ELEK && OI[ PlayerInfo[ id ][ xClan ] ][ oTip ] == ORG_TIP_TAXI && OI[ PlayerInfo[ id ][ xClan ] ][ oTip ] == ORG_TIP_PS ) return SPD( playerid, dialog_WAR_ZAKAZI_7, DSI, "Lider Protivnika", "Upisite id lidera protivnicke orge.", "Odaberi", "Ponisti" );
            if( PlayerInfo[ id ][ xZatvor ] != 0 ) return SendErrorMessage( playerid, "Ne mozes u waru pozvati lidera koji je u jailu." );
			WARInfo[ w ][ WARTimLider ][ 0 ] = playerid;
			WARInfo[ w ][ WARTimLider ][ 1 ] = id;
            KreiranjeWara[ id ] = w;

			strdel( DialogStrgEx, 0, sizeof( DialogStrgEx ) ); 
			format( string, sizeof( string ), ""col_orange"Oruzje 1: "col_white"%s\n", WeaponInfos[ WARInfo[ w ][ WAROruzje ][ 0 ] ][ wName ] );
			strcat( DialogStrgEx, string );
			format( string, sizeof( string ), ""col_orange"Oruzje 2: "col_white"%s\n", WeaponInfos[ WARInfo[ w ][ WAROruzje ][ 1 ] ][ wName ] );
			strcat( DialogStrgEx, string );
			format( string, sizeof( string ), ""col_orange"Oruzje 3: "col_white"%s\n", WeaponInfos[ WARInfo[ w ][ WAROruzje ][ 2 ] ][ wName ] );
			strcat( DialogStrgEx, string );
			format( string, sizeof( string ), ""col_orange"Maksimalni broj clanova: "col_white"%d\n\n", WARInfo[ w ][ WARMaxClanova ] );
			strcat( DialogStrgEx, string );
			format( string, sizeof( string ), ""col_orange"Ulog novca: "col_white"%d$\n\n", WARInfo[ w ][ WARCena ] );
			strcat( DialogStrgEx, string );
			format( string, sizeof( string ), ""col_orange"Lider "col_white"%s "col_orange"vam je poslao zahtev za war.Izaberi:", getOrgName( PlayerInfo[ playerid ][ xClan ] ) );
			strcat( DialogStrgEx, string );
			SPD( id, dialog_WAR_ZAKAZI_8, DSMSG, "Zahtev za war", DialogStrgEx, "Prihvati", "Odbij" );
			strdel( DialogStrgEx, 0, sizeof( DialogStrgEx ) );
        }
		else if( !response ) {
		    new w = KreiranjeWara[ playerid ];
			WARInfo[ w ][ WARKreiranje ] = false;
	        WARInfo[ w ][ WARAktivan ] = false;
	        KreiranjeWara[ playerid ] = -1;
		}
	}
Extremac is offline   Reply With Quote
Old 30/12/2018, 10:26 PM   #2
Extremac
Little Clucker
 
Join Date: Sep 2018
Posts: 15
Reputation: 0
Default Re: Help about 5 eros

Quote:
Originally Posted by ****** View Post
"input line too long". It's fairly self-explanatory. Make the line shorter.
Thank you for your help and happy Christmas and your new year haha
Extremac is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 03:44 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.