Advertisement
Guest User

code

a guest
Mar 6th, 2021
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.60 KB | None | 0 0
  1. if (!ENTITY::DOES_ENTITY_EXIST(iLocal_3277))
  2.             {
  3.                 if (STREAMING::HAS_MODEL_LOADED(joaat("carbonizzare")))
  4.                 {
  5.                     MISC::CLEAR_AREA(vLocal_3294, 5f, 1, 0, 0, false);
  6.                     iLocal_3277 = VEHICLE::CREATE_VEHICLE(joaat("carbonizzare"), -1033.938f, -489.7475f, 35.8323f, 207.1758f, true, true, false);
  7.                     VEHICLE::SET_VEHICLE_COLOURS(iLocal_3277, 89, 89);
  8.                     ENTITY::SET_ENTITY_HEALTH(iLocal_3277, 3000, 0);
  9.                     VEHICLE::SET_VEHICLE_STRONG(iLocal_3277, true);
  10.                     STREAMING::SET_MODEL_AS_NO_LONGER_NEEDED(joaat("carbonizzare"));
  11.                     VEHICLE::SET_VEHICLE_MODEL_IS_SUPPRESSED(joaat("carbonizzare"), true);
  12.                     VEHICLE::SET_VEHICLE_HAS_STRONG_AXLES(iLocal_3277, true);
  13.  
  14. colour: 89    Metallic Race Yellow    #fbe212    251, 226, 18
  15.  
  16.  
  17. ---------------------------------------------------------------------------------------------------------------------------------------
  18.  
  19. gang money thing
  20.  
  21. case 6:
  22.             if (!PED::IS_PED_INJURED(iLocal_68))
  23.             {
  24.                 if (ENTITY::IS_ENTITY_PLAYING_ANIM(iLocal_68, "veh@drivebystd_ds_grenades", "drop_grenade", 3))
  25.                 {
  26.                     if (ENTITY::GET_ENTITY_ANIM_CURRENT_TIME(iLocal_68, "veh@drivebystd_ds_grenades", "drop_grenade") > 0.436f && PED::IS_PED_IN_ANY_VEHICLE(iLocal_68, false))
  27.                     {
  28.                         OBJECT::CREATE_MONEY_PICKUPS(ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(PED::GET_VEHICLE_PED_IS_IN(iLocal_68, false), -1f, 0f, 0f), 1000, 1, 0);
  29.                         iLocal_48++;
  30.                     }
  31.                 }
  32.             }
  33.             break;
  34.  
  35. CREATE_MONEY_PICKUPS(float x, float y, float z, int value, int amount, Hash model);
  36. OBJECT::CREATE_MONEY_PICKUPS(ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(PED::GET_VEHICLE_PED_IS_IN(iLocal_68, false), -1f, 0f, 0f), 1000, 1, 0);
  37.  
  38.  
  39. ---------------------------------------------------------------------------------------------------------------------------------------
  40. #gang vehicle thing
  41.             iLocal_76 = VEHICLE::CREATE_VEHICLE(joaat("PICADOR"/*Picador*/), 915.7905f, 3603.449f, 31.9111f, 111.9593f, true, true, false);
  42.             VEHICLE::SET_VEHICLE_COLOURS(iLocal_76, 37, 0);
  43.             VEHICLE::SET_VEHICLE_EXTRA_COLOURS(iLocal_76, 4, 0);
  44.             VEHICLE::SET_VEHICLE_PROVIDES_COVER(iLocal_76, 1);
  45.             VEHICLE::SET_VEHICLE_NUMBER_PLATE_TEXT(iLocal_76, "WDU 696");
  46.  
  47. SET_VEHICLE_COLOURS(Vehicle vehicle, int colorPrimary, int colorSecondary);
  48.  
  49. VEHICLE::SET_VEHICLE_COLOURS(iLocal_76, 37, 0);
  50.  
  51. Gold:99
  52.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement