Guest User

Untitled

a guest
May 16th, 2011
1,091
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 7.15 KB | None | 0 0
  1. /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
  2. /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
  3.  
  4. #include <a_samp>
  5. #include <zcmd>
  6.  
  7. #define Dialog 4670 // DIALOG
  8.  
  9. public OnFilterScriptInit()
  10. {
  11.     print("\n--------------------------------------");
  12.     print(" Creditos S.Carro By: Lucas_Locate");
  13.     print("--------------------------------------\n");
  14.     return 1;
  15. }
  16.  
  17.  
  18. CMD:carro(playerid, params[])
  19. {
  20.     #pragma unused params
  21.     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");
  22.     return 1;
  23. }
  24.  
  25. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  26. {
  27.     if(dialogid == Dialog)
  28.     if(!response) return 1;
  29.     {
  30.         switch(listitem)
  31.         {
  32.             case 0:
  33.             {
  34.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  35.                 Int = GetPlayerInterior(playerid);
  36.                 GetPlayerPos(playerid, X, Y, Z);
  37.                 GetPlayerFacingAngle(playerid, Ang);
  38.                 GetPlayerInterior(playerid);
  39.                 pCarro = CreateVehicle(411, X, Y, Z, Ang, -1, -1, -1);
  40.                 LinkVehicleToInterior(pCarro, Int);
  41.                 PutPlayerInVehicle(playerid, pCarro, 0);
  42.                 GivePlayerMoney(playerid, -10000);
  43.             }
  44.             case 1:
  45.             {
  46.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  47.                 Int = GetPlayerInterior(playerid);
  48.                 GetPlayerPos(playerid, X, Y, Z);
  49.                 GetPlayerFacingAngle(playerid, Ang);
  50.                 pCarro = CreateVehicle(451, X, Y, Z, Ang, -1, -1, -1);
  51.                 LinkVehicleToInterior(pCarro, Int);
  52.                 PutPlayerInVehicle(playerid, pCarro, 0);
  53.                 GivePlayerMoney(playerid, -10000);
  54.             }
  55.             case 2:
  56.             {
  57.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  58.                 Int = GetPlayerInterior(playerid);
  59.                 GetPlayerPos(playerid, X, Y, Z);
  60.                 GetPlayerFacingAngle(playerid, Ang);
  61.                 pCarro = CreateVehicle(603, X, Y, Z, Ang, -1, -1, -1);
  62.                 LinkVehicleToInterior(pCarro, Int);
  63.                 PutPlayerInVehicle(playerid, pCarro, 0);
  64.                 GivePlayerMoney(playerid, -10000);
  65.             }
  66.             case 3:
  67.             {
  68.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  69.                 Int = GetPlayerInterior(playerid);
  70.                 GetPlayerPos(playerid, X, Y, Z);
  71.                 GetPlayerFacingAngle(playerid, Ang);
  72.                 pCarro = CreateVehicle(415, X, Y, Z, Ang, -1, -1, -11);
  73.                 LinkVehicleToInterior(pCarro, Int);
  74.                 PutPlayerInVehicle(playerid, pCarro, 0);
  75.                 GivePlayerMoney(playerid, -10000);
  76.             }
  77.             case 4:
  78.             {
  79.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  80.                 Int = GetPlayerInterior(playerid);
  81.                 GetPlayerPos(playerid, X, Y, Z);
  82.                 GetPlayerFacingAngle(playerid, Ang);
  83.                 pCarro = CreateVehicle(429, X, Y, Z, Ang, -1, -1, -1);
  84.                 LinkVehicleToInterior(pCarro, Int);
  85.                 PutPlayerInVehicle(playerid, pCarro, 0);
  86.                 GivePlayerMoney(playerid, -10000);
  87.             }
  88.             case 5:
  89.             {
  90.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  91.                 Int = GetPlayerInterior(playerid);
  92.                 GetPlayerPos(playerid, X, Y, Z);
  93.                 GetPlayerFacingAngle(playerid, Ang);
  94.                 pCarro = CreateVehicle(587, X, Y, Z, Ang, -1, -1, -1);
  95.                 LinkVehicleToInterior(pCarro, Int);
  96.                 PutPlayerInVehicle(playerid, pCarro, 0);
  97.                 GivePlayerMoney(playerid, -10000);
  98.             }
  99.             case 6:
  100.             {
  101.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  102.                 Int = GetPlayerInterior(playerid);
  103.                 GetPlayerPos(playerid, X, Y, Z);
  104.                 GetPlayerFacingAngle(playerid, Ang);
  105.                 pCarro = CreateVehicle(402, X, Y, Z, Ang, -1, -1, -1);
  106.                 LinkVehicleToInterior(pCarro, Int);
  107.                 PutPlayerInVehicle(playerid, pCarro, 0);
  108.                 GivePlayerMoney(playerid, -10000);
  109.             }
  110.             case 7:
  111.             {
  112.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  113.                 Int = GetPlayerInterior(playerid);
  114.                 GetPlayerPos(playerid, X, Y, Z);
  115.                 GetPlayerFacingAngle(playerid, Ang);
  116.                 pCarro = CreateVehicle(571, X, Y, Z, Ang, -1, -1, -1);
  117.                 LinkVehicleToInterior(pCarro, Int);
  118.                 PutPlayerInVehicle(playerid, pCarro, 0);
  119.                 GivePlayerMoney(playerid, -10000);
  120.             }
  121.             case 8:
  122.             {
  123.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  124.                 Int = GetPlayerInterior(playerid);
  125.                 GetPlayerPos(playerid, X, Y, Z);
  126.                 GetPlayerFacingAngle(playerid, Ang);
  127.                 pCarro = CreateVehicle(434, X, Y, Z, Ang, -1, -1, -1);
  128.                 LinkVehicleToInterior(pCarro, Int);
  129.                 PutPlayerInVehicle(playerid, pCarro, 0);
  130.                 GivePlayerMoney(playerid, -10000);
  131.             }
  132.             case 9:
  133.             {
  134.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  135.                 Int = GetPlayerInterior(playerid);
  136.                 GetPlayerPos(playerid, X, Y, Z);
  137.                 GetPlayerFacingAngle(playerid, Ang);
  138.                 pCarro = CreateVehicle(545, X, Y, Z, Ang, -1, -1, -1);
  139.                 LinkVehicleToInterior(pCarro, Int);
  140.                 PutPlayerInVehicle(playerid, pCarro, 0);
  141.                 GivePlayerMoney(playerid, -10000);
  142.             }
  143.             case 10:
  144.             {
  145.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  146.                 Int = GetPlayerInterior(playerid);
  147.                 GetPlayerPos(playerid, X, Y, Z);
  148.                 GetPlayerFacingAngle(playerid, Ang);
  149.                 pCarro = CreateVehicle(480, X, Y, Z, Ang, -1, -1, -1);
  150.                 LinkVehicleToInterior(pCarro, Int);
  151.                 PutPlayerInVehicle(playerid, pCarro, 0);
  152.                 GivePlayerMoney(playerid, -10000);
  153.             }
  154.             case 11:
  155.             {
  156.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  157.                 Int = GetPlayerInterior(playerid);
  158.                 GetPlayerPos(playerid, X, Y, Z);
  159.                 GetPlayerFacingAngle(playerid, Ang);
  160.                 pCarro = CreateVehicle(439, X, Y, Z, Ang, -1, -1, -1);
  161.                 LinkVehicleToInterior(pCarro, Int);
  162.                 PutPlayerInVehicle(playerid, pCarro, 0);
  163.                 GivePlayerMoney(playerid, -10000);
  164.             }
  165.             case 12:
  166.             {
  167.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  168.                 Int = GetPlayerInterior(playerid);
  169.                 GetPlayerPos(playerid, X, Y, Z);
  170.                 GetPlayerFacingAngle(playerid, Ang);
  171.                 pCarro = CreateVehicle(550, X, Y, Z, Ang, -1, -1, -1);
  172.                 LinkVehicleToInterior(pCarro, Int);
  173.                 PutPlayerInVehicle(playerid, pCarro, 0);
  174.                 GivePlayerMoney(playerid, -10000);
  175.             }
  176.             case 13:
  177.             {
  178.                 new Float:X, Float:Y, Float:Z, Float:Ang, Int, pCarro;
  179.                 Int = GetPlayerInterior(playerid);
  180.                 GetPlayerPos(playerid, X, Y, Z);
  181.                 GetPlayerFacingAngle(playerid, Ang);
  182.                 pCarro = CreateVehicle(495, X, Y, Z, Ang, -1, -1, -1);
  183.                 LinkVehicleToInterior(pCarro, Int);
  184.                 PutPlayerInVehicle(playerid, pCarro, 0);
  185.                 GivePlayerMoney(playerid, -10000);
  186.             }
  187.             case 14:
  188.            {
  189.          return 1;
  190.        }
  191.       }
  192.     }
  193.     return 1;
  194. }
  195.  
  196. /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
  197. /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
  198. /* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS *//* NÂO RETIRE OS CREDITOS */
  199. /* 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