Dialog update bug
#1

Hello i need some help with the dialog it doest show up. This is the script that i dont know what bug or missing.

This is the message

Код:
new ChangesDialog[][] =
{
    "V3.5.83",
	"Fix TR radio, add anims at /time, fix /h remove object, add /buydrink at club",
	"fix buygun money transfer to biz safe, added scripter and mapper rank",
	"V3.5.20",
	"added /setcapping for /capture, Added TR Faction Duty Armor and HP",
	"Changing Government Color to dark grey, changing /changes chat to dialog",
	"V3.5.16",
	"Removing TR unused vehicle and added change vehicle model",
	"Fixed the /badge bug for TR Faction",
	"V3.4.78",
	"Added business system and few bug fixed"
};
This is the stock

Код:
stock ShowChangesDialog(playerid)
{
    new dialog_string[5000];
    format(dialog_string, sizeof(dialog_string), ChangesDialog);
	ShowPlayerDialog(playerid, zzzz, DIALOG_STYLE_LIST, "Latest Version of SR:RP", dialog_string, "Okay", "");
	return 1;
}
and this is the command.

Код:
CMD:changes(playerid, params[])
{
    return ShowChangesDialog(playerid);
}
Reply
#2

CMD:dialog(playerid, params[])
{
ShowPlayerDialog(playerid, zzzz, DIALOG_STYLE_LIST, "Latest Version of SR:RP", dialog_string, "Okay", ""); return
}

new ChangesDialog[11][11] =
{
"V3.5.83",
"Fix TR radio, add anims at /time, fix /h remove object, add /buydrink at club",
"fix buygun money transfer to biz safe, added scripter and mapper rank",
"V3.5.20",
"added /setcapping for /capture, Added TR Faction Duty Armor and HP",
"Changing Government Color to dark grey, changing /changes chat to dialog",
"V3.5.16",
"Removing TR unused vehicle and added change vehicle model",
"Fixed the /badge bug for TR Faction",
"V3.4.78",
"Added business system and few bug fixed"
};


Try
Reply
#3

don't use stock?
Reply
#4

error

error 048: array dimensions do not match

on this line

format(string, sizeof(string), ChangesDialog);
strcat(dialog_string, ChangesDialog);
Reply
#5

Is this correct?

Код:
Here >> new ChangesDialog[][] =
{
    "V3.5.83",
	"Fix TR radio, add anims at /time, fix /h remove object, add /buydrink at club",
	"fix buygun money transfer to biz safe, added scripter and mapper rank",
	"V3.5.20",
	"added /setcapping for /capture, Added TR Faction Duty Armor and HP",
	"Changing Government Color to dark grey, changing /changes chat to dialog",
	"V3.5.16",
	"Removing TR unused vehicle and added change vehicle model",
	"Fixed the /badge bug for TR Faction",
	"V3.4.78",
	"Added business system and few bug fixed"
};
Reply
#6

umm it fix but, its not like in arrange like top to bottom

PHP код:
http://postimg.org/image/4t1xynz3t/ 
Reply
#7

Yea it fixed thanks guys +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)