Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
- /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
- #include <a_samp>
- #include <zcmd>
- #define Dialog 4670 // DIALOG
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Creditos S.Carro By: Lucas_Locate");
- print("--------------------------------------\n");
- return 1;
- }
- CMD:carro(playerid, params[])
- {
- #pragma unused params
- ShowPlayerDialog(playerid, Dialog, DIALOG_STYLE_LIST, "{33AA33}Veiculos Avenda", "{2641FE}Infernus\n{2641FE}Turismo\n{2641FE}Phoenix\n{2641FE}Cheetah\n{2641FE}Banshee\n{2641FE}Euros\n{2641FE}Buffalo\n{2641FE}Kart\n{2641FE}Hotknife\n{2641FE}Hustler\n{2641FE}Comet\n{2641FE}Stallion\n{2641FE}Sunrise\n{2641FE}Sandking", "Selecionar", "Cancelar");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == Dialog)
- if(!response) return 1;
- {
- switch(listitem)
- {
- case 0:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- GetPlayerInterior(playerid);
- pCarro = CreateVehicle(411, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 1:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(451, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 2:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(603, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 3:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(415, X, Y, Z, Ang, -1, -1, -11);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 4:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(429, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 5:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(587, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 6:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(402, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 7:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(571, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 8:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(434, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 9:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(545, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 10:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(480, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 11:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(439, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 12:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(550, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 13:
- {
- new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
- Int = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, X, Y, Z);
- GetPlayerFacingAngle(playerid, Ang);
- pCarro = CreateVehicle(495, X, Y, Z, Ang, -1, -1, -1);
- LinkVehicleToInterior(pCarro, Int);
- PutPlayerInVehicle(playerid, pCarro, 0);
- GivePlayerMoney(playerid, -10000);
- }
- case 14:
- {
- return 1;
- }
- }
- }
- return 1;
- }
- /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
- /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
- /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
- /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
Advertisement
Add Comment
Please, Sign In to add comment