The RedM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / RedM
Native reference
- WEAPONvoid
_0x000FA7A4A8443AF7
Description not yet documented
0x000FA7A4A8443AF7 - WEAPONvoid
_0x16D9841A85FA627E
Description not yet documented
0x16D9841A85FA627E - WEAPONvoid
_0x183CE355115B6E75
Description not yet documented
0x183CE355115B6E75 - WEAPONvoid
_0x431240A58484D5D0
Description not yet documented
0x431240A58484D5D0 - WEAPONvoid
_0x457B16951AD77C1B
Description not yet documented
0x457B16951AD77C1B - WEAPONvoid
_0x45E57FDD531C9477
Description not yet documented
0x45E57FDD531C9477 - WEAPONvoid
_0x63B83A526329AFBC
Only used in R* Script fme_escaped_convicts, p0 = 0
0x63B83A526329AFBC - WEAPONvoid
_0x641351E9AD103890
Description not yet documented
0x641351E9AD103890 - WEAPONvoid
_0x74C2365FDD1BB48F
Description not yet documented
0x74C2365FDD1BB48F - WEAPONvoid
_0x9409C62504A8F9E9
Only used in R* SP Script guama3
0x9409C62504A8F9E9 - WEAPONAny
_0x9CCA3131E6B53C68
Description not yet documented
0x9CCA3131E6B53C68 - WEAPONAny
_0xA2091482ED42EF85
Description not yet documented
0xA2091482ED42EF85 - WEAPONvoid
_0xA3716A77DCF17424
Description not yet documented
0xA3716A77DCF17424 - WEAPONvoid
_0xA769D753922B031B
Description not yet documented
0xA769D753922B031B - WEAPONvoid
_0xB0FB9B196A3D13F0
Description not yet documented
0xB0FB9B196A3D13F0 - WEAPONvoid
_0xC5899C4CD2E2495D
Description not yet documented
0xC5899C4CD2E2495D - WEAPONvoid
_0xD53846B9C931C181
Description not yet documented
0xD53846B9C931C181 - WEAPONvoid
_0xE9B3FEC825668291
Description not yet documented
0xE9B3FEC825668291 - WEAPONvoid
_0xECBB26529A737EF6
Description not yet documented
0xECBB26529A737EF6 - WEAPONvoid
_0xF08D8FEB455F2C8C
Description not yet documented
0xF08D8FEB455F2C8C - WEAPONBOOL
_0xF252A85B8F3F8C58
Description not yet documented
0xF252A85B8F3F8C58 - WEAPONAny
_0xF2F585411E748B9C
Description not yet documented
0xF2F585411E748B9C - WEAPONHash
_0xF8204EF17410BF43
Returns weaponHash
0xF8204EF17410BF43 - WEAPONvoid
_ADD_AMMO_TO_PED
addReason: enum eAddItemReason : Hash { ADD_REASON_AWARDS = 0xB784AD1E, ADD_REASON_CREATE_CHARACTER = 0xE2C4FF71, ADD_REASON_DEBUG = 0x5C05C64D, ADD_REASON_DEFAULT = 0x2CD419DC, ADD_REASON_GET_INVENTORY = 0xD8188685, ADD_REASON_INCENTIVE = 0x8ADC2E95, ADD_REASON_LOADOUT = 0xCA3454E6, ADD_REASON_LOAD_SAVEGAME = 0x56212906, ADD_REASON_LOOTED = 0xCA806A55, ADD_REASON_MELEE = 0x7B9BDCE7, ADD_REASON_MP_MISSION = 0xEC0E0194, ADD_REASON_NOTIFICATION = 0xC56292D2, ADD_REASON_PICKUP = 0x1A770E22, ADD_REASON_PURCHASED = 0x4A6726C9, ADD_REASON_SET_AMOUNT = 0x4504731E, ADD_REASON_SYNCING = 0x8D4B4FF4, ADD_REASON_USE_FAILED = 0xD385B670 };
0xB190BCA3F4042F95 - WEAPONvoid
_ADD_AMMO_TO_PED_BY_TYPE
addReason: see _ADD_AMMO_TO_PED
0x106A811C6D3035F3 - WEAPONvoid
_ATTACH_WEAPON_TO_HORSE_HOLSTER
Puts the gun visibly in your horse's holster without having to be close to the horse. Use 0xE9BD19F8121ADE3E before using this native Notes: - Must call _SEND_WEAPON_TO_INVENTORY (0xE9BD19F8121ADE3E) beforehand to move the weapon into the horse inventory. That native makes it accessible from the weapon wheel but not visible; this native makes it visible on the horse. - Works at a distance; proximity to the horse is not required.
0x14FF0C2545527F9B - WEAPONBOOL
_CAN_PED_ACCESS_MOUNT_WEAPONS
Returns true if the given ped is in a valid state to stow or retrieve weapons from their *owned* mount. This typically means the ped is either on their horse or close enough to it for saddle weapon interactions. Notes: - The ped does **not** need to currently hold a weapon. This check simply determines if saddle stowing/retrieval actions are allowed. - Commonly used to enable weapon wheel or stow prompts near the player’s own horse. - Will return false if the ped is near a non-owned horse or too far from their own.
0x23BF601A42F329A0 - WEAPONvoid
_CLEAR_PED_LAST_WEAPON_DAMAGE
Description not yet documented
0x087D8F4BC65F68E4 - WEAPONObject
_CREATE_WEAPON_OBJECT
Description not yet documented
0x9888652B8BA77F73 - WEAPONvoid
_DELETE_WEAPON_OBJECT_FROM_MOUNT
Deletes all visible weapon PROP objects attached to a horse's holsters/rack. This removes only the *rendered/attached objects*; it does not remove the weapons from inventory and they remain usable. Parameters: - horse: Horse ped whose attached weapon objects should be removed. Notes: - Useful to clear the horse's visible long-gun/holster props after manually attaching via 0x14FF0C2545527F9B. - Always validate the ped handle before calling. Example video: - https://imgur.com/a/BavwEfE
0xD4C6E24D955FF061 - WEAPONvoid
_DISABLE_ALL_SPECIAL_AMMO_FOR_PED
Disables all special ammo types for the specified weapon on the given ped, forcing the weapon to use only its basic/regular ammunition. - After calling this native, the weapon on that ped becomes restricted to regular ammo only. - Works as a higher-level override compared to _DISABLE_AMMO_TYPE_FOR_PED and _DISABLE_AMMO_TYPE_FOR_PED_WEAPON, which target individual ammo types. - Useful when ensuring a weapon cannot use any special ammo variants such as high velocity, express, explosive, or split point.
0xD63B4BA3A02A99E0 - WEAPONvoid
_DISABLE_AMMO_TYPE_FOR_PED
Description not yet documented
0xAA5A52204E077883 - WEAPONvoid
_DISABLE_AMMO_TYPE_FOR_PED_WEAPON
Description not yet documented
0xF0D728EEA3C99775 - WEAPONBOOL
_DOES_PED_HAVE_PISTOL
Returns whether the ped has a pistol p1: 0 or 1
0xBFCA7AFABF9D7967 - WEAPONBOOL
_DOES_PED_HAVE_REPEATER
Returns whether the ped has a repeater p1: 0 or 1
0x495A04CAEC263AF8 - WEAPONBOOL
_DOES_PED_HAVE_REVOLVER
Returns whether the ped has a revolver p1: 0 or 1
0x5B235F24472F2C3B - WEAPONBOOL
_DOES_PED_HAVE_RIFLE
Returns whether the ped has a rifle p1: 0 or 1
0x95CA12E2C68043E5 - WEAPONBOOL
_DOES_PED_HAVE_SHOTGUN
Returns whether the ped has a shotgun p1: 0 or 1
0xABC18A28BAD4B46F - WEAPONBOOL
_DOES_PED_HAVE_SNIPER
Returns whether the ped has a sniper p1: 0 or 1
0x80BB243789008A82 - WEAPONvoid
_ENABLE_ALL_SPECIAL_AMMO_FOR_PED
Re-enables all special ammo variants for the given weapon on the specified ped (inverse of _DISABLE_ALL_SPECIAL_AMMO_FOR_PED). Notes: - Restores access to any supported special ammo types for that weapon (e.g. express, high velocity, split point, explosive, etc.). - Useful to toggle back from a "regular ammo only" restriction. - Per-ped/per-weapon setting.
0x404514D231DB27A0
A living reference. Documentation coverage varies by native and source.