Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- VISITE NOSSO SITE: http://www.sampknd.com/
- SAMP KND MELHOR BLOG DE SAMP DO BRASIL
- Algumas coisas tirei base de gm que eu tinha aqui!
- CONTEM
- /CIDADES
- /MLUTA
- /CLIMA
- /CORES
- /VEICULOS
- CREDITOS A [UnC]BILLY_The_KiD ou [UnC]VoVaZ_DDs
- ==============================================================================*/
- #include <a_samp>
- #include <zcmd>
- #define VEICULOS 3600
- #define Clima 6
- #define Cores 5
- #if defined FILTERSCRIPT
- #endif
- CMD:cidades(playerid, params[]){
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "CIDADES", "{FFFFFF}Los-Santos\nLas-Venturas\nSan-Fierro\nAngel-Pine\nBayside\nForte-Carson\nLas-Barrancas\nPalomino-Creeck\nBlueberry\nMont-Gomery", "Ok", "Cancelar");
- return 1;
- }
- CMD:mluta(playerid, params[]){
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "ESTILOS DE LUTA", "{FFFFFF}Normal\nBoxe\nKung-fu\nKnee-Head\nGrab-Kick\nElbow", "Ok", "Cancelar");
- return 1;
- }
- CMD:veiculos(playerid, params[]){
- ShowPlayerDialog(playerid, VEICULOS, DIALOG_STYLE_LIST, "Veiculos-Disponiveis", "Carros\nMotos", "Selecionar", "Cancelar");
- return 1;
- }
- CMD:climas(playerid, params[]){
- ShowPlayerDialog(playerid, Clima, DIALOG_STYLE_LIST, "Climas", "Noite\nDia\nTempestade\nTempestade-De-Areia\nNublado\nSol-Escaldante", "OK", "Cancelar");
- return 1;
- }
- CMD:cores(playerid, params[]){
- ShowPlayerDialog(playerid, Cores, DIALOG_STYLE_LIST, "Cores De Nick", "\nBranco\nAzul\nAmarelo\nVermelho\nVerde\nRosa\nPreto\nBege\nLaranja\nVerde-Claro\nAzul-Claro", "OK", "Cancelar");
- return 1;
- }
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("[UnC]BILLY_THE_KID");
- print("--------------------------------------\n");
- return 1;
- }
- new Veiculos1[MAX_PLAYERS];
- new Veiculos2[MAX_PLAYERS];
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- DestroyVehicle(Veiculos1[playerid]);
- DestroyVehicle(Veiculos2[playerid]);
- //destroi o carro ao player decer do carro criado!
- return 1;
- }
- //============================
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
- if (dialogid == 1) {
- if (response) {
- if (listitem == 0) {
- {
- }
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~w~Bem Vindo a Los Santos", 3000, 3);
- SetVehiclePos(VehicleID, 1674.7269, -1044.1053, 23.8984);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), " %s Foi Para LOS SANTOS Comando /Cidades ", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 1674.7269, -1044.1053, 23.8984);
- new string[120];
- format(string, sizeof(string), " %s Foi Para LOS SANTOS Comando /Cidades ", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- return 1;
- }
- }
- }
- if (listitem == 1) {
- {
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- GameTextForPlayer(playerid, "~w~Bem vindo a Las Venturas!", 2673, 10);
- SetVehiclePos(VehicleID, 2036.1473, 996.9255, 10.8203);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), " %s Foi Para LAS VENTURAS COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 2036.1473, 996.9255, 10.8203);
- new string[120];
- format(string, sizeof(string), " %s Foi Para LAS VENTURAS COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- }
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- }
- if (listitem == 2) {
- {
- GameTextForPlayer(playerid, "~w~Bem Vindo A San-fierro", 3000, 5);
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID, -1498.4605712891, 804.00384521484, 7.1853160858154);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), " %s Foi Para SAN-FIERRO COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, -1498.4605712891, 804.00384521484, 7.1853160858154);
- new string[120];
- format(string, sizeof(string), " %s Foi Para SAN-FIERRO COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- }
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- }
- if (listitem == 3) {
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~w~Bem Vindo a ANGEL PINE", 3000, 3);
- SetVehiclePos(VehicleID, -2162.2388, -2400.7605, 29.9499);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "%s Foi para ANGEL PINE COMANDO: /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, -2111.5029, -2367.3154, 30.4688);
- new string[120];
- format(string, sizeof(string), "%s Foi para ANGEL PINE /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- }
- if (listitem == 4) {
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- GameTextForPlayer(playerid, "~w~Bem Vindo a BAYSIDE!!", 3000, 10);
- SetVehiclePos(VehicleID, -2255.5081, 2332.1697, 4.5188);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "%s Foi Para A Cidade De BAYSIDE COMANDO: /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, -2263.6353, 2285.1350, 4.8202);
- new string[120];
- format(string, sizeof(string), "%s Foi Para A Cidade De BAYSIDE COMANDO: /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- }
- if (listitem == 5) {
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- GameTextForPlayer(playerid, "~w~Bem Vindo a FORTE CARSON!!", 3000, 10);
- SetVehiclePos(VehicleID, -171.1771, 1097.8525, 19.1337);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "%s Foi Para FORTE CARSON COMANDO: /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, -194.0665, 1100.7191, 19.5938);
- new string[120];
- format(string, sizeof(string), "%s Foi Para FORTE CARSON COMANDO: /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- }
- if (listitem == 6) {
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- GameTextForPlayer(playerid, "~w~Bem Vindo a las barrancas!!", 3000, 10);
- SetVehiclePos(VehicleID, -807.7308, 1541.5775, 26.6671);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), " %s Foi Para las barrancas COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, -809.2288, 1592.6237, 26.9609);
- new string[120];
- format(string, sizeof(string), " %s Foi Para las barrancas COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- }
- if (listitem == 7) {
- GameTextForPlayer(playerid, "~w~ Bem Vindo a Palomino Creeck!", 2000, 5);
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID, 2344.2783, 48.4310, 26.0428);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), " %s Foi Para PALOMINO CREECK COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 2343.4797, 86.6201, 26.3353);
- new string[120];
- format(string, sizeof(string), " %s Foi Para PALOMINO CREECK COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- }
- if (listitem == 8) {
- GameTextForPlayer(playerid, "~w~ Bem Vindo a BLUEBERRY!", 2000, 5);
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID, 66.8784, -231.1946, 1.3791);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), " %s Foi Para BLUEBERRY COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 64.1384, -248.9498, 1.5781);
- new string[120];
- format(string, sizeof(string), " %s Foi Para BLUEBERRY COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- }
- if (listitem == 9) {
- GameTextForPlayer(playerid, "~w~ Bem Vindo a MONT GOMERY!", 2000, 5);
- if (IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID, 1307.9098, 291.2258, 19.1142);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), " %s Foi Para MONT GOMERY COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- SetPlayerInterior(playerid, 0);
- } else {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 1317.8403, 312.5686, 19.4063);
- new string[120];
- format(string, sizeof(string), " %s Foi Para MONT GOMERY COMANDO /Cidades", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- SetPlayerInterior(playerid, 0);
- }
- } else {
- }
- }
- //--mudar luta
- if (dialogid == 2) {
- if (response) {
- if (listitem == 0) {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Normal!");
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 1) {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Boxe!");
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 2) {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Kung-Fu!");
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 3) {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Kneehead!");
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 4) {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Grabkick");
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 5) {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Trocou Seu Modo De Luta Para Elbow-Cotovelo");
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- new string[120];
- format(string, sizeof(string), "{FFFFFF}%s {A8A545}Mudou O Modo De Lutar Quer Mudar Tanbem ? {FFFFFF}/Mluta", pname);
- SendClientMessageToAll(0x8080FF96, string);
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- }
- }
- //======clima
- if (dialogid == Clima) {
- if (response) {
- if (listitem == 0) {
- SetPlayerWeather(playerid, 45);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Noite!");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 1) {
- SetPlayerWeather(playerid, 10);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Dia!");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 2) {
- SetPlayerWeather(playerid, 08);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Tempestade!");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 3) {
- SetPlayerWeather(playerid, 19);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Tempestade De Areia!");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 4) {
- SetPlayerWeather(playerid, 09);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Nublado!");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 5) {
- SetPlayerWeather(playerid, 17);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou Seu Clima Para Sol-Escaldante");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- }
- }
- //======cores de nick 10 no momento
- if (dialogid == Cores) {
- if (response) {
- if (listitem == 0) {
- SetPlayerColor(playerid, 0xFFFFFF96);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FFFFFF}Branco ");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 1) {
- SetPlayerColor(playerid, 0x0000FF96);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{0000FF}Azul");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 2) {
- SetPlayerColor(playerid, 0xFFFF0096);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FFFF00}Amarelo");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 3) {
- SetPlayerColor(playerid, 0xFF000096);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FF0000}Vermelho");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 4) {
- SetPlayerColor(playerid, 0x00800096);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para : {008000}Verde");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 5) {
- SetPlayerColor(playerid, 0xFF00FF96);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FF00FF}Rosa");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 6) {
- SetPlayerColor(playerid, 0x00000096);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{000000}Preto");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 7) {
- SetPlayerColor(playerid, 0x80800096);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{808000}Bege");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 8) {
- SetPlayerColor(playerid, 0xFF800096);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{FF8000}Laranja");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 9) {
- SetPlayerColor(playerid, 0x00FF0096);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{00FF00}Verde-Claro");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- if (listitem == 10) {
- SetPlayerColor(playerid, 0x00FFFF96);
- SendClientMessage(playerid, 0xFFFFFFAA, "Voçe Mudou A Cor Do Seu Nick Para :{00FFFF}Azul-Claro");
- PlayerPlaySound(playerid, 1133, 257.6206, -41.5307, 1002.0234);
- }
- }
- }
- //--VEICULOS----------------------------------------------------------------------
- if (dialogid == VEICULOS) // Menu
- {
- if (response) {
- if (listitem == 0) // Carros
- {
- ShowPlayerDialog(playerid, VEICULOS + 1, DIALOG_STYLE_LIST, "Carros", "Buffalo\nInfernus \nCheetah\nHotknife\nTurismo\nSuper-Gt \nElegy\nEsperanto\nSabre\nVoltar", "Selecionar", "Cancelar");
- }
- if (listitem == 1) // motos
- {
- ShowPlayerDialog(playerid, VEICULOS + 2, DIALOG_STYLE_LIST, "Motos", "Sanchez\nPizzaboy \nPCJ-600\nFaggio\nFreeway\nFCR-900\nNRG-500\nHPV1000\nBF-400\nWayfarer\nVoltar", "Selecionar", "Cancelar");
- }
- }
- return 1;
- }
- if (dialogid == VEICULOS + 1) // Carros
- {
- if (response) {
- if (listitem == 0) // buffalo
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Buffalo!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(402, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- return 1;
- }
- if (listitem == 1) // infernus
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Infernus!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(411, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 2) // cheetah
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Cheetah!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(415, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 3) // Hotknife
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Hotknife!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(434, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 4) // Turismo
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Turismo!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(451, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 5) // super gt
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Super GT!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(506, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 6) // elegy
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Elegy!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(562, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 7) // ESPERANTO
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um Esperanto!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(419, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 8) // SABRE
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Um SABRE!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos1[playerid] = CreateVehicle(475, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos1[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 9) // Voltar
- {
- ShowPlayerDialog(playerid, VEICULOS, DIALOG_STYLE_LIST, "Veiculos", "Carros\nMotos", "Selecionar", "Cancelar");
- }
- }
- return 1;
- }
- if (dialogid == VEICULOS + 2) // Motos
- {
- if (response) {
- if (listitem == 0) //Sanchez
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma Sanchez!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(468, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 1) // Pizzaboy
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma Pizzaboy!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(448, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 2) //PCJ-600
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma PCJ-600!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(461, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 3) //Faggio
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma Faggio!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(462, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 4) // Freeway
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma Freeway!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(463, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 5) // FCR-900
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma FCR-900!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(521, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 6) // NRG-500
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma NRG-500!");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(522, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 7) // HPV1000
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma HPV1000");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(523, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 8) //BF-400
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma BF-400");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(581, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 9) //Wayfarer
- {
- if (IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE60000FF, "Você esta em um veiculo");
- new Float: x,
- Float: y,
- Float: z,
- Float: Angulo;
- SendClientMessage(playerid, 0x00FF0CAA, "Você Crio Uma Wayfarer");
- SendClientMessage(playerid, 0xFF000096, "[AVISO]SE VOÇE DECER DO VEICULO ELE IRA SUMIR");
- SendClientMessage(playerid, 0xFFFF0096, "[DICA]SE ISSO ACONTECER CRIE OUTRO USE /VEICULOS");
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, Angulo);
- Veiculos2[playerid] = CreateVehicle(586, x, y, z, Angulo, random(500), random(500), 60);
- PutPlayerInVehicle(playerid, Veiculos2[playerid], 0);
- PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
- }
- if (listitem == 10) //voltar
- {
- ShowPlayerDialog(playerid, VEICULOS, DIALOG_STYLE_LIST, "Veiculos", "Carros\nMotos", "Selecionar", "Cancelar");
- }
- }
- return 1;
- }
- return 0;
- }
- //==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement