PyarMeena

Cars Created

Jul 25th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. /** I Hope You All Like It **/
  2. #include <a_samp>
  3. #include <streamer>
  4.  
  5. new carvid_0;
  6. new carvid_1;
  7. new carvid_2;
  8. new carvid_3;
  9. new carvid_4;
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. new tmpobjid;
  14.  
  15. carvid_0 = CreateVehicle(411,-621.281,330.253,1.565,189.387,-1,-1,-1);
  16. carvid_1 = CreateVehicle(411,-619.165,316.239,1.292,99.060,0,0,-1);
  17. carvid_2 = CreateVehicle(411,-626.629,329.793,1.565,194.714,0,0,-1);
  18. carvid_3 = CreateVehicle(411,-634.826,328.365,1.565,192.834,0,0,-1);
  19. carvid_4 = CreateVehicle(411,-639.647,325.223,1.565,196.594,0,0,-1);
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28. }
  29.  
  30. public OnFilterScriptExit()
  31. {
  32. DestroyVehicle(carvid_0);
  33. DestroyVehicle(carvid_1);
  34. DestroyVehicle(carvid_2);
  35. DestroyVehicle(carvid_3);
  36. DestroyVehicle(carvid_4);
  37. }
  38.  
  39. public OnVehicleSpawn(vehicleid)
  40. {
  41. if(vehicleid == carvid_0)
  42. {
  43. }
  44. else if(vehicleid == carvid_1)
  45. {
  46. }
  47. else if(vehicleid == carvid_2)
  48. {
  49. }
  50. else if(vehicleid == carvid_3)
  51. {
  52. }
  53. else if(vehicleid == carvid_4)
  54. {
  55. }
  56. }
Add Comment
Please, Sign In to add comment