Samp PoliceSkins
#1

Hey,

in my script i created this:

Код:
new PoliceSkins[] =
{
280,281,282,283,284,288,300,301,302,306,307,309,310,311
};
and i call it in a dialog like

Код:
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[])
Reply


Messages In This Thread
Samp PoliceSkins - by theralio - 02.12.2018, 14:35
Re: Samp PoliceSkins - by labiyebu - 02.12.2018, 17:03
Re: Samp PoliceSkins - by serqq - 02.12.2018, 17:04
Re: Samp PoliceSkins - by theralio - 02.12.2018, 17:51

Forum Jump:


Users browsing this thread: 2 Guest(s)