dylan4021

dialog skin

Aug 24th, 2011
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.61 KB | None | 0 0
  1. if(dialogid == ComprarSkin) {
  2.         if(response) {
  3.             if(!response) {
  4.                 SendClientMessage(playerid, Vermelho, "Volte Sempre!");
  5.                 return true;
  6.             }
  7.             if(strlen(inputtext) < 1 || strlen(inputtext) > 3) return ShowPlayerDialog(playerid, ComprarSkin, DIALOG_STYLE_INPUT, "{FFFFFF}Comprar Skins", "Digite sua Skin desejada!", "Comprar", "Fechar");
  8.             format(stryng, sizeof(stryng), "Você comprou a skin %d, por R$ 356.", inputtext);
  9.             SendClientMessage(playerid, Cinza, stryng);
  10.             SetPlayerSkin(playerid, strlen(inputtext));
  11.             return true;
  12.         }
  13.         return true;
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment