Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GTA5 NativeDB

Browse our wiki-style database of native functions in Grand Theft Auto 5.

Search 6458 native functions


  1. Object CREATE_OBJECT ( Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL bScriptHostObj, BOOL dynamic )  //0x509D5878EB39E842

    • 0
    • 272
    • 323
  2. Object CREATE_OBJECT_NO_OFFSET ( Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL bScriptHostObj, BOOL dynamic )  //0x9A294B2138ABB884

    • 0
    • 207
    • 323
  3. void DELETE_OBJECT ( Object* object )  //0x539E0AE3E6634B9F

    • 0
    • 188
    • 323
  4. BOOL PLACE_OBJECT_ON_GROUND_PROPERLY ( Object object )  //0x58A850EAEE20FAA3

    • 0
    • 238
    • 323
  5. BOOL PLACE_OBJECT_ON_GROUND_OR_OBJECT_PROPERLY ( Object object )  //0xD76EEEF746057FD6

    • 0
    • 210
    • 505
  6. BOOL ROTATE_OBJECT ( Object object, float p1, float p2, BOOL p3 )  //0xAFE24E4D29249E4A

    • 0
    • 189
    • 1734
  7. BOOL SLIDE_OBJECT ( Object object, float toX, float toY, float toZ, float speedX, float speedY, float speedZ, BOOL collision )  //0x2FDFF4107B8C1147

    • 0
    • 178
    • 323
  8. void SET_OBJECT_TARGETTABLE ( Object object, BOOL targettable )  //0x8A7391690F5AFD81

    • 0
    • 150
    • 323
  9. void SET_OBJECT_FORCE_VEHICLES_TO_AVOID ( Object object, BOOL toggle )  //0x77F33F2CCF64B3AA

    • 0
    • 144
    • 323
  10. Object GET_CLOSEST_OBJECT_OF_TYPE ( float x, float y, float z, float radius, Hash modelHash, BOOL isMission, BOOL p6, BOOL p7 )  //0xE143FA2249364369

    • 0
    • 244
    • 323
  11. BOOL HAS_OBJECT_BEEN_BROKEN ( Object object, Any p1 )  //0x8ABFB70C49CC43E2

    • 0
    • 166
    • 323
  12. BOOL HAS_CLOSEST_OBJECT_OF_TYPE_BEEN_BROKEN ( float p0, float p1, float p2, float p3, Hash modelHash, Any p5 )  //0x761B0E69AC4D007E

    • 0
    • 138
    • 323
  13. BOOL HAS_CLOSEST_OBJECT_OF_TYPE_BEEN_COMPLETELY_DESTROYED ( float x, float y, float z, float radius, Hash modelHash, BOOL p5 )  //0x46494A2475701343

    • 0
    • 203
    • 323
  14. Any GET_HAS_OBJECT_BEEN_COMPLETELY_DESTROYED ( Any p0 )  //0x2542269291C6AC84

    • 0
    • 165
    • 1180
  15. Vector3 GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS ( float xPos, float yPos, float zPos, float heading, float xOffset, float yOffset, float zOffset )  //0x163E252DE035A133

    • 0
    • 237
    • 323
  16. Any GET_COORDS_AND_ROTATION_OF_CLOSEST_OBJECT_OF_TYPE ( float x, float y, float z, float radius, Hash modelHash, Vector3* outPosition, Vector3* outRotation, int rotationOrder )  //0x163F8B586BC95F2A

    • 0
    • 169
    • 323
  17. void SET_STATE_OF_CLOSEST_DOOR_OF_TYPE ( Hash type, float x, float y, float z, BOOL locked, float heading, BOOL p6 )  //0xF82D8F1926A02C3D

    • 0
    • 253
    • 323
  18. void GET_STATE_OF_CLOSEST_DOOR_OF_TYPE ( Hash type, float x, float y, float z, BOOL* locked, float* heading )  //0xEDC1A5B84AEF33FF

    • 0
    • 158
    • 323
  19. void SET_LOCKED_UNSTREAMED_IN_DOOR_OF_TYPE ( Hash modelHash, float x, float y, float z, BOOL locked, float xRotMult, float yRotMult, float zRotMult )  //0x9B12F9A24FABEDB0

    • 0
    • 248
    • 323
  20. void ADD_DOOR_TO_SYSTEM ( Hash doorHash, Hash modelHash, float x, float y, float z, BOOL p5, BOOL scriptDoor, BOOL isLocal )  //0x6F8838D03D1DC226

    • 0
    • 166
    • 323
  21. void REMOVE_DOOR_FROM_SYSTEM ( Hash doorHash, Any p1 )  //0x464D8E1427156FE4

    • 0
    • 135
    • 323
  22. void DOOR_SYSTEM_SET_DOOR_STATE ( Hash doorHash, int state, BOOL requestDoor, BOOL forceUpdate )  //0x6BAB9442830C7F53

    • 0
    • 192
    • 323
  23. int DOOR_SYSTEM_GET_DOOR_STATE ( Hash doorHash )  //0x160AA1B32F6139B8

    • 0
    • 139
    • 323
  24. int DOOR_SYSTEM_GET_DOOR_PENDING_STATE ( Hash doorHash )  //0x4BC2854478F3A749

    • 0
    • 133
    • 323
  25. void DOOR_SYSTEM_SET_AUTOMATIC_RATE ( Hash doorHash, float rate, BOOL requestDoor, BOOL forceUpdate )  //0x03C27E13B42A0E82

    • 0
    • 143
    • 323
  26. void DOOR_SYSTEM_SET_AUTOMATIC_DISTANCE ( Hash doorHash, float distance, BOOL requestDoor, BOOL forceUpdate )  //0x9BA001CB45CBF627

    • 0
    • 150
    • 323
  27. void DOOR_SYSTEM_SET_OPEN_RATIO ( Hash doorHash, float ajar, BOOL requestDoor, BOOL forceUpdate )  //0xB6E6FBA95C7324AC

    • 0
    • 147
    • 323
  28. float DOOR_SYSTEM_GET_OPEN_RATIO ( Hash doorHash )  //0x65499865FCA6E5EC

    • 0
    • 138
    • 323
  29. void DOOR_SYSTEM_SET_SPRING_REMOVED ( Hash doorHash, BOOL removed, BOOL requestDoor, BOOL forceUpdate )  //0xC485E07E4F0B7958

    • 0
    • 139
    • 323
  30. void DOOR_SYSTEM_SET_HOLD_OPEN ( Hash doorHash, BOOL toggle )  //0xD9B71952F78A2640

    • 0
    • 146
    • 323
  31. void DOOR_SYSTEM_SET_DOOR_OPEN_FOR_RACES ( Hash doorHash, BOOL p1 )  //0xA85A21582451E951

    • 0
    • 164
    • 323
  32. BOOL IS_DOOR_REGISTERED_WITH_SYSTEM ( Hash doorHash )  //0xC153C43EA202C8C1

    • 0
    • 150
    • 323
  33. BOOL IS_DOOR_CLOSED ( Hash doorHash )  //0xC531EE8A1145A149

    • 0
    • 133
    • 323
  34. void OPEN_ALL_BARRIERS_FOR_RACE ( BOOL p0 )  //0xC7F29CA00F46350E

    • 0
    • 139
    • 323
  35. void CLOSE_ALL_BARRIERS_FOR_RACE ()  //0x701FDA1E82076BA4

    • 0
    • 119
    • 323
  36. BOOL DOOR_SYSTEM_GET_IS_PHYSICS_LOADED ( Any p0 )  //0xDF97CDD4FC08FD34

    • 0
    • 132
    • 323
  37. BOOL DOOR_SYSTEM_FIND_EXISTING_DOOR ( float x, float y, float z, Hash modelHash, Hash* outDoorHash )  //0x589F80B325CC82C5

    • 0
    • 160
    • 323
  38. BOOL IS_GARAGE_EMPTY ( Hash garageHash, BOOL p1, int p2 )  //0x90E47239EA1980B8

    • 0
    • 189
    • 323
  39. BOOL IS_PLAYER_ENTIRELY_INSIDE_GARAGE ( Hash garageHash, Player player, float p2, int p3 )  //0x024A60DEB0EA69F0

    • 0
    • 154
    • 323
  40. BOOL IS_PLAYER_PARTIALLY_INSIDE_GARAGE ( Hash garageHash, Player player, int p2 )  //0x1761DC5D8471CBAA

    • 0
    • 132
    • 323
  41. BOOL ARE_ENTITIES_ENTIRELY_INSIDE_GARAGE ( Hash garageHash, BOOL p1, BOOL p2, BOOL p3, Any p4 )  //0x85B6C850546FDDE2

    • 0
    • 195
    • 323
  42. BOOL IS_ANY_ENTITY_ENTIRELY_INSIDE_GARAGE ( Hash garageHash, BOOL p1, BOOL p2, BOOL p3, Any p4 )  //0x673ED815D6E323B7

    • 0
    • 122
    • 323
  43. BOOL IS_OBJECT_ENTIRELY_INSIDE_GARAGE ( Hash garageHash, Entity entity, float p2, int p3 )  //0x372EF6699146A1E4

    • 0
    • 147
    • 323
  44. BOOL IS_OBJECT_PARTIALLY_INSIDE_GARAGE ( Hash garageHash, Entity entity, int p2 )  //0xF0EED5A6BC7B237A

    • 0
    • 133
    • 323
  45. void CLEAR_GARAGE ( Hash garageHash, BOOL isNetwork )  //0xDA05194260CDCDF9

    • 0
    • 148
    • 678
  46. void CLEAR_OBJECTS_INSIDE_GARAGE ( Hash garageHash, BOOL vehicles, BOOL peds, BOOL objects, BOOL isNetwork )  //0x190428512B240692

    • 0
    • 147
    • 323
  47. void DISABLE_TIDYING_UP_IN_GARAGE ( int id, BOOL toggle )  //0x659F9D71F52843F8

    • 0
    • 143
    • 1290
  48. void ENABLE_SAVING_IN_GARAGE ( Hash garageHash, BOOL toggle )  //0xF2E1A7133DD356A6

    • 0
    • 137
    • 323
  49. void CLOSE_SAFEHOUSE_GARAGES ()  //0x66A49D021870FE88

    • 0
    • 139
    • 323
  50. BOOL DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS ( float x, float y, float z, float radius, Hash hash, BOOL p5 )  //0xBFA48E2FF417213F

    • 0
    • 163
    • 323

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.