28.07.2018, 10:11
I have problem with player dialog.
When player change skin rotation with scrolls for other player skins got change.
How to fix it?
PHP код:
if (dialogstr[0] == EOS) {
for (new i; i < sizeof(PlayerSkins); i++)
{
if(PlayerSkins[i][playerid] == 0) break;
format(caption, sizeof caption, "%i\tID: %i\n", PlayerSkins[i][playerid], PlayerSkins[i][playerid]);
strcat(dialogstr, caption);
}
}
ShowPlayerDialog(playerid, DIALOG_ASHOP1, DIALOG_STYLE_PREVIEW_MODEL, "Special skins", dialogstr, "Select", "Cancel");
How to fix it?