Advertisement
RogerGomesCosta

TuningDialog

Apr 8th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.56 KB | None | 0 0
  1. #define TuningIntro     200
  2. #define TuningSpoiler   201
  3. #define TuningHood  202
  4. #define TuningRoof  203
  5.  
  6. forward ShowTuningMenu(playerid, ShopName[]);
  7. public ShowTuningMenu(playerid)
  8. {
  9.     ShowPlayerDialog(playerid, TuningIntro, 2, ShopName, "Aerofolios\nPintura\nRodas\nHidraulica\nNitro\nLanterna\nExaustor\nStereo\n", "Avançar", "Sair");
  10. }
  11.  
  12. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  13. {
  14.     if(dialogid == TuningIntro)
  15.     {
  16.        if(response)
  17.        {
  18.            if(listitem == 0) // Aerofolio
  19.            {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement