Please help. I don't know..
#1

Please help me to fix this error..

Error:
PHP код:
gf.pwn(12806) : error 075input line too long (after substitutions)
gf.pwn(12807) : error 017undefined symbol "acco"
gf.pwn(12808) : error 017undefined symbol "unt"
gf.pwn(12808) : error 029invalid expressionassumed zero 
The Code:
12806:
  • PHP код:
    SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring); 
12807:
  • PHP код:
    format(coordsstringsizeof(coordsstring), "{6EF83C}Level{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}Sex{FFFFFF}:{F81414}[{FFFFFF}%s{F81414}] {6EF83C}Ani{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}Origine{FFFFFF}:{F81414}[{FFFFFF}%s{F81414}] {6EF83C}ViataSpawn{FFFFFF}:{F81414}[{FFFFFF}%.1f{F81414}] {6EF83C}Lei{FFFFFF}:{F81414}[{FFFFFF}$%d{F81414}] {6EF83C}Banca{FFFFFF}:{F81414}[{FFFFFF}$%d{F81414}] {6EF83C}Nr.Telefon{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}]"level,atext,age,otext,shealth+50cashaccountpnumber); 
12808:
  • PHP код:
    SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring); 
The script:
PHP код:
        new coordsstring[1028];
        
SendClientMessage(playeridCOLOR_COUNTA,"{00C0FF}_____________________________________________________________________________________________");
        
format(coordsstringsizeof(coordsstring),"**Numele tau:{FF8000} %s {FFFFFF}**",name);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "{6EF83C}Level{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}Sex{FFFFFF}:{F81414}[{FFFFFF}%s{F81414}] {6EF83C}Ani{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}Origine{FFFFFF}:{F81414}[{FFFFFF}%s{F81414}] {6EF83C}ViataSpawn{FFFFFF}:{F81414}[{FFFFFF}%.1f{F81414}] {6EF83C}Lei{FFFFFF}:{F81414}[{FFFFFF}$%d{F81414}] {6EF83C}Banca{FFFFFF}:{F81414}[{FFFFFF}$%d{F81414}] {6EF83C}Nr.Telefon{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}]"level,atext,age,otext,shealth+50cashaccountpnumber);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "{6EF83C}RankDoantor{FFFFFF}:{F81414}[{FFFFFF}%s{F81414}] {6EF83C}Maritat:{F81414}[{FFFFFF}%s{F81414}] {6EF83C}OreJucate:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}Nr.Lotto:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}Job:{F81414}[{FFFFFF}%s{F81414}] {6EF83C}Rob:{F81414}[{FFFFFF}%d/15{F81414}]"drank,married,ptime,lotto,jtext,robstat);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "{6EF83C}Pesti{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}Cel-Mai-Mare-Peste{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}CrimeComise{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}TimpDeArest{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}] {6EF83C}WantedDeaths{FFFFFF}:{F81414}[{FFFFFF}%d{F81414}]"fishes,bigfish,crimes,arrests,warrests);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "Killuri:[%d] KillLaWar:[%d] Death-uri:[%d] NextLevel:[$%d] Respect:[%d/%d] WantedLevel:[%d] Familie:[%s]",kills,warkills,deaths,costlevel,exp,expamount,wanted,f2text);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "Droguri:[%d] Materiale:[%d] Echipa:[%s] Disease:[%s] Organizare:[%s] Rank:[%s]",drugs,mats,ttext,dtext,ftext,rtext);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "MatsProtejate:[%d] DroguriProtejate:[%d] Warn-uri:[%d/5] Acces La Warn-uri:[%d/4] Warn-uri Factiune:[%d/3] DD Manager:[%d] DDH Manager:[%d]",matss,drugss,warns,awarns,facwarn,drights,ddhrights);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "Club:[%s] Rank Club:[%s] Club Warns:[%d/3] Bounty Points:[%d] LocatieSpawn:[%s]"xtext,ytext,clubwarns,bounty,wtext);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "Key Casa: [%d] Key Bizz [%d] HireKey [%d] Key Masina1:[%d] Key Masina2:[%d] Key Masina3:[%d] Interios:[%d] local[%d] VW:[%d]"housekey,bizkey,HireCar[targetid],PlayerInfo[targetid][pCar],PlayerInfo[targetid][pCar2],PlayerInfo[targetid][pCar3],intir,local,virworld);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
format(coordsstringsizeof(coordsstring), "Leader Warns: [%d/4] Admin Level: [%d] Helper Level: [%d] Misiuni Complete:[%d] Coins:[%d]",lwarnsPlayerInfo[targetid][pAdmin], PlayerInfo[targetid][pHelper], missioncompcoin);
        
SendClientMessage(playeridCOLOR_LIGHTBLUE,coordsstring);
        
SendClientMessage(playeridCOLOR_COUNTA,"{00C0FF}____________________________________________________________________________________________"); 
Reply
#2

You can only have so many digits in a message, i.e. you need to remove some text color codes to reduce the amount of digits used.
Reply
#3

-----
Reply
#4

I would suggest you to cut the line 12807 to half and make another line so you won't get out of array lines..
you can't make infinite lines so think about it..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)