29.12.2018, 03:23
Код:
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
Код:
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");