Jump to content

RDR2 NativeDB

Browse our wiki-style database of native functions in Red Dead Redemption II.

Search 7154 native functions

  • Only this category?

  • Return type
  • First seen in version
  • With description?
  • With comments?

7154 natives found

  1. MAP

    int SET_BLIP_SPRITE ( Blip blip, Hash hash, BOOL p2 )  //0x74F74D3207ED525C

    • 0
    • 6,197
    • 1207
  2. PED

    void _SET_PED_COMPONENT_ENABLED ( Ped ped, Hash componentHash, Any updatePed, Any isMpComponent, BOOL p4 )  //0xD3A7B003ED343FD9

    • 1
    • 4,092
    • 1207
  3. void TASK_PLAY_ANIM ( Ped ped, const char* animDict, BOOL p10, const char* taskFilter, BOOL p12, const char* animName, float speed, float speedMultiplier, int duration, int flags )  //0xEA47FE3719165B94

    • 1
    • 4,022
    • 1207
  4. PAD

    BOOL IS_CONTROL_JUST_PRESSED ( int padIndex, Hash control )  //0x580417101DDB492F

    • 3
    • 3,689
    • 1207
  5. PED

    Ped CREATE_PED ( Hash modelHash, float x, float y, float z, float heading, BOOL isNetwork, BOOL thisScriptCheck, Any p8, BOOL p8 )  //0xD49F9B0955C367DE

    • 1
    • 3,411
    • 1207
  6. void SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP ( Entity entity, BOOL bCanBeDamaged, int relGroup )  //0x0EF1AFB18649E015

    • 0
    • 3,398
    • 1207
  7. int GIVE_WEAPON_TO_PED ( Ped ped, Hash weaponHash, int ammoCount, BOOL equipNow, BOOL p4, int group, BOOL p6, int p7, int p8, BOOL leftHanded )  //0x5E3BDDBCB83F3D84

    • 1
    • 3,136
    • 1207
  8. void ADD_EXPLOSION ( float x, float y, float z, int explosionType, float damageScale, BOOL isAudible, BOOL isInvisible, float cameraShake )  //0x7D6F58F69DA92530

    • 1
    • 2,478
    • 1207
  9. void _SET_ATTRIBUTE_CORE_VALUE ( Ped Ped, int CoreToChange, int Value )  //0xC6258F41D86676E0

    • 0
    • 2,412
    • 1207
  10. Hash _GET_MAP_ZONE_AT_COORDS ( float x, float y, float z, int type )  //0x43AD8FC02B429D33

    • 1
    • 2,324
    • 1207
  11. void _GOOGLE_ANALYTICS_PUSH_PAGE ( const char* pageName )  //0xD43A616AE3AC4EF6

    • 0
    • 2,150
    • 1207
  12. void _TASK_START_SCENARIO_IN_PLACE ( Ped ped, Hash scenarioHash, int duration, BOOL p3, BOOL p4, BOOL p5, float p6, BOOL p7 )  //0x524B54361229154F

    • 2
    • 2,079
    • 1207
  13. PED

    void SET_RELATIONSHIP_BETWEEN_GROUPS ( int relationship, Hash group1, Hash group2 )  //0xBF25EB89375A37AD

    • 1
    • 2,011
    • 1207
  14. int SET_PLAYER_MODEL ( Player player, Hash modelHash, BOOL p2 )  //0xED40380076A31506

    • 0
    • 1,986
    • 1207
  15. MAP

    Blip BLIP_ADD_FOR_COORDS ( Hash blipHash, float x, float y, float z )  //0x554D9D53F696D002

    • 0
    • 1,975
    • 1207
  16. PED

    int GET_PED_NEARBY_PEDS ( Ped Ped, int* Peds, int ignoredPedType, int p3 )  //0x23F8F5FC7E8C4A6B

    • 0
    • 1,904
    • 1207
  17. void _DRAW_MARKER ( Hash type, float posX, float scaleX, float scaleY, float scaleZ, int red, int green, int blue, int alpha, BOOL bobUpAndDown )  //0x2A32FAA57B937173

    • 0
    • 1,874
    • 1207
  18. PED

    BOOL SET_PED_TO_RAGDOLL ( Ped ped, int timeMin, int timeMax, int ragdollType, BOOL p4, BOOL p5, BOOL p6 )  //0xAE99FB955581844A

    • 1
    • 1,872
    • 1207
  19. WAIT ( int ms )  //0x4EDE34FBADD967A6

    • 0
    • 1,870
    • 1207
  20. BOOL GET_PED_LAST_WEAPON_IMPACT_COORD ( Ped ped, Vector3* coords )  //0x6C4D0409BA1A2BC2

    • 4
    • 1,759
    • 1207
  21. Ped GET_PLAYER_PED ( Player playerIndex )  //0x275F255ED201B937

    • 0
    • 1,733
    • 1207
  22. int ADD_ROPE ( float x, float y, float p10, BOOL p11, BOOL p12, BOOL rigid, float p14, BOOL breakWhenShot, Any* unkPtr, BOOL p17 )  //0xE832D760399EB220

    • 3
    • 1,716
    • 1207
  23. BOOL GET_CURRENT_PED_WEAPON ( Ped ped, Hash* weaponHash, BOOL p2, int attachPoint, BOOL p4 )  //0x3A87E44BB9A01D54

    • 1
    • 1,686
    • 1207
  24. PED

    int _SET_PED_DEFAULT_OUTFIT ( Ped ped, BOOL p1 )  //0x283978A15512B2FE

    • 0
    • 1,675
    • 1207
  25. HUD

    void _DISPLAY_TEXT ( const char* text, float xPos, float yPos )  //0xD79334A4BB99BAD1

    • 0
    • 1,604
    • 1207
  26. PAD

    BOOL IS_CONTROL_PRESSED ( int padIndex, Hash control )  //0xF3A21BCD95725A4A

    • 0
    • 1,590
    • 1207
  27. HUD

    int SET_TEXT_SCALE ( float scale, float size )  //0x4170B650590B3B00

    • 2
    • 1,530
    • 1207
  28. MAP

    void _SET_BLIP_NAME_FROM_PLAYER_STRING ( Blip blip, const char* playerString )  //0x9CB1A1623062F402

    • 0
    • 1,526
    • 1207
  29. BOOL _INVENTORY_ADD_ITEM_WITH_GUID ( int inventoryId, Any* guid1, Any* guid2, Hash item, Hash inventoryItemSlot, int p5, Hash addReason )  //0xCB5D11F9508A928D

    • 0
    • 1,489
    • 1207
  30. Object CREATE_OBJECT ( Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL bScriptHostObj, BOOL dynamic, BOOL p7, BOOL p8 )  //0x509D5878EB39E842

    • 0
    • 1,450
    • 1207
  31. int SET_WEATHER_TYPE ( Hash weatherHash, BOOL p1, BOOL p2, BOOL overrideNetwork, float transitionTime, BOOL p5 )  //0x59174F1AFE095B5A

    • 0
    • 1,425
    • 1207
  32. int _TASK_EMOTE ( Ped ped, int emoteType, int playbackMode, Hash emote, BOOL isSecondaryTask, BOOL canBreakOut, BOOL disableEarlyOutAnimTag, BOOL ignoreInvalidMainTask, BOOL destroyProps )  //0xB31A277C1AC7B7FF

    • 0
    • 1,381
    • 1207
  33. const char* VAR_STRING ( int flags, const char* textTemplate, ...  )  //0xFA925AC00EB830B9

    • 0
    • 1,376
    • 1207
  34. BOOL GIVE_WEAPON_TO_PED_WITH_OPTIONS ( Ped ped, Any* data, Any* outData )  //0xBE7E42B07FD317AC

    • 1
    • 1,366
    • 1207
  35. void NETWORK_SET_FRIENDLY_FIRE_OPTION ( BOOL toggle )  //0xF808475FA571D823

    • 1
    • 1,350
    • 1207
  36. PED

    void SET_ENABLE_BOUND_ANKLES ( Ped ped, BOOL toggle )  //0xC52E0F855C58FC2E

    • 4
    • 1,344
    • 1207
  37. void DRAW_RECT ( float x, float y, float width, float height, int r, int g, int b, int a, BOOL p8, BOOL p9 )  //0x405224591DF02025

    • 0
    • 1,337
    • 1207
  38. PED

    void SET_PED_CONFIG_FLAG ( Ped ped, int flagId, BOOL value )  //0x1913FE4CBF41C463

    • 0
    • 1,332
    • 1207
  39. void _SET_WEATHER_TYPE_TRANSITION ( Hash weatherHash1, Hash weatherHash2, float percentWeather2, BOOL p3 )  //0xFA3E3CA8A1DE6D5D

    • 0
    • 1,320
    • 1207
  40. MAP

    Blip BLIP_ADD_FOR_ENTITY ( Hash blipHash, Entity entity )  //0x23F74C2FDA6E7C61

    • 0
    • 1,309
    • 1207
  41. int _GET_ATTRIBUTE_CORE_VALUE ( Ped ped, int CoreToChange )  //0x36731AC041289BB1

    • 0
    • 1,273
    • 1207
  42. BOOL ANIMPOSTFX_IS_RUNNING ( const char* effectName )  //0x4A123E85D7C4CA0B

    • 0
    • 1,270
    • 1207
  43. void DOOR_SYSTEM_SET_DOOR_STATE ( Hash doorHash, int state )  //0x6BAB9442830C7F53

    • 1
    • 1,215
    • 1207
  44. void TASK_MOUNT_ANIMAL ( Ped ped, Ped mount, int p2, int seatIndex, float pedSpeed, int seatIndex, Any p6, Any p7 )  //0x92DB0739813C5186

    • 2
    • 1,211
    • 1207
  45. BOOL GET_GROUND_Z_FOR_3D_COORD ( float x, float y, float z, Any groundZ, BOOL considerWaterAsGround )  //0x24FA4267BB8D2431

    • 0
    • 1,210
    • 1207
  46. PED

    void _SET_PED_COMPONENT_VARIATION ( Ped ped, Hash componentHash, Hash variationHash, BOOL updatePed, BOOL isMpComponent, int p5 )  //0x66B957AAC2EAAEAB

    • 0
    • 1,206
    • 1207
  47. BOOL _MONEY_INCREMENT_CASH_BALANCE ( int amount, Hash p1 )  //0xBC3422DC91667621

    • 0
    • 1,200
    • 1207
  48. AnimScene _CREATE_ANIM_SCENE ( const char* animDict, int flags, const char* playbackListName, BOOL p3, BOOL p4 )  //0x1FCA98E33C1437B3

    • 0
    • 1,196
    • 1207
  49. int START_NEW_SCRIPT ( const char* scriptName, int stackSize )  //0xE81651AD79516E48

    • 0
    • 1,192
    • 1207
  50. HUD

    void _HIDE_HUD_COMPONENT ( Hash component )  //0x4CC5F2FC1332577F

    • 0
    • 1,186
    • 1207