CUSTOM
37 natives, 37 of them described.
- ALLOW_ONLY_SCRIPT_CAR_GENERATORSAllowOnlyScriptCarGenerators
Deactivates the world car generator creation and increases the script car generator limit from 25 to 1100.
- DISABLE_FAKE_CARSDisableFakeCars
Deactivates the rendering of fake cars in the distance.
- DISABLE_HEALTH_AND_ARMOUR_DISPLAYDisableHealthAndArmourDisplay
Disables the drawing of health and armour around the radar.
- DISABLE_HUDDisableHud
Disables drawing of the specified HUD component.
- DISABLE_NETWORK_WALK_MODEDisableNetworkWalkMode
Disable player network walk mode.
- DISABLE_PLAYER_START_ENGINEDisablePlayerStartEngine
Prevents player from automatically starting the engine after entering a car.
- DISABLE_REPLAY_SAVEDisableReplaySave
Disables replay saving (default F2 key).
- DISABLE_ZOOM_RADARDisableZoomRadar
Disables radar zoom (default T key).
- DOES_EXTRA_EXISTDoesExtraExist
Check if the specified extra exist.
- DRAW_CORONA_WITH_INTENSITYDrawCoronaWithIntensity
Adds a corona (the glowing sprite on a lamp) for this frame, with a brightness of its own.
- DRAW_SHADOWED_SPOT_LIGHTDrawShadowedSpotLight
Same as DRAW_SPOT_LIGHT, but the light casts shadows.
- DRAW_SPOT_LIGHTDrawSpotLight
Adds a spot light (a cone of light like a searchlight) for this frame.
- FIX_ALL_CAR_WINDOWSFixAllCarWindows
Fix all car windows.
- FIX_CAR_WINDOWFixCarWindow
Counterpart to REMOVE_CAR_WINDOW, same window ids (0..3).
- GET_ALL_OBJECTSGetAllObjects
Get all objects in the local object pool.
- GET_ALL_PEDSGetAllPeds
Get all peds in the local ped pool.
- GET_ALL_VEHICLESGetAllVehicles
Get all vehicles in the local vehicle pool.
- GET_CHAR_PROP_TEXTURE_INDEXGetCharPropTextureIndex
Returns the texture (0 is a) of the prop the char wears at the given position, or -1 if there is none.
- GET_HUD_POSITIONGetHudPosition
Gets the position of the specified HUD component.
- GET_HUD_SIZEGetHudSize
Gets the size of the specified HUD component.
- GET_NUMBER_OF_CHAR_PROP_TEXTURE_VARIATIONSGetNumberOfCharPropTextureVariations
Returns how many textures the given prop at the given position has, 0 if the prop does not exist.
- GET_NUMBER_OF_CHAR_PROP_VARIATIONSGetNumberOfCharPropVariations
Returns how many props the model of the char has at the given position, 0 if it has none.
- GET_VEHICLE_GEAR_RATIOGetVehicleGearRatio
Gets vehicles gear ratio on choosen gear.
- GET_VEHICLE_HIGH_GEARGetVehicleHighGear
Gets the highest possible gear for the specified vehicle.
- IS_POLICE_DISPATCH_REDUCEDIsPoliceDispatchReduced
Returns true if the police uses the multiplayer numbers of the original game (default) and false if SET_POLICE_DISPATCH_REDUCED switched it to the singleplayer numbers.
- IS_VEHICLE_EXTRA_VISIBLEIsVehicleExtraVisible
Returns false if the extra was hidden with SET_VEHICLE_EXTRA_VISIBLE on this client, otherwise true.
- IS_VEHICLE_LIGHT_ENABLEDIsVehicleLightEnabled
Returns false if the light was hidden with SET_VEHICLE_LIGHT_ENABLED on this client, otherwise true.
- REPLACE_HUD_COLOUR_WITH_RGBAReplaceHudColourWithRgba
Replaces hudColour with passed rgba.
- SET_POLICE_DISPATCH_REDUCEDSetPoliceDispatchReduced
Sets how many police officers are sent after the local player when they have a wanted level.
- SET_VEH_TURN_INDICATORLIGHTSSetVehTurnIndicatorlights
Sets the vehicle indicator on/off for left or right side.
- SET_VEHICLE_EXTRA_VISIBLESetVehicleExtraVisible
Hides an extra (1 to 9) of a vehicle (false) or shows it again (true), on this client only.
- SET_VEHICLE_GEARSetVehicleGear
Sets the current vehicle gear.
- SET_VEHICLE_GEAR_RATIOSetVehicleGearRatio
Sets the vehicles gear ratio on choosen gear.
- SET_VEHICLE_HAS_MUTED_SIRENSSetVehicleHasMutedSirens
Sets whether or not a vehicle has muted sirens (still flashin).
- SET_VEHICLE_HIGH_GEARSetVehicleHighGear
Sets the highest possible gear for the specified vehicle.
- SET_VEHICLE_LIGHT_ENABLEDSetVehicleLightEnabled
Hides a single light of a vehicle (false) or shows it again (true).
- TURN_ON_VEHICLE_EXTRA_NO_REPAIRTurnOnVehicleExtraNoRepair
Switches an extra (1 to 9) of a vehicle on like TURN_OFF_VEHICLE_EXTRA(carIndex, extra, false), but without repairing the vehicle.
Descriptions by the HappinessMP community, licensed under CC BY-SA 4.0. You may reuse them if you name HappinessMP as the source and share your version under the same license.