08.05.2018, 15:40
Hey.
I have this command. But how do i make a function for this ? I mean the list of animations (array ) ?
I have this command. But how do i make a function for this ? I mean the list of animations (array ) ?
Code:
CMD:anims(playerid)
{
new data[650];
for(new i = 0; i < sizeof(Anims); i++)
{
format(data, sizeof(data), "%s%s\n", data, Anims[i][Command]);
}
ShowPlayerDialog(playerid, DIALOG_ANIMS, DIALOG_STYLE_LIST, "Animations:", data, "Select", "Exit");
return 1;
}

