Animation list
#1

Hello pleople
How to make when player do /animations to show the animation list like image Its posible
Reply
#2

What do you mean by image? Like a dialog?
Reply
#3

Yeah
Idk maybe any players saw in RPG servers when u do /status u saw a list Like /status list to be and /animlist
Reply
#4

Yeah, its possible:

OnPlayerCommandText, add:

Under your command, example: /anims:
pawn Код:
ShowPlayerDialog(playerid,DialogID, DIALOG_STYLE_LIST, "Animations", "Animation1 \nAnimation2 \nAnimation3\nAnimation4", "Cancel", "Continue");
Or, you can add diffrend box styles:

pawn Код:
ShowPlayerDialog(playerid,DialogID, DIALOG_STYLE_MSGBOX, "Animations", "/Animation1, /Animation2, /Animation3, /Animation4 \n /Animation 5", "Cancel", "Continue");
(You can add more, ofc.)
pawn Код:
\n // means a new line.
Reply
#5

Quote:
Originally Posted by ExeC
Посмотреть сообщение
Yeah, its possible:

OnPlayerCommandText, add:

Under your command, example: /anims:
pawn Код:
ShowPlayerDialog(playerid,DialogID, DIALOG_STYLE_LIST, "Animations", "Animation1 \nAnimation2 \nAnimation3\nAnimation4", "Cancel", "Continue");
Or, you can add diffrend box styles:

pawn Код:
ShowPlayerDialog(playerid,DialogID, DIALOG_STYLE_MSGBOX, "Animations", "/Animation1, /Animation2, /Animation3, /Animation4 \n /Animation 5", "Cancel", "Continue");
(You can add more, ofc.)
pawn Код:
\n // means a new line.

1.error


pawn Код:
error 017: undefined symbol "DialogID"
Reply
#6

Код:
#define   DialogID     123
Reply
#7

Cool will use this have looled everywhere for this ^^
Reply
#8

it works but i want to use the animations "dunno how"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)