Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. ClearVehicleEnum(veh) {
  2. VehiclesInfo[veh][v_owner] = 0; VehiclesInfo[veh][v_id] = 0; VehiclesInfo[veh][v_type] = 0;
  3. VehiclesInfo[veh][v_money] = 0; VehiclesInfo[veh][v_color_1] = 0; VehiclesInfo[veh][v_color_2] = 0;
  4. format(VehiclesInfo[veh][v_plate], 13, "");
  5. VehiclesInfo[veh][v_paint_job] = 0;
  6. for(new i; i < 14; i++) {
  7. VehiclesInfo[veh][v_components][i] = 0;
  8. }
  9. VehiclesInfo[veh][v_health] = 0.0;
  10. for(new i; i < 4; i++) {
  11. VehiclesInfo[veh][v_damage_status][i] = 0;
  12. }
  13. VehiclesInfo[veh][v_pos_x] = 0.0; VehiclesInfo[veh][v_pos_y] = 0.0; VehiclesInfo[veh][v_pos_z] = 0.0; VehiclesInfo[veh][v_pos_a] = 0.0;
  14. VehiclesInfo[veh][v_int] = 0; VehiclesInfo[veh][v_vw] = 0;
  15. VehiclesInfo[veh][v_created_time] = 0;
  16. for(new i; i < 6; i++) {
  17. VehiclesInfo[veh][v_flags][i] = 0;
  18. }
  19. VehiclesInfo[veh][v_lock] = 0; VehiclesInfo[veh][v_alarm] = 0; VehiclesInfo[veh][v_immobilizer] = 0;
  20. VehiclesInfo[veh][v_insurance] = 0;
  21. VehiclesInfo[veh][v_engine_status] = 0;
  22. VehiclesInfo[veh][v_deaths] = 0;
  23. VehiclesInfo[veh][v_radio_station] = 0;
  24. VehiclesInfo[veh][v_radio] = 0;
  25. VehiclesInfo[veh][v_fuel] = 0.0;
  26. VehiclesInfo[veh][v_mileage] = 0.0;
  27. VehiclesInfo[veh][v_owner_playerid] = 0;
  28. VehiclesInfo[veh][v_owner_vehid] = 0;
  29. format(VehiclesInfo[veh][v_owner_name], 32, "");
  30. VehiclesInfo[veh][v_job_car] = 0;
  31. VehiclesInfo[veh][v_window] = 0;
  32. VehiclesInfo[veh][v_rentcar] = 0;
  33. VehiclesInfo[veh][v_tighten] = 0;
  34. VehiclesInfo[veh][v_money] = 0;
  35. for(new i; i < 7; i++) {
  36. VehiclesInfo[veh][v_drugs][i] = 0;
  37. }
  38. for(new i; i < 20; i++) {
  39. VehiclesInfo[veh][v_guns][i] = 0;
  40. }
  41. for(new i; i < 20; i++) {
  42. VehiclesInfo[veh][v_ammo][i] = 0;
  43. }
  44. for(new i; i < 10; i++) {
  45. VehiclesInfo[veh][v_item][i] = 0;
  46. }
  47. for(new i; i < 10; i++) {
  48. VehiclesInfo[veh][v_item_q][i] = 0;
  49. }
  50. return true;
  51. }
  52. ClearVehicleBag(veh) {
  53. VehiclesInfo[veh][v_bag] = 0;
  54. VehiclesInfo[veh][v_bag_money] = 0;
  55. for(new i; i < 7; i++) {
  56. VehiclesInfo[veh][v_bag_drug][i] = 0;
  57. }
  58. for(new i; i < 10; i++) {
  59. VehiclesInfo[veh][v_bag_gun][i] = 0;
  60. }
  61. for(new i; i < 10; i++) {
  62. VehiclesInfo[veh][v_bag_ammo][i] = 0;
  63. }
  64. for(new i; i < 10; i++) {
  65. VehiclesInfo[veh][v_bag_item][i] = 0;
  66. }
  67. for(new i; i < 10; i++) {
  68. VehiclesInfo[veh][v_bag_item_q][i] = 0;
  69. }
  70. return true;
  71. }
  72. ClearVehicleBackpack(veh) {
  73. VehiclesInfo[veh][v_backpack] = 0;
  74. VehiclesInfo[veh][v_backpack_money] = 0;
  75. for(new i; i < 7; i++) {
  76. VehiclesInfo[veh][v_backpack_drug][i] = 0;
  77. }
  78. for(new i; i < 5; i++) {
  79. VehiclesInfo[veh][v_backpack_gun][i] = 0;
  80. }
  81. for(new i; i < 5; i++) {
  82. VehiclesInfo[veh][v_backpack_ammo][i] = 0;
  83. }
  84. for(new i; i < 5; i++) {
  85. VehiclesInfo[veh][v_backpack_drug][i] = 0;
  86. }
  87. for(new i; i < 5; i++) {
  88. VehiclesInfo[veh][v_backpack_item][i] = 0;
  89. }
  90. for(new i; i < 5; i++) {
  91. VehiclesInfo[veh][v_backpack_item_q][i] = 0;
  92. }
  93. return true;
  94. }
  95. ClearVehicleCase(veh) {
  96. VehiclesInfo[veh][v_case] = 0;
  97. VehiclesInfo[veh][v_case_money] = 0;
  98. VehiclesInfo[veh][v_case_gun] = 0;
  99. VehiclesInfo[veh][v_case_ammo] = 0;
  100. for(new i; i < 10; i++) {
  101. VehiclesInfo[veh][v_case_drug][i] = 0;
  102. }
  103. for(new i; i < 3; i++) {
  104. VehiclesInfo[veh][v_case_item][i] = 0;
  105. }
  106. for(new i; i < 3; i++) {
  107. VehiclesInfo[veh][v_case_item_q][i] = 0;
  108. }
  109. for(new i; i < 5; i++) {
  110. VehiclesInfo[veh][v_give_keys][i] = 0;
  111. }
  112. return true;
  113. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement