Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- VISITE NOSSO SITE: http://www.sampknd.com/
- VISITE NOSSO FACEBOOK: http://www.facebook.com/SampKnd
- SAMP KND MELHOR BLOG DE SAMP DO BRASIL
- */
- #include a_samp
- #include zcmd
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
- if (dialogid == 12) {
- if (response) {
- if (listitem == 0) {
- {
- SetWeather(1);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- if (listitem == 1) {
- {
- SetWeather(19);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- if (listitem == 2) {
- {
- SetWeather(9);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- if (listitem == 3) {
- {
- SetWeather(20);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- if (listitem == 4) {
- {
- SetWeather(16);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- if (listitem == 5) {
- {
- SetWeather(44);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- if (listitem == 6) {
- {
- SetWeather(11);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- if (listitem == 7) {
- {
- SetWeather(39);
- SendClientMessage(playerid, 0x33CCFFAA, "Você alterou o clima com sucesso.");
- }
- }
- }
- else {
- }
- }
- return 1;
- }
- COMMAND:clima(playerid)
- {
- ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Selecione o clima:", "- {B0E0E6}Normal\n{FFFFFF}- {B0E0E6}Tempestade de Areia\n{FFFFFF}- {B0E0E6}Nebuloso\n{FFFFFF}- {B0E0E6}Névoa\n{FFFFFF}- {B0E0E6}Tempestade\n{FFFFFF}- {B0E0E6}Preto e Branco\n{FFFFFF}- {B0E0E6}Escaldante\n{FFFFFF}- {B0E0E6}Extremamente brilhante", "OK", "Cancelar");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement