26.11.2010, 13:15
heya, i got a big problem.
im trying to make my animations command and i nothing happens
i looked on a tutorial and on some help here and it did everything like it said. but when i press on animations 1 (dialog) then nothing happens
here is the code:
im trying to make my animations command and i nothing happens

i looked on a tutorial and on some help here and it did everything like it said. but when i press on animations 1 (dialog) then nothing happens

here is the code:
pawn Код:
// Animlist
#define DialogID 123
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/animlist", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,DialogID, DIALOG_STYLE_LIST, "Animations", "Animation1 \nAnimation2 \nAnimation3\nAnimation4", "Cancel", "Continue");
SendClientMessage(playerid, 0xFFFF00AA, "Animation Commands!");
return 1;
}
return 0;
}