02.12.2018, 14:35
Hey,
in my script i created this:
and i call it in a dialog like
But how can i get the skin id in
in my script i created this:
Код:
new PoliceSkins[] =
{
280,281,282,283,284,288,300,301,302,306,307,309,310,311
};
Код:
CMD:skins(playerid) {
new string[128];
for (new i = 0; i < sizeof(PoliceSkins); i++) {
format(string, sizeof string, "%s%i\tID: %i\n", string, PoliceSkins[i], PoliceSkins[i]);
}
return ShowPlayerDialog(playerid, DIALOG_POLIZEISKINS, DIALOG_STYLE_PREVIEW_MODEL, "Polizei Skins", string, "Auswaehlen", "Abbrechen");
}
But how can i get the skin id in
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])

