Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ClearVehicleEnum(veh) {
- VehiclesInfo[veh][v_owner] = 0; VehiclesInfo[veh][v_id] = 0; VehiclesInfo[veh][v_type] = 0;
- VehiclesInfo[veh][v_money] = 0; VehiclesInfo[veh][v_color_1] = 0; VehiclesInfo[veh][v_color_2] = 0;
- format(VehiclesInfo[veh][v_plate], 13, "");
- VehiclesInfo[veh][v_paint_job] = 0;
- for(new i; i < 14; i++) {
- VehiclesInfo[veh][v_components][i] = 0;
- }
- VehiclesInfo[veh][v_health] = 0.0;
- for(new i; i < 4; i++) {
- VehiclesInfo[veh][v_damage_status][i] = 0;
- }
- 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;
- VehiclesInfo[veh][v_int] = 0; VehiclesInfo[veh][v_vw] = 0;
- VehiclesInfo[veh][v_created_time] = 0;
- for(new i; i < 6; i++) {
- VehiclesInfo[veh][v_flags][i] = 0;
- }
- VehiclesInfo[veh][v_lock] = 0; VehiclesInfo[veh][v_alarm] = 0; VehiclesInfo[veh][v_immobilizer] = 0;
- VehiclesInfo[veh][v_insurance] = 0;
- VehiclesInfo[veh][v_engine_status] = 0;
- VehiclesInfo[veh][v_deaths] = 0;
- VehiclesInfo[veh][v_radio_station] = 0;
- VehiclesInfo[veh][v_radio] = 0;
- VehiclesInfo[veh][v_fuel] = 0.0;
- VehiclesInfo[veh][v_mileage] = 0.0;
- VehiclesInfo[veh][v_owner_playerid] = 0;
- VehiclesInfo[veh][v_owner_vehid] = 0;
- format(VehiclesInfo[veh][v_owner_name], 32, "");
- VehiclesInfo[veh][v_job_car] = 0;
- VehiclesInfo[veh][v_window] = 0;
- VehiclesInfo[veh][v_rentcar] = 0;
- VehiclesInfo[veh][v_tighten] = 0;
- VehiclesInfo[veh][v_money] = 0;
- for(new i; i < 7; i++) {
- VehiclesInfo[veh][v_drugs][i] = 0;
- }
- for(new i; i < 20; i++) {
- VehiclesInfo[veh][v_guns][i] = 0;
- }
- for(new i; i < 20; i++) {
- VehiclesInfo[veh][v_ammo][i] = 0;
- }
- for(new i; i < 10; i++) {
- VehiclesInfo[veh][v_item][i] = 0;
- }
- for(new i; i < 10; i++) {
- VehiclesInfo[veh][v_item_q][i] = 0;
- }
- return true;
- }
- ClearVehicleBag(veh) {
- VehiclesInfo[veh][v_bag] = 0;
- VehiclesInfo[veh][v_bag_money] = 0;
- for(new i; i < 7; i++) {
- VehiclesInfo[veh][v_bag_drug][i] = 0;
- }
- for(new i; i < 10; i++) {
- VehiclesInfo[veh][v_bag_gun][i] = 0;
- }
- for(new i; i < 10; i++) {
- VehiclesInfo[veh][v_bag_ammo][i] = 0;
- }
- for(new i; i < 10; i++) {
- VehiclesInfo[veh][v_bag_item][i] = 0;
- }
- for(new i; i < 10; i++) {
- VehiclesInfo[veh][v_bag_item_q][i] = 0;
- }
- return true;
- }
- ClearVehicleBackpack(veh) {
- VehiclesInfo[veh][v_backpack] = 0;
- VehiclesInfo[veh][v_backpack_money] = 0;
- for(new i; i < 7; i++) {
- VehiclesInfo[veh][v_backpack_drug][i] = 0;
- }
- for(new i; i < 5; i++) {
- VehiclesInfo[veh][v_backpack_gun][i] = 0;
- }
- for(new i; i < 5; i++) {
- VehiclesInfo[veh][v_backpack_ammo][i] = 0;
- }
- for(new i; i < 5; i++) {
- VehiclesInfo[veh][v_backpack_drug][i] = 0;
- }
- for(new i; i < 5; i++) {
- VehiclesInfo[veh][v_backpack_item][i] = 0;
- }
- for(new i; i < 5; i++) {
- VehiclesInfo[veh][v_backpack_item_q][i] = 0;
- }
- return true;
- }
- ClearVehicleCase(veh) {
- VehiclesInfo[veh][v_case] = 0;
- VehiclesInfo[veh][v_case_money] = 0;
- VehiclesInfo[veh][v_case_gun] = 0;
- VehiclesInfo[veh][v_case_ammo] = 0;
- for(new i; i < 10; i++) {
- VehiclesInfo[veh][v_case_drug][i] = 0;
- }
- for(new i; i < 3; i++) {
- VehiclesInfo[veh][v_case_item][i] = 0;
- }
- for(new i; i < 3; i++) {
- VehiclesInfo[veh][v_case_item_q][i] = 0;
- }
- for(new i; i < 5; i++) {
- VehiclesInfo[veh][v_give_keys][i] = 0;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement