Hi, mind posting your dialog code so we can help you find out whats going wrong ?
|
case 20: { format(titlestring, sizeof(titlestring), "{D50000}Drug Dealer"); format(line1, sizeof(line1), "{E6F900}Information:\n{AAC4E5}This job can be used to sell weed and cocaine to any customers you might find.\nIt often comes in handy when you're a higher level at it.\nThe higher the level, the more drugs you can hold.\nThis is an illegal job and you can get busted for doing it."); format(line2, sizeof(line2), "{E6F900}\nSkills:\n{AAC4E5}Level 1: You can hold 10 weed and 5 cocaine.\nLevel 2: You can hold 20 weed and 10 cocaine.\nLevel 3: You can hold 30 weed and 15 cocaine.\nLevel 4: You can hold 40 weed and 20 cocaine.\nLevel 5: You can hold 50 weed and 25 cocaine.\nThe reload time is always 1 minute no matter what level."); format(line3, sizeof(line3), "{E6F900}\nCommands:\n{AAC4E5}/sellweed, /sellcocaine, /sellmeth, /sellheroin, /buydrug\n\n{E6F900}Location of Job:\n{AAC4E5}You already have this job, so you don't need it."); format(mstring, sizeof(mstring), "%s\n%s\n%s", line1, line2, line3); ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, titlestring, mstring, "Done", "Cancel"); }
new line1[281],line2[318],line3[173],mstring[773];
format(line1, sizeof(line1), "{E6F900}Information:\n{AAC4E5}This job can be used to sell weed and cocaine to any customers you might find.\nIt often comes in handy when you're a higher level at it.\nThe higher the level, the more drugs you can hold.\nThis is an illegal job and you can get busted for doing it.");
format(line2, sizeof(line2), "{E6F900}\nSkills:\n{AAC4E5}Level 1: You can hold 10 weed and 5 cocaine.\nLevel 2: You can hold 20 weed and 10 cocaine.\nLevel 3: You can hold 30 weed and 15 cocaine.\nLevel 4: You can hold 40 weed and 20 cocaine.\nLevel 5: You can hold 50 weed and 25 cocaine.\nThe reload time is always 1 minute no matter what level.");
format(line3, sizeof(line3), "{E6F900}\nCommands:\n{AAC4E5}/sellweed, /sellcocaine, /sellmeth, /sellheroin, /buydrug\n\n{E6F900}Location of Job:\n{AAC4E5}You already have this job, so you don't need it.");
format(mstring, sizeof(mstring), "%s\n%s\n%s", line1, line2, line3);
ShowPlayerDialog(playerid, 20, DIALOG_STYLE_MSGBOX, "{D50000}Drug Dealer", mstring, "Done", "Cancel");