error 075: input line too long (after substitutions)
#1

Код:
new newstring[1800];
							strcat(newstring, "Civilian - Silenced Pistol,Shotgun - 0 XP\nBoxer - Deagle,Shotgun,More Fist Damage - 300 XP\nPolice - Deagle,Shotgun - 500 XP\nGangster - Deagle,Spray Cane - 700 XP\nScout - Silenced Pistol,Sniper - 1000 X\n\
							Medic - Silenced Pistol,Shotgun Can cure humans - 1500 XP\nHeavy Medic - Deagle,Shotgun,Armour - Can cure humans - 2500\nAdvanced Gangster - Spray, Deagle, AK47 - 9,500 XP\nFire Guy - M4,Deagle,Can spawn random weapons using LALT - 70,000 XP\nAdvanced Hero - Deagle,M4,Half Armour - 300,000 XP");
Код:
G:\sampdm\gamemodes\zma.pwn(950) : error 075: input line too long (after substitutions)
G:\sampdm\gamemodes\zma.pwn(951) : error 037: invalid string (possibly non-terminated string)
G:\sampdm\gamemodes\zma.pwn(951) : error 017: undefined symbol "Civilian"
G:\sampdm\gamemodes\zma.pwn(951) : error 017: undefined symbol "Pistol"
G:\sampdm\gamemodes\zma.pwn(951) : fatal error 107: too many error messages on one line
error lines
Код:
strcat(newstring, "Civilian - Silenced Pistol,Shotgun - 0 XP\nBoxer - Deagle,Shotgun,More Fist Damage - 300 XP\nPolice - Deagle,Shotgun - 500 XP\nGangster - Deagle,Spray Cane - 700 XP\nScout - Silenced Pistol,Sniper - 1000 X\n\
Код:
Medic - Silenced Pistol,Shotgun Can cure humans - 1500 XP\nHeavy Medic - Deagle,Shotgun,Armour - Can cure humans - 2500\nAdvanced Gangster - Spray, Deagle, AK47 - 9,500 XP\nFire Guy - M4,Deagle,Can spawn random weapons using LALT - 70,000 XP\nAdvanced Hero - Deagle,M4,Half Armour - 300,000 XP");
Reply
#2

Try this maybe:

PHP код:
    new newstring[1800];
        
strcat(newstring"Civilian - Silenced Pistol,Shotgun - 0 XP\nBoxer - Deagle,Shotgun,More Fist Damage - 300 XP\n");
        
strcat(newstring"Police - Deagle,Shotgun - 500 XP\nGangster - Deagle,Spray Cane - 700 XP\n");
        
strcat(newstring"Scout - Silenced Pistol,Sniper - 1000 X\nMedic - Silenced Pistol,Shotgun Can cure humans - 1500 XP\n");
        
strcat(newstring"Heavy Medic - Deagle,Shotgun,Armour - Can cure humans - 2500\nAdvanced Gangster - Spray,Deagle, AK47 - 9,500 XP\n");
        
strcat(newstring"Fire Guy - M4,Deagle,Can spawn random weapons using LALT - 70,000 XP\nAdvanced Hero - Deagle,M4,Half Armour - 300,000 XP"); 
Reply
#3

I want fix of my code only

EDIT: I fixed it myself, Anyways Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)