Jump to content

Comanda Updates pe Dialog!


AlwaysGoLl

Recommended Posts

Bun ,deci incepem cu inceputul!

1.Definim (DIALOG_UPDATES)

2. Acum "facem" comanda.

CMD:Updates(playerid, params[])

{

ShowPlayerDialog(playerid, DIALOG_UPDATES, DIALOG_STYLE_LIST, "Updates Server",  "V0.1\nV0.2", "Select", "Cancel");

}

return 1;

...

3.Acum mergem sa adaugam versiunile de update...

   case DIALOG_UPDATES:

{
   if(!response) return 1;
   switch(listitem)

{
   case 0:

{
   ShowPlayerDialog(playerid, DIALOG_UPDATES, DIALOG_STYLE_MSGBOX, "Update V0.1", "Adaugata comanda /Updates\n", "Ok", "Cancel");
   }

{
   case 1:

{
   ShowPlayerDialog(playerid, DIALOG_UPDATES, DIALOG_STYLE_MSGBOX, "Update V0.2", "Ce updat-uri ai facut tu la server\n", "Ok", "Cancel");
   }

   }
   return 1;
   }

Bun..Cam atat cu aceasta comanda nu am stat sa mai si explic ...

 

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.