Jump to content
  • 0

(Problema) error 075: input line too long


Question

Posted

Erorile sunt acestea:

[pawn]C:\DOCUME~1\CLAUDY~1\Desktop\KRT~1\samp03\GAMEMO~1\testing.pwn(8919) : error 075: input line too long (after substitutions)

C:\DOCUME~1\CLAUDY~1\Desktop\KRT~1\samp03\GAMEMO~1\testing.pwn(8920) : error 037: invalid string (possibly non-terminated string)

C:\DOCUME~1\CLAUDY~1\Desktop\KRT~1\samp03\GAMEMO~1\testing.pwn(8920) : error 029: invalid expression, assumed zero

C:\DOCUME~1\CLAUDY~1\Desktop\KRT~1\samp03\GAMEMO~1\testing.pwn(8920) : error 029: invalid expression, assumed zero

C:\DOCUME~1\CLAUDY~1\Desktop\KRT~1\samp03\GAMEMO~1\testing.pwn(8920) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

5 Errors.[/pawn]

Scriptul este acesta:

[pawn]    new ololo[512];

format(ololo,sizeof(ololo),"Name:[%s](%d) Level:[%d] Sex:[%s] Age:[%d] Origin:[%s] Cash:[%s] Bank:[%s] Ph:[%d]\n\

Premium Account:[%s] NextLevel:[$%d] Respect:[%d/%d] PlayingHours:[%d] Rob Points:[%d]\n\

Kills:[%d] Deaths:[%d] Wanted Deaths:[%d] CrimesCommited:[%d] TimesArrested:[%d] Jail:[%s, %d]\n\

WantedLevel:[%d] Married with:[%s] Lotto number:[%d]Disease:[%s] Drugs:[%d] Materials:[%d]\n\

Team:[%s] Job:[%s] Organisation:[%s] Family:[%s] Rank:[%s] Faction Punish [0/60]\n\

Warns:[%d/4] Faction Warns:[%d/4] Admin Warns:[%d/5] Game Master Warns:[%d/3]"

,name,targetid,level,atext,age,otext,DecimalPoint(GetPlayerMoney(targetid)), DecimalPointBank(targetid), pnumber,drank,costlevel,exp,expamount,ptime,rob,kills,deaths,warrests,crimes,arrests,jailtext,timpinchisoare,wanted,married,lotto,dtext,drugs,mats,ttext,jtext,ftext,f2text,rtext,warn,facwarn,admwarn,gmwarn);

ShowPlayerDialog(playerid, 1932, DIALOG_STYLE_MSGBOX,"Your Statistics:",ololo,"ENTER","");

[/pawn]

PS: Am incercat cu "\" dar imi da eroare.

5 answers to this question

Recommended Posts

Posted

,name,targetid,level,atext,age,otext,DecimalPoint(GetPlayerMoney(targetid)), DecimalPointBank(targetid), pnumber
,drank,costlevel,exp,expamount,ptime,rob,kills,deaths
,warrests,crimes,arrests,jailtext,timpinchisoare,wanted
,married,lotto,dtext,drugs,mats,ttext,jtext,ftext,f2text
,rtext,warn,facwarn,admwarn,gmwarn);

Incearca sa scrii lini asta in mai multe linii pt ca este prea lunga,incearca asa...sper sa mearga

Posted

Stingu este prea mare , fal cu strcat.

http://www.sa-mp.ro/forum/index.php?topic=13379.0

Are parametri in caz ca nu vezi.

Desparte-l in mai multe formaturi, exemplu:

format( string, 1024, "text", parametrii );
format( string, 1024, "%scontinuare", string, parametrii_continuarii );
format( string, 1024, "%scontinuare", string, parametrii_continuarii );
format( string, 1024, "%scontinuare", string, parametrii_continuarii );

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.