SA-MP Forums Archive
Crafting dialog problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Crafting dialog problem (/showthread.php?tid=632198)



Crafting dialog problem - jasperschellekens - 10.04.2017

Hello, I have a problem with a crafting dialog.
How can i fix this?

error:
PHP код:
D:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13276) : error 075: input line too long (after substitutions)
D:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13277) : error 037: invalid string (possibly non-terminated string)
D:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13277) : error 017: undefined symbol "Cance"
D:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13278) : warning 217: loose indentation
D
:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13278) : error 017: undefined symbol "l"
D:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13278) : warning 215: expression has no effect
D
:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13278) : error 001: expected token: ";", but found ")"
D:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13278) : error 029: invalid expression, assumed zero
D
:\SAMPSERVER\Los Angeles Roleplay\gamemodes\New.pwn(13278) : fatal error 107: too many error messages on one line 
code: ( 176-178 )
PHP код:
                        {
                                
ShowPlayerDialog(playerid, DIALOGCRAFT+2, DIALOG_STYLE_LIST, "Schematics", "Level 0 - Medkit\nLevel 1 - Toolkit\nLevel 2 - Metal Scraps\nLevel 2 - Mask\nLevel 2 - 9mm\nLevel 3 - Silenced 9mm\nLevel 3 - Brass Knuckles\nLevel 4 - Desert Eagle\nLevel 4 - Shotgun\nLevel 4 - Uzi\nLevel 4 - TEC-9\nLevel 5 - MP5\nLevel 5 - Sawed-off Shotgun\nLevel 6 - SPAS-12 Shotgun\nLevel 6 - AK-47\nLevel 6 - M4\nLevel 7 - Rifle\nLevel 8 - Sniper Rifle\nLevel 9 - Kevlar Armour", "Select", "Cancel");
                        } 



Re: Crafting dialog problem - SyS - 10.04.2017

Please show neighboring lines too


Re: Crafting dialog problem - jasperschellekens - 10.04.2017

I fixed it with a string