FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: ZONEAPI set: clientGame: gta5editImprove

OVERRIDE_POPSCHEDULE_VEHICLE_MODEL

0x5F7D596BAC2E7777
0x3F0A3680
// OverridePopscheduleVehicleModel
void OVERRIDE_POPSCHEDULE_VEHICLE_MODEL(int scheduleId, Hash vehicleHash);
Only used once in the decompiled scripts. Seems to be related to scripted vehicle generators.  
Modified example from "am_imp_exp.c4", line 6406:  
/* popSchedules[0] = ZONE::GET_ZONE_POPSCHEDULE(ZONE::GET_ZONE_AT_COORDS(891.3, 807.9, 188.1));  
etc.  
*/  
ZONE::OVERRIDE_POPSCHEDULE_VEHICLE_MODEL(popSchedules[index], vehicleHash);  
STREAMING::REQUEST_MODEL(vehicleHash);  
SET_PED_SHOOT_ORDNANCE_WEAPON(Ped ped, float p1)
_SET_PED_WEAPON_LIVERY_COLOR(Ped ped, Hash weaponHash, Hash camoComponentHash, int colorIndex)
SET_PED_WEAPON_TINT_INDEX(Ped ped, Hash weaponHash, int tintIndex)
SET_PICKUP_AMMO_AMOUNT_SCALER(float p0)
_SET_PLAYER_AIR_DEFENSE_ZONE_FLAG(Player player, int zoneId, BOOL enable)
SET_WEAPON_ANIMATION_OVERRIDE(Ped ped, Hash animStyle)
_SET_WEAPON_DAMAGE_MODIFIER(Hash weaponHash, float damageMultiplier)
_SET_WEAPON_EXPLOSION_RADIUS_MULTIPLIER(Hash weaponHash, float multiplier)
_SET_WEAPON_OBJECT_LIVERY_COLOR(Object weaponObject, Hash camoComponentHash, int colorIndex)
SET_WEAPON_OBJECT_TINT_INDEX(Object weapon, int tintIndex)
0x24C024BA8379A70A(Any p0, Any p1)
0x50276EF8172F5F12(Ped ped)
0x977CA98939E82E4B(Object weaponObject, int p1)
0xA2C9AC24B4061285(Ped ped, Hash weaponHash)
0xE4DCEC7FD5B739A5(Ped ped)
0xE6D2CEDD370FF98E(Any p0, Any p1)
Namespace: ZONE
CLEAR_POPSCHEDULE_OVERRIDE_VEHICLE_MODEL(int scheduleId)
GET_HASH_OF_MAP_AREA_AT_COORDS(float x, float y, float z)
GET_NAME_OF_ZONE(float x, float y, float z)
GET_ZONE_AT_COORDS(float x, float y, float z)
GET_ZONE_FROM_NAME_ID(char* zoneName)
GET_ZONE_POPSCHEDULE(int zoneId)
GET_ZONE_SCUMMINESS(int zoneId)
OVERRIDE_POPSCHEDULE_VEHICLE_MODEL(int scheduleId, Hash vehicleHash)
SET_ZONE_ENABLED(int zoneId, BOOL toggle)