20.02.2014, 16:43
I've just spend hours going through my code adding all the names to each peace of furniture and now this is whining at me.. I take it the line is too long? That's the only thing I can think of.. If it is how do I carry the code onto the next line?
Here are the errors..
Here are the errors..
pawn Код:
C:\Users\User\Documents\SAMP Stuff\SA-MP Server\GTA-SH Server\gamemodes\GTASH_FurniAdd.pwn(4928) : error 075: input line too long (after substitutions)
C:\Users\User\Documents\SAMP Stuff\SA-MP Server\GTA-SH Server\gamemodes\GTASH_FurniAdd.pwn(4929) : error 027: invalid character constant
C:\Users\User\Documents\SAMP Stuff\SA-MP Server\GTA-SH Server\gamemodes\GTASH_FurniAdd.pwn(4929) : error 017: undefined symbol "mrk_seating1"
C:\Users\User\Documents\SAMP Stuff\SA-MP Server\GTA-SH Server\gamemodes\GTASH_FurniAdd.pwn(4929) : error 029: invalid expression, assumed zero
C:\Users\User\Documents\SAMP Stuff\SA-MP Server\GTA-SH Server\gamemodes\GTASH_FurniAdd.pwn(4929) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
pawn Код:
if(listitem == 0)
{
ShowPlayerDialog(playerid, 510, DIALOG_STYLE_LIST, "Furniture Chairs", "mrk_seating1\nkb_couch05\nchairsntable\nswivelchair_B\nkb_chair03\nkb_chair04\nkb_chair02\nkb_chair01\nkb_swivelchair1\nhotel_single_3\nrest_chair\ncj_easychair1\nswank_din_chair_5\nkb_table_chairs1\nswank_din_chair_2\nmed_din_chair_1\ncj_pizza_chair3\nmrk_seating2\nmrk_seating2b\nswank_1_footstool\nswk_single_1b\nswk_single_1\nlow_single_3\nmed_single_1\nlow_single_2\nswank_single_2\nlow_single_1\nlow_single_4\nmed_single_2\nlounger\nkb_couch06\nkb_couch03\nkb_couch05\nkb_couch03\nkb_couch04\nswank_couch_1\nlow_couch_4\nlow_couch_5\nmed_couch_2\nswank_couch_2\nlow_couch_1\nlow_couch_2\nlow_couch_3\nhotel_single_1\nhotel_single_2", "Ok", "Cancel");
}