Tune items
#1

As the title says,i saw on some servers that you can make a faction for example,and the members of it have the command to tune your car,how can i make the table with tunning items?Thanks.
Reply
#2

First - Create a command using ZCMD (preferred)
Second - How to Create A Dialog
Third - OnDialogResponse

its Done!
Reply
#3

And how do i connect the cmd to the dialog?
Reply
#4

Код:
#define TUNEMENU 15000


CMD:tune (playerid, params[])
{
     ShowPlayerDialog(playerid, TUNEMENU, DIALOG_STYLE_LIST, "Tune Menu","Nitrox\nHydraulics\nWheels\nPaint Jobs\nColours", "Select", "Back");
     return 1;
}
It will connect the dialog to command you use IF you defined the dialog name correctly. And make sure the dialog ID you use are different from each defined dialog or it may cause conflicts on the dialog
Reply
#5

Ok,got it.Thanks!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)