{
"meta": {
 "schema": 2,
 "title": "LS:MP natives",
 "game": "GTA V Enhanced",
 "about": "Every game native as LS:MP exposes it to client scripts, in JavaScript and in Lua. One entry serves both languages: the name and the arguments are the same, only type names and syntax differ (see `types`).",
 "fields": {
  "name": "The global function, in both engines.",
  "native": "The name of the native in the game.",
  "gameVersion": "Exact Enhanced game version required by a versioned LS:MP adapter.",
  "hash": "The 64-bit hash the game knows the native by.",
  "params": "The arguments a script passes, in order: [name, type] or [name, type, description]. Pointers the game only WRITES through are not here: see `outs`.",
  "ret": "The type of the native's own return value. Absent: it returns nothing.",
  "outs": "Values the game writes through pointers: [name, type, slot] or [name, type, slot, description]. A script receives them after `ret`, in this order. `slot` is the position the pointer has in the game's own parameter list.",
  "refs": "Slots of the `params` the game takes through a pointer and READS (DELETE_PED(Ped* ped)). The script passes the plain value. A slot listed here and in `outs` is read and written: an argument and a result.",
  "na": "1: the global exists, but the native is not in the current game build; calling it does nothing and returns nothing.",
  "blocked": "Key of `policy.categories`: scripts may not call this native. The global exists; calling it raises the error given in `policy.error`, before anything reaches the game.",
  "checked": "1: LS:MP validates the arguments before the game sees them. The native notes describe the accepted values and what happens if a check fails.",
  "issue": "1: a value documented as an argument does not reach the game yet. A `Known issue` note says which.",
  "since": "The game build that introduced the native (legacy numbering), when it is not the original one.",
  "aka": "Names the native went by before.",
  "notes": "LS:MP-specific remarks: { kind, title, md, lang? }. `lang` restricts a note to one engine.",
  "doc": "Community notes from the native database. Samples in it may use another framework's syntax."
 },
 "unexposed": "Top-level list: natives the game has and the LS:MP table does not. The global does not exist.",
 "withheld": "Top-level list: natives LS:MP knows and deliberately does not bind, as { native, hash?, md }. The global is not this native; `md` says why, and what to call instead.",
 "results": "results = [ret, if present] ++ outs. JavaScript: 0 results -> undefined, 1 -> the bare value, 2 or more -> an Array. Lua: multiple return values.",
 "policy": {
  "error": "disabled by LSMP script policy",
  "categories": {
   "rockstar": {
    "title": "Rockstar accounts and commerce",
    "md": "Resources do not touch Rockstar accounts, Social Club data, GTA$ or the game's online shops. Keep your own economy and profiles on your server, with [storage](/resources/api#server-storage).",
    "count": 802
   },
   "online": {
    "title": "Rockstar online sessions and content",
    "md": "LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.",
    "count": 180
   },
   "scripts": {
    "title": "Game script threads",
    "md": "Resources do not start, stop or adopt the game's own compiled scripts. Your code runs as an LS:MP [resource](/resources/api#quick-start).",
    "count": 34
   },
   "saves": {
    "title": "Saves and game flow",
    "md": "Scripts cannot save, load or restart the game. For persistent data, use [storage](/resources/api#server-storage).",
    "count": 22
   },
   "editor": {
    "title": "Rockstar Editor",
    "md": "Recording and replay natives are not available to resources.",
    "count": 23
   },
   "memory": {
    "title": "Raw memory and structures",
    "md": "This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use [lsmp.getGamePool](/resources/api#world/fn-get-game-pool). For JSON, use `lsmp.json`.",
    "count": 211
   },
   "language": {
    "title": "Replaced by the language",
    "md": "This is a game-side helper your language already covers: bit operators, or number and string conversion.",
    "count": 4
   },
   "frontend": {
    "title": "Shared menus and input",
    "md": "LS:MP manages the shared frontend, text-entry dialog and input layout. Use the LS:MP page and input APIs for resource UI.",
    "count": 18
   },
   "worldState": {
    "title": "Managed world state",
    "md": "LS:MP manages shared weather and restricts direct clock changes. The checked clock setters document their accepted ranges.",
    "count": 10
   }
  }
 },
 "counts": {
  "natives": 6695,
  "available": 6475,
  "unavailable": 220,
  "callable": 5171,
  "blocked": 1304,
  "checked": 93,
  "issues": 21,
  "withOuts": 209,
  "byRef": 24,
  "withPointers": 284,
  "namespaces": 47
 }
},
"types": {
"int": {"js":"number","lua":"integer","doc":"A whole number, sent as a 32-bit integer. A fractional part is dropped."},
"float": {"js":"number","lua":"number","doc":"A 32-bit floating point number."},
"BOOL": {"js":"boolean","lua":"boolean","doc":"`true` or `false`. As an argument, a number is accepted too (`0` is false)."},
"string": {"js":"string","lua":"string","doc":"Text (`const char*` in the game). A string result is never null: a native with nothing to say gives an empty string."},
"Vector3": {"js":"{ x: number, y: number, z: number }","lua":"Vector3","doc":"A 3D vector. JavaScript gets a plain `{ x, y, z }` object; Lua gets a real `Vector3`, with `.x` `.y` `.z` and arithmetic. As an argument, one vector fills three consecutive coordinates."},
"Hash": {"js":"number","lua":"integer","alias":true,"doc":"A game hash. Natives return it **unsigned** (`0` to `4294967295`), the value `lsmp.hash` gives. As an argument, the signed and unsigned forms of a hash are the same value."},
"Entity": {"js":"number","lua":"integer","alias":true,"doc":"Game handle of an entity: a ped, a vehicle or an object. Not an LS:MP `netId`. Convert one with `lsmp.getEntityFromNetId`."},
"Ped": {"js":"number","lua":"integer","alias":true,"doc":"Game handle of a ped. Not an LS:MP `netId`. Convert one with `lsmp.getEntityFromNetId`."},
"Vehicle": {"js":"number","lua":"integer","alias":true,"doc":"Game handle of a vehicle. Not an LS:MP `netId`. Convert one with `lsmp.getEntityFromNetId`."},
"Object": {"js":"number","lua":"integer","alias":true,"doc":"Game handle of an object (prop). Not an LS:MP `netId`. Convert one with `lsmp.getEntityFromNetId`."},
"Player": {"js":"number","lua":"integer","alias":true,"doc":"The game's own player index: a local slot, as `playerId()` returns it. Not an LS:MP `playerId`."},
"Cam": {"js":"number","lua":"integer","alias":true,"doc":"Handle of a scripted camera."},
"Blip": {"js":"number","lua":"integer","alias":true,"doc":"Handle of a map blip."},
"Pickup": {"js":"number","lua":"integer","alias":true,"doc":"Handle of a pickup."},
"Interior": {"js":"number","lua":"integer","alias":true,"doc":"Identifier of an interior."},
"FireId": {"js":"number","lua":"integer","alias":true,"doc":"Handle of a script fire."},
"ScrHandle": {"js":"number","lua":"integer","alias":true,"doc":"An opaque handle the game hands out. Pass it back unchanged."},
"Any": {"js":"any","lua":"any","doc":"An untyped value. Pass what the native expects: a number (sent as a 32-bit integer), a boolean or a string."},
"Any*": {"js":"null","lua":"nil","doc":"An untyped pointer. Scripts cannot supply one. See [blocked natives](/resources/api#natives/natives-blocked)."},
"HeadBlend": {"js":"HeadBlend","lua":"table","doc":"Fields `shapeFirst`, `shapeSecond`, `shapeThird`, `skinFirst`, `skinSecond`, `skinThird`, `shapeMix`, `skinMix`, `thirdMix`, and Boolean `isParent`."},
"WeaponHudStats": {"js":"WeaponHudStats","lua":"table","doc":"Integer fields `damage`, `speed`, `capacity`, `accuracy` and `range`."},
"EntityList": {"js":"number[]","lua":"integer[]","doc":"A dense list of up to 256 game handles. Lua indices start at 1. JavaScript indices start at 0."},
"MpOutfit": {"js":"MpOutfit","lua":"table","doc":"Arrays `componentDrawables` and `componentTextures` each have 12 entries. `propDrawables` and `propTextures` each have 9 entries. `tattooOverlays` contains 3 unsigned hashes."},
"MpOutfitRequest": {"js":"{ male?: boolean, index?: number }","lua":"table","doc":"Outfit metadata request. `male` defaults to `false` and `index` to `0`. Indices start at zero."},
"ScriptedAnimSlot": {"js":"ScriptedAnimSlot","lua":"table","doc":"Named fields for one priority level. See [structured animations](/resources/api#natives/natives-enhanced-adapters) for the fields and bounds."},
"MoveInitialParams": {"js":"MoveInitialParams","lua":"table","doc":"Named initial parameters for a movement graph. See [structured animations](/resources/api#natives/natives-enhanced-adapters) for the fields and defaults."}
},
"namespaces": [
{"id":"BUILTIN","title":"Built-in","doc":"Script VM basics: timers, maths helpers, thread control.","natives":[
{"name":"startNewScript","native":"START_NEW_SCRIPT","hash":"0xE81651AD79516E48","params":[["scriptName","string"],["stackSize","int"]],"ret":"int","blocked":"scripts","doc":"Examples:\n\n```\ng_384A = startNewScript(\"cellphone_flashhand\", 1424);\nl_10D = startNewScript(\"taxiService\", 1828);\nstartNewScript(\"AM_MP_YACHT\", 5000);\nstartNewScript(\"emergencycall\", 512);\nstartNewScript(\"emergencycall\", 512);\nstartNewScript(\"FM_maintain_cloud_header_data\", 1424);\nstartNewScript(\"FM_Mission_Controller\", 31000);\nstartNewScript(\"tennis_family\", 3650);\nstartNewScript(\"Celebrations\", 3650);\n```\n\nDecompiled examples of usage when starting a script:\n\n```\nrequestScript(a_0);\nif (hasScriptLoaded(a_0)) {\n    startNewScript(a_0, v_3);\n    setScriptAsNoLongerNeeded(a_0);\n    return 1;\n}\n```\n\nor:\n\n```\nv_2 = \"MrsPhilips2\";\nrequestScript(v_2);\nwhile (!hasScriptLoaded(v_2)) {\nrequestScript(v_2);\nSYSTEM::WAIT(0);\n}\nsub_8792(36);\nstartNewScript(v_2, 17000);\nsetScriptAsNoLongerNeeded(v_2);\n```"},
{"name":"startNewScriptWithArgs","native":"START_NEW_SCRIPT_WITH_ARGS","hash":"0xB8BA7F44DF1575E1","params":[["scriptName","string"],["args","Any*"],["argCount","int"],["stackSize","int"]],"ret":"int","blocked":"scripts","doc":"return : script thread id, 0 if failed\nPass pointer to struct of args in p1, size of struct goes into p2"},
{"name":"startNewScriptWithNameHash","native":"START_NEW_SCRIPT_WITH_NAME_HASH","hash":"0xEB1C67C3A5333A92","params":[["scriptHash","Hash"],["stackSize","int"]],"ret":"int","blocked":"scripts","aka":["_START_NEW_STREAMED_SCRIPT"]},
{"name":"startNewScriptWithNameHashAndArgs","native":"START_NEW_SCRIPT_WITH_NAME_HASH_AND_ARGS","hash":"0xC4BB298BD441BE78","params":[["scriptHash","Hash"],["args","Any*"],["argCount","int"],["stackSize","int"]],"ret":"int","blocked":"scripts","aka":["_START_NEW_STREAMED_SCRIPT_WITH_ARGS"]},
{"name":"timera","native":"TIMERA","hash":"0x83666F9FB8FEBD4B","ret":"int","doc":"Counts up. Every 1000 is 1 real-time second. Use SETTIMERA(int value) to set the timer (e.g.: SETTIMERA(0))."},
{"name":"timerb","native":"TIMERB","hash":"0xC9D9444186B5A374","ret":"int"},
{"name":"settimera","native":"SETTIMERA","hash":"0xC1B1E9A034A63A62","params":[["value","int"]]},
{"name":"settimerb","native":"SETTIMERB","hash":"0x5AE11BC36633DE4E","params":[["value","int"]]},
{"name":"timestep","native":"TIMESTEP","hash":"0x0000000050597EE2","ret":"float","doc":"Gets the current frame time."},
{"name":"sin","native":"SIN","hash":"0x0BADBFA3B172435F","params":[["value","float"]],"ret":"float"},
{"name":"cos","native":"COS","hash":"0xD0FFB162F40A139C","params":[["value","float"]],"ret":"float"},
{"name":"sqrt","native":"SQRT","hash":"0x71D93B57D07F9804","params":[["value","float"]],"ret":"float"},
{"name":"pow","native":"POW","hash":"0xE3621CC40F31FE2E","params":[["base","float"],["exponent","float"]],"ret":"float"},
{"name":"log10","native":"LOG10","hash":"0xE816E655DE37FE20","params":[["value","float"]],"ret":"float","since":1493,"aka":["_LOG10"]},
{"name":"vmag","native":"VMAG","hash":"0x652D2EEEF1D3E62C","params":[["x","float"],["y","float"],["z","float"]],"ret":"float","doc":"Calculates the magnitude of a vector."},
{"name":"vmag2","native":"VMAG2","hash":"0xA8CEACB4F35AE058","params":[["x","float"],["y","float"],["z","float"]],"ret":"float","doc":"Calculates the magnitude of a vector but does not perform Sqrt operations. (Its way faster)"},
{"name":"vdist","native":"VDIST","hash":"0x2A488C176D52CCA5","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"float","doc":"Calculates distance between vectors."},
{"name":"vdist2","native":"VDIST2","hash":"0xB7A628320EFF8E47","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"float","doc":"Calculates distance between vectors but does not perform Sqrt operations. (Its way faster)"},
{"name":"shiftLeft","native":"SHIFT_LEFT","hash":"0xEDD95A39E5544DE8","params":[["value","int"],["bitShift","int"]],"ret":"int"},
{"name":"shiftRight","native":"SHIFT_RIGHT","hash":"0x97EF1E5BCE9DC075","params":[["value","int"],["bitShift","int"]],"ret":"int"},
{"name":"floor","native":"FLOOR","hash":"0xF34EE736CF047844","params":[["value","float"]],"ret":"int"},
{"name":"ceil","native":"CEIL","hash":"0x11E019C8F43ACC8A","params":[["value","float"]],"ret":"int"},
{"name":"round","native":"ROUND","hash":"0xF2DB717A73826179","params":[["value","float"]],"ret":"int"},
{"name":"toFloat","native":"TO_FLOAT","hash":"0xBBDA792448DB5A89","params":[["value","int"]],"ret":"float"},
{"name":"setThisThreadPriority","native":"SET_THIS_THREAD_PRIORITY","hash":"0x42B65DEEF2EDF2A1","params":[["priority","int"]],"blocked":"scripts","since":877}
]},
{"id":"APP","title":"App data","doc":"Data blocks shared with the game's companion apps.","natives":[
{"name":"appDataValid","native":"APP_DATA_VALID","hash":"0x846AA8E7D55EE5B6","ret":"BOOL","blocked":"rockstar"},
{"name":"appGetInt","native":"APP_GET_INT","hash":"0xD3A58A12C77D9D4B","params":[["property","string"]],"ret":"int","blocked":"rockstar"},
{"name":"appGetFloat","native":"APP_GET_FLOAT","hash":"0x1514FB24C02C2322","params":[["property","string"]],"ret":"float","blocked":"rockstar"},
{"name":"appGetString","native":"APP_GET_STRING","hash":"0x749B023950D2311C","params":[["property","string"]],"ret":"string","blocked":"rockstar"},
{"name":"appSetInt","native":"APP_SET_INT","hash":"0x607E8E3D3E4F9611","params":[["property","string"],["value","int"]],"blocked":"rockstar"},
{"name":"appSetFloat","native":"APP_SET_FLOAT","hash":"0x25D7687C68E0DAA4","params":[["property","string"],["value","float"]],"blocked":"rockstar"},
{"name":"appSetString","native":"APP_SET_STRING","hash":"0x3FF2FCEC4B7721B4","params":[["property","string"],["value","string"]],"blocked":"rockstar"},
{"name":"appSetApp","native":"APP_SET_APP","hash":"0xCFD0406ADAF90D2B","params":[["appName","string"]],"blocked":"rockstar","doc":"Called in the gamescripts like:\n\n```\nappSetApp(\"car\");\nappSetApp(\"dog\");\n```"},
{"name":"appSetBlock","native":"APP_SET_BLOCK","hash":"0x262AB456A3D21F93","params":[["blockName","string"]],"blocked":"rockstar"},
{"name":"appClearBlock","native":"APP_CLEAR_BLOCK","hash":"0x5FE1DF3342DB7DBA","blocked":"rockstar"},
{"name":"appCloseApp","native":"APP_CLOSE_APP","hash":"0xE41C65E07A5F05FC","blocked":"rockstar"},
{"name":"appCloseBlock","native":"APP_CLOSE_BLOCK","hash":"0xE8E3FCF72EAC0EF8","blocked":"rockstar"},
{"name":"appHasLinkedSocialClubAccount","native":"APP_HAS_LINKED_SOCIAL_CLUB_ACCOUNT","hash":"0x71EEE69745088DA0","ret":"BOOL","blocked":"rockstar"},
{"name":"appHasSyncedData","native":"APP_HAS_SYNCED_DATA","hash":"0xCA52279A7271517F","params":[["appName","string"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"appSaveData","native":"APP_SAVE_DATA","hash":"0x95C5D356CDA6E85F","blocked":"rockstar"},
{"name":"appGetDeletedFileStatus","native":"APP_GET_DELETED_FILE_STATUS","hash":"0xC9853A2BE3DED1A6","ret":"int","blocked":"rockstar"},
{"name":"appDeleteAppData","native":"APP_DELETE_APP_DATA","hash":"0x44151AEA95C8A003","params":[["appName","string"]],"ret":"BOOL","blocked":"rockstar"}
]},
{"id":"AUDIO","title":"Audio","doc":"Sounds, speech, music, radio, audio scenes and scripted conversations.","natives":[
{"name":"playPedRingtone","native":"PLAY_PED_RINGTONE","hash":"0xF9E56683CA8E11A5","params":[["ringtoneName","string"],["ped","Ped"],["p2","BOOL"]],"doc":"All found occurrences in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/RFb4GTny\n\n```\nplayPedRingtone(\"Remote_Ring\", playerPedId(), 1);\nplayPedRingtone(\"Dial_and_Remote_Ring\", playerPedId(), 1);\n```"},
{"name":"isPedRingtonePlaying","native":"IS_PED_RINGTONE_PLAYING","hash":"0x1E8E5E20937E3137","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"stopPedRingtone","native":"STOP_PED_RINGTONE","hash":"0x6C5AE23EFA885092","params":[["ped","Ped"]]},
{"name":"isMobilePhoneCallOngoing","native":"IS_MOBILE_PHONE_CALL_ONGOING","hash":"0x7497D2CE2C30D24C","ret":"BOOL"},
{"name":"isMobileInterferenceActive","native":"IS_MOBILE_INTERFERENCE_ACTIVE","hash":"0xC8B1B2425604CDD0","ret":"BOOL"},
{"name":"getCurrentTvShowPlayTime","native":"GET_CURRENT_TV_SHOW_PLAY_TIME","hash":"0xDD3AA743AB7D4D75","ret":"int","na":1,"since":3095},
{"name":"createNewScriptedConversation","native":"CREATE_NEW_SCRIPTED_CONVERSATION","hash":"0xD2C91A0B572AAE56"},
{"name":"addLineToConversation","native":"ADD_LINE_TO_CONVERSATION","hash":"0xC5EF963405593646","params":[["index","int"],["p1","string"],["p2","string"],["p3","int"],["p4","int"],["p5","BOOL"],["p6","BOOL"],["p7","BOOL"],["p8","BOOL"],["p9","int"],["p10","BOOL"],["p11","BOOL"],["p12","BOOL"]],"doc":"NOTE: ones that are -1, 0 - 35 are determined by a function where it gets a TextLabel from a global then runs,\n`getCharacterFromAudioConversationFilename` and depending on what the result is it goes in check order of 0 - 9 then A - Z then z (lowercase). So it will then return 0 - 35 or -1 if it's 'z'. The func to handle that ^^ is func_67 in dialog_handler.c atleast in TU27 Xbox360 scripts.\n\np0 is -1, 0 - 35\np1 is a char or string (whatever you wanna call it)\np2 is Global 10597 + i * 6. 'i' is a while(i < 70) loop\np3 is again -1, 0 - 35\np4 is again -1, 0 - 35\np5 is either 0 or 1 (bool ?)\np6 is either 0 or 1 (The func to determine this is bool)\np7 is either 0 or 1 (The func to determine this is bool)\np8 is either 0 or 1 (The func to determine this is bool)\np9 is 0 - 3 (Determined by func_60 in dialogue_handler.c)\np10 is either 0 or 1 (The func to determine this is bool)\np11 is either 0 or 1 (The func to determine this is bool)\np12 is unknown as in TU27 X360 scripts it only goes to p11."},
{"name":"addPedToConversation","native":"ADD_PED_TO_CONVERSATION","hash":"0x95D9F4BC443956E7","params":[["index","int"],["ped","Ped"],["p2","string"]],"doc":"4 calls in the b617d scripts. The only one with p0 and p2 in clear text:\n\n```\naddPedToConversation(5, l_AF, \"DINAPOLI\");\n```\n\n---\nOne of the 2 calls in dialogue_handler.c p0 is in a while-loop, and so is determined to also possibly be 0 - 15."},
{"name":"setPositionForNullConvPed","native":"SET_POSITION_FOR_NULL_CONV_PED","hash":"0x33E3C6C6F2F0B506","params":[["p0","Any"],["p1","float"],["p2","float"],["p3","float"]]},
{"name":"setEntityForNullConvPed","native":"SET_ENTITY_FOR_NULL_CONV_PED","hash":"0x892B6AB8F33606F5","params":[["p0","int"],["entity","Entity"]]},
{"name":"setMicrophonePosition","native":"SET_MICROPHONE_POSITION","hash":"0xB6AE90EDDE95C762","params":[["toggle","BOOL"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["x3","float"],["y3","float"],["z3","float"]],"doc":"This native controls where the game plays audio from. By default the microphone is positioned on the player.\nWhen p0 is true the game will play audio from the 3 positions inputted.\nIt is recommended to set all 3 positions to the same value as mixing different positions doesn't seem to work well.\nThe scripts mostly use it with only one position such as in fbi3.c:\n\n```\nsetMicrophonePosition(true, getEntityCoords(iLocal_3091, true), getEntityCoords(iLocal_3091, true), getEntityCoords(iLocal_3091, true));\n```"},
{"name":"setConversationAudioControlledByAnim","native":"SET_CONVERSATION_AUDIO_CONTROLLED_BY_ANIM","hash":"0x0B568201DD99F0EB","params":[["p0","BOOL"]]},
{"name":"setConversationAudioPlaceholder","native":"SET_CONVERSATION_AUDIO_PLACEHOLDER","hash":"0x61631F5DF50D1C34","params":[["p0","BOOL"]]},
{"name":"startScriptPhoneConversation","native":"START_SCRIPT_PHONE_CONVERSATION","hash":"0x252E5F915EABB675","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"preloadScriptPhoneConversation","native":"PRELOAD_SCRIPT_PHONE_CONVERSATION","hash":"0x6004BCB0E226AAEA","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"startScriptConversation","native":"START_SCRIPT_CONVERSATION","hash":"0x6B17C62C9635D2DC","params":[["p0","BOOL"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"]]},
{"name":"preloadScriptConversation","native":"PRELOAD_SCRIPT_CONVERSATION","hash":"0x3B3CAD6166916D87","params":[["p0","BOOL"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"]]},
{"name":"startPreloadedConversation","native":"START_PRELOADED_CONVERSATION","hash":"0x23641AFE870AF385"},
{"name":"getIsPreloadedConversationReady","native":"GET_IS_PRELOADED_CONVERSATION_READY","hash":"0xE73364DB90778FFA","ret":"BOOL"},
{"name":"isScriptedConversationOngoing","native":"IS_SCRIPTED_CONVERSATION_ONGOING","hash":"0x16754C556D2EDE3D","ret":"BOOL"},
{"name":"isScriptedConversationLoaded","native":"IS_SCRIPTED_CONVERSATION_LOADED","hash":"0xDF0D54BE7A776737","ret":"BOOL"},
{"name":"getCurrentScriptedConversationLine","native":"GET_CURRENT_SCRIPTED_CONVERSATION_LINE","hash":"0x480357EE890C295A","ret":"int"},
{"name":"pauseScriptedConversation","native":"PAUSE_SCRIPTED_CONVERSATION","hash":"0x8530AD776CD72B12","params":[["p0","BOOL"]]},
{"name":"restartScriptedConversation","native":"RESTART_SCRIPTED_CONVERSATION","hash":"0x9AEB285D1818C9AC"},
{"name":"stopScriptedConversation","native":"STOP_SCRIPTED_CONVERSATION","hash":"0xD79DEEFB53455EBA","params":[["p0","BOOL"]],"ret":"int"},
{"name":"skipToNextScriptedConversationLine","native":"SKIP_TO_NEXT_SCRIPTED_CONVERSATION_LINE","hash":"0x9663FE6B7A61EB00"},
{"name":"interruptConversation","native":"INTERRUPT_CONVERSATION","hash":"0xA018A12E5C5C2FA6","params":[["ped","Ped"],["voiceline","string"],["speaker","string"]],"doc":"Example from carsteal3.c: `interruptConversation`(`playerPedId`(), \"CST4_CFAA\", \"FRANKLIN\");\nVoicelines can be found in GTAV\\x64\\audio\\sfx in files starting with \"SS_\" which seems to mean scripted speech."},
{"name":"interruptConversationAndPause","native":"INTERRUPT_CONVERSATION_AND_PAUSE","hash":"0x8A694D7A68F8DC38","params":[["ped","Ped"],["p1","string"],["speaker","string"]],"doc":"One call found in the b617d scripts:\n\n```\ninterruptConversationAndPause(netToPed(l_3989._f26F[0/*1*/]), \"CONV_INTERRUPT_QUIT_IT\", \"LESTER\");\n```"},
{"name":"getVariationChosenForScriptedLine","native":"GET_VARIATION_CHOSEN_FOR_SCRIPTED_LINE","hash":"0xAA19F5572C38B564","params":[["p0","Any*"]],"ret":"int","blocked":"memory"},
{"name":"setNoDuckingForConversation","native":"SET_NO_DUCKING_FOR_CONVERSATION","hash":"0xB542DE8C3D1CB210","params":[["p0","BOOL"]]},
{"name":"registerScriptWithAudio","native":"REGISTER_SCRIPT_WITH_AUDIO","hash":"0xC6ED9D5092438D91","params":[["p0","int"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"unregisterScriptWithAudio","native":"UNREGISTER_SCRIPT_WITH_AUDIO","hash":"0xA8638BE228D4751A","doc":"This native does absolutely nothing, just a nullsub"},
{"name":"requestMissionAudioBank","native":"REQUEST_MISSION_AUDIO_BANK","hash":"0x7345BDD95E62E0F2","params":[["audioBank","string"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","doc":"All occurrences and usages found in b617d: https://pastebin.com/NzZZ2Tmm\nFull list of mission audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/missionAudioBankNames.json\np2 is always -1"},
{"name":"requestAmbientAudioBank","native":"REQUEST_AMBIENT_AUDIO_BANK","hash":"0xFE02FFBED8CA9D99","params":[["audioBank","string"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","doc":"All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/XZ1tmGEz\nFull list of ambient audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientAudioBankNames.json\np2 is always -1"},
{"name":"requestScriptAudioBank","native":"REQUEST_SCRIPT_AUDIO_BANK","hash":"0x2F844A8B08D76685","params":[["audioBank","string"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","doc":"All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/AkmDAVn6\nFull list of script audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scriptAudioBankNames.json\np2 is always -1"},
{"name":"hintMissionAudioBank","native":"HINT_MISSION_AUDIO_BANK","hash":"0x40763EA7B9B783E7","params":[["audioBank","string"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","since":573,"doc":"p2 is always -1"},
{"name":"hintAmbientAudioBank","native":"HINT_AMBIENT_AUDIO_BANK","hash":"0x8F8C0E370AE62F5C","params":[["audioBank","string"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","doc":"p2 is always -1"},
{"name":"hintScriptAudioBank","native":"HINT_SCRIPT_AUDIO_BANK","hash":"0xFB380A29641EC31A","params":[["audioBank","string"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","doc":"p2 is always -1"},
{"name":"releaseMissionAudioBank","native":"RELEASE_MISSION_AUDIO_BANK","hash":"0x0EC92A1BF0857187"},
{"name":"releaseAmbientAudioBank","native":"RELEASE_AMBIENT_AUDIO_BANK","hash":"0x65475A218FFAA93D"},
{"name":"releaseNamedScriptAudioBank","native":"RELEASE_NAMED_SCRIPT_AUDIO_BANK","hash":"0x77ED170667F50170","params":[["audioBank","string"]],"doc":"Full list of script audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scriptAudioBankNames.json"},
{"name":"releaseScriptAudioBank","native":"RELEASE_SCRIPT_AUDIO_BANK","hash":"0x7A2D8AD0A9EB9C3F"},
{"name":"unhintAmbientAudioBank","native":"UNHINT_AMBIENT_AUDIO_BANK","hash":"0x19AF7ED9B9D23058"},
{"name":"unhintScriptAudioBank","native":"UNHINT_SCRIPT_AUDIO_BANK","hash":"0x9AC92EED5E4793AB"},
{"name":"unhintNamedScriptAudioBank","native":"UNHINT_NAMED_SCRIPT_AUDIO_BANK","hash":"0x11579D940949C49E","params":[["audioBank","string"]],"since":678},
{"name":"getSoundId","native":"GET_SOUND_ID","hash":"0x430386FE9BF80B45","ret":"int"},
{"name":"releaseSoundId","native":"RELEASE_SOUND_ID","hash":"0x353FC880830B88FA","params":[["soundId","int"]]},
{"name":"playSound","native":"PLAY_SOUND","hash":"0x7FF4944CC209192D","params":[["soundId","int"],["audioName","string"],["audioRef","string"],["p3","BOOL"],["p4","Any"],["p5","BOOL"]],"doc":"All found occurrences in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/A8Ny8AHZ\n\nFull list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json"},
{"name":"playSoundFrontend","native":"PLAY_SOUND_FRONTEND","hash":"0x67C540AA08E4A6F5","params":[["soundId","int"],["audioName","string"],["audioRef","string"],["p3","BOOL"]],"doc":"List: https://pastebin.com/DCeRiaLJ\n\nAll occurrences as of Cayo Perico Heist DLC (b2189), sorted alphabetically and identical lines removed: https://git.io/JtLxM\n\nFull list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json"},
{"name":"playDeferredSoundFrontend","native":"PLAY_DEFERRED_SOUND_FRONTEND","hash":"0xCADA5A0D0702381E","params":[["soundName","string"],["soundsetName","string"]],"doc":"Only call found in the b617d scripts:\n\n```\nplayDeferredSoundFrontend(\"BACK\", \"HUD_FREEMODE_SOUNDSET\");\n```\n\nFull list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json"},
{"name":"playSoundFromEntity","native":"PLAY_SOUND_FROM_ENTITY","hash":"0xE65F427EB70AB1ED","params":[["soundId","int"],["audioName","string"],["entity","Entity"],["audioRef","string"],["isNetwork","BOOL"],["p5","Any"]],"doc":"All found occurrences in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/f2A7vTj0\nNo changes made in b678d.\n\nhttps://gtaforums.com/topic/795622-audio-for-mods\n\nFull list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json"},
{"name":"playSoundFromEntityHash","native":"PLAY_SOUND_FROM_ENTITY_HASH","hash":"0x5B9853296731E88D","params":[["soundId","int"],["model","Hash"],["entity","Entity"],["soundSetHash","Hash"],["p4","Any"],["p5","Any"]],"since":877,"doc":"Only used with \"formation_flying_blips_soundset\" and \"biker_formation_blips_soundset\".\np1 is always the model of p2"},
{"name":"playSoundFromCoord","native":"PLAY_SOUND_FROM_COORD","hash":"0x8D8686B622B88120","params":[["soundId","int"],["audioName","string"],["x","float"],["y","float"],["z","float"],["audioRef","string"],["isNetwork","BOOL"],["range","int"],["p8","BOOL"]],"doc":"All found occurrences in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/eeFc5DiW\n\nhttps://gtaforums.com/topic/795622-audio-for-mods\n\nFull list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json"},
{"name":"updateSoundCoord","native":"UPDATE_SOUND_COORD","hash":"0x7EC3C679D0E7E46B","params":[["soundId","int"],["x","float"],["y","float"],["z","float"]],"since":678},
{"name":"stopSound","native":"STOP_SOUND","hash":"0xA3B0C41BA5CC0BB5","params":[["soundId","int"]]},
{"name":"getNetworkIdFromSoundId","native":"GET_NETWORK_ID_FROM_SOUND_ID","hash":"0x2DE3F0A134FFBC0D","params":[["soundId","int"]],"ret":"int"},
{"name":"getSoundIdFromNetworkId","native":"GET_SOUND_ID_FROM_NETWORK_ID","hash":"0x75262FD12D0A1C84","params":[["netId","int"]],"ret":"int"},
{"name":"setVariableOnSound","native":"SET_VARIABLE_ON_SOUND","hash":"0xAD6B3148A78AE9B6","params":[["soundId","int"],["variable","string"],["p2","float"]]},
{"name":"setVariableOnStream","native":"SET_VARIABLE_ON_STREAM","hash":"0x2F9D3834AEB9EF79","params":[["variable","string"],["p1","float"]],"doc":"From the scripts, p0:\n\n\"ArmWrestlingIntensity\",\n\"INOUT\",\n\"Monkey_Stream\",\n\"ZoomLevel\""},
{"name":"overrideUnderwaterStream","native":"OVERRIDE_UNDERWATER_STREAM","hash":"0xF2A9CDABCEA04BD6","params":[["p0","string"],["p1","BOOL"]]},
{"name":"setVariableOnUnderWaterStream","native":"SET_VARIABLE_ON_UNDER_WATER_STREAM","hash":"0x733ADF241531E5C2","params":[["variableName","string"],["value","float"]],"doc":"```\nsetVariableOnUnderWaterStream(\"inTunnel\", 1.0);\nsetVariableOnUnderWaterStream(\"inTunnel\", 0.0);\n```"},
{"name":"hasSoundFinished","native":"HAS_SOUND_FINISHED","hash":"0xFCBDCE714A7C88E5","params":[["soundId","int"]],"ret":"BOOL"},
{"name":"playPedAmbientSpeechNative","native":"PLAY_PED_AMBIENT_SPEECH_NATIVE","hash":"0x8E04FEDD28D42462","params":[["ped","Ped"],["speechName","string"],["speechParam","string"],["p3","Any"]],"aka":["_PLAY_AMBIENT_SPEECH1"],"doc":"Plays ambient speech. See also _0x444180DB.\n\nped: The ped to play the ambient speech.\nspeechName: Name of the speech to play, eg. \"GENERIC_HI\".\nspeechParam: Can be one of the following:\nSPEECH_PARAMS_STANDARD\nSPEECH_PARAMS_ALLOW_REPEAT\nSPEECH_PARAMS_BEAT\nSPEECH_PARAMS_FORCE\nSPEECH_PARAMS_FORCE_FRONTEND\nSPEECH_PARAMS_FORCE_NO_REPEAT_FRONTEND\nSPEECH_PARAMS_FORCE_NORMAL\nSPEECH_PARAMS_FORCE_NORMAL_CLEAR\nSPEECH_PARAMS_FORCE_NORMAL_CRITICAL\nSPEECH_PARAMS_FORCE_SHOUTED\nSPEECH_PARAMS_FORCE_SHOUTED_CLEAR\nSPEECH_PARAMS_FORCE_SHOUTED_CRITICAL\nSPEECH_PARAMS_FORCE_PRELOAD_ONLY\nSPEECH_PARAMS_MEGAPHONE\nSPEECH_PARAMS_HELI\nSPEECH_PARAMS_FORCE_MEGAPHONE\nSPEECH_PARAMS_FORCE_HELI\nSPEECH_PARAMS_INTERRUPT\nSPEECH_PARAMS_INTERRUPT_SHOUTED\nSPEECH_PARAMS_INTERRUPT_SHOUTED_CLEAR\nSPEECH_PARAMS_INTERRUPT_SHOUTED_CRITICAL\nSPEECH_PARAMS_INTERRUPT_NO_FORCE\nSPEECH_PARAMS_INTERRUPT_FRONTEND\nSPEECH_PARAMS_INTERRUPT_NO_FORCE_FRONTEND\nSPEECH_PARAMS_ADD_BLIP\nSPEECH_PARAMS_ADD_BLIP_ALLOW_REPEAT\nSPEECH_PARAMS_ADD_BLIP_FORCE\nSPEECH_PARAMS_ADD_BLIP_SHOUTED\nSPEECH_PARAMS_ADD_BLIP_SHOUTED_FORCE\nSPEECH_PARAMS_ADD_BLIP_INTERRUPT\nSPEECH_PARAMS_ADD_BLIP_INTERRUPT_FORCE\nSPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED\nSPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CLEAR\nSPEECH_PARAMS_FORCE_PRELOAD_ONLY_SHOUTED_CRITICAL\nSPEECH_PARAMS_SHOUTED\nSPEECH_PARAMS_SHOUTED_CLEAR\nSPEECH_PARAMS_SHOUTED_CRITICAL\n\nNote: A list of Name and Parameters can be found here https://pastebin.com/1GZS5dCL\n\nFull list of speeches and voices names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/speeches.json"},
{"name":"playPedAmbientSpeechAndCloneNative","native":"PLAY_PED_AMBIENT_SPEECH_AND_CLONE_NATIVE","hash":"0xC6941B4A3A8FBBB9","params":[["ped","Ped"],["speechName","string"],["speechParam","string"],["p3","Any"]],"aka":["_PLAY_AMBIENT_SPEECH2"],"doc":"Plays ambient speech. See also _0x5C57B85D.\n\nSee `playPedAmbientSpeechNative` for parameter specifications.\n\nFull list of speeches and voices names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/speeches.json"},
{"name":"playPedAmbientSpeechWithVoiceNative","native":"PLAY_PED_AMBIENT_SPEECH_WITH_VOICE_NATIVE","hash":"0x3523634255FC3318","params":[["ped","Ped"],["speechName","string"],["voiceName","string"],["speechParam","string"],["p4","BOOL"]],"aka":["_PLAY_AMBIENT_SPEECH_WITH_VOICE"],"doc":"This is the same as `playPedAmbientSpeechNative` and `playPedAmbientSpeechAndCloneNative` but it will allow you to play a speech file from a specific voice file. It works on players and all peds, even animals.\n\nEX (C#):\n\n```\nGTA.Native.Function.Call(Hash.PLAY_PED_AMBIENT_SPEECH_WITH_VOICE_NATIVE, Game.Player.Character, \"GENERIC_INSULT_HIGH\", \"s_m_y_sheriff_01_white_full_01\", \"SPEECH_PARAMS_FORCE_SHOUTED\", 0);\n```\n\nThe first param is the ped you want to play it on, the second is the speech name, the third is the voice name, the fourth is the speech param, and the last param is usually always 0.\n\nFull list of speeches and voices names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/speeches.json"},
{"name":"playAmbientSpeechFromPositionNative","native":"PLAY_AMBIENT_SPEECH_FROM_POSITION_NATIVE","hash":"0xED640017ED337E45","params":[["speechName","string"],["voiceName","string"],["x","float"],["y","float"],["z","float"],["speechParam","string"]],"aka":["_PLAY_AMBIENT_SPEECH_AT_COORDS"],"doc":"Full list of speeches and voices names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/speeches.json"},
{"name":"overrideTrevorRage","native":"OVERRIDE_TREVOR_RAGE","hash":"0x13AD665062541A7E","params":[["voiceEffect","string"]],"doc":"This native enables the audio flag \"TrevorRageIsOverridden\" and sets the voice effect to `voiceEffect`"},
{"name":"resetTrevorRage","native":"RESET_TREVOR_RAGE","hash":"0xE78503B10C4314E0"},
{"name":"setPlayerAngry","native":"SET_PLAYER_ANGRY","hash":"0xEA241BB04110F091","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"playPain","native":"PLAY_PAIN","hash":"0xBC9AE166038A5CEC","params":[["ped","Ped"],["painID","int"],["p1","int"],["p3","Any"]],"doc":"Needs another parameter [int p2]. The signature is `playPain`(Ped ped, int painID, int p1, int p2);\n\nLast 2 parameters always seem to be 0.\n\n```\nEX: Function.Call(Hash.PLAY_PAIN, TestPed, 6, 0, 0);\n```\n\nKnown Pain IDs\n---\n\n1 - Doesn't seem to do anything. Does NOT crash the game like previously said. (Latest patch)\n6 - Scream (Short)\n7 - Scared Scream (Kinda Long)\n8 - On Fire"},
{"name":"releaseWeaponAudio","native":"RELEASE_WEAPON_AUDIO","hash":"0xCE4AC0439F607045"},
{"name":"activateAudioSlowmoMode","native":"ACTIVATE_AUDIO_SLOWMO_MODE","hash":"0xD01005D2BA2EB778","params":[["mode","string"]],"doc":"mode can be any of these:\nSLOWMO_T1_TRAILER_SMASH\nSLOWMO_T1_RAYFIRE_EXPLOSION\nSLOWMO_PROLOGUE_VAULT\nNIGEL_02_SLOWMO_SETTING\nJSH_EXIT_TUNNEL_SLOWMO\nSLOWMO_BIG_SCORE_JUMP\nSLOWMO_FIB4_TRUCK_SMASH\nSLOWMO_EXTREME_04\nSLOW_MO_METH_HOUSE_RAYFIRE\nBARRY_02_SLOWMO\nBARRY_01_SLOWMO"},
{"name":"deactivateAudioSlowmoMode","native":"DEACTIVATE_AUDIO_SLOWMO_MODE","hash":"0xDDC635D5B3262C56","params":[["mode","string"]],"doc":"see `activateAudioSlowmoMode` for modes"},
{"name":"setAmbientVoiceName","native":"SET_AMBIENT_VOICE_NAME","hash":"0x6C8065A3B780185B","params":[["ped","Ped"],["name","string"]],"doc":"Audio List\nhttps://gtaforums.com/topic/795622-audio-for-mods/\n\nAll found occurrences in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/FTeAj4yZ"},
{"name":"setAmbientVoiceNameHash","native":"SET_AMBIENT_VOICE_NAME_HASH","hash":"0x9A53DED9921DE990","params":[["ped","Ped"],["hash","Hash"]],"since":463,"aka":["_SET_AMBIENT_VOICE_NAME_HASH"]},
{"name":"getAmbientVoiceNameHash","native":"GET_AMBIENT_VOICE_NAME_HASH","hash":"0x5E203DA2BA15D436","params":[["ped","Ped"]],"ret":"Hash","since":463,"aka":["_GET_AMBIENT_VOICE_NAME_HASH"]},
{"name":"setPedVoiceFull","native":"SET_PED_VOICE_FULL","hash":"0x40CF0D12D142A9E8","params":[["ped","Ped"]],"aka":["_SET_PED_SCREAM"],"doc":"Assigns some ambient voice to the ped."},
{"name":"setPedRaceAndVoiceGroup","native":"SET_PED_RACE_AND_VOICE_GROUP","hash":"0x1B7ABE26CBCBF8C7","params":[["ped","Ped"],["p1","int"],["voiceGroup","Hash"]],"since":372},
{"name":"setPedVoiceGroup","native":"SET_PED_VOICE_GROUP","hash":"0x7CDC8C3B89F661B3","params":[["ped","Ped"],["voiceGroupHash","Hash"]],"aka":["_SET_PED_VOICE_GROUP"],"doc":"From the scripts:\n\n```\nsetPedVoiceGroup(playerPedId(), getHashKey(\"PAIGE_PVG\"));\nsetPedVoiceGroup(playerPedId(), getHashKey(\"TALINA_PVG\"));\nsetPedVoiceGroup(playerPedId(), getHashKey(\"FEMALE_LOST_BLACK_PVG\"));\nsetPedVoiceGroup(playerPedId(), getHashKey(\"FEMALE_LOST_WHITE_PVG\"));\n```"},
{"name":"setPedVoiceGroupFromRaceToPvg","native":"SET_PED_VOICE_GROUP_FROM_RACE_TO_PVG","hash":"0x0BABC1345ABBFB16","params":[["ped","Ped"],["voiceGroupHash","Hash"]],"since":2699,"aka":["_SET_PED_VOICE_GROUP_RACE"],"doc":"Dat151RelType == 29"},
{"name":"setPedGender","native":"SET_PED_GENDER","hash":"0xA5342D390CDA41D6","params":[["ped","Ped"],["p1","BOOL"]],"aka":["_SET_PED_AUDIO_GENDER"],"doc":"BOOL p1: 0 = Female; 1 = Male"},
{"name":"stopCurrentPlayingSpeech","native":"STOP_CURRENT_PLAYING_SPEECH","hash":"0x7A73D05A607734C7","params":[["ped","Ped"]],"aka":["_SET_PED_MUTE"]},
{"name":"stopCurrentPlayingAmbientSpeech","native":"STOP_CURRENT_PLAYING_AMBIENT_SPEECH","hash":"0xB8BEC0CA6F0EDB0F","params":[["ped","Ped"]]},
{"name":"isAmbientSpeechPlaying","native":"IS_AMBIENT_SPEECH_PLAYING","hash":"0x9072C8B49907BFAD","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isScriptedSpeechPlaying","native":"IS_SCRIPTED_SPEECH_PLAYING","hash":"0xCC9AA18DCC7084F4","params":[["p0","Ped"]],"ret":"BOOL"},
{"name":"isAnySpeechPlaying","native":"IS_ANY_SPEECH_PLAYING","hash":"0x729072355FA39EC9","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isAnyPositionalSpeechPlaying","native":"IS_ANY_POSITIONAL_SPEECH_PLAYING","hash":"0x30CA2EF91D15ADF8","ret":"BOOL","since":2189},
{"name":"doesContextExistForThisPed","native":"DOES_CONTEXT_EXIST_FOR_THIS_PED","hash":"0x49B99BF3FDA89A7A","params":[["ped","Ped"],["speechName","string"],["p2","BOOL"]],"ret":"BOOL","aka":["_CAN_PED_SPEAK"],"doc":"Checks if the ped can play the speech or has the speech file, p2 is usually false."},
{"name":"isPedInCurrentConversation","native":"IS_PED_IN_CURRENT_CONVERSATION","hash":"0x049E937F18F4020C","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedIsDrunk","native":"SET_PED_IS_DRUNK","hash":"0x95D2D383D5396B8A","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Sets the ped drunk sounds.  Only works with `playerPedId`\n\n---\n\nAs mentioned above, this only sets the drunk sound to ped/player.\n\nTo give the Ped a drunk effect with drunk walking animation try using `setPedMovementClipset`\n\nBelow is an example\n\n```\nif (!Function.Call<bool>(Hash.HAS_ANIM_SET_LOADED, \"move_m@drunk@verydrunk\"))\n                {\n                    Function.Call(Hash.REQUEST_ANIM_SET, \"move_m@drunk@verydrunk\");\n                }\n                Function.Call(Hash.SET_PED_MOVEMENT_CLIPSET, Ped.Handle, \"move_m@drunk@verydrunk\", 0x3E800000);\n```\n\nAnd to stop the effect use\n`resetPedMovementClipset`"},
{"name":"playAnimalVocalization","native":"PLAY_ANIMAL_VOCALIZATION","hash":"0xEE066C7006C49C0A","params":[["pedHandle","Ped"],["p1","int"],["speechName","string"]],"doc":"Plays sounds from a ped with chop model. For example it used to play bark or sniff sounds. p1 is always 3 or 4294967295 in decompiled scripts. By a quick disassembling I can assume that this arg is unused.\nThis native is works only when you call it on the ped with right model (ac_chop only ?)\nSpeech Name can be: CHOP_SNIFF_SEQ CHOP_WHINE CHOP_LICKS_MOUTH CHOP_PANT bark GROWL SNARL BARK_SEQ"},
{"name":"isAnimalVocalizationPlaying","native":"IS_ANIMAL_VOCALIZATION_PLAYING","hash":"0xC265DF9FB44A9FBD","params":[["pedHandle","Ped"]],"ret":"BOOL"},
{"name":"setAnimalMood","native":"SET_ANIMAL_MOOD","hash":"0xCC97B29285B1DC3B","params":[["animal","Ped"],["mood","int"]],"doc":"mood can be 0 or 1 (it's not a boolean value!). Effects audio of the animal."},
{"name":"isMobilePhoneRadioActive","native":"IS_MOBILE_PHONE_RADIO_ACTIVE","hash":"0xB35CE999E8EF317E","ret":"BOOL"},
{"name":"setMobilePhoneRadioState","native":"SET_MOBILE_PHONE_RADIO_STATE","hash":"0xBF286C554784F3DF","params":[["state","BOOL"]]},
{"name":"getPlayerRadioStationIndex","native":"GET_PLAYER_RADIO_STATION_INDEX","hash":"0xE8AF77C4C06ADC93","ret":"int","doc":"Returns 255 (radio off index) if the function fails."},
{"name":"getPlayerRadioStationName","native":"GET_PLAYER_RADIO_STATION_NAME","hash":"0xF6D733C32076AD03","ret":"string","doc":"Returns active radio station name"},
{"name":"getRadioStationName","native":"GET_RADIO_STATION_NAME","hash":"0xB28ECA15046CA8B9","params":[["radioStation","int"]],"ret":"string","doc":"Converts radio station index to string. Use `getFilenameForAudioConversation` to get the user-readable text."},
{"name":"getPlayerRadioStationGenre","native":"GET_PLAYER_RADIO_STATION_GENRE","hash":"0xA571991A7FE6CCEB","ret":"int"},
{"name":"isRadioRetuning","native":"IS_RADIO_RETUNING","hash":"0xA151A7394A214E65","ret":"BOOL"},
{"name":"isRadioFadedOut","native":"IS_RADIO_FADED_OUT","hash":"0x0626A247D2405330","ret":"BOOL"},
{"name":"setRadioRetuneUp","native":"SET_RADIO_RETUNE_UP","hash":"0xFF266D1D0EB1195D","doc":"Tune Forward..."},
{"name":"setRadioRetuneDown","native":"SET_RADIO_RETUNE_DOWN","hash":"0xDD6BCF9E94425DF9","doc":"Tune Backwards..."},
{"name":"setRadioToStationName","native":"SET_RADIO_TO_STATION_NAME","hash":"0xC69EDA28699D5107","params":[["stationName","string"]],"doc":"List of radio stations that are in the wheel, in clockwise order, as of LS Tuners DLC: https://git.io/J8a3k"},
{"name":"setVehRadioStation","native":"SET_VEH_RADIO_STATION","hash":"0x1B9C0099CB942AC6","params":[["vehicle","Vehicle"],["radioStation","string"]],"doc":"List of radio stations that are in the wheel, in clockwise order, as of LS Tuners DLC: https://git.io/J8a3k"},
{"name":"setVehHasNormalRadio","native":"SET_VEH_HAS_NORMAL_RADIO","hash":"0x3E45765F3FBB582F","params":[["vehicle","Vehicle"]],"since":2372,"aka":["_SET_VEH_HAS_RADIO_OVERRIDE"]},
{"name":"isVehicleRadioOn","native":"IS_VEHICLE_RADIO_ON","hash":"0x0BE4BE946463F917","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":505,"aka":["_IS_VEHICLE_RADIO_ENABLED"]},
{"name":"setVehForcedRadioThisFrame","native":"SET_VEH_FORCED_RADIO_THIS_FRAME","hash":"0xC1805D05E6D4FE10","params":[["vehicle","Vehicle"]]},
{"name":"setEmitterRadioStation","native":"SET_EMITTER_RADIO_STATION","hash":"0xACF57305B12AF907","params":[["emitterName","string"],["radioStation","string"],["p2","Any"]],"doc":"Full list of static emitters by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/staticEmitters.json"},
{"name":"setStaticEmitterEnabled","native":"SET_STATIC_EMITTER_ENABLED","hash":"0x399D2D3B33F1B8EB","params":[["emitterName","string"],["toggle","BOOL"]],"doc":"Example:\n\n```\nsetStaticEmitterEnabled((Any*)\"LOS_SANTOS_VANILLA_UNICORN_01_STAGE\", false);    setStaticEmitterEnabled((Any*)\"LOS_SANTOS_VANILLA_UNICORN_02_MAIN_ROOM\", false);    setStaticEmitterEnabled((Any*)\"LOS_SANTOS_VANILLA_UNICORN_03_BACK_ROOM\", false);\n```\n\nThis turns off surrounding sounds not connected directly to peds.\n\nFull list of static emitters by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/staticEmitters.json"},
{"name":"linkStaticEmitterToEntity","native":"LINK_STATIC_EMITTER_TO_ENTITY","hash":"0x651D3228960D08AF","params":[["emitterName","string"],["entity","Entity"]],"since":505,"aka":["_LINK_STATIC_EMITTER_TO_ENTITY"],"doc":"Full list of static emitters by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/staticEmitters.json"},
{"name":"setRadioToStationIndex","native":"SET_RADIO_TO_STATION_INDEX","hash":"0xA619B168B8A8570F","params":[["radioStation","int"]],"doc":"Sets radio station by index."},
{"name":"setFrontendRadioActive","native":"SET_FRONTEND_RADIO_ACTIVE","hash":"0xF7F26C6E9CC9EBB8","params":[["active","BOOL"]]},
{"name":"unlockMissionNewsStory","native":"UNLOCK_MISSION_NEWS_STORY","hash":"0xB165AB7C248B2DC1","params":[["newsStory","int"]],"doc":"\"news\" that play on the radio after you've done something in story mode(?)"},
{"name":"isMissionNewsStoryUnlocked","native":"IS_MISSION_NEWS_STORY_UNLOCKED","hash":"0x66E49BF55B4B1874","params":[["newsStory","int"]],"ret":"BOOL","checked":1,"aka":["GET_NUMBER_OF_PASSENGER_VOICE_VARIATIONS"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`newsStory` must be between `1` and `256`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"getAudibleMusicTrackTextId","native":"GET_AUDIBLE_MUSIC_TRACK_TEXT_ID","hash":"0x50B196FC9ED6545B","ret":"int"},
{"name":"playEndCreditsMusic","native":"PLAY_END_CREDITS_MUSIC","hash":"0xCD536C4D33DCC900","params":[["play","BOOL"]]},
{"name":"skipRadioForward","native":"SKIP_RADIO_FORWARD","hash":"0x6DDBBDD98E2E9C25"},
{"name":"freezeRadioStation","native":"FREEZE_RADIO_STATION","hash":"0x344F393B027E38C3","params":[["radioStation","string"]]},
{"name":"unfreezeRadioStation","native":"UNFREEZE_RADIO_STATION","hash":"0xFC00454CF60B91DD","params":[["radioStation","string"]]},
{"name":"setRadioAutoUnfreeze","native":"SET_RADIO_AUTO_UNFREEZE","hash":"0xC1AA9F53CE982990","params":[["toggle","BOOL"]]},
{"name":"setInitialPlayerStation","native":"SET_INITIAL_PLAYER_STATION","hash":"0x88795F13FACDA88D","params":[["radioStation","string"]]},
{"name":"setUserRadioControlEnabled","native":"SET_USER_RADIO_CONTROL_ENABLED","hash":"0x19F21E63AE6EAE4E","params":[["toggle","BOOL"]]},
{"name":"setRadioTrack","native":"SET_RADIO_TRACK","hash":"0xB39786F201FEE30B","params":[["radioStation","string"],["radioTrack","string"]],"doc":"Only found this one in the decompiled scripts:\n\n```\nsetRadioTrack(\"RADIO_03_HIPHOP_NEW\", \"ARM1_RADIO_STARTS\");\n```"},
{"name":"setRadioTrackWithStartOffset","native":"SET_RADIO_TRACK_WITH_START_OFFSET","hash":"0x2CB0075110BE1E56","params":[["radioStationName","string"],["mixName","string"],["p2","int"]],"since":1493,"aka":["_SET_RADIO_TRACK_MIX"]},
{"name":"setNextRadioTrack","native":"SET_NEXT_RADIO_TRACK","hash":"0x55ECF4D13D9903B0","params":[["radioName","string"],["radioTrack","string"],["p2","string"],["p3","string"]],"since":1868},
{"name":"setVehicleRadioLoud","native":"SET_VEHICLE_RADIO_LOUD","hash":"0xBB6F1CAEC68B0BCE","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"canVehicleReceiveCbRadio","native":"CAN_VEHICLE_RECEIVE_CB_RADIO","hash":"0x032A116663A4D5AC","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_VEHICLE_RADIO_LOUD"]},
{"name":"setMobileRadioEnabledDuringGameplay","native":"SET_MOBILE_RADIO_ENABLED_DURING_GAMEPLAY","hash":"0x1098355A16064BB3","params":[["toggle","BOOL"]]},
{"name":"doesPlayerVehHaveRadio","native":"DOES_PLAYER_VEH_HAVE_RADIO","hash":"0x109697E2FFBAC8A1","ret":"BOOL"},
{"name":"isPlayerVehRadioEnable","native":"IS_PLAYER_VEH_RADIO_ENABLE","hash":"0x5F43D83FD6738741","ret":"BOOL","aka":["_IS_PLAYER_VEHICLE_RADIO_ENABLED"]},
{"name":"setVehicleRadioEnabled","native":"SET_VEHICLE_RADIO_ENABLED","hash":"0x3B988190C0AA6C0B","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"can't seem to enable radio on cop cars etc"},
{"name":"setPositionedPlayerVehicleRadioEmitterEnabled","native":"SET_POSITIONED_PLAYER_VEHICLE_RADIO_EMITTER_ENABLED","hash":"0xDA07819E452FFE8F","params":[["p0","Any"]],"since":505},
{"name":"setCustomRadioTrackList","native":"SET_CUSTOM_RADIO_TRACK_LIST","hash":"0x4E404A9361F75BB2","params":[["radioStation","string"],["trackListName","string"],["p2","BOOL"]],"doc":"Examples:\n\n```\nsetCustomRadioTrackList(\"RADIO_01_CLASS_ROCK\", \"END_CREDITS_KILL_MICHAEL\", 1);\nsetCustomRadioTrackList(\"RADIO_01_CLASS_ROCK\", \"END_CREDITS_KILL_MICHAEL\", 1);\nsetCustomRadioTrackList(\"RADIO_01_CLASS_ROCK\", \"END_CREDITS_KILL_TREVOR\", 1);\nsetCustomRadioTrackList(\"RADIO_01_CLASS_ROCK\", \"END_CREDITS_SAVE_MICHAEL_TREVOR\", 1);\nsetCustomRadioTrackList(\"RADIO_01_CLASS_ROCK\", \"OFF_ROAD_RADIO_ROCK_LIST\", 1);\nsetCustomRadioTrackList(\"RADIO_06_COUNTRY\", \"MAGDEMO2_RADIO_DINGHY\", 1);\nsetCustomRadioTrackList(\"RADIO_16_SILVERLAKE\", \"SEA_RACE_RADIO_PLAYLIST\", 1);\nsetCustomRadioTrackList(\"RADIO_01_CLASS_ROCK\", \"OFF_ROAD_RADIO_ROCK_LIST\", 1);\n```"},
{"name":"clearCustomRadioTrackList","native":"CLEAR_CUSTOM_RADIO_TRACK_LIST","hash":"0x1654F24A88A8E3FE","params":[["radioStation","string"]],"doc":"3 calls in the b617d scripts, removed duplicate.\n\n```\nclearCustomRadioTrackList(\"RADIO_16_SILVERLAKE\");\nclearCustomRadioTrackList(\"RADIO_01_CLASS_ROCK\");\n```"},
{"name":"getNumUnlockedRadioStations","native":"GET_NUM_UNLOCKED_RADIO_STATIONS","hash":"0xF1620ECB50E01DE7","ret":"int","aka":["_MAX_RADIO_STATION_INDEX"]},
{"name":"findRadioStationIndex","native":"FIND_RADIO_STATION_INDEX","hash":"0x8D67489793FF428B","params":[["stationNameHash","Hash"]],"ret":"int"},
{"name":"setRadioStationMusicOnly","native":"SET_RADIO_STATION_MUSIC_ONLY","hash":"0x774BD811F656A122","params":[["radioStation","string"],["toggle","BOOL"]],"doc":"6 calls in the b617d scripts, removed identical lines:\n\n```\nsetRadioStationMusicOnly(\"RADIO_01_CLASS_ROCK\", 1);\nsetRadioStationMusicOnly(getRadioStationName(10), 0);\nsetRadioStationMusicOnly(getRadioStationName(10), 1);\n```"},
{"name":"setRadioFrontendFadeTime","native":"SET_RADIO_FRONTEND_FADE_TIME","hash":"0x2C96CDB04FCA358E","params":[["fadeTime","float"]]},
{"name":"unlockRadioStationTrackList","native":"UNLOCK_RADIO_STATION_TRACK_LIST","hash":"0x031ACB6ABA18C729","params":[["radioStation","string"],["trackListName","string"]],"doc":"```\nunlockRadioStationTrackList(\"RADIO_16_SILVERLAKE\", \"MIRRORPARK_LOCKED\");\n```"},
{"name":"lockRadioStationTrackList","native":"LOCK_RADIO_STATION_TRACK_LIST","hash":"0xFF5E5EA2DCEEACF3","params":[["radioStation","string"],["trackListName","string"]],"since":2372,"aka":["_LOCK_RADIO_STATION_TRACK_LIST"]},
{"name":"updateUnlockableDjRadioTracks","native":"UPDATE_UNLOCKABLE_DJ_RADIO_TRACKS","hash":"0x47AED84213A47510","params":[["enableMixes","BOOL"]],"since":1493,"aka":["_UPDATE_LSUR"],"doc":"Just a nullsub (i.e. does absolutely nothing) since build 1604."},
{"name":"lockRadioStation","native":"LOCK_RADIO_STATION","hash":"0x477D9DB48F889591","params":[["radioStationName","string"],["toggle","BOOL"]],"since":1493,"aka":["_SET_RADIO_STATION_DISABLED","_LOCK_RADIO_STATION"],"doc":"Disables the radio station (hides it from the radio wheel)."},
{"name":"setRadioStationAsFavourite","native":"SET_RADIO_STATION_AS_FAVOURITE","hash":"0x4CAFEBFA21EC188D","params":[["radioStation","string"],["toggle","BOOL"]],"since":2372,"aka":["_SET_RADIO_STATION_IS_VISIBLE"],"doc":"Doesn't have an effect in Story Mode."},
{"name":"isRadioStationFavourited","native":"IS_RADIO_STATION_FAVOURITED","hash":"0x2B1784DB08AFEA79","params":[["radioStation","string"]],"ret":"BOOL","since":2699,"aka":["_IS_RADIO_STATION_VISIBLE"]},
{"name":"getNextAudibleBeat","native":"GET_NEXT_AUDIBLE_BEAT","hash":"0xC64A06D939F826F5","ret":"BOOL","outs":[["out1","float",0],["out2","float",1],["out3","int",2]],"since":1493},
{"name":"forceMusicTrackList","native":"FORCE_MUSIC_TRACK_LIST","hash":"0x4E0AF9114608257C","params":[["radioStation","string"],["trackListName","string"],["milliseconds","int"]],"since":2372,"aka":["_FORCE_RADIO_TRACK_LIST_POSITION"],"doc":"Changes start time of a tracklist (milliseconds)\nR* uses a random int: `getRandomIntInRange`(0, 13) * 60000)"},
{"name":"getCurrentTrackPlayTime","native":"GET_CURRENT_TRACK_PLAY_TIME","hash":"0x3E65CDE5215832C1","params":[["radioStationName","string"]],"ret":"int","since":1493,"aka":["_GET_CURRENT_RADIO_TRACK_PLAYBACK_TIME"]},
{"name":"getCurrentTrackSoundName","native":"GET_CURRENT_TRACK_SOUND_NAME","hash":"0x34D66BC058019CE0","params":[["radioStationName","string"]],"ret":"Hash","since":1493,"aka":["_GET_CURRENT_RADIO_TRACK_NAME"]},
{"name":"setVehicleMissileWarningEnabled","native":"SET_VEHICLE_MISSILE_WARNING_ENABLED","hash":"0xF3365489E0DD50F9","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setAmbientZoneState","native":"SET_AMBIENT_ZONE_STATE","hash":"0xBDA07E5950085E46","params":[["zoneName","string"],["p1","BOOL"],["p2","BOOL"]],"doc":"Full list of ambient zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientZones.json"},
{"name":"clearAmbientZoneState","native":"CLEAR_AMBIENT_ZONE_STATE","hash":"0x218DD44AAAC964FF","params":[["zoneName","string"],["p1","BOOL"]],"doc":"This function also has a p2, unknown. Signature `clearAmbientZoneState`(const char* zoneName, bool p1, Any p2);\n\nStill needs more research.\n\nFull list of ambient zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientZones.json"},
{"name":"setAmbientZoneListState","native":"SET_AMBIENT_ZONE_LIST_STATE","hash":"0x9748FA4DE50CCE3E","params":[["ambientZone","string"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"clearAmbientZoneListState","native":"CLEAR_AMBIENT_ZONE_LIST_STATE","hash":"0x120C48C614909FA4","params":[["ambientZone","string"],["p1","BOOL"]]},
{"name":"setAmbientZoneStatePersistent","native":"SET_AMBIENT_ZONE_STATE_PERSISTENT","hash":"0x1D6650420CEC9D3B","params":[["ambientZone","string"],["p1","BOOL"],["p2","BOOL"]],"doc":"Full list of ambient zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientZones.json"},
{"name":"setAmbientZoneListStatePersistent","native":"SET_AMBIENT_ZONE_LIST_STATE_PERSISTENT","hash":"0xF3638DAE8C4045E1","params":[["ambientZone","string"],["p1","BOOL"],["p2","BOOL"]],"doc":"Full list of ambient zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientZones.json"},
{"name":"isAmbientZoneEnabled","native":"IS_AMBIENT_ZONE_ENABLED","hash":"0x01E2817A479A7F9B","params":[["ambientZone","string"]],"ret":"BOOL","doc":"Full list of ambient zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientZones.json"},
{"name":"refreshClosestOceanShoreline","native":"REFRESH_CLOSEST_OCEAN_SHORELINE","hash":"0x5D2BFAAB8D956E0E","since":573},
{"name":"setCutsceneAudioOverride","native":"SET_CUTSCENE_AUDIO_OVERRIDE","hash":"0x3B4BF5F0859204D9","params":[["name","string"]],"doc":"All occurrences found in b617d, sorted alphabetically and identical lines removed:\n\n```\nsetCutsceneAudioOverride(\"_AK\");\nsetCutsceneAudioOverride(\"_CUSTOM\");\nsetCutsceneAudioOverride(\"_TOOTHLESS\");\n```\n\nFull list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"setVariableOnSynchSceneAudio","native":"SET_VARIABLE_ON_SYNCH_SCENE_AUDIO","hash":"0xBCC29F935ED07688","params":[["variableName","string"],["value","float"]],"aka":["GET_PLAYER_HEADSET_SOUND_ALTERNATE","_SET_VARIABLE_ON_CUTSCENE_AUDIO"]},
{"name":"playPoliceReport","native":"PLAY_POLICE_REPORT","hash":"0xDFEBD56D9BD1EB16","params":[["name","string"],["p1","float"]],"ret":"int","doc":"Plays the given police radio message.\n\nAll found occurrences in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/GBnsQ5hr\nFull list of police report names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/policeReportNames.json"},
{"name":"cancelAllPoliceReports","native":"CANCEL_ALL_POLICE_REPORTS","hash":"0xB4F90FAF7670B16F","aka":["_DISABLE_POLICE_REPORTS","_CANCEL_CURRENT_POLICE_REPORT"]},
{"name":"blipSiren","native":"BLIP_SIREN","hash":"0x1B9025BDA76822B6","params":[["vehicle","Vehicle"]],"doc":"Plays the siren sound of a vehicle which is otherwise activated when fastly double-pressing the horn key.\nOnly works on vehicles with a police siren."},
{"name":"overrideVehHorn","native":"OVERRIDE_VEH_HORN","hash":"0x3CDC1E622CCE0356","params":[["vehicle","Vehicle"],["override","BOOL"],["hornHash","int"]],"doc":"Overrides the vehicle's horn hash.\nWhen changing this hash on a vehicle, it will not return the 'overwritten' hash. It will still always return the default horn hash (same as `getVehicleDefaultHorn`)\n\nvehicle - the vehicle whose horn should be overwritten"},
{"name":"isHornActive","native":"IS_HORN_ACTIVE","hash":"0x9D6BFC12B05C6121","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Checks whether the horn of a vehicle is currently played."},
{"name":"setAggressiveHorns","native":"SET_AGGRESSIVE_HORNS","hash":"0x395BF71085D1B1D9","params":[["toggle","BOOL"]],"doc":"Makes pedestrians sound their horn longer, faster and more agressive when they use their horn."},
{"name":"setRadioPositionAudioMute","native":"SET_RADIO_POSITION_AUDIO_MUTE","hash":"0x02E93C796ABD3A97","params":[["p0","BOOL"]],"doc":"Does nothing (it's a nullsub)."},
{"name":"setVehicleConversationsPersist","native":"SET_VEHICLE_CONVERSATIONS_PERSIST","hash":"0x58BB377BEC7CD5F4","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"setVehicleConversationsPersistNew","native":"SET_VEHICLE_CONVERSATIONS_PERSIST_NEW","hash":"0x9BD7BD55E4533183","params":[["p0","BOOL"],["p1","BOOL"],["p2","BOOL"]],"since":1290},
{"name":"isStreamPlaying","native":"IS_STREAM_PLAYING","hash":"0xD11FA52EB849D978","ret":"BOOL"},
{"name":"getStreamPlayTime","native":"GET_STREAM_PLAY_TIME","hash":"0x4E72BBDBCA58A3DB","ret":"int"},
{"name":"loadStream","native":"LOAD_STREAM","hash":"0x1F1F957154EC51DF","params":[["streamName","string"],["soundSet","string"]],"ret":"BOOL","doc":"Example:\n\n```\nloadStream(\"CAR_STEAL_1_PASSBY\", \"CAR_STEAL_1_SOUNDSET\");\n```\n\nAll found occurrences in the b678d decompiled scripts: https://pastebin.com/3rma6w5w\n\nStream names often ends with \"_MASTER\", \"_SMALL\" or \"_STREAM\". Also \"_IN\", \"_OUT\" and numbers.\n\nsoundSet is often set to 0 in the scripts. These are common to end the soundSets: \"_SOUNDS\", \"_SOUNDSET\" and numbers.\n\nFull list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json"},
{"name":"loadStreamWithStartOffset","native":"LOAD_STREAM_WITH_START_OFFSET","hash":"0x59C16B79F53B3712","params":[["streamName","string"],["startOffset","int"],["soundSet","string"]],"ret":"BOOL","doc":"Example:\n\n```\nloadStreamWithStartOffset(\"STASH_TOXIN_STREAM\", 2400, \"FBI_05_SOUNDS\");\n```\n\nOnly called a few times in the scripts.\n\nFull list of audio / sound names by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/soundNames.json"},
{"name":"playStreamFromPed","native":"PLAY_STREAM_FROM_PED","hash":"0x89049DD63C08B5D1","params":[["ped","Ped"]]},
{"name":"playStreamFromVehicle","native":"PLAY_STREAM_FROM_VEHICLE","hash":"0xB70374A758007DFA","params":[["vehicle","Vehicle"]]},
{"name":"playStreamFromObject","native":"PLAY_STREAM_FROM_OBJECT","hash":"0xEBAA9B64D76356FD","params":[["object","Object"]],"doc":"Used with `loadStream`\n\nExample from finale_heist2b.c4:\n\n```\ntaskSynchronizedScene(l_4C8[2/*14*/], l_4C8[2/*14*/]._f7, l_30A, \"push_out_vault_l\", 4.0, -1.5, 5, 713, 4.0, 0);\n                    setSynchronizedScenePhase(l_4C8[2/*14*/]._f7, 0.0);\n                    forcePedAiAndAnimationUpdate(l_4C8[2/*14*/], 0, 0);\n                    setPedCombatAttributes(l_4C8[2/*14*/], 38, 1);\n                    setBlockingOfNonTemporaryEvents(l_4C8[2/*14*/], 1);\n                    if (loadStream(\"Gold_Cart_Push_Anim_01\", \"BIG_SCORE_3B_SOUNDS\")) {\n                        playStreamFromObject(l_36F[0/*1*/]);\n                    }\n```"},
{"name":"playStreamFrontend","native":"PLAY_STREAM_FRONTEND","hash":"0x58FCE43488F9F5F4"},
{"name":"playStreamFromPosition","native":"PLAY_STREAM_FROM_POSITION","hash":"0x21442F412E8DE56B","params":[["x","float"],["y","float"],["z","float"]],"aka":["SPECIAL_FRONTEND_EQUAL"]},
{"name":"stopStream","native":"STOP_STREAM","hash":"0xA4718A1419D18151"},
{"name":"stopPedSpeaking","native":"STOP_PED_SPEAKING","hash":"0x9D64D7405520E3D3","params":[["ped","Ped"],["shaking","BOOL"]]},
{"name":"blockAllSpeechFromPed","native":"BLOCK_ALL_SPEECH_FROM_PED","hash":"0xF8AD2EED7C47E8FE","params":[["ped","Ped"],["p1","BOOL"],["p2","BOOL"]],"since":1734},
{"name":"stopPedSpeakingSynced","native":"STOP_PED_SPEAKING_SYNCED","hash":"0xAB6781A5F3101470","params":[["ped","Ped"],["p1","BOOL"]],"since":1868},
{"name":"disablePedPainAudio","native":"DISABLE_PED_PAIN_AUDIO","hash":"0xA9A41C1E940FB0E8","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"isAmbientSpeechDisabled","native":"IS_AMBIENT_SPEECH_DISABLED","hash":"0x932C2D096A2C3FFF","params":[["ped","Ped"]],"ret":"BOOL","doc":"Common in the scripts:\n\n```\nisAmbientSpeechDisabled(playerPedId());\n```"},
{"name":"blockSpeechContextGroup","native":"BLOCK_SPEECH_CONTEXT_GROUP","hash":"0xA8A7D434AFB4B97B","params":[["p0","string"],["p1","int"]],"since":1493},
{"name":"unblockSpeechContextGroup","native":"UNBLOCK_SPEECH_CONTEXT_GROUP","hash":"0x2ACABED337622DF2","params":[["p0","string"]],"since":1493},
{"name":"setSirenWithNoDriver","native":"SET_SIREN_WITH_NO_DRIVER","hash":"0x1FEF0683B96EBCF2","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setSirenBypassMpDriverCheck","native":"SET_SIREN_BYPASS_MP_DRIVER_CHECK","hash":"0xF584CF8529B51434","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":2372,"aka":["_SET_SIREN_KEEP_ON"]},
{"name":"triggerSirenAudio","native":"TRIGGER_SIREN_AUDIO","hash":"0x66C3FB05206041BA","params":[["vehicle","Vehicle"]],"since":1290,"aka":["_TRIGGER_SIREN"]},
{"name":"setHornPermanentlyOn","native":"SET_HORN_PERMANENTLY_ON","hash":"0x9C11908013EA4715","params":[["vehicle","Vehicle"]],"aka":["_SOUND_VEHICLE_HORN_THIS_FRAME"]},
{"name":"setHornEnabled","native":"SET_HORN_ENABLED","hash":"0x76D683C108594D0E","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setAudioVehiclePriority","native":"SET_AUDIO_VEHICLE_PRIORITY","hash":"0xE5564483E407F914","params":[["vehicle","Vehicle"],["p1","Any"]]},
{"name":"setHornPermanentlyOnTime","native":"SET_HORN_PERMANENTLY_ON_TIME","hash":"0x9D3AF56E94C9AE98","params":[["vehicle","Vehicle"],["time","float"]]},
{"name":"useSirenAsHorn","native":"USE_SIREN_AS_HORN","hash":"0xFA932DE350266EF8","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"forceUseAudioGameObject","native":"FORCE_USE_AUDIO_GAME_OBJECT","hash":"0x4F0C413926060B38","params":[["vehicle","Vehicle"],["audioName","string"]],"aka":["_SET_VEHICLE_AUDIO","_FORCE_VEHICLE_ENGINE_AUDIO"],"doc":"This native sets the audio of the specified vehicle to the audioName (p1).\n\nUse the audioNameHash found in vehicles.meta\n\nExample:\n\n```\nforceUseAudioGameObject(veh, \"ADDER\");\n```\n\nThe selected vehicle will now have the audio of the Adder."},
{"name":"preloadVehicleAudioBank","native":"PRELOAD_VEHICLE_AUDIO_BANK","hash":"0xCA4CEA6AE0000A7E","params":[["vehicleModel","Hash"]],"since":1180,"aka":["_PRELOAD_VEHICLE_AUDIO"]},
{"name":"setVehicleStartupRevSound","native":"SET_VEHICLE_STARTUP_REV_SOUND","hash":"0xF1F8157B8C3F171C","params":[["vehicle","Vehicle"],["p1","string"],["p2","string"]]},
{"name":"resetVehicleStartupRevSound","native":"RESET_VEHICLE_STARTUP_REV_SOUND","hash":"0xD2DCCD8E16E20997","params":[["vehicle","Vehicle"]],"aka":["_RESET_VEHICLE_STARTUP_REV_SOUND"]},
{"name":"setVehicleForceReverseWarning","native":"SET_VEHICLE_FORCE_REVERSE_WARNING","hash":"0x97FFB4ADEED08066","params":[["p0","Any"],["p1","Any"]],"since":2372},
{"name":"isVehicleAudiblyDamaged","native":"IS_VEHICLE_AUDIBLY_DAMAGED","hash":"0x5DB8010EE71FDEF2","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleAudioEngineDamageFactor","native":"SET_VEHICLE_AUDIO_ENGINE_DAMAGE_FACTOR","hash":"0x59E7B488451F4D3A","params":[["vehicle","Vehicle"],["damageFactor","float"]]},
{"name":"setVehicleAudioBodyDamageFactor","native":"SET_VEHICLE_AUDIO_BODY_DAMAGE_FACTOR","hash":"0x01BB4D577D38BD9E","params":[["vehicle","Vehicle"],["intensity","float"]],"doc":"intensity: 0.0f - 1.0f, only used once with 1.0f in R* Scripts (nigel2)\nMakes an engine rattling noise when you decelerate, you need to be going faster to hear lower values"},
{"name":"forceVehicleEngineSynth","native":"_FORCE_VEHICLE_ENGINE_SYNTH","hash":"0xEB7D0E1FCC8FE17A","params":[["vehicle","Vehicle"],["force","BOOL"]],"na":1,"since":3258,"doc":"Called together with `setVehicleTyresCanBurst`"},
{"name":"enableVehicleFanbeltDamage","native":"ENABLE_VEHICLE_FANBELT_DAMAGE","hash":"0x1C073274E065C6D2","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"enableVehicleExhaustPops","native":"ENABLE_VEHICLE_EXHAUST_POPS","hash":"0x2BE4BC731D039D5A","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleBoostActive","native":"SET_VEHICLE_BOOST_ACTIVE","hash":"0x4A04DE7CAB2739A1","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"```\nsetVehicleBoostActive(vehicle, 1, 0);\nsetVehicleBoostActive(vehicle, 0, 0);\n```\n\nWill give a boost-soundeffect."},
{"name":"setPlayerVehicleAlarmAudioActive","native":"SET_PLAYER_VEHICLE_ALARM_AUDIO_ACTIVE","hash":"0x6FDDAD856E36988A","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setScriptUpdateDoorAudio","native":"SET_SCRIPT_UPDATE_DOOR_AUDIO","hash":"0x06C0023BED16DD6B","params":[["doorHash","Hash"],["toggle","BOOL"]]},
{"name":"playVehicleDoorOpenSound","native":"PLAY_VEHICLE_DOOR_OPEN_SOUND","hash":"0x3A539D52857EA82D","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"]]},
{"name":"playVehicleDoorCloseSound","native":"PLAY_VEHICLE_DOOR_CLOSE_SOUND","hash":"0x62A456AA4769EF34","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"]]},
{"name":"enableStallWarningSounds","native":"ENABLE_STALL_WARNING_SOUNDS","hash":"0xC15907D667F7CFB2","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Works for planes only."},
{"name":"enableDragRaceStationaryWarningSounds","native":"_ENABLE_DRAG_RACE_STATIONARY_WARNING_SOUNDS","hash":"0xBEFB80290414FD4F","params":[["vehicle","Vehicle"],["enable","BOOL"]],"na":1,"since":3095},
{"name":"isGameInControlOfMusic","native":"IS_GAME_IN_CONTROL_OF_MUSIC","hash":"0x6D28DC1671E334FD","ret":"BOOL","doc":"Hardcoded to return 1"},
{"name":"setGpsActive","native":"SET_GPS_ACTIVE","hash":"0x3BD3F52BA9B1E4E8","params":[["active","BOOL"]]},
{"name":"playMissionCompleteAudio","native":"PLAY_MISSION_COMPLETE_AUDIO","hash":"0xB138AAB8A70D3C69","params":[["audioName","string"]],"doc":"Called 38 times in the scripts. There are 5 different audioNames used.\n One unknown removed below.\n\n```\nplayMissionCompleteAudio(\"DEAD\");\nplayMissionCompleteAudio(\"FRANKLIN_BIG_01\");\nplayMissionCompleteAudio(\"GENERIC_FAILED\");\nplayMissionCompleteAudio(\"TREVOR_SMALL_01\");\n```"},
{"name":"isMissionCompletePlaying","native":"IS_MISSION_COMPLETE_PLAYING","hash":"0x19A30C23F5827F8A","ret":"BOOL"},
{"name":"isMissionCompleteReadyForUi","native":"IS_MISSION_COMPLETE_READY_FOR_UI","hash":"0x6F259F82D873B8B8","ret":"BOOL"},
{"name":"blockDeathJingle","native":"BLOCK_DEATH_JINGLE","hash":"0xF154B8D1775B2DEC","params":[["toggle","BOOL"]]},
{"name":"startAudioScene","native":"START_AUDIO_SCENE","hash":"0x013A80FC08F6E4F2","params":[["scene","string"]],"ret":"BOOL","doc":"Used to prepare a scene where the surrounding sound is muted or a bit changed. This does not play any sound.\n\nList of all usable scene names found in b617d. Sorted alphabetically and identical names removed: https://pastebin.com/MtM9N9CC\nFull list of audio scene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/audioSceneNames.json"},
{"name":"stopAudioScene","native":"STOP_AUDIO_SCENE","hash":"0xDFE8422B3B94E688","params":[["scene","string"]],"doc":"Full list of audio scene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/audioSceneNames.json"},
{"name":"stopAudioScenes","native":"STOP_AUDIO_SCENES","hash":"0xBAC7FC81A75EC1A1"},
{"name":"isAudioSceneActive","native":"IS_AUDIO_SCENE_ACTIVE","hash":"0xB65B60556E2A9225","params":[["scene","string"]],"ret":"BOOL","doc":"Full list of audio scene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/audioSceneNames.json"},
{"name":"setAudioSceneVariable","native":"SET_AUDIO_SCENE_VARIABLE","hash":"0xEF21A9EF089A2668","params":[["scene","string"],["variable","string"],["value","float"]],"doc":"Full list of audio scene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/audioSceneNames.json"},
{"name":"setAudioScriptCleanupTime","native":"SET_AUDIO_SCRIPT_CLEANUP_TIME","hash":"0xA5F377B175A699C5","params":[["time","int"]]},
{"name":"addEntityToAudioMixGroup","native":"ADD_ENTITY_TO_AUDIO_MIX_GROUP","hash":"0x153973AB99FE8980","params":[["entity","Entity"],["groupName","string"],["p2","float"]],"aka":["_DYNAMIC_MIXER_RELATED_FN"],"doc":"All found occurrences in b678d:\nhttps://pastebin.com/ceu67jz8"},
{"name":"removeEntityFromAudioMixGroup","native":"REMOVE_ENTITY_FROM_AUDIO_MIX_GROUP","hash":"0x18EB48CFC41F2EA0","params":[["entity","Entity"],["p1","float"]]},
{"name":"audioIsMusicPlaying","native":"AUDIO_IS_MUSIC_PLAYING","hash":"0x845FFC3A4FEEFA3E","ret":"BOOL","aka":["AUDIO_IS_SCRIPTED_MUSIC_PLAYING"]},
{"name":"audioIsScriptedMusicPlaying","native":"AUDIO_IS_SCRIPTED_MUSIC_PLAYING","hash":"0x2DD39BF3E2F9C47F","ret":"BOOL","since":463,"aka":["_AUDIO_IS_SCRIPTED_MUSIC_PLAYING_2"],"doc":"This is an alias of `audioIsMusicPlaying`."},
{"name":"prepareMusicEvent","native":"PREPARE_MUSIC_EVENT","hash":"0x1E5185B72EF5158A","params":[["eventName","string"]],"ret":"BOOL","doc":"All music event names found in the b617d scripts: https://pastebin.com/GnYt0R3P\nFull list of music event names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/musicEventNames.json"},
{"name":"cancelMusicEvent","native":"CANCEL_MUSIC_EVENT","hash":"0x5B17A90291133DA5","params":[["eventName","string"]],"ret":"BOOL","doc":"All music event names found in the b617d scripts: https://pastebin.com/GnYt0R3P\nFull list of music event names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/musicEventNames.json"},
{"name":"triggerMusicEvent","native":"TRIGGER_MUSIC_EVENT","hash":"0x706D57B0F50DA710","params":[["eventName","string"]],"ret":"BOOL","doc":"List of all usable event names found in b617d used with this native. Sorted alphabetically and identical names removed: https://pastebin.com/RzDFmB1W\n\nAll music event names found in the b617d scripts: https://pastebin.com/GnYt0R3P\nFull list of music event names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/musicEventNames.json"},
{"name":"isMusicOneshotPlaying","native":"IS_MUSIC_ONESHOT_PLAYING","hash":"0xA097AB275061FB21","ret":"BOOL"},
{"name":"getMusicPlaytime","native":"GET_MUSIC_PLAYTIME","hash":"0xE7A0D23DC414507B","ret":"int"},
{"name":"setGlobalRadioSignalLevel","native":"SET_GLOBAL_RADIO_SIGNAL_LEVEL","hash":"0x159B7318403A1CD8","params":[["p0","Any"]],"since":1103},
{"name":"recordBrokenGlass","native":"RECORD_BROKEN_GLASS","hash":"0xFBE20329593DEC9D","params":[["x","float"],["y","float"],["z","float"],["radius","float"]]},
{"name":"clearAllBrokenGlass","native":"CLEAR_ALL_BROKEN_GLASS","hash":"0xB32209EFFDC04913"},
{"name":"scriptOverridesWindElevation","native":"SCRIPT_OVERRIDES_WIND_ELEVATION","hash":"0x70B8EC8FC108A634","params":[["p0","BOOL"],["p1","Any"]]},
{"name":"setPedWallaDensity","native":"SET_PED_WALLA_DENSITY","hash":"0x149AEE66F0CB3A99","params":[["p0","float"],["p1","float"]]},
{"name":"setPedInteriorWallaDensity","native":"SET_PED_INTERIOR_WALLA_DENSITY","hash":"0x8BF907833BE275DE","params":[["p0","float"],["p1","float"]]},
{"name":"forcePedPanicWalla","native":"FORCE_PED_PANIC_WALLA","hash":"0x062D5EAD4DA2FA6A"},
{"name":"prepareAlarm","native":"PREPARE_ALARM","hash":"0x9D74AE343DB65533","params":[["alarmName","string"]],"ret":"BOOL","doc":"Example:\n\n```\nbool prepareAlarm = prepareAlarm(\"PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS\");\n```\n\nFull list of alarm names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/alarmSounds.json"},
{"name":"startAlarm","native":"START_ALARM","hash":"0x0355EF116C4C97B2","params":[["alarmName","string"],["p2","BOOL"]],"doc":"Example:\n\nThis will start the alarm at Fort Zancudo.\n\n```\nstartAlarm(\"PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS\", 1);\n```\n\nFirst parameter (char) is the name of the alarm.\nSecond parameter (bool) is unknown, it does not seem to make a difference if this one is 0 or 1.\n\n---\n\nIt DOES make a difference but it has to do with the duration or something I dunno yet\n\n---\n\n Found in the b617d scripts:\n\n```\nstartAlarm(\"AGENCY_HEIST_FIB_TOWER_ALARMS\", 0);\nstartAlarm(\"AGENCY_HEIST_FIB_TOWER_ALARMS_UPPER\", 1);\nstartAlarm(\"AGENCY_HEIST_FIB_TOWER_ALARMS_UPPER_B\", 0);\nstartAlarm(\"BIG_SCORE_HEIST_VAULT_ALARMS\", a_0);\nstartAlarm(\"FBI_01_MORGUE_ALARMS\", 1);\nstartAlarm(\"FIB_05_BIOTECH_LAB_ALARMS\", 0);\nstartAlarm(\"JEWEL_STORE_HEIST_ALARMS\", 0);\nstartAlarm(\"PALETO_BAY_SCORE_ALARM\", 1);\nstartAlarm(\"PALETO_BAY_SCORE_CHICKEN_FACTORY_ALARM\", 0);\nstartAlarm(\"PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS\", 1);\nstartAlarm(\"PORT_OF_LS_HEIST_SHIP_ALARMS\", 0);\nstartAlarm(\"PRISON_ALARMS\", 0);\nstartAlarm(\"PROLOGUE_VAULT_ALARMS\", 0);\n```\n\nFull list of alarm names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/alarmSounds.json"},
{"name":"stopAlarm","native":"STOP_ALARM","hash":"0xA1CADDCD98415A41","params":[["alarmName","string"],["toggle","BOOL"]],"doc":"Example:\n\nThis will stop the alarm at Fort Zancudo.\n\n```\nstopAlarm(\"PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS\", 1);\n```\n\nFirst parameter (char) is the name of the alarm.\nSecond parameter (bool) has to be true (1) to have any effect.\nFull list of alarm names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/alarmSounds.json"},
{"name":"stopAllAlarms","native":"STOP_ALL_ALARMS","hash":"0x2F794A877ADD4C92","params":[["stop","BOOL"]]},
{"name":"isAlarmPlaying","native":"IS_ALARM_PLAYING","hash":"0x226435CB96CCFC8C","params":[["alarmName","string"]],"ret":"BOOL","doc":"Example:\n\n```\nbool playing = isAlarmPlaying(\"PORT_OF_LS_HEIST_FORT_ZANCUDO_ALARMS\");\n```\n\nFull list of alarm names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/alarmSounds.json"},
{"name":"getVehicleDefaultHorn","native":"GET_VEHICLE_DEFAULT_HORN","hash":"0x02165D55000219AC","params":[["vehicle","Vehicle"]],"ret":"Hash","doc":"Returns hash of default vehicle horn"},
{"name":"getVehicleDefaultHornIgnoreMods","native":"GET_VEHICLE_DEFAULT_HORN_IGNORE_MODS","hash":"0xACB5DCCA1EC76840","params":[["vehicle","Vehicle"]],"ret":"Hash","aka":["_GET_VEHICLE_HORN_HASH"]},
{"name":"resetPedAudioFlags","native":"RESET_PED_AUDIO_FLAGS","hash":"0xF54BB7B61036F335","params":[["ped","Ped"]]},
{"name":"setPedFootstepsEventsEnabled","native":"SET_PED_FOOTSTEPS_EVENTS_ENABLED","hash":"0x0653B735BFBDFE87","params":[["ped","Ped"],["toggle","BOOL"]],"since":1493,"aka":["_SET_PED_AUDIO_FOOTSTEP_LOUD"],"doc":"Enables/disables ped's \"loud\" footstep sound."},
{"name":"setPedClothEventsEnabled","native":"SET_PED_CLOTH_EVENTS_ENABLED","hash":"0x29DA3CA8D8B2692D","params":[["ped","Ped"],["toggle","BOOL"]],"since":1493,"aka":["_SET_PED_AUDIO_FOOTSTEP_QUIET"],"doc":"Enables/disables ped's \"quiet\" footstep sound."},
{"name":"overridePlayerGroundMaterial","native":"OVERRIDE_PLAYER_GROUND_MATERIAL","hash":"0xD2CC78CD3D0B50F9","params":[["hash","Hash"],["toggle","BOOL"]],"doc":"Sets audio flag \"OverridePlayerGroundMaterial\""},
{"name":"useFootstepScriptSweeteners","native":"USE_FOOTSTEP_SCRIPT_SWEETENERS","hash":"0xBF4DC1784BE94DFA","params":[["ped","Ped"],["p1","BOOL"],["hash","Hash"]]},
{"name":"overrideMicrophoneSettings","native":"OVERRIDE_MICROPHONE_SETTINGS","hash":"0x75773E11BA459E90","params":[["hash","Hash"],["toggle","BOOL"]],"aka":["_OVERRIDE_MICROPHONE_SETTINGS"],"doc":"Sets audio flag \"OverrideMicrophoneSettings\""},
{"name":"freezeMicrophone","native":"FREEZE_MICROPHONE","hash":"0xD57AAAE0E2214D11"},
{"name":"distantCopCarSirens","native":"DISTANT_COP_CAR_SIRENS","hash":"0x552369F549563AD5","params":[["value","BOOL"]],"aka":["_FORCE_AMBIENT_SIREN"],"doc":"If value is set to true, and ambient siren sound will be played.\nAppears to enable/disable an audio flag."},
{"name":"setSirenCanBeControlledByAudio","native":"SET_SIREN_CAN_BE_CONTROLLED_BY_AUDIO","hash":"0x43FA0DFC5DF87815","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"enableStuntJumpAudio","native":"ENABLE_STUNT_JUMP_AUDIO","hash":"0xB81CF134AEB56FFB","since":791},
{"name":"setAudioFlag","native":"SET_AUDIO_FLAG","hash":"0xB9EFD5C25018725A","params":[["flagName","string"],["toggle","BOOL"]],"doc":"Possible flag names:\n\"ActivateSwitchWheelAudio\"\n\"AllowAmbientSpeechInSlowMo\"\n\"AllowCutsceneOverScreenFade\"\n\"AllowForceRadioAfterRetune\"\n\"AllowPainAndAmbientSpeechToPlayDuringCutscene\"\n\"AllowPlayerAIOnMission\"\n\"AllowPoliceScannerWhenPlayerHasNoControl\"\n\"AllowRadioDuringSwitch\"\n\"AllowRadioOverScreenFade\"\n\"AllowScoreAndRadio\"\n\"AllowScriptedSpeechInSlowMo\"\n\"AvoidMissionCompleteDelay\"\n\"DisableAbortConversationForDeathAndInjury\"\n\"DisableAbortConversationForRagdoll\"\n\"DisableBarks\"\n\"DisableFlightMusic\"\n\"DisableReplayScriptStreamRecording\"\n\"EnableHeadsetBeep\"\n\"ForceConversationInterrupt\"\n\"ForceSeamlessRadioSwitch\"\n\"ForceSniperAudio\"\n\"FrontendRadioDisabled\"\n\"HoldMissionCompleteWhenPrepared\"\n\"IsDirectorModeActive\"\n\"IsPlayerOnMissionForSpeech\"\n\"ListenerReverbDisabled\"\n\"LoadMPData\"\n\"MobileRadioInGame\"\n\"OnlyAllowScriptTriggerPoliceScanner\"\n\"PlayMenuMusic\"\n\"PoliceScannerDisabled\"\n\"ScriptedConvListenerMaySpeak\"\n\"SpeechDucksScore\"\n\"SuppressPlayerScubaBreathing\"\n\"WantedMusicDisabled\"\n\"WantedMusicOnMission\"\n\n---\nNo added flag names between b393d and b573d, including b573d.\n\n#######################################################################\n\n\"IsDirectorModeActive\" is an audio flag which will allow you to play speech infinitely without any pauses like in Director Mode.\n\n---\n\nAll flag IDs and hashes:\n\nID: 00 | Hash: 0x0FED7A7F\nID: 01 | Hash: 0x20A7858F\nID: 02 | Hash: 0xA11C2259\nID: 03 | Hash: 0x08DE4700\nID: 04 | Hash: 0x989F652F\nID: 05 | Hash: 0x3C9E76BA\nID: 06 | Hash: 0xA805FEB0\nID: 07 | Hash: 0x4B94EA26\nID: 08 | Hash: 0x803ACD34\nID: 09 | Hash: 0x7C741226\nID: 10 | Hash: 0x31DB9EBD\nID: 11 | Hash: 0xDF386F18\nID: 12 | Hash: 0x669CED42\nID: 13 | Hash: 0x51F22743\nID: 14 | Hash: 0x2052B35C\nID: 15 | Hash: 0x071472DC\nID: 16 | Hash: 0xF9928BCC\nID: 17 | Hash: 0x7ADBDD48\nID: 18 | Hash: 0xA959BA1A\nID: 19 | Hash: 0xBBE89B60\nID: 20 | Hash: 0x87A08871\nID: 21 | Hash: 0xED1057CE\nID: 22 | Hash: 0x1584AD7A\nID: 23 | Hash: 0x8582CFCB\nID: 24 | Hash: 0x7E5E2FB0\nID: 25 | Hash: 0xAE4F72DB\nID: 26 | Hash: 0x5D16D1FA\nID: 27 | Hash: 0x06B2F4B8\nID: 28 | Hash: 0x5D4CDC96\nID: 29 | Hash: 0x8B5A48BA\nID: 30 | Hash: 0x98FBD539\nID: 31 | Hash: 0xD8CB0473\nID: 32 | Hash: 0x5CBB4874\nID: 33 | Hash: 0x2E9F93A9\nID: 34 | Hash: 0xD93BEA86\nID: 35 | Hash: 0x92109B7D\nID: 36 | Hash: 0xB7EC9E4D\nID: 37 | Hash: 0xCABDBB1D\nID: 38 | Hash: 0xB3FD4A52\nID: 39 | Hash: 0x370D94E5\nID: 40 | Hash: 0xA0F7938F\nID: 41 | Hash: 0xCBE1CE81\nID: 42 | Hash: 0xC27F1271\nID: 43 | Hash: 0x9E3258EB\nID: 44 | Hash: 0x551CDA5B\nID: 45 | Hash: 0xCB6D663C\nID: 46 | Hash: 0x7DACE87F\nID: 47 | Hash: 0xF9DE416F\nID: 48 | Hash: 0x882E6E9E\nID: 49 | Hash: 0x16B447E7\nID: 50 | Hash: 0xBD867739\nID: 51 | Hash: 0xA3A58604\nID: 52 | Hash: 0x7E046BBC\nID: 53 | Hash: 0xD95FDB98\nID: 54 | Hash: 0x5842C0ED\nID: 55 | Hash: 0x285FECC6\nID: 56 | Hash: 0x9351AC43\nID: 57 | Hash: 0x50032E75\nID: 58 | Hash: 0xAE6D0D59\nID: 59 | Hash: 0xD6351785\nID: 60 | Hash: 0xD25D71BC\nID: 61 | Hash: 0x1F7F6423\nID: 62 | Hash: 0xE24C3AA6\nID: 63 | Hash: 0xBFFDD2B7"},
{"name":"prepareSynchronizedAudioEvent","native":"PREPARE_SYNCHRONIZED_AUDIO_EVENT","hash":"0xC7ABCACA4985A766","params":[["audioEvent","string"],["p1","Any"]],"ret":"BOOL","doc":"p1 is always 0 in the scripts"},
{"name":"prepareSynchronizedAudioEventForScene","native":"PREPARE_SYNCHRONIZED_AUDIO_EVENT_FOR_SCENE","hash":"0x029FE7CD1B7E2E75","params":[["sceneID","int"],["audioEvent","string"]],"ret":"BOOL"},
{"name":"playSynchronizedAudioEvent","native":"PLAY_SYNCHRONIZED_AUDIO_EVENT","hash":"0x8B2FD4560E55DD2D","params":[["sceneID","int"]],"ret":"BOOL"},
{"name":"stopSynchronizedAudioEvent","native":"STOP_SYNCHRONIZED_AUDIO_EVENT","hash":"0x92D6A88E64A94430","params":[["sceneID","int"]],"ret":"BOOL"},
{"name":"initSynchSceneAudioWithPosition","native":"INIT_SYNCH_SCENE_AUDIO_WITH_POSITION","hash":"0xC8EDE9BDBCCBA6D4","params":[["audioEvent","string"],["x","float"],["y","float"],["z","float"]]},
{"name":"initSynchSceneAudioWithEntity","native":"INIT_SYNCH_SCENE_AUDIO_WITH_ENTITY","hash":"0x950A154B8DAB6185","params":[["audioEvent","string"],["entity","Entity"]],"aka":["_SET_SYNCHRONIZED_AUDIO_EVENT_POSITION_THIS_FRAME"]},
{"name":"setAudioSpecialEffectMode","native":"SET_AUDIO_SPECIAL_EFFECT_MODE","hash":"0x12561FCBB62D5B9C","params":[["mode","int"]],"doc":"Needs to be called every frame."},
{"name":"setPortalSettingsOverride","native":"SET_PORTAL_SETTINGS_OVERRIDE","hash":"0x044DBAD7A7FA2BE5","params":[["p0","string"],["p1","string"]],"doc":"Found in the b617d scripts, duplicates removed:\n\n```\nsetPortalSettingsOverride(\"V_CARSHOWROOM_PS_WINDOW_UNBROKEN\", \"V_CARSHOWROOM_PS_WINDOW_BROKEN\");\n\n setPortalSettingsOverride(\"V_CIA_PS_WINDOW_UNBROKEN\", \"V_CIA_PS_WINDOW_BROKEN\");\n\n setPortalSettingsOverride(\"V_DLC_HEIST_APARTMENT_DOOR_CLOSED\", \"V_DLC_HEIST_APARTMENT_DOOR_OPEN\");\n\n setPortalSettingsOverride(\"V_FINALEBANK_PS_VAULT_INTACT\", \"V_FINALEBANK_PS_VAULT_BLOWN\");\n\n setPortalSettingsOverride(\"V_MICHAEL_PS_BATHROOM_WITH_WINDOW\", \"V_MICHAEL_PS_BATHROOM_WITHOUT_WINDOW\");\n```"},
{"name":"setIndividualPortalSettingsOverride","native":"SET_INDIVIDUAL_PORTAL_SETTINGS_OVERRIDE","hash":"0xC9D623C5A3D8FD5D","params":[["interiorNameHash","Hash"],["roomIndex","int"],["doorIndex","int"],["newPortalSettingsName","string"]],"na":1,"since":3570},
{"name":"removePortalSettingsOverride","native":"REMOVE_PORTAL_SETTINGS_OVERRIDE","hash":"0xB4BBFD9CD8B3922B","params":[["p0","string"]],"doc":"Found in the b617d scripts, duplicates removed:\n\n```\nremovePortalSettingsOverride(\"V_CARSHOWROOM_PS_WINDOW_UNBROKEN\");\nremovePortalSettingsOverride(\"V_CIA_PS_WINDOW_UNBROKEN\");\nremovePortalSettingsOverride(\"V_DLC_HEIST_APARTMENT_DOOR_CLOSED\");\nremovePortalSettingsOverride(\"V_FINALEBANK_PS_VAULT_INTACT\");\nremovePortalSettingsOverride(\"V_MICHAEL_PS_BATHROOM_WITH_WINDOW\");\n```"},
{"name":"removeIndividualPortalSettingsOverride","native":"REMOVE_INDIVIDUAL_PORTAL_SETTINGS_OVERRIDE","hash":"0x8EF105736194F80C","params":[["interiorNameHash","Hash"],["roomIndex","int"],["doorIndex","int"]],"na":1,"since":3570},
{"name":"stopSmokeGrenadeExplosionSounds","native":"STOP_SMOKE_GRENADE_EXPLOSION_SOUNDS","hash":"0xE4E6DD5566D28C82"},
{"name":"getMusicVolSlider","native":"GET_MUSIC_VOL_SLIDER","hash":"0x3A48AB4445D499BE","ret":"int"},
{"name":"requestTennisBanks","native":"REQUEST_TENNIS_BANKS","hash":"0x4ADA3F19BE4A6047","params":[["ped","Ped"]],"aka":["_SET_PED_TALK"]},
{"name":"unrequestTennisBanks","native":"UNREQUEST_TENNIS_BANKS","hash":"0x0150B6FF25A9E2E5"},
{"name":"setSkipMinigunSpinUpAudio","native":"SET_SKIP_MINIGUN_SPIN_UP_AUDIO","hash":"0xBEF34B1D9624D5DD","params":[["p0","BOOL"]]},
{"name":"stopCutsceneAudio","native":"STOP_CUTSCENE_AUDIO","hash":"0x806058BBDC136E06"},
{"name":"hasLoadedMpDataSet","native":"HAS_LOADED_MP_DATA_SET","hash":"0x544810ED9DB6BBE6","ret":"BOOL","aka":["_HAS_MULTIPLAYER_AUDIO_DATA_LOADED"]},
{"name":"hasLoadedSpDataSet","native":"HAS_LOADED_SP_DATA_SET","hash":"0x5B50ABB1FE3746F4","ret":"BOOL","aka":["_HAS_MULTIPLAYER_AUDIO_DATA_UNLOADED"]},
{"name":"getVehicleHornSoundIndex","native":"GET_VEHICLE_HORN_SOUND_INDEX","hash":"0xD53F3A29BCE2580E","params":[["vehicle","Vehicle"]],"ret":"int","since":1365,"aka":["_GET_VEHICLE_DEFAULT_HORN_VARIATION"]},
{"name":"setVehicleHornSoundIndex","native":"SET_VEHICLE_HORN_SOUND_INDEX","hash":"0x0350E7E17BA767D0","params":[["vehicle","Vehicle"],["value","int"]],"since":1365,"aka":["_SET_VEHICLE_HORN_VARIATION"]}
]},
{"id":"BRAIN","title":"Script brains","doc":"Script brains attached to objects, peds and world points.","natives":[
{"name":"addScriptToRandomPed","native":"ADD_SCRIPT_TO_RANDOM_PED","hash":"0x4EE5367468A65CCC","params":[["name","string"],["model","Hash"],["p2","float"],["p3","float"]],"blocked":"scripts","doc":"```\naddScriptToRandomPed(\"pb_prostitute\", ${s_f_y_hooker_01}, 100, 0);\n```\n\n- Nacorpio\n\n---\n\nHardcoded to not work in Multiplayer."},
{"name":"registerObjectScriptBrain","native":"REGISTER_OBJECT_SCRIPT_BRAIN","hash":"0x0BE84C318BA6EC22","params":[["scriptName","string"],["modelHash","Hash"],["p2","int"],["activationRange","float"],["p4","int"],["p5","int"]],"blocked":"scripts","doc":"Registers a script for any object with a specific model hash.\n\n```\nregisterObjectScriptBrain(\"ob_telescope\", ${prop_telescope_01}, 100, 4.0, -1, 9);\n```\n\n- Nacorpio"},
{"name":"isObjectWithinBrainActivationRange","native":"IS_OBJECT_WITHIN_BRAIN_ACTIVATION_RANGE","hash":"0xCCBA154209823057","params":[["object","Object"]],"ret":"BOOL","blocked":"scripts"},
{"name":"registerWorldPointScriptBrain","native":"REGISTER_WORLD_POINT_SCRIPT_BRAIN","hash":"0x3CDC7136613284BD","params":[["scriptName","string"],["activationRange","float"],["p2","int"]],"blocked":"scripts"},
{"name":"isWorldPointWithinBrainActivationRange","native":"IS_WORLD_POINT_WITHIN_BRAIN_ACTIVATION_RANGE","hash":"0xC5042CC6F5E3D450","ret":"BOOL","blocked":"scripts","doc":"Gets whether the world point the calling script is registered to is within desired range of the player."},
{"name":"enableScriptBrainSet","native":"ENABLE_SCRIPT_BRAIN_SET","hash":"0x67AA4D73F0CFA86B","params":[["brainSet","int"]],"blocked":"scripts"},
{"name":"disableScriptBrainSet","native":"DISABLE_SCRIPT_BRAIN_SET","hash":"0x14D8518E9760F08F","params":[["brainSet","int"]],"blocked":"scripts"},
{"name":"reactivateAllWorldBrainsThatAreWaitingTillOutOfRange","native":"REACTIVATE_ALL_WORLD_BRAINS_THAT_ARE_WAITING_TILL_OUT_OF_RANGE","hash":"0x0B40ED49D7D6FF84","blocked":"scripts"},
{"name":"reactivateAllObjectBrainsThatAreWaitingTillOutOfRange","native":"REACTIVATE_ALL_OBJECT_BRAINS_THAT_ARE_WAITING_TILL_OUT_OF_RANGE","hash":"0x4D953DF78EBF8158","blocked":"scripts","aka":["_PREPARE_SCRIPT_BRAIN"]},
{"name":"reactivateNamedWorldBrainsWaitingTillOutOfRange","native":"REACTIVATE_NAMED_WORLD_BRAINS_WAITING_TILL_OUT_OF_RANGE","hash":"0x6D6840CEE8845831","params":[["scriptName","string"]],"blocked":"scripts","doc":"Possible values:\n\nact_cinema\nam_mp_carwash_launch\nam_mp_carwash_control\nam_mp_property_ext\nchop\nfairgroundHub\nlauncher_BasejumpHeli\nlauncher_BasejumpPack\nlauncher_CarWash\nlauncher_golf\nlauncher_Hunting_Ambient\nlauncher_MrsPhilips\nlauncher_OffroadRacing\nlauncher_pilotschool\nlauncher_Racing\nlauncher_rampage\nlauncher_rampage\nlauncher_range\nlauncher_stunts\nlauncher_stunts\nlauncher_tennis\nlauncher_Tonya\nlauncher_Triathlon\nlauncher_Yoga\nob_mp_bed_low\nob_mp_bed_med"},
{"name":"reactivateNamedObjectBrainsWaitingTillOutOfRange","native":"REACTIVATE_NAMED_OBJECT_BRAINS_WAITING_TILL_OUT_OF_RANGE","hash":"0x6E91B04E08773030","params":[["scriptName","string"]],"blocked":"scripts","doc":"Here are possible values of argument -\n\n\"ob_tv\"\n\"launcher_Darts\""}
]},
{"id":"CAM","title":"Camera","doc":"Scripted cameras, the gameplay camera, shakes, cinematic and hint cameras.","natives":[
{"name":"renderScriptCams","native":"RENDER_SCRIPT_CAMS","hash":"0x07E5B515DB0636FC","params":[["render","BOOL"],["ease","BOOL"],["easeTime","int"],["p3","BOOL"],["p4","BOOL"],["p5","Any"]],"doc":"ease - smooth transition between the camera's positions\neaseTime - Time in milliseconds for the transition to happen\n\nIf you have created a script (rendering) camera, and want to go back to the\ncharacter (gameplay) camera, call this native with render set to 0.\nSetting ease to 1 will smooth the transition."},
{"name":"stopRenderingScriptCamsUsingCatchUp","native":"STOP_RENDERING_SCRIPT_CAMS_USING_CATCH_UP","hash":"0xC819F3CBB62BF692","params":[["render","BOOL"],["p1","float"],["p2","int"],["p3","Any"]],"aka":["_RENDER_FIRST_PERSON_CAM"],"doc":"This native makes the gameplay camera zoom into first person/third person with a special effect."},
{"name":"createCam","native":"CREATE_CAM","hash":"0xC3981DCE61D9E13F","params":[["camName","string"],["p1","BOOL"]],"ret":"Cam","doc":"\"DEFAULT_SCRIPTED_CAMERA\"\n\"DEFAULT_ANIMATED_CAMERA\"\n\"DEFAULT_SPLINE_CAMERA\"\n\"DEFAULT_SCRIPTED_FLY_CAMERA\"\n\"TIMED_SPLINE_CAMERA\""},
{"name":"createCamWithParams","native":"CREATE_CAM_WITH_PARAMS","hash":"0xB51194800B257161","params":[["camName","string"],["posX","float"],["posY","float"],["posZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["fov","float"],["p8","BOOL"],["p9","int"]],"ret":"Cam","doc":"camName is always set to \"DEFAULT_SCRIPTED_CAMERA\" in Rockstar's scripts.\n---\nCamera names found in the b617d scripts:\n\"DEFAULT_ANIMATED_CAMERA\"\n\"DEFAULT_SCRIPTED_CAMERA\"\n\"DEFAULT_SCRIPTED_FLY_CAMERA\"\n\"DEFAULT_SPLINE_CAMERA\"\n---\nSide Note: It seems p8 is basically to represent what would be the bool p1 within `createCam` native. As well as the p9 since it's always 2 in scripts seems to represent what would be the last param within `setCamRot` native which normally would be 2."},
{"name":"createCamera","native":"CREATE_CAMERA","hash":"0x5E3CF89C6BCCA67D","params":[["camHash","Hash"],["p1","BOOL"]],"ret":"Cam"},
{"name":"createCameraWithParams","native":"CREATE_CAMERA_WITH_PARAMS","hash":"0x6ABFA3E16460F22D","params":[["camHash","Hash"],["posX","float"],["posY","float"],["posZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["fov","float"],["p8","BOOL"],["p9","Any"]],"ret":"Cam","doc":"p9 uses 2 by default"},
{"name":"destroyCam","native":"DESTROY_CAM","hash":"0x865908C81A2C22E9","params":[["cam","Cam"],["bScriptHostCam","BOOL"]],"checked":1,"notes":[{"kind":"info","title":"Resource scope","md":"Pass `false` or `0` for `bScriptHostCam`. A nonzero value raises an error."}],"doc":"BOOL param indicates whether the cam should be destroyed if it belongs to the calling script."},
{"name":"destroyAllCams","native":"DESTROY_ALL_CAMS","hash":"0x8E5FB15663F79120","params":[["bScriptHostCam","BOOL"]],"checked":1,"notes":[{"kind":"info","title":"Resource scope","md":"Pass `false` or `0` for `bScriptHostCam`. A nonzero value raises an error."}],"doc":"BOOL param indicates whether the cam should be destroyed if it belongs to the calling script."},
{"name":"doesCamExist","native":"DOES_CAM_EXIST","hash":"0xA7A932170592B50E","params":[["cam","Cam"]],"ret":"BOOL","doc":"Returns whether or not the passed camera handle exists."},
{"name":"setCamActive","native":"SET_CAM_ACTIVE","hash":"0x026FB97D0A425F84","params":[["cam","Cam"],["active","BOOL"]],"doc":"Set camera as active/inactive."},
{"name":"isCamActive","native":"IS_CAM_ACTIVE","hash":"0xDFB2B516207D3534","params":[["cam","Cam"]],"ret":"BOOL","doc":"Returns whether or not the passed camera handle is active."},
{"name":"isCamRendering","native":"IS_CAM_RENDERING","hash":"0x02EC0AF5C5A49B7A","params":[["cam","Cam"]],"ret":"BOOL"},
{"name":"getRenderingCam","native":"GET_RENDERING_CAM","hash":"0x5234F9F10919EABA","ret":"Cam"},
{"name":"getCamCoord","native":"GET_CAM_COORD","hash":"0xBAC038F7459AE5AE","params":[["cam","Cam"]],"ret":"Vector3"},
{"name":"getCamRot","native":"GET_CAM_ROT","hash":"0x7D304C1C955E3E12","params":[["cam","Cam"],["rotationOrder","int"]],"ret":"Vector3","doc":"The last parameter, as in other \"ROT\" methods, is usually 2."},
{"name":"getCamFov","native":"GET_CAM_FOV","hash":"0xC3330A45CCCDB26A","params":[["cam","Cam"]],"ret":"float"},
{"name":"getCamNearClip","native":"GET_CAM_NEAR_CLIP","hash":"0xC520A34DAFBF24B1","params":[["cam","Cam"]],"ret":"float"},
{"name":"getCamFarClip","native":"GET_CAM_FAR_CLIP","hash":"0xB60A9CFEB21CA6AA","params":[["cam","Cam"]],"ret":"float"},
{"name":"getCamNearDof","native":"GET_CAM_NEAR_DOF","hash":"0xC2612D223D915A1C","params":[["cam","Cam"]],"ret":"float","since":2699,"aka":["_GET_CAM_NEAR_DOF"]},
{"name":"getCamFarDof","native":"GET_CAM_FAR_DOF","hash":"0x255F8DAFD540D397","params":[["cam","Cam"]],"ret":"float"},
{"name":"getCamDofStrength","native":"GET_CAM_DOF_STRENGTH","hash":"0x06D153C0B99B6128","params":[["cam","Cam"]],"ret":"float","since":2699,"aka":["_GET_CAM_DOF_STRENGTH"]},
{"name":"setCamParams","native":"SET_CAM_PARAMS","hash":"0xBFD8727AEA3CCEBA","params":[["cam","Cam"],["posX","float"],["posY","float"],["posZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["fieldOfView","float"],["p8","Any"],["p9","int"],["p10","int"],["p11","int"]]},
{"name":"setCamCoord","native":"SET_CAM_COORD","hash":"0x4D41783FB745E42E","params":[["cam","Cam"],["posX","float"],["posY","float"],["posZ","float"]],"doc":"Sets the position of the cam."},
{"name":"setCamRot","native":"SET_CAM_ROT","hash":"0x85973643155D0B07","params":[["cam","Cam"],["rotX","float"],["rotY","float"],["rotZ","float"],["rotationOrder","int"]],"doc":"Sets the rotation of the cam.\nLast parameter unknown.\n\nLast parameter seems to always be set to 2."},
{"name":"setCamFov","native":"SET_CAM_FOV","hash":"0xB13C14F66A00D047","params":[["cam","Cam"],["fieldOfView","float"]],"doc":"Sets the field of view of the cam.\n---\nMin: 1.0f\nMax: 130.0f"},
{"name":"setCamNearClip","native":"SET_CAM_NEAR_CLIP","hash":"0xC7848EFCCC545182","params":[["cam","Cam"],["nearClip","float"]]},
{"name":"setCamFarClip","native":"SET_CAM_FAR_CLIP","hash":"0xAE306F2A904BF86E","params":[["cam","Cam"],["farClip","float"]]},
{"name":"forceCamFarClip","native":"FORCE_CAM_FAR_CLIP","hash":"0xAABD62873FFB1A33","params":[["cam","Cam"],["p1","float"]],"since":2189},
{"name":"setCamMotionBlurStrength","native":"SET_CAM_MOTION_BLUR_STRENGTH","hash":"0x6F0F77FBA9A8F2E6","params":[["cam","Cam"],["strength","float"]]},
{"name":"setCamNearDof","native":"SET_CAM_NEAR_DOF","hash":"0x3FA4BF0A7AB7DE2C","params":[["cam","Cam"],["nearDOF","float"]]},
{"name":"setCamFarDof","native":"SET_CAM_FAR_DOF","hash":"0xEDD91296CD01AEE0","params":[["cam","Cam"],["farDOF","float"]]},
{"name":"setCamDofStrength","native":"SET_CAM_DOF_STRENGTH","hash":"0x5EE29B4D7D5DF897","params":[["cam","Cam"],["dofStrength","float"]]},
{"name":"setCamDofPlanes","native":"SET_CAM_DOF_PLANES","hash":"0x3CF48F6F96E749DC","params":[["cam","Cam"],["p1","float"],["p2","float"],["p3","float"],["p4","float"]]},
{"name":"setCamUseShallowDofMode","native":"SET_CAM_USE_SHALLOW_DOF_MODE","hash":"0x16A96863A17552BB","params":[["cam","Cam"],["toggle","BOOL"]]},
{"name":"setUseHiDof","native":"SET_USE_HI_DOF","hash":"0xA13B0222F3D94A94"},
{"name":"setUseHiDofOnSyncedSceneThisUpdate","native":"SET_USE_HI_DOF_ON_SYNCED_SCENE_THIS_UPDATE","hash":"0x731A880555DA3647","since":2699,"aka":["_SET_USE_HI_DOF_IN_CUTSCENE"],"doc":"Only used in R* Script fm_mission_controller_2020"},
{"name":"setCamDofOverriddenFocusDistance","native":"SET_CAM_DOF_OVERRIDDEN_FOCUS_DISTANCE","hash":"0xF55E4046F6F831DC","params":[["camera","Cam"],["p1","float"]]},
{"name":"setCamDofOverriddenFocusDistanceBlendLevel","native":"SET_CAM_DOF_OVERRIDDEN_FOCUS_DISTANCE_BLEND_LEVEL","hash":"0xE111A7C0D200CBC5","params":[["p0","Any"],["p1","float"]]},
{"name":"setCamDofFnumberOfLens","native":"SET_CAM_DOF_FNUMBER_OF_LENS","hash":"0x7DD234D6F3914C5B","params":[["camera","Cam"],["p1","float"]],"aka":["_SET_CAM_DOF_FNUMBER_OF_LENS"],"doc":"This native has its name defined inside its codE"},
{"name":"setCamDofFocalLengthMultiplier","native":"SET_CAM_DOF_FOCAL_LENGTH_MULTIPLIER","hash":"0x47B595D60664CFFA","params":[["camera","Cam"],["multiplier","float"]],"since":1011,"aka":["_SET_CAM_DOF_FOCAL_LENGTH_MULTIPLIER"],"doc":"Native name labeled within its code"},
{"name":"setCamDofFocusDistanceBias","native":"SET_CAM_DOF_FOCUS_DISTANCE_BIAS","hash":"0xC669EEA5D031B7DE","params":[["camera","Cam"],["p1","float"]],"aka":["_SET_CAM_DOF_FOCUS_DISTANCE_BIAS"],"doc":"This native has a name defined inside its code"},
{"name":"setCamDofMaxNearInFocusDistance","native":"SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE","hash":"0xC3654A441402562D","params":[["camera","Cam"],["p1","float"]],"aka":["_SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE"],"doc":"This native has a name defined inside its code"},
{"name":"setCamDofMaxNearInFocusDistanceBlendLevel","native":"SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE_BLEND_LEVEL","hash":"0x2C654B4943BDDF7C","params":[["camera","Cam"],["p1","float"]],"aka":["_SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE_BLEND_LEVEL"],"doc":"This native has a name defined inside its code"},
{"name":"setCamDofShouldKeepLookAtTargetInFocus","native":"SET_CAM_DOF_SHOULD_KEEP_LOOK_AT_TARGET_IN_FOCUS","hash":"0x7CF3AF51DCFE4108","params":[["camera","Cam"],["state","BOOL"]],"na":1,"since":2944,"doc":"This native has a name defined inside its code"},
{"name":"attachCamToEntity","native":"ATTACH_CAM_TO_ENTITY","hash":"0xFEDB7D269E8C60E3","params":[["cam","Cam"],["entity","Entity"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["isRelative","BOOL"]],"doc":"Last param determines if its relative to the Entity"},
{"name":"attachCamToPedBone","native":"ATTACH_CAM_TO_PED_BONE","hash":"0x61A3DBA14AB7F411","params":[["cam","Cam"],["ped","Ped"],["boneIndex","int"],["x","float"],["y","float"],["z","float"],["heading","BOOL"]]},
{"name":"hardAttachCamToPedBone","native":"HARD_ATTACH_CAM_TO_PED_BONE","hash":"0x149916F50C34A40D","params":[["cam","Cam"],["ped","Ped"],["boneIndex","int"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","float"],["p9","BOOL"]],"since":1180,"aka":["_ATTACH_CAM_TO_PED_BONE_2"]},
{"name":"hardAttachCamToEntity","native":"HARD_ATTACH_CAM_TO_ENTITY","hash":"0x202A5ED9CE01D6E7","params":[["cam","Cam"],["entity","Entity"],["xRot","float"],["yRot","float"],["zRot","float"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["isRelative","BOOL"]],"since":2189,"aka":["_ATTACH_CAM_TO_ENTITY_WITH_FIXED_DIRECTION"],"doc":"Example from am_mp_drone script:\n\n```\nhardAttachCamToEntity(Local_190.f_169, netToObj(Local_190.f_159), 0f, 0f, 180f, Var0, 1);\n```"},
{"name":"attachCamToVehicleBone","native":"ATTACH_CAM_TO_VEHICLE_BONE","hash":"0x8DB3F12A02CAEF72","params":[["cam","Cam"],["vehicle","Vehicle"],["boneIndex","int"],["relativeRotation","BOOL"],["rotX","float"],["rotY","float"],["rotZ","float"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["fixedDirection","BOOL"]],"since":1290,"aka":["_ATTACH_CAM_TO_VEHICLE_BONE"],"doc":"This native works with vehicles only. Bone indexes are usually given by this native `getEntityBoneIndexByName`."},
{"name":"detachCam","native":"DETACH_CAM","hash":"0xA2FABBE87F4BAD82","params":[["cam","Cam"]]},
{"name":"setCamInheritRollVehicle","native":"SET_CAM_INHERIT_ROLL_VEHICLE","hash":"0x45F1DE9C34B93AE6","params":[["cam","Cam"],["p1","BOOL"]],"doc":"The native seems to only be called once.\n\nThe native is used as so,\n\n```\nsetCamInheritRollVehicle(l_544, getElem(2, &l_525, 4));\n```\n\nIn the exile1 script."},
{"name":"pointCamAtCoord","native":"POINT_CAM_AT_COORD","hash":"0xF75497BB865F0803","params":[["cam","Cam"],["x","float"],["y","float"],["z","float"]]},
{"name":"pointCamAtEntity","native":"POINT_CAM_AT_ENTITY","hash":"0x5640BFF86B16E8DC","params":[["cam","Cam"],["entity","Entity"],["p2","float"],["p3","float"],["p4","float"],["p5","BOOL"]],"doc":"p5 always seems to be 1 i.e TRUE"},
{"name":"pointCamAtPedBone","native":"POINT_CAM_AT_PED_BONE","hash":"0x68B2B5F33BA63C41","params":[["cam","Cam"],["ped","Ped"],["boneIndex","int"],["x","float"],["y","float"],["z","float"],["p6","BOOL"]],"doc":"Parameters p0-p5 seems correct. The bool p6 is unknown, but through every X360 script it's always 1. Please correct p0-p5 if any prove to be wrong."},
{"name":"stopCamPointing","native":"STOP_CAM_POINTING","hash":"0xF33AB75780BA57DE","params":[["cam","Cam"]]},
{"name":"setCamAffectsAiming","native":"SET_CAM_AFFECTS_AIMING","hash":"0x8C1DC7770C51DC8D","params":[["cam","Cam"],["toggle","BOOL"]],"doc":"Allows you to aim and shoot at the direction the camera is facing."},
{"name":"setCamControlsMiniMapHeading","native":"SET_CAM_CONTROLS_MINI_MAP_HEADING","hash":"0x661B5C8654ADD825","params":[["cam","Cam"],["toggle","BOOL"]],"aka":["_SET_CAM_CONTROLS_RADAR_ROTATION"],"doc":"Rotates the radar to match the camera's Z rotation"},
{"name":"setCamIsInsideVehicle","native":"SET_CAM_IS_INSIDE_VEHICLE","hash":"0xA2767257A320FC82","params":[["cam","Cam"],["toggle","BOOL"]],"aka":["_SET_CAM_SMOOTH_SHADOWS"],"doc":"When set to true shadows appear more smooth but less detailed.\nSet to false by default."},
{"name":"allowMotionBlurDecay","native":"ALLOW_MOTION_BLUR_DECAY","hash":"0x271017B9BA825366","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"setCamDebugName","native":"SET_CAM_DEBUG_NAME","hash":"0x1B93E0107865DD40","params":[["camera","Cam"],["name","string"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"getDebugCam","native":"GET_DEBUG_CAM","hash":"0x77C3CEC46BE286F6","ret":"Cam","since":2372,"aka":["_GET_DEBUG_CAMERA"]},
{"name":"addCamSplineNode","native":"ADD_CAM_SPLINE_NODE","hash":"0x8609C75EC438FB3B","params":[["camera","Cam"],["x","float"],["y","float"],["z","float"],["xRot","float"],["yRot","float"],["zRot","float"],["length","int"],["smoothingStyle","int"],["rotationOrder","int"]],"doc":"I filled p1-p6 (the floats) as they are as other natives with 6 floats in a row are similar and I see no other method. So if a test from anyone proves them wrong please correct.\n\np7 (length) determines the length of the spline, affects camera path and duration of transition between previous node and this one\n\np8 big values ~100 will slow down the camera movement before reaching this node\n\np9 != 0 seems to override the rotation/pitch (bool?)"},
{"name":"addCamSplineNodeUsingCameraFrame","native":"ADD_CAM_SPLINE_NODE_USING_CAMERA_FRAME","hash":"0x0A9F2A468B328E74","params":[["cam","Cam"],["cam2","Cam"],["length","int"],["p3","int"]],"doc":"p0 is the spline camera to which the node is being added.\np1 is the camera used to create the node.\np3 is always 3 in scripts. It might be smoothing style or rotation order."},
{"name":"addCamSplineNodeUsingCamera","native":"ADD_CAM_SPLINE_NODE_USING_CAMERA","hash":"0x0FB82563989CF4FB","params":[["cam","Cam"],["cam2","Cam"],["length","int"],["p3","int"]],"doc":"p0 is the spline camera to which the node is being added.\np1 is the camera used to create the node.\np3 is always 3 in scripts. It might be smoothing style or rotation order."},
{"name":"addCamSplineNodeUsingGameplayFrame","native":"ADD_CAM_SPLINE_NODE_USING_GAMEPLAY_FRAME","hash":"0x609278246A29CA34","params":[["cam","Cam"],["length","int"],["p2","int"]],"doc":"p2 is always 2 in scripts. It might be smoothing style or rotation order."},
{"name":"setCamSplinePhase","native":"SET_CAM_SPLINE_PHASE","hash":"0x242B5874F0A4E052","params":[["cam","Cam"],["p1","float"]]},
{"name":"getCamSplinePhase","native":"GET_CAM_SPLINE_PHASE","hash":"0xB5349E36C546509A","params":[["cam","Cam"]],"ret":"float","doc":"Can use this with `setCamSplinePhase` to set the float it this native returns.\n\n(returns 1.0f when no nodes has been added, reached end of non existing spline)"},
{"name":"getCamSplineNodePhase","native":"GET_CAM_SPLINE_NODE_PHASE","hash":"0xD9D0E694C8282C96","params":[["cam","Cam"]],"ret":"float","doc":"I'm pretty sure the parameter is the camera as usual, but I am not certain so I'm going to leave it as is."},
{"name":"setCamSplineDuration","native":"SET_CAM_SPLINE_DURATION","hash":"0x1381539FEE034CDA","params":[["cam","Cam"],["timeDuration","int"]],"doc":"I named p1 as timeDuration as it is obvious. I'm assuming tho it is ran in ms(Milliseconds) as usual."},
{"name":"setCamSplineSmoothingStyle","native":"SET_CAM_SPLINE_SMOOTHING_STYLE","hash":"0xD1B0F412F109EA5D","params":[["cam","Cam"],["smoothingStyle","int"]]},
{"name":"getCamSplineNodeIndex","native":"GET_CAM_SPLINE_NODE_INDEX","hash":"0xB22B17DF858716A6","params":[["cam","Cam"]],"ret":"int"},
{"name":"setCamSplineNodeEase","native":"SET_CAM_SPLINE_NODE_EASE","hash":"0x83B8201ED82A9A2D","params":[["cam","Cam"],["easingFunction","int"],["p2","int"],["p3","float"]]},
{"name":"setCamSplineNodeVelocityScale","native":"SET_CAM_SPLINE_NODE_VELOCITY_SCALE","hash":"0xA6385DEB180F319F","params":[["cam","Cam"],["p1","int"],["scale","float"]]},
{"name":"overrideCamSplineVelocity","native":"OVERRIDE_CAM_SPLINE_VELOCITY","hash":"0x40B62FA033EB0346","params":[["cam","Cam"],["p1","int"],["p2","float"],["p3","float"]]},
{"name":"overrideCamSplineMotionBlur","native":"OVERRIDE_CAM_SPLINE_MOTION_BLUR","hash":"0x7DCF7C708D292D55","params":[["cam","Cam"],["p1","int"],["p2","float"],["p3","float"]],"doc":"Max value for p1 is 15."},
{"name":"setCamSplineNodeExtraFlags","native":"SET_CAM_SPLINE_NODE_EXTRA_FLAGS","hash":"0x7BF1A54AE67AC070","params":[["cam","Cam"],["p1","int"],["flags","int"]]},
{"name":"isCamSplinePaused","native":"IS_CAM_SPLINE_PAUSED","hash":"0x0290F35C0AD97864","params":[["cam","Cam"]],"ret":"BOOL"},
{"name":"interpolateCamWithParams","native":"_INTERPOLATE_CAM_WITH_PARAMS","params":[["camera","Cam"],["camPosX","float"],["camPosY","float"],["camPosZ","float"],["camRotX","float"],["camRotY","float"],["camRotZ","float"],["fov","float"],["duration","int"],["posCurveType","int"],["rotCurveType","int"],["rotOrder","int"],["fovCurveType","int"]],"na":1},
{"name":"activateCamWithInterpAndFovCurve","native":"_ACTIVATE_CAM_WITH_INTERP_AND_FOV_CURVE","hash":"0x34CFC4C2A38E83E3","params":[["camTo","Cam"],["camFrom","Cam"],["duration","int"],["easeLocation","int"],["easeRotation","int"],["easeFov","int"]],"na":1,"since":3258},
{"name":"setCamActiveWithInterp","native":"SET_CAM_ACTIVE_WITH_INTERP","hash":"0x9FBDA379383A52A4","params":[["camTo","Cam"],["camFrom","Cam"],["duration","int"],["easeLocation","int"],["easeRotation","int"]],"doc":"Previous declaration void `setCamActiveWithInterp`(Cam camTo, Cam camFrom, int duration, BOOL easeLocation, BOOL easeRotation) is completely wrong. The last two params are integers not BOOLs..."},
{"name":"isCamInterpolating","native":"IS_CAM_INTERPOLATING","hash":"0x036F97C908C2B52C","params":[["cam","Cam"]],"ret":"BOOL"},
{"name":"shakeCam","native":"SHAKE_CAM","hash":"0x6A25241C340D3822","params":[["cam","Cam"],["type","string"],["amplitude","float"]],"doc":"Possible shake types (updated b617d):\n\nDEATH_FAIL_IN_EFFECT_SHAKE\nDRUNK_SHAKE\nFAMILY5_DRUG_TRIP_SHAKE\nHAND_SHAKE\nJOLT_SHAKE\nLARGE_EXPLOSION_SHAKE\nMEDIUM_EXPLOSION_SHAKE\nSMALL_EXPLOSION_SHAKE\nROAD_VIBRATION_SHAKE\nSKY_DIVING_SHAKE\nVIBRATE_SHAKE\n\nFull list of cam shake types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/camShakeTypesCompact.json"},
{"name":"animatedShakeCam","native":"ANIMATED_SHAKE_CAM","hash":"0xA2746EEAE3E577CD","params":[["cam","Cam"],["p1","string"],["p2","string"],["p3","string"],["amplitude","float"]],"doc":"Example from michael2 script.\n\n```\nanimatedShakeCam(l_5069, \"shake_cam_all@\", \"light\", \"\", 1f);\n```"},
{"name":"isCamShaking","native":"IS_CAM_SHAKING","hash":"0x6B24BFE83A2BE47B","params":[["cam","Cam"]],"ret":"BOOL"},
{"name":"setCamShakeAmplitude","native":"SET_CAM_SHAKE_AMPLITUDE","hash":"0xD93DB43B82BC0D00","params":[["cam","Cam"],["amplitude","float"]]},
{"name":"stopCamShaking","native":"STOP_CAM_SHAKING","hash":"0xBDECF64367884AC3","params":[["cam","Cam"],["p1","BOOL"]]},
{"name":"shakeScriptGlobal","native":"SHAKE_SCRIPT_GLOBAL","hash":"0xF4C8CF9E353AFECA","params":[["p0","string"],["p1","float"]],"doc":"```\nshakeScriptGlobal(\"HAND_SHAKE\", 0.2);\n```\n\nFull list of cam shake types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/camShakeTypesCompact.json"},
{"name":"animatedShakeScriptGlobal","native":"ANIMATED_SHAKE_SCRIPT_GLOBAL","hash":"0xC2EAE3FB8CDBED31","params":[["p0","string"],["p1","string"],["p2","string"],["p3","float"]],"doc":"```\nanimatedShakeScriptGlobal(\"SHAKE_CAM_medium\", \"medium\", \"\", 0.5f);\n```\n\nFull list of cam shake types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/camShakeTypesCompact.json"},
{"name":"isScriptGlobalShaking","native":"IS_SCRIPT_GLOBAL_SHAKING","hash":"0xC912AF078AF19212","ret":"BOOL","doc":"In drunk_controller.c4, sub_309\n\n```\nif (isScriptGlobalShaking()) {\n    stopScriptGlobalShaking(0);\n}\n```"},
{"name":"stopScriptGlobalShaking","native":"STOP_SCRIPT_GLOBAL_SHAKING","hash":"0x1C9D7949FA533490","params":[["p0","BOOL"]],"doc":"In drunk_controller.c4, sub_309\n\n```\nif (isScriptGlobalShaking()) {\n    stopScriptGlobalShaking(0);\n}\n```"},
{"name":"triggerVehiclePartBrokenCameraShake","native":"TRIGGER_VEHICLE_PART_BROKEN_CAMERA_SHAKE","hash":"0x5D96CFB59DA076A0","params":[["vehicle","Vehicle"],["p1","int","0..16"],["p2","float"]],"since":2060},
{"name":"playCamAnim","native":"PLAY_CAM_ANIM","hash":"0x9A2D0FB2E7852392","params":[["cam","Cam"],["animName","string"],["animDictionary","string"],["x","float"],["y","float"],["z","float"],["xRot","float"],["yRot","float"],["zRot","float"],["p9","BOOL"],["p10","int"]],"ret":"BOOL","doc":"Atleast one time in a script for the zRot Rockstar uses `getEntityHeading` to help fill the parameter.\n\np9 is unknown at this time.\np10 throughout all the X360 Scripts is always 2.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"isCamPlayingAnim","native":"IS_CAM_PLAYING_ANIM","hash":"0xC90621D8A0CEECF2","params":[["cam","Cam"],["animName","string"],["animDictionary","string"]],"ret":"BOOL"},
{"name":"setCamAnimCurrentPhase","native":"SET_CAM_ANIM_CURRENT_PHASE","hash":"0x4145A4C44FF3B5A6","params":[["cam","Cam"],["phase","float"]]},
{"name":"getCamAnimCurrentPhase","native":"GET_CAM_ANIM_CURRENT_PHASE","hash":"0xA10B2DB49E92A6B0","params":[["cam","Cam"]],"ret":"float"},
{"name":"playSynchronizedCamAnim","native":"PLAY_SYNCHRONIZED_CAM_ANIM","hash":"0xE32EFE9AB4A9AA0C","params":[["p0","Any"],["p1","Any"],["animName","string"],["animDictionary","string"]],"ret":"BOOL","doc":"Examples:\n\n```\nplaySynchronizedCamAnim(l_2734, networkGetLocalSceneFromNetworkId(l_2739), \"PLAYER_EXIT_L_CAM\", \"mp_doorbell\");\n\nplaySynchronizedCamAnim(l_F0D[7/*1*/], l_F4D[15/*1*/], \"ah3b_attackheli_cam2\", \"missheistfbi3b_helicrash\");\n```"},
{"name":"setFlyCamHorizontalResponse","native":"SET_FLY_CAM_HORIZONTAL_RESPONSE","hash":"0x503F5920162365B2","params":[["cam","Cam"],["p1","float"],["p2","float"],["p3","float"]]},
{"name":"setFlyCamVerticalResponse","native":"SET_FLY_CAM_VERTICAL_RESPONSE","hash":"0xE827B9382CFB41BA","params":[["cam","Cam"],["p1","float"],["p2","float"],["p3","float"]],"since":791,"aka":["_SET_FLY_CAM_VERTICAL_SPEED_MULTIPLIER"]},
{"name":"setFlyCamMaxHeight","native":"SET_FLY_CAM_MAX_HEIGHT","hash":"0xF9D02130ECDD1D77","params":[["cam","Cam"],["height","float"]],"aka":["_SET_CAMERA_RANGE"]},
{"name":"setFlyCamCoordAndConstrain","native":"SET_FLY_CAM_COORD_AND_CONSTRAIN","hash":"0xC91C6C55199308CA","params":[["cam","Cam"],["x","float"],["y","float"],["z","float"]]},
{"name":"setFlyCamVerticalControlsThisUpdate","native":"SET_FLY_CAM_VERTICAL_CONTROLS_THIS_UPDATE","hash":"0xC8B5C4A79CC18B94","params":[["cam","Cam"]]},
{"name":"wasFlyCamConstrainedOnPreviousUdpate","native":"WAS_FLY_CAM_CONSTRAINED_ON_PREVIOUS_UDPATE","hash":"0x5C48A1D6E3B33179","params":[["cam","Cam"]],"ret":"BOOL"},
{"name":"isScreenFadedOut","native":"IS_SCREEN_FADED_OUT","hash":"0xB16FCE9DDC7BA182","ret":"BOOL"},
{"name":"isScreenFadedIn","native":"IS_SCREEN_FADED_IN","hash":"0x5A859503B0C08678","ret":"BOOL"},
{"name":"isScreenFadingOut","native":"IS_SCREEN_FADING_OUT","hash":"0x797AC7CB535BA28F","ret":"BOOL"},
{"name":"isScreenFadingIn","native":"IS_SCREEN_FADING_IN","hash":"0x5C544BC6C57AC575","ret":"BOOL"},
{"name":"doScreenFadeIn","native":"DO_SCREEN_FADE_IN","hash":"0xD4E8E24955024033","params":[["duration","int","The time the fade should take, in milliseconds."]],"doc":"Fades the screen in."},
{"name":"doScreenFadeOut","native":"DO_SCREEN_FADE_OUT","hash":"0x891B5B39AC6302AF","params":[["duration","int","The time the fade should take, in milliseconds."]],"doc":"Fades the screen out."},
{"name":"setWidescreenBorders","native":"SET_WIDESCREEN_BORDERS","hash":"0xDCD4EA924F42D01A","params":[["p0","BOOL"],["p1","int"]]},
{"name":"areWidescreenBordersActive","native":"ARE_WIDESCREEN_BORDERS_ACTIVE","hash":"0x4879E4FE39074CDF","ret":"BOOL","since":372},
{"name":"getGameplayCamCoord","native":"GET_GAMEPLAY_CAM_COORD","hash":"0x14D6F5678D8F1B37","ret":"Vector3"},
{"name":"getGameplayCamRot","native":"GET_GAMEPLAY_CAM_ROT","hash":"0x837765A25378F0BB","params":[["rotationOrder","int"]],"ret":"Vector3","doc":"p0 dosen't seem to change much, I tried it with 0, 1, 2:\n0-Pitch(X): -70.000092\n0-Roll(Y): -0.000001\n0-Yaw(Z): -43.886459\n1-Pitch(X): -70.000092\n1-Roll(Y): -0.000001\n1-Yaw(Z): -43.886463\n2-Pitch(X): -70.000092\n2-Roll(Y): -0.000002\n2-Yaw(Z): -43.886467"},
{"name":"getGameplayCamFov","native":"GET_GAMEPLAY_CAM_FOV","hash":"0x65019750A0324133","ret":"float"},
{"name":"setGameplayCamMotionBlurScalingThisUpdate","native":"SET_GAMEPLAY_CAM_MOTION_BLUR_SCALING_THIS_UPDATE","hash":"0x487A82C650EB7799","params":[["p0","float"]],"doc":"some camera effect that is used in the drunk-cheat, and turned off (by setting it to 0.0) along with the shaking effects once the drunk cheat is disabled."},
{"name":"setGameplayCamMaxMotionBlurStrengthThisUpdate","native":"SET_GAMEPLAY_CAM_MAX_MOTION_BLUR_STRENGTH_THIS_UPDATE","hash":"0x0225778816FDC28C","params":[["p0","float"]],"doc":"some camera effect that is (also) used in the drunk-cheat, and turned off (by setting it to 0.0) along with the shaking effects once the drunk cheat is disabled."},
{"name":"getGameplayCamRelativeHeading","native":"GET_GAMEPLAY_CAM_RELATIVE_HEADING","hash":"0x743607648ADD4587","ret":"float"},
{"name":"setGameplayCamRelativeHeading","native":"SET_GAMEPLAY_CAM_RELATIVE_HEADING","hash":"0xB4EC2312F4E5B1F1","params":[["heading","float"]],"doc":"Sets the camera position relative to heading in float from -360 to +360.\n\nHeading is alwyas 0 in aiming camera."},
{"name":"getGameplayCamRelativePitch","native":"GET_GAMEPLAY_CAM_RELATIVE_PITCH","hash":"0x3A6867B4845BEDA2","ret":"float"},
{"name":"setGameplayCamRelativePitch","native":"SET_GAMEPLAY_CAM_RELATIVE_PITCH","hash":"0x6D0858B8EDFD2B7D","params":[["angle","float"],["scalingFactor","float"]],"doc":"This native sets the camera's pitch (rotation on the x-axis)."},
{"name":"resetGameplayCamFullAttachParentTransformTimer","native":"RESET_GAMEPLAY_CAM_FULL_ATTACH_PARENT_TRANSFORM_TIMER","hash":"0x7295C203DD659DFE","since":2699},
{"name":"forceCameraRelativeHeadingAndPitch","native":"FORCE_CAMERA_RELATIVE_HEADING_AND_PITCH","hash":"0x48608C3464F58AB4","params":[["roll","float"],["pitch","float"],["yaw","float"]],"since":505,"aka":["_SET_GAMEPLAY_CAM_RELATIVE_ROTATION"]},
{"name":"forceBonnetCameraRelativeHeadingAndPitch","native":"FORCE_BONNET_CAMERA_RELATIVE_HEADING_AND_PITCH","hash":"0x28B022A17B068A3A","params":[["p0","float"],["p1","float"]],"since":1734},
{"name":"setFirstPersonShooterCameraHeading","native":"SET_FIRST_PERSON_SHOOTER_CAMERA_HEADING","hash":"0x103991D4A307D472","params":[["yaw","float"]],"aka":["_SET_GAMEPLAY_CAM_RAW_YAW"],"doc":"Does nothing"},
{"name":"setFirstPersonShooterCameraPitch","native":"SET_FIRST_PERSON_SHOOTER_CAMERA_PITCH","hash":"0x759E13EBC1C15C5A","params":[["pitch","float"]],"aka":["_SET_GAMEPLAY_CAM_RAW_PITCH"]},
{"name":"setScriptedCameraIsFirstPersonThisFrame","native":"SET_SCRIPTED_CAMERA_IS_FIRST_PERSON_THIS_FRAME","hash":"0x469F2ECDEC046337","params":[["p0","BOOL"]]},
{"name":"shakeGameplayCam","native":"SHAKE_GAMEPLAY_CAM","hash":"0xFD55E49555E017CF","params":[["shakeName","string"],["intensity","float"]],"doc":"Possible shake types (updated b617d):\n\nDEATH_FAIL_IN_EFFECT_SHAKE\nDRUNK_SHAKE\nFAMILY5_DRUG_TRIP_SHAKE\nHAND_SHAKE\nJOLT_SHAKE\nLARGE_EXPLOSION_SHAKE\nMEDIUM_EXPLOSION_SHAKE\nSMALL_EXPLOSION_SHAKE\nROAD_VIBRATION_SHAKE\nSKY_DIVING_SHAKE\nVIBRATE_SHAKE\n\nFull list of cam shake types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/camShakeTypesCompact.json"},
{"name":"isGameplayCamShaking","native":"IS_GAMEPLAY_CAM_SHAKING","hash":"0x016C090630DF1F89","ret":"BOOL"},
{"name":"setGameplayCamShakeAmplitude","native":"SET_GAMEPLAY_CAM_SHAKE_AMPLITUDE","hash":"0xA87E00932DB4D85D","params":[["amplitude","float"]],"doc":"Sets the amplitude for the gameplay (i.e. 3rd or 1st) camera to shake. Used in script \"drunk_controller.ysc.c4\" to simulate making the player drunk."},
{"name":"stopGameplayCamShaking","native":"STOP_GAMEPLAY_CAM_SHAKING","hash":"0x0EF93E9F3D08C178","params":[["p0","BOOL"]]},
{"name":"setGameplayCamFollowPedThisUpdate","native":"SET_GAMEPLAY_CAM_FOLLOW_PED_THIS_UPDATE","hash":"0x8BBACBF51DA047A8","params":[["ped","Ped"]],"doc":"Forces gameplay cam to specified ped as if you were the ped or spectating it"},
{"name":"isGameplayCamRendering","native":"IS_GAMEPLAY_CAM_RENDERING","hash":"0x39B5D1B10383F0C8","ret":"BOOL","doc":"Examples when this function will return 0 are:\n- During busted screen.\n- When player is coming out from a hospital.\n- When player is coming out from a police station.\n- When player is buying gun from AmmuNation."},
{"name":"isInterpolatingFromScriptCams","native":"IS_INTERPOLATING_FROM_SCRIPT_CAMS","hash":"0x3044240D2E0FA842","ret":"BOOL"},
{"name":"isInterpolatingToScriptCams","native":"IS_INTERPOLATING_TO_SCRIPT_CAMS","hash":"0x705A276EBFF3133D","ret":"BOOL"},
{"name":"setGameplayCamAltitudeFovScalingState","native":"SET_GAMEPLAY_CAM_ALTITUDE_FOV_SCALING_STATE","hash":"0xDB90C6CCA48940F1","params":[["p0","BOOL"]]},
{"name":"disableGameplayCamAltitudeFovScalingThisUpdate","native":"DISABLE_GAMEPLAY_CAM_ALTITUDE_FOV_SCALING_THIS_UPDATE","hash":"0xEA7F0AD7E9BA676F","aka":["_ENABLE_CROSSHAIR_THIS_FRAME"],"doc":"Shows the crosshair even if it wouldn't show normally. Only works for one frame, so make sure to call it repeatedly."},
{"name":"isGameplayCamLookingBehind","native":"IS_GAMEPLAY_CAM_LOOKING_BEHIND","hash":"0x70FDA869F3317EA9","ret":"BOOL"},
{"name":"setGameplayCamIgnoreEntityCollisionThisUpdate","native":"SET_GAMEPLAY_CAM_IGNORE_ENTITY_COLLISION_THIS_UPDATE","hash":"0x2AED6301F67007D5","params":[["entity","Entity"]],"aka":["_DISABLE_CAM_COLLISION_FOR_ENTITY"]},
{"name":"disableCamCollisionForObject","native":"DISABLE_CAM_COLLISION_FOR_OBJECT","hash":"0x49482F9FCD825AAA","params":[["entity","Entity"]]},
{"name":"bypassCameraCollisionBuoyancyTestThisUpdate","native":"BYPASS_CAMERA_COLLISION_BUOYANCY_TEST_THIS_UPDATE","hash":"0xA7092AFE81944852","since":2189},
{"name":"setGameplayCamEntityToLimitFocusOverBoundingSphereThisUpdate","native":"SET_GAMEPLAY_CAM_ENTITY_TO_LIMIT_FOCUS_OVER_BOUNDING_SPHERE_THIS_UPDATE","hash":"0xFD3151CD37EA2245","params":[["entity","Entity"]]},
{"name":"disableFirstPersonCameraWaterClippingTestThisUpdate","native":"DISABLE_FIRST_PERSON_CAMERA_WATER_CLIPPING_TEST_THIS_UPDATE","hash":"0xB1381B97F70C7B30","since":1180,"doc":"Sets some flag on cinematic camera"},
{"name":"setFollowCamIgnoreAttachParentMovementThisUpdate","native":"SET_FOLLOW_CAM_IGNORE_ATTACH_PARENT_MOVEMENT_THIS_UPDATE","hash":"0xDD79DF9F4D26E1C9"},
{"name":"isSphereVisible","native":"IS_SPHERE_VISIBLE","hash":"0xE33D59DA70B58FDF","params":[["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL"},
{"name":"isFollowPedCamActive","native":"IS_FOLLOW_PED_CAM_ACTIVE","hash":"0xC6D3D26810C8E0F9","ret":"BOOL"},
{"name":"setFollowPedCamThisUpdate","native":"SET_FOLLOW_PED_CAM_THIS_UPDATE","hash":"0x44A113DD6FFC48D1","params":[["camName","string"],["p1","int"]],"ret":"BOOL","aka":["SET_FOLLOW_PED_CAM_CUTSCENE_CHAT"],"doc":"From the scripts:\n\n```\nsetFollowPedCamThisUpdate(\"FOLLOW_PED_ATTACHED_TO_ROPE_CAMERA\", 0);\nsetFollowPedCamThisUpdate(\"FOLLOW_PED_ON_EXILE1_LADDER_CAMERA\", 1500);\nsetFollowPedCamThisUpdate(\"FOLLOW_PED_SKY_DIVING_CAMERA\", 0);\nsetFollowPedCamThisUpdate(\"FOLLOW_PED_SKY_DIVING_CAMERA\", 3000);\nsetFollowPedCamThisUpdate(\"FOLLOW_PED_SKY_DIVING_FAMILY5_CAMERA\", 0);\nsetFollowPedCamThisUpdate(\"FOLLOW_PED_SKY_DIVING_CAMERA\", 0);\n```"},
{"name":"useScriptCamForAmbientPopulationOriginThisFrame","native":"USE_SCRIPT_CAM_FOR_AMBIENT_POPULATION_ORIGIN_THIS_FRAME","hash":"0x271401846BD26E92","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"setFollowPedCamLadderAlignThisUpdate","native":"SET_FOLLOW_PED_CAM_LADDER_ALIGN_THIS_UPDATE","hash":"0xC8391C309684595A"},
{"name":"setThirdPersonCamRelativeHeadingLimitsThisUpdate","native":"SET_THIRD_PERSON_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE","hash":"0x8F993D26E0CA5E8E","params":[["minimum","float","Degrees between -180f and 180f."],["maximum","float","Degrees between -180f and 180f."]],"aka":["_CLAMP_GAMEPLAY_CAM_YAW"],"doc":"Clamps the gameplay camera's current yaw.\n\nEg. `setThirdPersonCamRelativeHeadingLimitsThisUpdate`(0.0f, 0.0f) will set the horizontal angle directly behind the player."},
{"name":"setThirdPersonCamRelativePitchLimitsThisUpdate","native":"SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE","hash":"0xA516C198B7DCA1E1","params":[["minimum","float","Degrees between -90f and 90f."],["maximum","float","Degrees between -90f and 90f."]],"aka":["_CLAMP_GAMEPLAY_CAM_PITCH"],"doc":"Clamps the gameplay camera's current pitch.\n\nEg. `setThirdPersonCamRelativePitchLimitsThisUpdate`(0.0f, 0.0f) will set the vertical angle directly behind the player."},
{"name":"setThirdPersonCamOrbitDistanceLimitsThisUpdate","native":"SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE","hash":"0xDF2E1F7742402E81","params":[["p0","float"],["distance","float"]],"aka":["_ANIMATE_GAMEPLAY_CAM_ZOOM"],"doc":"Seems to animate the gameplay camera zoom.\n\n```\nEg. setThirdPersonCamOrbitDistanceLimitsThisUpdate(1f, 1000f);\n```\n\nwill animate the camera zooming in from 1000 meters away.\n\nGame scripts use it like this:\n\n```\n// Setting this to 1 prevents V key from changing zoom\nsetPlayerForcedZoom(playerId(), 1);\n\n// These restrict how far you can move cam up/down left/right\nsetThirdPersonCamRelativeHeadingLimitsThisUpdate(-20f, 50f);\nsetThirdPersonCamRelativePitchLimitsThisUpdate(-60f, 0f);\n\nsetThirdPersonCamOrbitDistanceLimitsThisUpdate(1f, 1f);\n```"},
{"name":"getThirdPersonCamMinOrbitDistanceSpring","native":"_GET_THIRD_PERSON_CAM_MIN_ORBIT_DISTANCE_SPRING","hash":"0xBC456FB703431785","ret":"float","na":1,"since":3095},
{"name":"getThirdPersonCamMaxOrbitDistanceSpring","native":"_GET_THIRD_PERSON_CAM_MAX_ORBIT_DISTANCE_SPRING","hash":"0xD4592A16D36673ED","ret":"float","na":1,"since":3095},
{"name":"setInVehicleCamStateThisUpdate","native":"SET_IN_VEHICLE_CAM_STATE_THIS_UPDATE","hash":"0xE9EA16D6E54CDCA4","params":[["p0","Vehicle"],["p1","int"]],"doc":"Forces gameplay cam to specified vehicle as if you were in it"},
{"name":"disableOnFootFirstPersonViewThisUpdate","native":"DISABLE_ON_FOOT_FIRST_PERSON_VIEW_THIS_UPDATE","hash":"0xDE2EF5DA284CC8DF","aka":["_DISABLE_FIRST_PERSON_CAM_THIS_FRAME"],"doc":"Disables first person camera for the current frame.\n\nFound in decompiled scripts:\n\n```\ndrawDebugText2d(\"Disabling First Person Cam\", 0.5, 0.8, 0.0, 0, 0, 255, 255);\ndisableOnFootFirstPersonViewThisUpdate();\n```"},
{"name":"disableFirstPersonFlashEffectThisUpdate","native":"DISABLE_FIRST_PERSON_FLASH_EFFECT_THIS_UPDATE","hash":"0x59424BD75174C9B1"},
{"name":"blockFirstPersonOrientationResetThisUpdate","native":"BLOCK_FIRST_PERSON_ORIENTATION_RESET_THIS_UPDATE","hash":"0x9F97DA93681F87EA","since":1734},
{"name":"getFollowPedCamZoomLevel","native":"GET_FOLLOW_PED_CAM_ZOOM_LEVEL","hash":"0x33E6C8EFD0CD93E9","ret":"int"},
{"name":"getFollowPedCamViewMode","native":"GET_FOLLOW_PED_CAM_VIEW_MODE","hash":"0x8D4D46230B2C353A","ret":"int"},
{"name":"setFollowPedCamViewMode","native":"SET_FOLLOW_PED_CAM_VIEW_MODE","hash":"0x5A4F9EDF1673F704","params":[["viewMode","int"]],"doc":"Sets the type of Player camera:\n\n0 - Third Person Close\n1 - Third Person Mid\n2 - Third Person Far\n4 - First Person"},
{"name":"isFollowVehicleCamActive","native":"IS_FOLLOW_VEHICLE_CAM_ACTIVE","hash":"0xCBBDE6D335D6D496","ret":"BOOL"},
{"name":"setFollowVehicleCamHighAngleModeThisUpdate","native":"SET_FOLLOW_VEHICLE_CAM_HIGH_ANGLE_MODE_THIS_UPDATE","hash":"0x91EF6EE6419E5B97","params":[["p0","BOOL"]]},
{"name":"setFollowVehicleCamHighAngleModeEveryUpdate","native":"SET_FOLLOW_VEHICLE_CAM_HIGH_ANGLE_MODE_EVERY_UPDATE","hash":"0x9DFE13ECDC1EC196","params":[["p0","BOOL"],["p1","BOOL"]],"aka":["SET_TIME_IDLE_DROP"]},
{"name":"setTableGamesCameraThisUpdate","native":"SET_TABLE_GAMES_CAMERA_THIS_UPDATE","hash":"0x79C0E43EB9B944E2","params":[["hash","Hash"]],"ret":"BOOL","since":1734},
{"name":"getFollowVehicleCamZoomLevel","native":"GET_FOLLOW_VEHICLE_CAM_ZOOM_LEVEL","hash":"0xEE82280AB767B690","ret":"int"},
{"name":"setFollowVehicleCamZoomLevel","native":"SET_FOLLOW_VEHICLE_CAM_ZOOM_LEVEL","hash":"0x19464CB6E4078C8A","params":[["zoomLevel","int"]]},
{"name":"getFollowVehicleCamViewMode","native":"GET_FOLLOW_VEHICLE_CAM_VIEW_MODE","hash":"0xA4FF579AC0E3AAAE","ret":"int"},
{"name":"setFollowVehicleCamViewMode","native":"SET_FOLLOW_VEHICLE_CAM_VIEW_MODE","hash":"0xAC253D7842768F48","params":[["viewMode","int"]],"doc":"Sets the type of Player camera in vehicles:\nviewmode: see CAM.GET_FOLLOW_VEHICLE_CAM_VIEW_MODE"},
{"name":"getCamViewModeForContext","native":"GET_CAM_VIEW_MODE_FOR_CONTEXT","hash":"0xEE778F8C7E1142E2","params":[["context","int","see `getCamActiveViewModeContext`"]],"ret":"int"},
{"name":"setCamViewModeForContext","native":"SET_CAM_VIEW_MODE_FOR_CONTEXT","hash":"0x2A2173E46DAECD12","params":[["context","int","see `getCamActiveViewModeContext`, viewmode: see CAM.GET_FOLLOW_VEHICLE_CAM_VIEW_MODE"],["viewMode","int"]]},
{"name":"getCamActiveViewModeContext","native":"GET_CAM_ACTIVE_VIEW_MODE_CONTEXT","hash":"0x19CAFA3C87F7C2FF","ret":"int","aka":["_GET_CAM_ACTIVE_VIEW_MODE_CONTEXT"]},
{"name":"useVehicleCamStuntSettingsThisUpdate","native":"USE_VEHICLE_CAM_STUNT_SETTINGS_THIS_UPDATE","hash":"0x6493CF69859B116A","since":791,"aka":["_USE_STUNT_CAMERA_THIS_FRAME"]},
{"name":"useDedicatedStuntCameraThisUpdate","native":"USE_DEDICATED_STUNT_CAMERA_THIS_UPDATE","hash":"0x425A920FDB9A0DDA","params":[["camName","string"]],"since":1180,"aka":["_SET_GAMEPLAY_CAM_HASH"],"doc":"Sets gameplay camera to hash"},
{"name":"forceVehicleCamStuntSettingsThisUpdate","native":"FORCE_VEHICLE_CAM_STUNT_SETTINGS_THIS_UPDATE","hash":"0x0AA27680A0BD43FA","since":1103},
{"name":"setFollowVehicleCamSeatThisUpdate","native":"SET_FOLLOW_VEHICLE_CAM_SEAT_THIS_UPDATE","hash":"0x5C90CAB09951A12F","params":[["seatIndex","int"]],"since":1365,"aka":["_SET_FOLLOW_TURRET_SEAT_CAM"]},
{"name":"isAimCamActive","native":"IS_AIM_CAM_ACTIVE","hash":"0x68EDDA28A5976D07","ret":"BOOL"},
{"name":"isAimCamActiveInAccurateMode","native":"IS_AIM_CAM_ACTIVE_IN_ACCURATE_MODE","hash":"0x74BD83EA840F6BC9","ret":"BOOL","aka":["_IS_AIM_CAM_THIRD_PERSON_ACTIVE"]},
{"name":"isFirstPersonAimCamActive","native":"IS_FIRST_PERSON_AIM_CAM_ACTIVE","hash":"0x5E346D934122613F","ret":"BOOL"},
{"name":"disableAimCamThisUpdate","native":"DISABLE_AIM_CAM_THIS_UPDATE","hash":"0x1A31FE0049E542F6"},
{"name":"getFirstPersonAimCamZoomFactor","native":"GET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR","hash":"0x7EC52CC40597D170","ret":"float","aka":["_GET_GAMEPLAY_CAM_ZOOM"]},
{"name":"setFirstPersonAimCamZoomFactor","native":"SET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR","hash":"0x70894BD0915C5BCA","params":[["zoomFactor","float"]]},
{"name":"setFirstPersonAimCamZoomFactorLimitsThisUpdate","native":"SET_FIRST_PERSON_AIM_CAM_ZOOM_FACTOR_LIMITS_THIS_UPDATE","hash":"0xCED08CBE8EBB97C7","params":[["p0","float"],["p1","float"]]},
{"name":"setFirstPersonAimCamRelativeHeadingLimitsThisUpdate","native":"SET_FIRST_PERSON_AIM_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE","hash":"0x2F7F2B26DD3F18EE","params":[["p0","float"],["p1","float"]]},
{"name":"setFirstPersonAimCamRelativePitchLimitsThisUpdate","native":"SET_FIRST_PERSON_AIM_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE","hash":"0xBCFC632DB7673BF0","params":[["p0","float"],["p1","float"]],"aka":["_SET_FIRST_PERSON_CAM_PITCH_RANGE"]},
{"name":"setFirstPersonAimCamNearClipThisUpdate","native":"SET_FIRST_PERSON_AIM_CAM_NEAR_CLIP_THIS_UPDATE","hash":"0x0AF7B437918103B3","params":[["p0","float"]],"aka":["_SET_FIRST_PERSON_CAM_NEAR_CLIP"]},
{"name":"setThirdPersonAimCamNearClipThisUpdate","native":"SET_THIRD_PERSON_AIM_CAM_NEAR_CLIP_THIS_UPDATE","hash":"0x42156508606DE65E","params":[["p0","float"]],"aka":["_SET_THIRD_PERSON_AIM_CAM_NEAR_CLIP"]},
{"name":"setAllowCustomVehicleDriveByCamThisUpdate","native":"SET_ALLOW_CUSTOM_VEHICLE_DRIVE_BY_CAM_THIS_UPDATE","hash":"0x4008EDF7D6E48175","params":[["p0","BOOL"]]},
{"name":"forceTightspaceCustomFramingThisUpdate","native":"FORCE_TIGHTSPACE_CUSTOM_FRAMING_THIS_UPDATE","hash":"0x380B4968D1E09E55","since":1290},
{"name":"getFinalRenderedCamCoord","native":"GET_FINAL_RENDERED_CAM_COORD","hash":"0xA200EB1EE790F448","ret":"Vector3","aka":["_GET_GAMEPLAY_CAM_COORDS"]},
{"name":"getFinalRenderedCamRot","native":"GET_FINAL_RENDERED_CAM_ROT","hash":"0x5B4E4C817FCC2DFB","params":[["rotationOrder","int"]],"ret":"Vector3","aka":["_GET_GAMEPLAY_CAM_ROT_2"],"doc":"p0 seems to consistently be 2 across scripts\n\nFunction is called faily often by `createCamWithParams`"},
{"name":"getFinalRenderedRemotePlayerCamRot","native":"GET_FINAL_RENDERED_REMOTE_PLAYER_CAM_ROT","hash":"0x26903D9CD1175F2C","params":[["player","Player"],["rotationOrder","int"]],"ret":"Vector3","aka":["GET_FINAL_RENDERED_IN_WHEN_FRIENDLY_ROT"]},
{"name":"getFinalRenderedCamFov","native":"GET_FINAL_RENDERED_CAM_FOV","hash":"0x80EC114669DAEFF4","ret":"float","doc":"Gets some camera fov"},
{"name":"getFinalRenderedRemotePlayerCamFov","native":"GET_FINAL_RENDERED_REMOTE_PLAYER_CAM_FOV","hash":"0x5F35F6732C3FBBA0","params":[["player","Player"]],"ret":"float","aka":["GET_FINAL_RENDERED_IN_WHEN_FRIENDLY_FOV"]},
{"name":"getFinalRenderedCamNearClip","native":"GET_FINAL_RENDERED_CAM_NEAR_CLIP","hash":"0xD0082607100D7193","ret":"float","aka":["_GET_GAMEPLAY_CAM_NEAR_CLIP"]},
{"name":"getFinalRenderedCamFarClip","native":"GET_FINAL_RENDERED_CAM_FAR_CLIP","hash":"0xDFC8CBC606FDB0FC","ret":"float","aka":["_GET_GAMEPLAY_CAM_FAR_CLIP"]},
{"name":"getFinalRenderedCamNearDof","native":"GET_FINAL_RENDERED_CAM_NEAR_DOF","hash":"0xA03502FC581F7D9B","ret":"float","aka":["_GET_GAMEPLAY_CAM_NEAR_DOF"]},
{"name":"getFinalRenderedCamFarDof","native":"GET_FINAL_RENDERED_CAM_FAR_DOF","hash":"0x9780F32BCAF72431","ret":"float","aka":["_GET_GAMEPLAY_CAM_FAR_DOF"]},
{"name":"getFinalRenderedCamMotionBlurStrength","native":"GET_FINAL_RENDERED_CAM_MOTION_BLUR_STRENGTH","hash":"0x162F9D995753DC19","ret":"float","aka":["_GET_GAMEPLAY_CAM_FAR_CLIP_2"]},
{"name":"setGameplayCoordHint","native":"SET_GAMEPLAY_COORD_HINT","hash":"0xD51ADCD2D8BC0FB3","params":[["x","float"],["y","float"],["z","float"],["duration","int"],["blendOutDuration","int"],["blendInDuration","int"],["p6","int"]]},
{"name":"setGameplayPedHint","native":"SET_GAMEPLAY_PED_HINT","hash":"0x2B486269ACD548D3","params":[["ped","Ped"],["x1","float"],["y1","float"],["z1","float"],["p4","BOOL"],["duration","int"],["blendOutDuration","int"],["blendInDuration","int"]]},
{"name":"setGameplayVehicleHint","native":"SET_GAMEPLAY_VEHICLE_HINT","hash":"0xA2297E18F3E71C2E","params":[["vehicle","Vehicle"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["p4","BOOL"],["time","int"],["easeInTime","int"],["easeOutTime","int"]],"doc":"Focuses the camera on the specified vehicle."},
{"name":"setGameplayObjectHint","native":"SET_GAMEPLAY_OBJECT_HINT","hash":"0x83E87508A2CA2AC6","params":[["object","Object"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["p4","BOOL"],["time","int"],["easeInTime","int"],["easeOutTime","int"]]},
{"name":"setGameplayEntityHint","native":"SET_GAMEPLAY_ENTITY_HINT","hash":"0x189E955A8313E298","params":[["entity","Entity"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["p4","BOOL"],["time","int"],["easeInTime","int"],["easeOutTime","int"],["p8","int"]],"doc":"p8 could be some sort of flag. Scripts use:\n-244429742\n0\n1726668277\n1844968929"},
{"name":"isGameplayHintActive","native":"IS_GAMEPLAY_HINT_ACTIVE","hash":"0xE520FF1AD2785B40","ret":"BOOL"},
{"name":"stopGameplayHint","native":"STOP_GAMEPLAY_HINT","hash":"0xF46C581C61718916","params":[["p0","BOOL"]]},
{"name":"stopGameplayHintBeingCancelledThisUpdate","native":"STOP_GAMEPLAY_HINT_BEING_CANCELLED_THIS_UPDATE","hash":"0xCCD078C2665D2973","params":[["p0","BOOL"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"stopCodeGameplayHint","native":"STOP_CODE_GAMEPLAY_HINT","hash":"0x247ACBC4ABBC9D1C","params":[["p0","BOOL"]]},
{"name":"isCodeGameplayHintActive","native":"IS_CODE_GAMEPLAY_HINT_ACTIVE","hash":"0xBF72910D0F26F025","ret":"BOOL"},
{"name":"setGameplayHintFov","native":"SET_GAMEPLAY_HINT_FOV","hash":"0x513403FB9C56211F","params":[["FOV","float"]]},
{"name":"setGameplayHintFollowDistanceScalar","native":"SET_GAMEPLAY_HINT_FOLLOW_DISTANCE_SCALAR","hash":"0xF8BDBF3D573049A1","params":[["value","float"]],"aka":["_SET_GAMEPLAY_HINT_ANIM_OFFSETZ"]},
{"name":"setGameplayHintBaseOrbitPitchOffset","native":"SET_GAMEPLAY_HINT_BASE_ORBIT_PITCH_OFFSET","hash":"0xD1F8363DFAD03848","params":[["value","float"]],"aka":["_SET_GAMEPLAY_HINT_ANGLE"]},
{"name":"setGameplayHintCameraRelativeSideOffset","native":"SET_GAMEPLAY_HINT_CAMERA_RELATIVE_SIDE_OFFSET","hash":"0x5D7B620DAE436138","params":[["xOffset","float"]],"aka":["_SET_GAMEPLAY_HINT_ANIM_OFFSETX"]},
{"name":"setGameplayHintCameraRelativeVerticalOffset","native":"SET_GAMEPLAY_HINT_CAMERA_RELATIVE_VERTICAL_OFFSET","hash":"0xC92717EF615B6704","params":[["yOffset","float"]],"aka":["_SET_GAMEPLAY_HINT_ANIM_OFFSETY"]},
{"name":"setGameplayHintCameraBlendToFollowPedMediumViewMode","native":"SET_GAMEPLAY_HINT_CAMERA_BLEND_TO_FOLLOW_PED_MEDIUM_VIEW_MODE","hash":"0xE3433EADAAF7EE40","params":[["toggle","BOOL"]],"aka":["GET_IS_MULTIPLAYER_BRIEF","_SET_GAMEPLAY_HINT_ANIM_CLOSEUP"]},
{"name":"setCinematicButtonActive","native":"SET_CINEMATIC_BUTTON_ACTIVE","hash":"0x51669F7D1FB53D9F","params":[["p0","BOOL"]]},
{"name":"isCinematicCamRendering","native":"IS_CINEMATIC_CAM_RENDERING","hash":"0xB15162CB5826E9E8","ret":"BOOL"},
{"name":"shakeCinematicCam","native":"SHAKE_CINEMATIC_CAM","hash":"0xDCE214D9ED58F3CF","params":[["shakeType","string"],["amount","float"]],"doc":"p0 argument found in the b617d scripts: \"DRUNK_SHAKE\"\n\nFull list of cam shake types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/camShakeTypesCompact.json"},
{"name":"isCinematicCamShaking","native":"IS_CINEMATIC_CAM_SHAKING","hash":"0xBBC08F6B4CB8FF0A","ret":"BOOL"},
{"name":"setCinematicCamShakeAmplitude","native":"SET_CINEMATIC_CAM_SHAKE_AMPLITUDE","hash":"0xC724C701C30B2FE7","params":[["p0","float"]]},
{"name":"stopCinematicCamShaking","native":"STOP_CINEMATIC_CAM_SHAKING","hash":"0x2238E588E588A6D7","params":[["p0","BOOL"]]},
{"name":"disableCinematicBonnetCameraThisUpdate","native":"DISABLE_CINEMATIC_BONNET_CAMERA_THIS_UPDATE","hash":"0xADFF1B2A555F5FBA","aka":["_DISABLE_VEHICLE_FIRST_PERSON_CAM_THIS_FRAME"]},
{"name":"disableCinematicVehicleIdleModeThisUpdate","native":"DISABLE_CINEMATIC_VEHICLE_IDLE_MODE_THIS_UPDATE","hash":"0x62ECFCFDEE7885D6"},
{"name":"invalidateCinematicVehicleIdleMode","native":"INVALIDATE_CINEMATIC_VEHICLE_IDLE_MODE","hash":"0x9E4CFFF989258472","aka":["_INVALIDATE_VEHICLE_IDLE_CAM"],"doc":"Resets the vehicle idle camera timer. Calling this in a loop will disable the idle camera."},
{"name":"invalidateIdleCam","native":"INVALIDATE_IDLE_CAM","hash":"0xF4F2C0D4EE209E20","doc":"Resets the idle camera timer. Calling that in a loop once every few seconds is enough to disable the idle cinematic camera."},
{"name":"isCinematicIdleCamRendering","native":"IS_CINEMATIC_IDLE_CAM_RENDERING","hash":"0xCA9D2AA3E326D720","ret":"BOOL"},
{"name":"isCinematicFirstPersonVehicleInteriorCamRendering","native":"IS_CINEMATIC_FIRST_PERSON_VEHICLE_INTERIOR_CAM_RENDERING","hash":"0x4F32C0D5A90A9B40","ret":"BOOL","aka":["_IS_IN_VEHICLE_CAM_DISABLED"]},
{"name":"createCinematicShot","native":"CREATE_CINEMATIC_SHOT","hash":"0x741B0129D4560F31","params":[["p0","Hash"],["time","int"],["p2","BOOL"],["entity","Entity"]],"doc":"hash is always JOAAT(\"CAMERA_MAN_SHOT\") in decompiled scripts"},
{"name":"isCinematicShotActive","native":"IS_CINEMATIC_SHOT_ACTIVE","hash":"0xCC9F3371A7C28BC9","params":[["p0","Hash"]],"ret":"BOOL","doc":"Hash is always JOAAT(\"CAMERA_MAN_SHOT\") in decompiled scripts"},
{"name":"stopCinematicShot","native":"STOP_CINEMATIC_SHOT","hash":"0x7660C6E75D3A078E","params":[["p0","Hash"]],"doc":"Only used once in carsteal3 with p0 set to -1096069633 (CAMERA_MAN_SHOT)"},
{"name":"forceCinematicRenderingThisUpdate","native":"FORCE_CINEMATIC_RENDERING_THIS_UPDATE","hash":"0xA41BCD7213805AAC","params":[["toggle","BOOL"]]},
{"name":"setCinematicNewsChannelActiveThisUpdate","native":"SET_CINEMATIC_NEWS_CHANNEL_ACTIVE_THIS_UPDATE","hash":"0xDC9DA9E8789F5246"},
{"name":"setCinematicModeActive","native":"SET_CINEMATIC_MODE_ACTIVE","hash":"0xDCF0754AC3D6FD4E","params":[["toggle","BOOL"]],"doc":"Toggles the vehicle cinematic cam; requires the player ped to be in a vehicle to work."},
{"name":"isInVehicleMobilePhoneCameraRendering","native":"IS_IN_VEHICLE_MOBILE_PHONE_CAMERA_RENDERING","hash":"0x1F2300CB7FA7B7F6","ret":"BOOL"},
{"name":"disableCinematicSlowMoThisUpdate","native":"DISABLE_CINEMATIC_SLOW_MO_THIS_UPDATE","hash":"0x17FCA7199A530203","ret":"BOOL"},
{"name":"isBonnetCinematicCamRendering","native":"IS_BONNET_CINEMATIC_CAM_RENDERING","hash":"0xD7360051C885628B","ret":"BOOL","since":372},
{"name":"isCinematicCamInputActive","native":"IS_CINEMATIC_CAM_INPUT_ACTIVE","hash":"0xF5F1E89A970B7796","ret":"BOOL","since":1493,"aka":["_IS_CINEMATIC_CAM_ACTIVE"],"doc":"Tests some cinematic camera flags"},
{"name":"ignoreMenuPreferenceForBonnetCameraThisUpdate","native":"IGNORE_MENU_PREFERENCE_FOR_BONNET_CAMERA_THIS_UPDATE","hash":"0x7B8A361C1813FBEF","since":573},
{"name":"bypassCutsceneCamRenderingThisUpdate","native":"BYPASS_CUTSCENE_CAM_RENDERING_THIS_UPDATE","hash":"0xDB629FFD9285FA06","aka":["STOP_CUTSCENE_CAM_SHAKING"]},
{"name":"stopCutsceneCamShaking","native":"STOP_CUTSCENE_CAM_SHAKING","hash":"0x324C5AA411DA7737","params":[["p0","Any"]]},
{"name":"setCutsceneCamFarClipThisUpdate","native":"SET_CUTSCENE_CAM_FAR_CLIP_THIS_UPDATE","hash":"0x12DED8CA53D47EA5","params":[["p0","float"]],"doc":"Hardcoded to only work in multiplayer."},
{"name":"getFocusPedOnScreen","native":"GET_FOCUS_PED_ON_SCREEN","hash":"0x89215EC747DF244A","params":[["p0","float"],["p1","int"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","int"],["p8","int"]],"ret":"Ped"},
{"name":"disableNearClipScanThisUpdate","native":"DISABLE_NEAR_CLIP_SCAN_THIS_UPDATE","hash":"0x5A43C76F7FC7BA5F"},
{"name":"setCamDeathFailEffectState","native":"SET_CAM_DEATH_FAIL_EFFECT_STATE","hash":"0x80C8B1846639BB19","params":[["p0","int"]],"aka":["_SET_CAM_EFFECT"],"doc":"if p0 is 0, effect is cancelled\n\nif p0 is 1, effect zooms in, gradually tilts cam clockwise apx 30 degrees, wobbles slowly. Motion blur is active until cancelled.\n\nif p0 is 2, effect immediately tilts cam clockwise apx 30 degrees, begins to wobble slowly, then gradually tilts cam back to normal. The wobbling will continue until the effect is cancelled."},
{"name":"setFirstPersonFlashEffectType","native":"SET_FIRST_PERSON_FLASH_EFFECT_TYPE","hash":"0x5C41E6BABC9E2112","params":[["p0","Any"]]},
{"name":"setFirstPersonFlashEffectVehicleModelName","native":"SET_FIRST_PERSON_FLASH_EFFECT_VEHICLE_MODEL_NAME","hash":"0x21E253A7F8DA5DFB","params":[["vehicleName","string"]],"aka":["_SET_GAMEPLAY_CAM_VEHICLE_CAMERA"],"doc":"From b617 scripts:\n\n```\nsetFirstPersonFlashEffectVehicleModelName(\"DINGHY\");\nsetFirstPersonFlashEffectVehicleModelName(\"ISSI2\");\nsetFirstPersonFlashEffectVehicleModelName(\"SPEEDO\");\n```"},
{"name":"setFirstPersonFlashEffectVehicleModelHash","native":"SET_FIRST_PERSON_FLASH_EFFECT_VEHICLE_MODEL_HASH","hash":"0x11FA5D3479C7DD47","params":[["vehicleModel","Hash"]],"aka":["_SET_GAMEPLAY_CAM_VEHICLE_CAMERA_NAME"]},
{"name":"isAllowedIndependentCameraModes","native":"IS_ALLOWED_INDEPENDENT_CAMERA_MODES","hash":"0xEAF0FA793D05C592","ret":"BOOL"},
{"name":"cameraPreventCollisionSettingsForTripleheadInInteriorsThisUpdate","native":"CAMERA_PREVENT_COLLISION_SETTINGS_FOR_TRIPLEHEAD_IN_INTERIORS_THIS_UPDATE","hash":"0x62374889A4D59F72","since":877},
{"name":"replayGetMaxDistanceAllowedFromPlayer","native":"REPLAY_GET_MAX_DISTANCE_ALLOWED_FROM_PLAYER","hash":"0x8BFCEB5EA1B161B6","ret":"float","aka":["_REPLAY_FREE_CAM_GET_MAX_RANGE"]}
]},
{"id":"CLOCK","title":"Clock","doc":"In-game time and date, and the real-world clock.","natives":[
{"name":"setClockTime","native":"SET_CLOCK_TIME","hash":"0x47C3B5848C3E45D8","params":[["hour","int"],["minute","int"],["second","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`hour` must be between `0` and `23`. `minute` and `second` must be between `0` and `59`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"```\nsetClockTime(12, 34, 56);\n```"},
{"name":"pauseClock","native":"PAUSE_CLOCK","hash":"0x4055E40BD2DBEC1D","params":[["toggle","BOOL"]]},
{"name":"advanceClockTimeTo","native":"ADVANCE_CLOCK_TIME_TO","hash":"0xC8CA9670B9D83B3B","params":[["hour","int"],["minute","int"],["second","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`hour` must be between `0` and `23`. `minute` and `second` must be between `0` and `59`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"addToClockTime","native":"ADD_TO_CLOCK_TIME","hash":"0xD716F30D8C8980E2","params":[["hours","int"],["minutes","int"],["seconds","int"]],"blocked":"worldState"},
{"name":"getClockHours","native":"GET_CLOCK_HOURS","hash":"0x25223CA6B4D20B7F","ret":"int","doc":"Gets the current ingame hour, expressed without zeros. (09:34 will be represented as 9)"},
{"name":"getClockMinutes","native":"GET_CLOCK_MINUTES","hash":"0x13D2B8ADD79640F2","ret":"int","doc":"Gets the current ingame clock minute."},
{"name":"getClockSeconds","native":"GET_CLOCK_SECONDS","hash":"0x494E97C2EF27C470","ret":"int","doc":"Gets the current ingame clock second. Note that ingame clock seconds change really fast since a day in GTA is only 48 minutes in real life."},
{"name":"setClockDate","native":"SET_CLOCK_DATE","hash":"0xB096419DF0D06CE7","params":[["day","int"],["month","int"],["year","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"Use a valid Gregorian date with `month` from `0` (January) to `11` (December) and `year` from `1898` to `2499`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"getClockDayOfWeek","native":"GET_CLOCK_DAY_OF_WEEK","hash":"0xD972E4BD7AEB235F","ret":"int","doc":"Gets the current day of the week.\n\n0: Sunday\n1: Monday\n2: Tuesday\n3: Wednesday\n4: Thursday\n5: Friday\n6: Saturday"},
{"name":"getClockDayOfMonth","native":"GET_CLOCK_DAY_OF_MONTH","hash":"0x3D10BC92A4DB1D35","ret":"int"},
{"name":"getClockMonth","native":"GET_CLOCK_MONTH","hash":"0xBBC72712E80257A1","ret":"int"},
{"name":"getClockYear","native":"GET_CLOCK_YEAR","hash":"0x961777E64BDAF717","ret":"int"},
{"name":"getMillisecondsPerGameMinute","native":"GET_MILLISECONDS_PER_GAME_MINUTE","hash":"0x2F8B4D1C595B11DB","ret":"int"},
{"name":"getPosixTime","native":"GET_POSIX_TIME","hash":"0xDA488F299A5B164E","outs":[["year","int",0],["month","int",1],["day","int",2],["hour","int",3],["minute","int",4],["second","int",5]],"doc":"Gets system time as year, month, day, hour, minute and second.\n\nExample usage:\n\n```\n   int year;\nint month;\n   int day;\n int hour;\nint minute;\n  int second;\n\ngetPosixTime(&year, &month, &day, &hour, &minute, &second);\n```"},
{"name":"getUtcTime","native":"GET_UTC_TIME","hash":"0x8117E09A19EEF4D3","outs":[["year","int",0],["month","int",1],["day","int",2],["hour","int",3],["minute","int",4],["second","int",5]],"aka":["_GET_LOCAL_TIME","_GET_UTC_TIME"],"doc":"Gets current UTC time"},
{"name":"getLocalTime","native":"GET_LOCAL_TIME","hash":"0x50C7A99057A69748","outs":[["year","int",0],["month","int",1],["day","int",2],["hour","int",3],["minute","int",4],["second","int",5]],"doc":"Gets local system time as year, month, day, hour, minute and second.\n\nExample usage:\n\n```\nint year;\nint month;\nint day;\nint hour;\nint minute;\nint second;\n```\n\nor use std::tm struct\n\n```\ngetLocalTime(&year, &month, &day, &hour, &minute, &second);\n```"}
]},
{"id":"CUTSCENE","title":"Cutscenes","doc":"Loading, playing and controlling cutscenes.","natives":[
{"name":"requestCutscene","native":"REQUEST_CUTSCENE","hash":"0x7A86743F475D9E09","params":[["cutsceneName","string"],["flags","int"]],"doc":"flags: Usually 8\nFull list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"requestCutsceneWithPlaybackList","native":"REQUEST_CUTSCENE_WITH_PLAYBACK_LIST","hash":"0xC23DE0E91C30B58C","params":[["cutsceneName","string"],["playbackFlags","int"],["flags","int","Usually 8"]],"aka":["_REQUEST_CUTSCENE_EX"],"doc":"playbackFlags: Which scenes should be played.\nExample: 0x105 (bit 0, 2 and 8 set) will enable scene 1, 3 and 9.\nFull list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"removeCutscene","native":"REMOVE_CUTSCENE","hash":"0x440AF51A3462B86F"},
{"name":"hasCutsceneLoaded","native":"HAS_CUTSCENE_LOADED","hash":"0xC59F528E9AB9F339","ret":"BOOL"},
{"name":"hasThisCutsceneLoaded","native":"HAS_THIS_CUTSCENE_LOADED","hash":"0x228D3D94F8A11C3C","params":[["cutsceneName","string"]],"ret":"BOOL","doc":"Full list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"setScriptCanStartCutscene","native":"SET_SCRIPT_CAN_START_CUTSCENE","hash":"0x8D9DF6ECA8768583","params":[["threadId","int"]],"doc":"Sets the cutscene's owning thread ID."},
{"name":"canRequestAssetsForCutsceneEntity","native":"CAN_REQUEST_ASSETS_FOR_CUTSCENE_ENTITY","hash":"0xB56BBBCC2955D9CB","ret":"BOOL"},
{"name":"isCutscenePlaybackFlagSet","native":"IS_CUTSCENE_PLAYBACK_FLAG_SET","hash":"0x71B74D2AE19338D0","params":[["flag","int"]],"ret":"BOOL"},
{"name":"setCutsceneEntityStreamingFlags","native":"SET_CUTSCENE_ENTITY_STREAMING_FLAGS","hash":"0x4C61C75BEE8184C2","params":[["cutsceneEntName","string"],["p1","int"],["p2","int"]]},
{"name":"requestCutFile","native":"REQUEST_CUT_FILE","hash":"0x06A3524161C502BA","params":[["cutsceneName","string"]],"doc":"Simply loads the cutscene and doesn't do extra stuff that `requestCutscene` does.\nFull list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"hasCutFileLoaded","native":"HAS_CUT_FILE_LOADED","hash":"0xA1C996C2A744262E","params":[["cutsceneName","string"]],"ret":"BOOL","doc":"Simply checks if the cutscene has loaded and doesn't check via CutSceneManager as opposed to HAS_[THIS]_CUTSCENE_LOADED.\nFull list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"removeCutFile","native":"REMOVE_CUT_FILE","hash":"0xD00D76A7DFC9D852","params":[["cutsceneName","string"]],"doc":"Simply unloads the cutscene and doesn't do extra stuff that `removeCutscene` does.\nFull list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"getCutFileOffset","native":"GET_CUT_FILE_OFFSET","hash":"0x1FA904B60E492336","params":[["cutsceneName","string"],["index","int"]],"ret":"Vector3","na":1,"since":3570},
{"name":"getCutFileConcatCount","native":"GET_CUT_FILE_CONCAT_COUNT","hash":"0x0ABC54DE641DC0FC","params":[["cutsceneName","string"]],"ret":"int","aka":["_GET_CUT_FILE_NUM_SECTIONS"],"doc":"Full list of cutscene names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/cutsceneNames.json"},
{"name":"startCutscene","native":"START_CUTSCENE","hash":"0x186D5CB5E7B0FF7B","params":[["flags","int","Usually 0."]]},
{"name":"startCutsceneAtCoords","native":"START_CUTSCENE_AT_COORDS","hash":"0x1C9ADDA3244A1FBF","params":[["x","float"],["y","float"],["z","float"],["flags","int","Usually 0."]]},
{"name":"stopCutscene","native":"STOP_CUTSCENE","hash":"0xC7272775B4DC786E","params":[["p0","BOOL"]]},
{"name":"stopCutsceneImmediately","native":"STOP_CUTSCENE_IMMEDIATELY","hash":"0xD220BDD222AC4A1E"},
{"name":"setCutsceneOrigin","native":"SET_CUTSCENE_ORIGIN","hash":"0xB812B3FD1C01CF27","params":[["x","float"],["y","float"],["z","float"],["p3","float"],["p4","int"]],"doc":"p3 could be heading. Needs more research."},
{"name":"setCutsceneOriginAndOrientation","native":"SET_CUTSCENE_ORIGIN_AND_ORIENTATION","hash":"0x011883F41211432A","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p6","int"]]},
{"name":"getCutsceneTime","native":"GET_CUTSCENE_TIME","hash":"0xE625BEABBAFFDAB9","ret":"int"},
{"name":"getCutscenePlayTime","native":"GET_CUTSCENE_PLAY_TIME","hash":"0x710286BC5EF4D6E1","ret":"int","na":1,"since":3258},
{"name":"getCutsceneTotalDuration","native":"GET_CUTSCENE_TOTAL_DURATION","hash":"0xEE53B14A19E480D4","ret":"int"},
{"name":"getCutsceneEndTime","native":"GET_CUTSCENE_END_TIME","hash":"0x971D7B15BCDBEF99","ret":"int","since":1734},
{"name":"getCutscenePlayDuration","native":"GET_CUTSCENE_PLAY_DURATION","hash":"0x5D583F71C901F2A3","ret":"int","since":2802},
{"name":"wasCutsceneSkipped","native":"WAS_CUTSCENE_SKIPPED","hash":"0x40C8656EDAEDD569","ret":"BOOL"},
{"name":"hasCutsceneFinished","native":"HAS_CUTSCENE_FINISHED","hash":"0x7C0A893088881D57","ret":"BOOL"},
{"name":"isCutsceneActive","native":"IS_CUTSCENE_ACTIVE","hash":"0x991251AFC3981F84","ret":"BOOL"},
{"name":"isCutscenePlaying","native":"IS_CUTSCENE_PLAYING","hash":"0xD3C2E180A40F031E","ret":"BOOL"},
{"name":"getCutsceneSectionPlaying","native":"GET_CUTSCENE_SECTION_PLAYING","hash":"0x49010A6A396553D8","ret":"int"},
{"name":"getEntityIndexOfCutsceneEntity","native":"GET_ENTITY_INDEX_OF_CUTSCENE_ENTITY","hash":"0x0A2E9FDB9A8C62F6","params":[["cutsceneEntName","string"],["modelHash","Hash"]],"ret":"Entity"},
{"name":"getCutsceneConcatSectionPlaying","native":"GET_CUTSCENE_CONCAT_SECTION_PLAYING","hash":"0x583DF8E3D4AFBD98","ret":"int"},
{"name":"isCutsceneAuthorized","native":"IS_CUTSCENE_AUTHORIZED","hash":"0x4CEBC1ED31E8925E","params":[["cutsceneName","string"]],"ret":"BOOL","doc":"This function is hard-coded to always return 1."},
{"name":"doesCutsceneHandleExist","native":"DOES_CUTSCENE_HANDLE_EXIST","hash":"0x4FCD976DA686580C","params":[["cutsceneHandle","int"]],"ret":"int","since":1290},
{"name":"registerEntityForCutscene","native":"REGISTER_ENTITY_FOR_CUTSCENE","hash":"0xE40C1C56DF95C2E8","params":[["cutscenePed","Ped"],["cutsceneEntName","string"],["p2","int"],["modelHash","Hash"],["p4","int"]]},
{"name":"getEntityIndexOfRegisteredEntity","native":"GET_ENTITY_INDEX_OF_REGISTERED_ENTITY","hash":"0xC0741A26499654CD","params":[["cutsceneEntName","string"],["modelHash","Hash"]],"ret":"Entity"},
{"name":"setVehicleModelPlayerWillExitScene","native":"SET_VEHICLE_MODEL_PLAYER_WILL_EXIT_SCENE","hash":"0x7F96F23FA9B73327","params":[["modelHash","Hash"]],"doc":"Full list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"setCutsceneTriggerArea","native":"SET_CUTSCENE_TRIGGER_AREA","hash":"0x9896CE4721BE84BA","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"doc":"Only used twice in R* scripts"},
{"name":"canSetEnterStateForRegisteredEntity","native":"CAN_SET_ENTER_STATE_FOR_REGISTERED_ENTITY","hash":"0x645D0B458D8E17B5","params":[["cutsceneEntName","string"],["modelHash","Hash"]],"ret":"BOOL","doc":"modelHash (p1) was always 0 in R* scripts"},
{"name":"canSetExitStateForRegisteredEntity","native":"CAN_SET_EXIT_STATE_FOR_REGISTERED_ENTITY","hash":"0x4C6A6451C79E4662","params":[["cutsceneEntName","string"],["modelHash","Hash"]],"ret":"BOOL"},
{"name":"canSetExitStateForCamera","native":"CAN_SET_EXIT_STATE_FOR_CAMERA","hash":"0xB2CBCD0930DFB420","params":[["p0","BOOL"]],"ret":"BOOL"},
{"name":"setPadCanShakeDuringCutscene","native":"SET_PAD_CAN_SHAKE_DURING_CUTSCENE","hash":"0xC61B86C9F61EB404","params":[["toggle","BOOL"]],"doc":"Toggles a value (bool) for cutscenes."},
{"name":"setCutsceneFadeValues","native":"SET_CUTSCENE_FADE_VALUES","hash":"0x8093F23ABACCC7D4","params":[["p0","BOOL"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"]]},
{"name":"setCutsceneMultiheadFade","native":"SET_CUTSCENE_MULTIHEAD_FADE","hash":"0x20746F7B1032A3C7","params":[["p0","BOOL"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"]]},
{"name":"setCutsceneMultiheadFadeManual","native":"SET_CUTSCENE_MULTIHEAD_FADE_MANUAL","hash":"0x06EE9048FD080382","params":[["p0","BOOL"]]},
{"name":"isMultiheadFadeUp","native":"IS_MULTIHEAD_FADE_UP","hash":"0xA0FE76168A189DDB","ret":"BOOL"},
{"name":"networkSetMocapCutsceneCanBeSkipped","native":"NETWORK_SET_MOCAP_CUTSCENE_CAN_BE_SKIPPED","hash":"0x2F137B508DE238F2","params":[["toggle","BOOL"]]},
{"name":"setCarGeneratorsCanUpdateDuringCutscene","native":"SET_CAR_GENERATORS_CAN_UPDATE_DURING_CUTSCENE","hash":"0xE36A98D8AB3D3C66","params":[["p0","BOOL"]]},
{"name":"canUseMobilePhoneDuringCutscene","native":"CAN_USE_MOBILE_PHONE_DURING_CUTSCENE","hash":"0x5EDEF0CF8C1DAB3C","ret":"BOOL"},
{"name":"setCutsceneCanBeSkipped","native":"SET_CUTSCENE_CAN_BE_SKIPPED","hash":"0x41FAA8FB2ECE8720","params":[["p0","BOOL"]]},
{"name":"setCanDisplayMinimapDuringCutsceneThisUpdate","native":"SET_CAN_DISPLAY_MINIMAP_DURING_CUTSCENE_THIS_UPDATE","hash":"0x2131046957F31B04","aka":["REGISTER_SYNCHRONISED_SCRIPT_SPEECH"]},
{"name":"setCutscenePedComponentVariation","native":"SET_CUTSCENE_PED_COMPONENT_VARIATION","hash":"0xBA01E7B6DEEFBBC9","params":[["cutsceneEntName","string"],["componentId","int"],["drawableId","int"],["textureId","int"],["modelHash","Hash"]],"doc":"Full list of ped components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedComponentVariations.json"},
{"name":"setCutscenePedComponentVariationFromPed","native":"SET_CUTSCENE_PED_COMPONENT_VARIATION_FROM_PED","hash":"0x2A56C06EBEF2B0D9","params":[["cutsceneEntName","string"],["ped","Ped"],["modelHash","Hash"]]},
{"name":"doesCutsceneEntityExist","native":"DOES_CUTSCENE_ENTITY_EXIST","hash":"0x499EF20C5DB25C59","params":[["cutsceneEntName","string"],["modelHash","Hash"]],"ret":"BOOL"},
{"name":"setCutscenePedPropVariation","native":"SET_CUTSCENE_PED_PROP_VARIATION","hash":"0x0546524ADE2E9723","params":[["cutsceneEntName","string"],["componentId","int"],["drawableId","int"],["textureId","int"],["modelHash","Hash"]],"doc":"Thanks R*! ;)\n\n```\nif ((l_161 == 0) || (l_161 == 2)) {\n    sub_2ea27(\"Trying to set Jimmy prop variation\");\n    setCutscenePedPropVariation(\"Jimmy_Boston\", 1, 0, 0, 0);\n}\n```\n\nFull list of ped components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedComponentVariations.json"},
{"name":"hasCutsceneCutThisFrame","native":"HAS_CUTSCENE_CUT_THIS_FRAME","hash":"0x708BDD8CD795B043","ret":"BOOL","aka":["_HAS_CUTSCENE_CUT_THIS_FRAME"],"doc":"Possibly `hasCutsceneCutThisFrame`, needs more research."}
]},
{"id":"DATAFILE","title":"Data files","doc":"Cloud data files and their dictionary and array structures.","natives":[
{"name":"datafileWatchRequestId","native":"DATAFILE_WATCH_REQUEST_ID","hash":"0xAD6875BBC0FC899C","params":[["requestId","int"]],"blocked":"memory","doc":"Adds the given requestID to the watch list."},
{"name":"datafileClearWatchList","native":"DATAFILE_CLEAR_WATCH_LIST","hash":"0x6CC86E78358D5119","blocked":"memory"},
{"name":"datafileIsValidRequestId","native":"DATAFILE_IS_VALID_REQUEST_ID","hash":"0xFCCAE5B92A830878","params":[["index","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileHasLoadedFileData","native":"DATAFILE_HAS_LOADED_FILE_DATA","hash":"0x15FF52B809DB2353","params":[["requestId","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileHasValidFileData","native":"DATAFILE_HAS_VALID_FILE_DATA","hash":"0xF8CC1EBE0B62E29F","params":[["requestId","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileSelectActiveFile","native":"DATAFILE_SELECT_ACTIVE_FILE","hash":"0x22DA66936E0FFF37","params":[["requestId","int"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileDeleteRequestedFile","native":"DATAFILE_DELETE_REQUESTED_FILE","hash":"0x8F5EA1C01D65A100","params":[["requestId","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"ugcCreateContent","native":"UGC_CREATE_CONTENT","hash":"0xC84527E235FCA219","params":[["data","Any*"],["dataCount","int"],["contentName","string"],["description","string"],["tagsCsv","string"],["contentTypeName","string"],["publish","BOOL"],["p7","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"ugcCreateMission","native":"UGC_CREATE_MISSION","hash":"0xA5EFC3E847D60507","params":[["contentName","string"],["description","string"],["tagsCsv","string"],["contentTypeName","string"],["publish","BOOL"],["p5","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"ugcUpdateContent","native":"UGC_UPDATE_CONTENT","hash":"0x648E7A5434AF7969","params":[["contentId","string"],["data","Any*"],["dataCount","int"],["contentName","string"],["description","string"],["tagsCsv","string"],["contentTypeName","string"],["p7","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"ugcUpdateMission","native":"UGC_UPDATE_MISSION","hash":"0x4645DE9980999E93","params":[["contentId","string"],["contentName","string"],["description","string"],["tagsCsv","string"],["contentTypeName","string"],["p5","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"ugcSetPlayerData","native":"UGC_SET_PLAYER_DATA","hash":"0x692D808C34A82143","params":[["contentId","string"],["rating","float"],["contentTypeName","string"],["p3","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileSelectUgcData","native":"DATAFILE_SELECT_UGC_DATA","hash":"0xA69AC4ADE82B57A4","params":[["p0","int"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileSelectUgcStats","native":"DATAFILE_SELECT_UGC_STATS","hash":"0x9CB0BFA7A9342C3D","params":[["p0","int"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileSelectUgcPlayerData","native":"DATAFILE_SELECT_UGC_PLAYER_DATA","hash":"0x52818819057F2B40","params":[["p0","int"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileSelectCreatorStats","native":"DATAFILE_SELECT_CREATOR_STATS","hash":"0x01095C95CD46B624","params":[["p0","int"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileLoadOfflineUgc","native":"DATAFILE_LOAD_OFFLINE_UGC","hash":"0xC5238C011AF405E4","params":[["filename","string"],["p1","Any"]],"ret":"BOOL","blocked":"memory","aka":["_LOAD_UGC_FILE"],"doc":"Loads a User-Generated Content (UGC) file. These files can be found in \"[GTA5]\\data\\ugc\" and \"[GTA5]\\common\\patch\\ugc\". They seem to follow a naming convention, most likely of \"[name]_[part].ugc\". See example below for usage.\n\nReturns whether or not the file was successfully loaded.\n\nExample:\n`datafileLoadOfflineUgc`(\"RockstarPlaylists\") // loads \"rockstarplaylists_00.ugc\""},
{"name":"datafileCreate","native":"DATAFILE_CREATE","hash":"0xD27058A1CA2B13EE","params":[["p0","int"]],"blocked":"memory"},
{"name":"datafileDelete","native":"DATAFILE_DELETE","hash":"0x9AB9C1CFC8862DFB","params":[["p0","int"]],"blocked":"memory"},
{"name":"datafileStoreMissionHeader","native":"DATAFILE_STORE_MISSION_HEADER","hash":"0x2ED61456317B8178","params":[["p0","int"]],"blocked":"memory"},
{"name":"datafileFlushMissionHeader","native":"DATAFILE_FLUSH_MISSION_HEADER","hash":"0xC55854C7D7274882","blocked":"memory"},
{"name":"datafileGetFileDict","native":"DATAFILE_GET_FILE_DICT","hash":"0x906B778CA1DC72B6","params":[["p0","int"]],"blocked":"memory"},
{"name":"datafileStartSaveToCloud","native":"DATAFILE_START_SAVE_TO_CLOUD","hash":"0x83BCCE3224735F05","params":[["filename","string"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"datafileUpdateSaveToCloud","native":"DATAFILE_UPDATE_SAVE_TO_CLOUD","hash":"0x4DFDD9EB705F8140","ret":"BOOL","outs":[["p0","BOOL",0]],"blocked":"memory"},
{"name":"datafileIsSavePending","native":"DATAFILE_IS_SAVE_PENDING","hash":"0xBEDB96A7584AA8CF","ret":"BOOL","blocked":"memory"},
{"name":"datafileLoadOfflineUgcForAdditionalDataFile","native":"DATAFILE_LOAD_OFFLINE_UGC_FOR_ADDITIONAL_DATA_FILE","hash":"0xA6EEF01087181EDD","params":[["p0","Any"],["p1","Any"]],"ret":"BOOL","blocked":"memory","since":2189},
{"name":"datafileDeleteForAdditionalDataFile","native":"DATAFILE_DELETE_FOR_ADDITIONAL_DATA_FILE","hash":"0x6AD0BD5E087866CB","params":[["p0","Any"]],"blocked":"memory","since":2189},
{"name":"datafileGetFileDictForAdditionalDataFile","native":"DATAFILE_GET_FILE_DICT_FOR_ADDITIONAL_DATA_FILE","hash":"0xDBF860CF1DB8E599","params":[["p0","Any"]],"blocked":"memory","since":2189},
{"name":"datadictSetBool","native":"DATADICT_SET_BOOL","hash":"0x35124302A556A325","params":[["objectData","Any*"],["key","string"],["value","BOOL"]],"blocked":"memory","aka":["_OBJECT_VALUE_ADD_BOOLEAN"]},
{"name":"datadictSetInt","native":"DATADICT_SET_INT","hash":"0xE7E035450A7948D5","params":[["objectData","Any*"],["key","string"],["value","int"]],"blocked":"memory","aka":["_OBJECT_VALUE_ADD_INTEGER"]},
{"name":"datadictSetFloat","native":"DATADICT_SET_FLOAT","hash":"0xC27E1CC2D795105E","params":[["objectData","Any*"],["key","string"],["value","float"]],"blocked":"memory","aka":["_OBJECT_VALUE_ADD_FLOAT"]},
{"name":"datadictSetString","native":"DATADICT_SET_STRING","hash":"0x8FF3847DADD8E30C","params":[["objectData","Any*"],["key","string"],["value","string"]],"blocked":"memory","aka":["_OBJECT_VALUE_ADD_STRING"]},
{"name":"datadictSetVector","native":"DATADICT_SET_VECTOR","hash":"0x4CD49B76338C7DEE","params":[["objectData","Any*"],["key","string"],["valueX","float"],["valueY","float"],["valueZ","float"]],"blocked":"memory","aka":["_OBJECT_VALUE_ADD_VECTOR3"]},
{"name":"datadictCreateDict","native":"DATADICT_CREATE_DICT","hash":"0xA358F56F10732EE1","params":[["objectData","Any*"],["key","string"]],"blocked":"memory","aka":["_OBJECT_VALUE_ADD_OBJECT"]},
{"name":"datadictCreateArray","native":"DATADICT_CREATE_ARRAY","hash":"0x5B11728527CA6E5F","params":[["objectData","Any*"],["key","string"]],"blocked":"memory","aka":["_OBJECT_VALUE_ADD_ARRAY"]},
{"name":"datadictGetBool","native":"DATADICT_GET_BOOL","hash":"0x1186940ED72FFEEC","params":[["objectData","Any*"],["key","string"]],"ret":"BOOL","blocked":"memory","aka":["_OBJECT_VALUE_GET_BOOLEAN"]},
{"name":"datadictGetInt","native":"DATADICT_GET_INT","hash":"0x78F06F6B1FB5A80C","params":[["objectData","Any*"],["key","string"]],"ret":"int","blocked":"memory","aka":["_OBJECT_VALUE_GET_INTEGER"]},
{"name":"datadictGetFloat","native":"DATADICT_GET_FLOAT","hash":"0x06610343E73B9727","params":[["objectData","Any*"],["key","string"]],"ret":"float","blocked":"memory","aka":["_OBJECT_VALUE_GET_FLOAT"]},
{"name":"datadictGetString","native":"DATADICT_GET_STRING","hash":"0x3D2FD9E763B24472","params":[["objectData","Any*"],["key","string"]],"ret":"string","blocked":"memory","aka":["_OBJECT_VALUE_GET_STRING"]},
{"name":"datadictGetVector","native":"DATADICT_GET_VECTOR","hash":"0x46CD3CB66E0825CC","params":[["objectData","Any*"],["key","string"]],"ret":"Vector3","blocked":"memory","aka":["_OBJECT_VALUE_GET_VECTOR3"]},
{"name":"datadictGetDict","native":"DATADICT_GET_DICT","hash":"0xB6B9DDC412FCEEE2","params":[["objectData","Any*"],["key","string"]],"blocked":"memory","aka":["_OBJECT_VALUE_GET_OBJECT"]},
{"name":"datadictGetArray","native":"DATADICT_GET_ARRAY","hash":"0x7A983AA9DA2659ED","params":[["objectData","Any*"],["key","string"]],"blocked":"memory","aka":["_OBJECT_VALUE_GET_ARRAY"]},
{"name":"datadictGetType","native":"DATADICT_GET_TYPE","hash":"0x031C55ED33227371","params":[["objectData","Any*"],["key","string"]],"ret":"int","blocked":"memory","aka":["_OBJECT_VALUE_GET_TYPE"],"doc":"Types:\n1 = Boolean\n2 = Integer\n3 = Float\n4 = String\n5 = Vector3\n6 = Object\n7 = Array"},
{"name":"dataarrayAddBool","native":"DATAARRAY_ADD_BOOL","hash":"0xF8B0F5A43E928C76","params":[["arrayData","Any*"],["value","BOOL"]],"blocked":"memory","aka":["_ARRAY_VALUE_ADD_BOOLEAN"]},
{"name":"dataarrayAddInt","native":"DATAARRAY_ADD_INT","hash":"0xCABDB751D86FE93B","params":[["arrayData","Any*"],["value","int"]],"blocked":"memory","aka":["_ARRAY_VALUE_ADD_INTEGER"]},
{"name":"dataarrayAddFloat","native":"DATAARRAY_ADD_FLOAT","hash":"0x57A995FD75D37F56","params":[["arrayData","Any*"],["value","float"]],"blocked":"memory","aka":["_ARRAY_VALUE_ADD_FLOAT"]},
{"name":"dataarrayAddString","native":"DATAARRAY_ADD_STRING","hash":"0x2F0661C155AEEEAA","params":[["arrayData","Any*"],["value","string"]],"blocked":"memory","aka":["_ARRAY_VALUE_ADD_STRING"]},
{"name":"dataarrayAddVector","native":"DATAARRAY_ADD_VECTOR","hash":"0x407F8D034F70F0C2","params":[["arrayData","Any*"],["valueX","float"],["valueY","float"],["valueZ","float"]],"blocked":"memory","aka":["_ARRAY_VALUE_ADD_VECTOR3"]},
{"name":"dataarrayAddDict","native":"DATAARRAY_ADD_DICT","hash":"0x6889498B3E19C797","params":[["arrayData","Any*"]],"blocked":"memory","aka":["_ARRAY_VALUE_ADD_OBJECT"]},
{"name":"dataarrayGetBool","native":"DATAARRAY_GET_BOOL","hash":"0x50C1B2874E50C114","params":[["arrayData","Any*"],["arrayIndex","int"]],"ret":"BOOL","blocked":"memory","aka":["_ARRAY_VALUE_GET_BOOLEAN"]},
{"name":"dataarrayGetInt","native":"DATAARRAY_GET_INT","hash":"0x3E5AE19425CD74BE","params":[["arrayData","Any*"],["arrayIndex","int"]],"ret":"int","blocked":"memory","aka":["_ARRAY_VALUE_GET_INTEGER"]},
{"name":"dataarrayGetFloat","native":"DATAARRAY_GET_FLOAT","hash":"0xC0C527B525D7CFB5","params":[["arrayData","Any*"],["arrayIndex","int"]],"ret":"float","blocked":"memory","aka":["_ARRAY_VALUE_GET_FLOAT"]},
{"name":"dataarrayGetString","native":"DATAARRAY_GET_STRING","hash":"0xD3F2FFEB8D836F52","params":[["arrayData","Any*"],["arrayIndex","int"]],"ret":"string","blocked":"memory","aka":["_ARRAY_VALUE_GET_STRING"]},
{"name":"dataarrayGetVector","native":"DATAARRAY_GET_VECTOR","hash":"0x8D2064E5B64A628A","params":[["arrayData","Any*"],["arrayIndex","int"]],"ret":"Vector3","blocked":"memory","aka":["_ARRAY_VALUE_GET_VECTOR3"]},
{"name":"dataarrayGetDict","native":"DATAARRAY_GET_DICT","hash":"0x8B5FADCC4E3A145F","params":[["arrayData","Any*"],["arrayIndex","int"]],"blocked":"memory","aka":["_ARRAY_VALUE_GET_OBJECT"]},
{"name":"dataarrayGetCount","native":"DATAARRAY_GET_COUNT","hash":"0x065DB281590CEA2D","params":[["arrayData","Any*"]],"ret":"int","blocked":"memory","aka":["_ARRAY_VALUE_GET_SIZE"]},
{"name":"dataarrayGetType","native":"DATAARRAY_GET_TYPE","hash":"0x3A0014ADB172A3C5","params":[["arrayData","Any*"],["arrayIndex","int"]],"ret":"int","blocked":"memory","aka":["_ARRAY_VALUE_GET_TYPE"],"doc":"Types:\n1 = Boolean\n2 = Integer\n3 = Float\n4 = String\n5 = Vector3\n6 = Object\n7 = Array"}
]},
{"id":"DECORATOR","title":"Decorators","doc":"Typed key/value decorators attached to entities.","natives":[
{"name":"decorSetTime","native":"DECOR_SET_TIME","hash":"0x95AED7B8E39ECAA4","params":[["entity","Entity"],["propertyName","string"],["timestamp","int"]],"ret":"BOOL"},
{"name":"decorSetBool","native":"DECOR_SET_BOOL","hash":"0x6B1E8E2ED1335B71","params":[["entity","Entity"],["propertyName","string"],["value","BOOL"]],"ret":"BOOL","doc":"This function sets metadata of type bool to specified entity."},
{"name":"decorSetFloat","native":"DECOR_SET_FLOAT","hash":"0x211AB1DD8D0F363A","params":[["entity","Entity"],["propertyName","string"],["value","float"]],"ret":"BOOL","aka":["_DECOR_SET_FLOAT"]},
{"name":"decorSetInt","native":"DECOR_SET_INT","hash":"0x0CE3AA5E1CA19E10","params":[["entity","Entity"],["propertyName","string"],["value","int"]],"ret":"BOOL","doc":"Sets property to int."},
{"name":"decorGetBool","native":"DECOR_GET_BOOL","hash":"0xDACE671663F2F5DB","params":[["entity","Entity"],["propertyName","string"]],"ret":"BOOL"},
{"name":"decorGetFloat","native":"DECOR_GET_FLOAT","hash":"0x6524A2F114706F43","params":[["entity","Entity"],["propertyName","string"]],"ret":"float","aka":["_DECOR_GET_FLOAT"]},
{"name":"decorGetInt","native":"DECOR_GET_INT","hash":"0xA06C969B02A97298","params":[["entity","Entity"],["propertyName","string"]],"ret":"int"},
{"name":"decorExistOn","native":"DECOR_EXIST_ON","hash":"0x05661B80A8C9165F","params":[["entity","Entity"],["propertyName","string"]],"ret":"BOOL","doc":"Returns whether or not the specified property is set for the entity."},
{"name":"decorRemove","native":"DECOR_REMOVE","hash":"0x00EE9F297C738720","params":[["entity","Entity"],["propertyName","string"]],"ret":"BOOL"},
{"name":"decorRegister","native":"DECOR_REGISTER","hash":"0x9FD90732F56403CE","params":[["propertyName","string"],["type","int"]]},
{"name":"decorIsRegisteredAsType","native":"DECOR_IS_REGISTERED_AS_TYPE","hash":"0x4F14F9F870D6FBC8","params":[["propertyName","string"],["type","int","see `decorRegister`"]],"ret":"BOOL"},
{"name":"decorRegisterLock","native":"DECOR_REGISTER_LOCK","hash":"0xA9D14EEA259F9248","doc":"Called after all decorator type initializations."}
]},
{"id":"DLC","title":"DLC","doc":"Presence and state of downloadable content.","natives":[
{"name":"areAnyCcsPending","native":"ARE_ANY_CCS_PENDING","hash":"0x241FCA5B1AA14F75","ret":"BOOL"},
{"name":"isDlcPresent","native":"IS_DLC_PRESENT","hash":"0x812595A0644CE1DE","params":[["dlcHash","Hash"]],"ret":"BOOL","doc":"Returns true if the given DLC pack is present."},
{"name":"dlcCheckCloudDataCorrect","native":"DLC_CHECK_CLOUD_DATA_CORRECT","hash":"0xF2E07819EF1A5289","ret":"BOOL","doc":"This function is hard-coded to always return 1."},
{"name":"getExtracontentCloudResult","native":"GET_EXTRACONTENT_CLOUD_RESULT","hash":"0x9489659372A81585","ret":"int","doc":"This function is hard-coded to always return 0."},
{"name":"dlcCheckCompatPackConfiguration","native":"DLC_CHECK_COMPAT_PACK_CONFIGURATION","hash":"0xA213B11DFF526300","ret":"BOOL","doc":"This function is hard-coded to always return 1."},
{"name":"getEverHadBadPackOrder","native":"GET_EVER_HAD_BAD_PACK_ORDER","hash":"0x8D30F648014A92B5","ret":"BOOL","aka":["_GET_EXTRA_CONTENT_PACK_HAS_BEEN_INSTALLED"]},
{"name":"getIsLoadingScreenActive","native":"GET_IS_LOADING_SCREEN_ACTIVE","hash":"0x10D0A8F259E93EC9","ret":"BOOL"},
{"name":"getIsInitialLoadingScreenActive","native":"GET_IS_INITIAL_LOADING_SCREEN_ACTIVE","hash":"0xC4637A6D03C24CC3","ret":"BOOL","since":1734},
{"name":"hasCloudRequestsFinished","native":"HAS_CLOUD_REQUESTS_FINISHED","hash":"0x46E2B844905BC5F0","params":[["unused","int"]],"ret":"BOOL","outs":[["p0","BOOL",0]],"aka":["_NULLIFY"],"doc":"Sets the value of the specified variable to 0.\nAlways returns true."},
{"name":"onEnterSp","native":"ON_ENTER_SP","hash":"0xD7C10C4A637992C9","aka":["_LOAD_SP_DLC_MAPS"],"doc":"Unloads GROUP_MAP (GTAO/MP) DLC data and loads GROUP_MAP_SP DLC. Neither are loaded by default, `onEnterMp` is a cognate to this function and loads MP DLC (and unloads SP DLC by extension).\nWorks in singleplayer."},
{"name":"onEnterMp","native":"ON_ENTER_MP","hash":"0x0888C3502DBBEEF5","aka":["_LOAD_MP_DLC_MAPS"],"doc":"This loads the GTA:O dlc map parts (high end garages, apartments).\nWorks in singleplayer.\nIn order to use GTA:O heist IPL's you have to call this native with the following params: `setInstancePriorityMode`(1);"},
{"name":"areUserEntitlementsUpToDate","native":"ARE_USER_ENTITLEMENTS_UP_TO_DATE","ret":"BOOL","na":1},
{"name":"tryGetUserEntitlements","native":"TRY_GET_USER_ENTITLEMENTS","params":[["entitlements","Any*"]],"ret":"BOOL","na":1},
{"name":"declareInMultiplayerThisFrame","native":"DECLARE_IN_MULTIPLAYER_THIS_FRAME","na":1}
]},
{"id":"ENTITY","title":"Entity","doc":"Anything placed in the world: position, rotation, health, attachment, collision, visibility.","natives":[
{"name":"doesEntityExist","native":"DOES_ENTITY_EXIST","hash":"0x7239B21A38F536BA","params":[["entity","Entity"]],"ret":"BOOL","doc":"Checks whether an entity exists in the game world."},
{"name":"doesEntityBelongToThisScript","native":"DOES_ENTITY_BELONG_TO_THIS_SCRIPT","hash":"0xDDE6DF5AE89981D2","params":[["entity","Entity"],["p1","BOOL"]],"ret":"BOOL"},
{"name":"doesEntityHaveDrawable","native":"DOES_ENTITY_HAVE_DRAWABLE","hash":"0x060D6E96F8B8E48D","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"doesEntityHavePhysics","native":"DOES_ENTITY_HAVE_PHYSICS","hash":"0xDA95EA3317CC5064","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"doesEntityHaveSkeleton","native":"DOES_ENTITY_HAVE_SKELETON","hash":"0x764EB96874EFFDC1","params":[["entity","Entity"]],"ret":"BOOL","since":2699,"aka":["_DOES_ENTITY_HAVE_SKELETON_DATA"]},
{"name":"doesEntityHaveAnimDirector","native":"DOES_ENTITY_HAVE_ANIM_DIRECTOR","hash":"0x2158E81A6AF65EA9","params":[["entity","Entity"]],"ret":"BOOL","since":2699,"aka":["_DOES_ENTITY_HAVE_ANIM_DIRECTOR"]},
{"name":"hasEntityAnimFinished","native":"HAS_ENTITY_ANIM_FINISHED","hash":"0x20B711662962B472","params":[["entity","Entity"],["animDict","string"],["animName","string"],["p3","int"]],"ret":"BOOL","doc":"P3 is always 3 as far as i cant tell\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"hasEntityBeenDamagedByAnyObject","native":"HAS_ENTITY_BEEN_DAMAGED_BY_ANY_OBJECT","hash":"0x95EB9964FF5C5C65","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"hasEntityBeenDamagedByAnyPed","native":"HAS_ENTITY_BEEN_DAMAGED_BY_ANY_PED","hash":"0x605F5A140F202491","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"hasEntityBeenDamagedByAnyVehicle","native":"HAS_ENTITY_BEEN_DAMAGED_BY_ANY_VEHICLE","hash":"0xDFD5033FDBA0A9C8","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"hasEntityBeenDamagedByEntity","native":"HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY","hash":"0xC86D67D52A707CF8","params":[["entity1","Entity"],["entity2","Entity"],["p2","BOOL"]],"ret":"BOOL","doc":"```\nEntity 1 = Victim\nEntity 2 = Attacker\n```\n\np2 seems to always be 1"},
{"name":"hasEntityClearLosToEntity","native":"HAS_ENTITY_CLEAR_LOS_TO_ENTITY","hash":"0xFCDFF7B72D23A1AC","params":[["entity1","Entity"],["entity2","Entity"],["traceType","int"]],"ret":"BOOL","doc":"traceType is always 17 in the scripts.\n\nThere is other codes used for traceType:\n19 - in jewelry_prep1a\n126 - in am_hunt_the_beast\n256 & 287 - in fm_mission_controller"},
{"name":"hasEntityClearLosToEntityAdjustForCover","native":"HAS_ENTITY_CLEAR_LOS_TO_ENTITY_ADJUST_FOR_COVER","hash":"0x394BDE2A7BBA031E","params":[["entity1","Entity"],["entity2","Entity"],["traceType","int"]],"ret":"BOOL","since":1868,"aka":["_HAS_ENTITY_CLEAR_LOS_TO_ENTITY_2"]},
{"name":"hasEntityClearLosToEntityInFront","native":"HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT","hash":"0x0267D00AF114F17A","params":[["entity1","Entity"],["entity2","Entity"]],"ret":"BOOL","doc":"Has the entity1 got a clear line of sight to the other entity2 from the direction entity1 is facing.\nThis is one of the most CPU demanding BOOL natives in the game; avoid calling this in things like nested for-loops"},
{"name":"hasEntityCollidedWithAnything","native":"HAS_ENTITY_COLLIDED_WITH_ANYTHING","hash":"0x8BAD02F0368D9E14","params":[["entity","Entity"]],"ret":"BOOL","doc":"Called on tick.\nTested with vehicles, returns true whenever the vehicle is touching any entity.\n\nNote: for vehicles, the wheels can touch the ground and it will still return false, but if the body of the vehicle touches the ground, it will return true."},
{"name":"getLastEntityHitByEntity","native":"_GET_LAST_ENTITY_HIT_BY_ENTITY","hash":"0xA75EE4F689B85391","params":[["entity","Entity"]],"ret":"Entity","since":2802},
{"name":"getLastMaterialHitByEntity","native":"GET_LAST_MATERIAL_HIT_BY_ENTITY","hash":"0x5C3D0A935F535C4C","params":[["entity","Entity"]],"ret":"Hash"},
{"name":"getCollisionNormalOfLastHitForEntity","native":"GET_COLLISION_NORMAL_OF_LAST_HIT_FOR_ENTITY","hash":"0xE465D4AB7CA6AE72","params":[["entity","Entity"]],"ret":"Vector3"},
{"name":"forceEntityAiAndAnimationUpdate","native":"FORCE_ENTITY_AI_AND_ANIMATION_UPDATE","hash":"0x40FDEDB72F8293B2","params":[["entity","Entity"]],"doc":"Based on carmod_shop script decompile this takes a vehicle parameter. It is called when repair is done on initial enter."},
{"name":"getEntityAnimCurrentTime","native":"GET_ENTITY_ANIM_CURRENT_TIME","hash":"0x346D81500D088F42","params":[["entity","Entity"],["animDict","string"],["animName","string"]],"ret":"float","doc":"Returns a float value representing animation's current playtime with respect to its total playtime. This value increasing in a range from [0 to 1] and wrap back to 0 when it reach 1.\n\nExample:\n0.000000 - mark the starting of animation.\n0.500000 - mark the midpoint of the animation.\n1.000000 - mark the end of animation.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"getEntityAnimTotalTime","native":"GET_ENTITY_ANIM_TOTAL_TIME","hash":"0x50BD2730B191E360","params":[["entity","Entity"],["animDict","string"],["animName","string"]],"ret":"float","doc":"Returns a float value representing animation's total playtime in milliseconds.\n\nExample:\n`getEntityAnimTotalTime`(`playerId`(),\"amb@world_human_yoga@female@base\",\"base_b\")\nreturn 20800.000000\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"getAnimDuration","native":"GET_ANIM_DURATION","hash":"0xFEDDF04D62B8D790","params":[["animDict","string"],["animName","string"]],"ret":"float","aka":["_GET_ANIM_DURATION"],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"getEntityAttachedTo","native":"GET_ENTITY_ATTACHED_TO","hash":"0x48C2BED9180FE123","params":[["entity","Entity"]],"ret":"Entity"},
{"name":"getEntityCoords","native":"GET_ENTITY_COORDS","hash":"0x3FEF770D40960D5A","params":[["entity","Entity"],["alive","BOOL"]],"ret":"Vector3","doc":"Gets the current coordinates for a specified entity.\n`entity` = The entity to get the coordinates from.\n`alive` = Unused by the game, potentially used by debug builds of GTA in order to assert whether or not an entity was alive."},
{"name":"getEntityForwardVector","native":"GET_ENTITY_FORWARD_VECTOR","hash":"0x0A794A5A57F8DF91","params":[["entity","Entity"]],"ret":"Vector3","doc":"Gets the entity's forward vector."},
{"name":"getEntityForwardX","native":"GET_ENTITY_FORWARD_X","hash":"0x8BB4EF4214E0E6D5","params":[["entity","Entity"]],"ret":"float","doc":"Gets the X-component of the entity's forward vector."},
{"name":"getEntityForwardY","native":"GET_ENTITY_FORWARD_Y","hash":"0x866A4A5FAE349510","params":[["entity","Entity"]],"ret":"float","doc":"Gets the Y-component of the entity's forward vector."},
{"name":"getEntityHeading","native":"GET_ENTITY_HEADING","hash":"0xE83D4F9BA2A38914","params":[["entity","Entity"]],"ret":"float","doc":"Returns the heading of the entity in degrees. Also know as the \"Yaw\" of an entity."},
{"name":"getEntityHeadingFromEulers","native":"GET_ENTITY_HEADING_FROM_EULERS","hash":"0x846BF6291198A71E","params":[["entity","Entity"]],"ret":"float","aka":["_GET_ENTITY_PHYSICS_HEADING"],"doc":"Gets the heading of the entity physics in degrees, which tends to be more accurate than just \"`getEntityHeading`\". This can be clearly seen while, for example, ragdolling a ped/player.\n\nNOTE: The name and description of this native are based on independent research. If you find this native to be more suitable under a different name and/or described differently, please feel free to do so."},
{"name":"getEntityHealth","native":"GET_ENTITY_HEALTH","hash":"0xEEF059FAD016D209","params":[["entity","Entity"]],"ret":"int","doc":"Returns an integer value of entity's current health.\n\nExample of range for ped:\n- Player [0 to 200]\n- Ped [100 to 200]\n- Vehicle [0 to 1000]\n- Object [0 to 1000]\n\nHealth is actually a float value but this native casts it to int."},
{"name":"getEntityMaxHealth","native":"GET_ENTITY_MAX_HEALTH","hash":"0x15D757606D170C3C","params":[["entity","Entity"]],"ret":"int","doc":"Return an integer value of entity's maximum health.\n\nExample:\n- Player = 200\n- Ped = 150"},
{"name":"setEntityMaxHealth","native":"SET_ENTITY_MAX_HEALTH","hash":"0x166E7CF68597D8B5","params":[["entity","Entity"],["value","int"]],"doc":"For instance: `setEntityMaxHealth`(`playerPedId`(), 200); // director_mode.c4: 67849"},
{"name":"getEntityHeight","native":"GET_ENTITY_HEIGHT","hash":"0x5A504562485944DD","params":[["entity","Entity"],["X","float"],["Y","float"],["Z","float"],["atTop","BOOL"],["inWorldCoords","BOOL"]],"ret":"float"},
{"name":"getEntityHeightAboveGround","native":"GET_ENTITY_HEIGHT_ABOVE_GROUND","hash":"0x1DD55701034110E5","params":[["entity","Entity"]],"ret":"float","doc":"Return height (z-dimension) above ground.\nExample: The pilot in a titan plane is 1.844176 above ground."},
{"name":"getEntityMatrix","native":"GET_ENTITY_MATRIX","hash":"0xECB2FC7235A7D137","params":[["entity","Entity"]],"outs":[["forwardVector","Vector3",1],["rightVector","Vector3",2],["upVector","Vector3",3],["position","Vector3",4]]},
{"name":"getEntityModel","native":"GET_ENTITY_MODEL","hash":"0x9F47B058362C84B5","params":[["entity","Entity"]],"ret":"Hash","notes":[{"kind":"danger","title":"Can crash the game","md":"This native reads the entity's archetype without checking that it exists. On an entity whose archetype is missing the game goes down on the spot, and `doesEntityExist` does **not** protect you. Do not call it on a handle that came back from a shape test or from `lsmp.raycast`. The type natives (`isEntityAPed`, `isEntityAVehicle`, `isEntityAnObject`) are safe. See [Coverage](/resources/api#natives/natives-coverage)."}],"doc":"Returns the model hash from the entity"},
{"name":"getOffsetFromEntityGivenWorldCoords","native":"GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS","hash":"0x2274BC1C4885E333","params":[["entity","Entity"],["posX","float"],["posY","float"],["posZ","float"]],"ret":"Vector3","doc":"Converts world coords (posX - Z) to coords relative to the entity\n\nExample:\nposX is given as 50\nentity's x coord is 40\nthe returned x coord will then be 10 or -10, not sure haven't used this in a while (think it is 10 though)."},
{"name":"getOffsetFromEntityInWorldCoords","native":"GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS","hash":"0x1899F328B0E12848","params":[["entity","Entity"],["offsetX","float"],["offsetY","float"],["offsetZ","float"]],"ret":"Vector3","doc":"Offset values are relative to the entity.\n\nx = left/right\ny = forward/backward\nz = up/down"},
{"name":"getEntityPitch","native":"GET_ENTITY_PITCH","hash":"0xD45DC2893621E1FE","params":[["entity","Entity"]],"ret":"float"},
{"name":"getEntityQuaternion","native":"GET_ENTITY_QUATERNION","hash":"0x7B3703D2D32DFA18","params":[["entity","Entity"]],"outs":[["x","float",1],["y","float",2],["z","float",3],["w","float",4]],"doc":"w is the correct parameter name!"},
{"name":"getEntityRoll","native":"GET_ENTITY_ROLL","hash":"0x831E0242595560DF","params":[["entity","Entity"]],"ret":"float","doc":"Displays the current ROLL axis of the entity [-180.0000/180.0000+]\n(Sideways Roll) such as a vehicle tipped on its side"},
{"name":"getEntityRotation","native":"GET_ENTITY_ROTATION","hash":"0xAFBD61CC738D9EB9","params":[["entity","Entity"],["rotationOrder","int"]],"ret":"Vector3","doc":"rotationOrder is the order yaw, pitch and roll is applied. Usually 2. Returns a vector where the Z coordinate is the yaw.\n\nrotationOrder refers to the order yaw pitch roll is applied; value ranges from 0 to 5 and is usually *2* in scripts.\nWhat you use for rotationOrder when getting must be the same as rotationOrder when setting the rotation.\n\nWhat it returns is the yaw on the z part of the vector, which makes sense considering R* considers z as vertical. Here's a picture for those of you who don't understand pitch, yaw, and roll: https://web.archive.org/web/20160825124935/www.allstar.fiu.edu/aero/images/pic5-1.gif\n\nRotation Orders:\n0: ZYX - Rotate around the z-axis, then the y-axis and finally the x-axis.\n1: YZX - Rotate around the y-axis, then the z-axis and finally the x-axis.\n2: ZXY - Rotate around the z-axis, then the x-axis and finally the y-axis.\n3: XZY - Rotate around the x-axis, then the z-axis and finally the y-axis.\n4: YXZ - Rotate around the y-axis, then the x-axis and finally the z-axis.\n5: XYZ - Rotate around the x-axis, then the y-axis and finally the z-axis."},
{"name":"getEntityRotationVelocity","native":"GET_ENTITY_ROTATION_VELOCITY","hash":"0x213B91045D09B983","params":[["entity","Entity"]],"ret":"Vector3"},
{"name":"getEntityScript","native":"GET_ENTITY_SCRIPT","hash":"0xA6E9C38DB51D7748","params":[["entity","Entity"]],"ret":"string","outs":[["script","ScrHandle",1]],"doc":"Returns the name of the script that owns/created the entity or nullptr. Second parameter is unused, can just be a nullptr."},
{"name":"getEntitySpeed","native":"GET_ENTITY_SPEED","hash":"0xD5037BA82E12416F","params":[["entity","Entity"]],"ret":"float","doc":"result is in meters per second\n\n---\nSo would the conversion to mph and km/h, be along the lines of this.\n\n```\nfloat speed = getEntitySpeed(veh);\nfloat kmh = (speed * 3.6);\nfloat mph = (speed * 2.236936);\n```"},
{"name":"getEntitySpeedVector","native":"GET_ENTITY_SPEED_VECTOR","hash":"0x9A8D700A51CB7B0D","params":[["entity","Entity"],["relative","BOOL"]],"ret":"Vector3","doc":"Relative can be used for getting speed relative to the frame of the vehicle, to determine for example, if you are going in reverse (-y speed) or not (+y speed)."},
{"name":"getEntityUprightValue","native":"GET_ENTITY_UPRIGHT_VALUE","hash":"0x95EED5A694951F9F","params":[["entity","Entity"]],"ret":"float"},
{"name":"getEntityVelocity","native":"GET_ENTITY_VELOCITY","hash":"0x4805D2B1D8CF94A9","params":[["entity","Entity"]],"ret":"Vector3"},
{"name":"getObjectIndexFromEntityIndex","native":"GET_OBJECT_INDEX_FROM_ENTITY_INDEX","hash":"0xD7E3B9735C0F89D6","params":[["entity","Entity"]],"ret":"Object","doc":"Simply returns whatever is passed to it (Regardless of whether the handle is valid or not)."},
{"name":"getPedIndexFromEntityIndex","native":"GET_PED_INDEX_FROM_ENTITY_INDEX","hash":"0x04A2A40C73395041","params":[["entity","Entity"]],"ret":"Ped","doc":"Simply returns whatever is passed to it (Regardless of whether the handle is valid or not)."},
{"name":"getVehicleIndexFromEntityIndex","native":"GET_VEHICLE_INDEX_FROM_ENTITY_INDEX","hash":"0x4B53F92932ADFAC0","params":[["entity","Entity"]],"ret":"Vehicle","doc":"Simply returns whatever is passed to it (Regardless of whether the handle is valid or not)."},
{"name":"getWorldPositionOfEntityBone","native":"GET_WORLD_POSITION_OF_ENTITY_BONE","hash":"0x44A8FCB8ED227738","params":[["entity","Entity"],["boneIndex","int"]],"ret":"Vector3","doc":"Returns the coordinates of an entity-bone."},
{"name":"getNearestPlayerToEntity","native":"GET_NEAREST_PLAYER_TO_ENTITY","hash":"0x7196842CB375CDB3","params":[["entity","Entity"]],"ret":"Player"},
{"name":"getNearestPlayerToEntityOnTeam","native":"GET_NEAREST_PLAYER_TO_ENTITY_ON_TEAM","hash":"0x4DC9A62F844D9337","params":[["entity","Entity"],["team","int"]],"ret":"Player"},
{"name":"getNearestParticipantToEntity","native":"GET_NEAREST_PARTICIPANT_TO_ENTITY","hash":"0xFFBD7052D65BE0FF","params":[["entity","Entity"]],"ret":"int","na":1,"since":2944},
{"name":"getEntityType","native":"GET_ENTITY_TYPE","hash":"0x8ACD366038D14505","params":[["entity","Entity"]],"ret":"int","doc":"Returns:\n0 = no entity\n1 = ped\n2 = vehicle\n3 = object"},
{"name":"getEntityPopulationType","native":"GET_ENTITY_POPULATION_TYPE","hash":"0xF6F5161F4534EDFF","params":[["entity","Entity"]],"ret":"int"},
{"name":"isAnEntity","native":"IS_AN_ENTITY","hash":"0x731EC8A916BD11A1","params":[["handle","ScrHandle"]],"ret":"BOOL"},
{"name":"isEntityAPed","native":"IS_ENTITY_A_PED","hash":"0x524AC5ECEA15343E","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityAMissionEntity","native":"IS_ENTITY_A_MISSION_ENTITY","hash":"0x0A7B270912999B3C","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityAVehicle","native":"IS_ENTITY_A_VEHICLE","hash":"0x6AC7003FA6E5575E","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityAnObject","native":"IS_ENTITY_AN_OBJECT","hash":"0x8D68C8FD0FACA94E","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityAtCoord","native":"IS_ENTITY_AT_COORD","hash":"0x20B60995556D004F","params":[["entity","Entity"],["xPos","float"],["yPos","float"],["zPos","float"],["xSize","float"],["ySize","float"],["zSize","float"],["p7","BOOL"],["p8","BOOL"],["p9","int"]],"ret":"BOOL","doc":"Checks if entity is within x/y/zSize distance of x/y/z.\n\nLast three are unknown ints, almost always p7 = 0, p8 = 1, p9 = 0"},
{"name":"isEntityAtEntity","native":"IS_ENTITY_AT_ENTITY","hash":"0x751B70C3D034E187","params":[["entity1","Entity"],["entity2","Entity"],["xSize","float"],["ySize","float"],["zSize","float"],["p5","BOOL"],["p6","BOOL"],["p7","int"]],"ret":"BOOL","doc":"Checks if entity1 is within the box defined by x/y/zSize of entity2.\n\nLast three parameters are almost alwasy p5 = 0, p6 = 1, p7 = 0"},
{"name":"isEntityAttached","native":"IS_ENTITY_ATTACHED","hash":"0xB346476EF1A64897","params":[["entity","Entity"]],"ret":"BOOL","doc":"Whether the entity is attached to any other entity."},
{"name":"isEntityAttachedToAnyObject","native":"IS_ENTITY_ATTACHED_TO_ANY_OBJECT","hash":"0xCF511840CEEDE0CC","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityAttachedToAnyPed","native":"IS_ENTITY_ATTACHED_TO_ANY_PED","hash":"0xB1632E9A5F988D11","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityAttachedToAnyVehicle","native":"IS_ENTITY_ATTACHED_TO_ANY_VEHICLE","hash":"0x26AA915AD89BFB4B","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityAttachedToEntity","native":"IS_ENTITY_ATTACHED_TO_ENTITY","hash":"0xEFBE71898A993728","params":[["from","Entity"],["to","Entity"]],"ret":"BOOL"},
{"name":"isEntityDead","native":"IS_ENTITY_DEAD","hash":"0x5F9532F3B5CC2551","params":[["entity","Entity"],["p1","BOOL"]],"ret":"BOOL"},
{"name":"isEntityInAir","native":"IS_ENTITY_IN_AIR","hash":"0x886E37EC497200B6","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityInAngledArea","native":"IS_ENTITY_IN_ANGLED_AREA","hash":"0x51210CED3DA1C78A","params":[["entity","Entity"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["debug","BOOL"],["includeZ","BOOL"],["p10","Any"]],"ret":"BOOL","doc":"`p8` is a debug flag invoking functions in the same path as ```drawMarker```\n`p10` is some entity flag check, also used in `isEntityAtEntity`, `isEntityInArea`, and `isEntityAtCoord`.\nSee `isPointInAngledArea` for the definition of an angled area."},
{"name":"isEntityInArea","native":"IS_ENTITY_IN_AREA","hash":"0x54736AA40E271165","params":[["entity","Entity"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p7","BOOL"],["p8","BOOL"],["p9","Any"]],"ret":"BOOL"},
{"name":"isEntityInZone","native":"IS_ENTITY_IN_ZONE","hash":"0xB6463CF6AF527071","params":[["entity","Entity"],["zone","string"]],"ret":"BOOL","doc":"Full list of zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/zones.json"},
{"name":"isEntityInWater","native":"IS_ENTITY_IN_WATER","hash":"0xCFB0A0D8EDD145A3","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"getEntitySubmergedLevel","native":"GET_ENTITY_SUBMERGED_LEVEL","hash":"0xE81AFC1BC4CC41CE","params":[["entity","Entity"]],"ret":"float","doc":"Get how much of the entity is submerged.  1.0f is whole entity."},
{"name":"setEntityRequiresMoreExpensiveRiverCheck","native":"SET_ENTITY_REQUIRES_MORE_EXPENSIVE_RIVER_CHECK","hash":"0x694E00132F2823ED","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"isEntityOnScreen","native":"IS_ENTITY_ON_SCREEN","hash":"0xE659E47AF827484B","params":[["entity","Entity"]],"ret":"BOOL","doc":"Returns true if the entity is in between the minimum and maximum values for the 2d screen coords.\nThis means that it will return true even if the entity is behind a wall for example, as long as you're looking at their location.\nChipping"},
{"name":"isEntityPlayingAnim","native":"IS_ENTITY_PLAYING_ANIM","hash":"0x1F0B79228E461EC9","params":[["entity","Entity"],["animDict","string"],["animName","string"],["taskFlag","int"]],"ret":"BOOL","doc":"See also `isScriptedScenarioPedUsingConditionalAnim`\n\nTaken from `isEntityPlayingAnim`(`playerPedId`(), \"creatures@shark@move\", \"attack_player\", 3)\n\np4 is always 3 in the scripts.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"isEntityStatic","native":"IS_ENTITY_STATIC","hash":"0x1218E6886D3D8327","params":[["entity","Entity"]],"ret":"BOOL","doc":"a static ped will not react to natives like \"`applyForceToEntity`\" or \"`setEntityVelocity`\" and oftentimes will not react to task-natives like \"`taskCombatPed`\". The only way I know of to make one of these peds react is to ragdoll them (or sometimes to use `clearPedTasksImmediately`(). Static peds include almost all far-away peds, beach-combers, peds in certain scenarios, peds crossing a crosswalk, peds walking to get back into their cars, and others. If anyone knows how to make a ped non-static without ragdolling them, please edit this with the solution."},
{"name":"isEntityTouchingEntity","native":"IS_ENTITY_TOUCHING_ENTITY","hash":"0x17FFC1B2BA35A494","params":[["entity","Entity"],["targetEntity","Entity"]],"ret":"BOOL"},
{"name":"isEntityTouchingModel","native":"IS_ENTITY_TOUCHING_MODEL","hash":"0x0F42323798A58C8C","params":[["entity","Entity"],["modelHash","Hash"]],"ret":"BOOL"},
{"name":"isEntityUpright","native":"IS_ENTITY_UPRIGHT","hash":"0x5333F526F6AB19AA","params":[["entity","Entity"],["angle","float"]],"ret":"BOOL"},
{"name":"isEntityUpsidedown","native":"IS_ENTITY_UPSIDEDOWN","hash":"0x1DBD58820FA61D71","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityVisible","native":"IS_ENTITY_VISIBLE","hash":"0x47D6F43D77935C75","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityVisibleToScript","native":"IS_ENTITY_VISIBLE_TO_SCRIPT","hash":"0xD796CB5BA8F20E32","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isEntityOccluded","native":"IS_ENTITY_OCCLUDED","hash":"0xE31C2C72B8692B64","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"wouldEntityBeOccluded","native":"WOULD_ENTITY_BE_OCCLUDED","hash":"0xEE5D2A122E09EC42","params":[["entityModelHash","Hash"],["x","float"],["y","float"],["z","float"],["p4","BOOL"]],"ret":"BOOL"},
{"name":"isEntityWaitingForWorldCollision","native":"IS_ENTITY_WAITING_FOR_WORLD_COLLISION","hash":"0xD05BFF0C0A12C68F","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"applyForceToEntityCenterOfMass","native":"APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS","hash":"0x18FF00FC7EFF559E","params":[["entity","Entity"],["forceType","int"],["x","float"],["y","float"],["z","float"],["p5","BOOL"],["isDirectionRel","BOOL"],["isForceRel","BOOL"],["p8","BOOL"]],"doc":"Applies a force to the specified entity.\n\n**List of force types (p1)**:\n\n```\npublic enum ForceType\n{\n    MinForce = 0,\n    MaxForceRot = 1,\n    MinForce2 = 2,\n    MaxForceRot2 = 3,\n    ForceNoRot = 4,\n    ForceRotPlusForce = 5\n}\n```\n\nResearch/documentation on the gtaforums can be found here https://gtaforums.com/topic/885669-precisely-define-object-physics/) and here https://gtaforums.com/topic/887362-apply-forces-and-momentums-to-entityobject/.\n\np6/relative - makes the xyz force not relative to world coords, but to something else\np7/highForce - setting false will make the force really low"},
{"name":"applyForceToEntity","native":"APPLY_FORCE_TO_ENTITY","hash":"0xC5F68BE9613E2D18","params":[["entity","Entity"],["forceFlags","int"],["x","float"],["y","float"],["z","float"],["offX","float"],["offY","float"],["offZ","float"],["boneIndex","int"],["isDirectionRel","BOOL"],["ignoreUpVec","BOOL"],["isForceRel","BOOL"],["p12","BOOL"],["p13","BOOL"]],"doc":"Documented here:\nhttps://gtaforums.com/topic/885669-precisely-define-object-physics/\nhttps://gtaforums.com/topic/887362-apply-forces-and-momentums-to-entityobject/\n\nforceFlags:\nFirst bit (lowest): Strong force flag, factor 100\nSecond bit: Unkown flag\nThird bit: Momentum flag=1 (vector (x,y,z) is a momentum, more research needed)\nIf higher bits are unequal 0 the function doesn't applay any forces at all.\n(As integer possible values are 0-7)\n\n0: weak force\n1: strong force\n2: same as 0 (2nd bit?)\n3: same as 1\n4: weak momentum\n5: strong momentum\n6: same as 4\n7: same as 5\n\nisLocal: vector defined in local (body-fixed) coordinate frame\nisMassRel: if true the force gets multiplied with the objects mass (this is why it was known as highForce) and different objects will have the same acceleration."},
{"name":"attachEntityToEntity","native":"ATTACH_ENTITY_TO_ENTITY","hash":"0x6B9BBD38AB0796DF","params":[["entity1","Entity"],["entity2","Entity"],["boneIndex","int"],["xPos","float"],["yPos","float"],["zPos","float"],["xRot","float"],["yRot","float"],["zRot","float"],["p9","BOOL"],["useSoftPinning","BOOL"],["collision","BOOL"],["isPed","BOOL"],["vertexIndex","int"],["fixedRot","BOOL"],["p15","Any"]],"doc":"Attaches entity1 to bone (boneIndex) of entity2.\n\nboneIndex - this is different to boneID, use `getPedBoneIndex` to get the index from the ID. use the index for attaching to specific bones. entity1 will be attached to entity2's centre if bone index given doesn't correspond to bone indexes for that entity type.\n\nuseSoftPinning - if set to false attached entity will not detach when fixed\ncollision - controls collision between the two entities (FALSE disables collision).\nisPed - pitch doesnt work when false and roll will only work on negative numbers (only peds)\nvertexIndex - position of vertex\nfixedRot - if false it ignores entity vector"},
{"name":"attachEntityBoneToEntityBone","native":"ATTACH_ENTITY_BONE_TO_ENTITY_BONE","hash":"0x5C48B75732C8456C","params":[["entity1","Entity"],["entity2","Entity"],["boneIndex1","int"],["boneIndex2","int"],["p4","BOOL"],["p5","BOOL"]],"since":791,"aka":["_ATTACH_ENTITY_BONE_TO_ENTITY_BONE"]},
{"name":"attachEntityBoneToEntityBoneYForward","native":"ATTACH_ENTITY_BONE_TO_ENTITY_BONE_Y_FORWARD","hash":"0xFD1695C5D3B05439","params":[["entity1","Entity"],["entity2","Entity"],["boneIndex1","int"],["boneIndex2","int"],["p4","BOOL"],["p5","BOOL"]],"since":791,"aka":["_ATTACH_ENTITY_BONE_TO_ENTITY_BONE_PHYSICALLY"]},
{"name":"attachEntityToEntityPhysically","native":"ATTACH_ENTITY_TO_ENTITY_PHYSICALLY","hash":"0xC3675780C92F90F9","params":[["entity1","Entity"],["entity2","Entity"],["boneIndex1","int"],["boneIndex2","int"],["xPos1","float"],["yPos1","float"],["zPos1","float"],["xPos2","float"],["yPos2","float"],["zPos2","float"],["xRot","float"],["yRot","float"],["zRot","float"],["breakForce","float"],["fixedRot","BOOL"],["p15","BOOL"],["collision","BOOL"],["p17","BOOL"],["p18","int"]],"doc":"breakForce is the amount of force required to break the bond.\np14 - is always 1 in scripts\np15 - is 1 or 0 in scripts - unknoun what it does\np16 - controls collision between the two entities (FALSE disables collision).\np17 - do not teleport entity to be attached to the position of the bone Index of the target entity (if 1, entity will not be teleported to target bone)\np18 - is always 2 in scripts."},
{"name":"attachEntityToEntityPhysicallyOverrideInverseMass","native":"ATTACH_ENTITY_TO_ENTITY_PHYSICALLY_OVERRIDE_INVERSE_MASS","hash":"0x168A09D1B25B0BA4","params":[["firstEntityIndex","Entity"],["secondEntityIndex","Entity"],["firstEntityBoneIndex","int"],["secondEntityBoneIndex","int"],["secondEntityOffsetX","float"],["secondEntityOffsetY","float"],["secondEntityOffsetZ","float"],["firstEntityOffsetX","float"],["firstEntityOffsetY","float"],["firstEntityOffsetZ","float"],["vecRotationX","float"],["vecRotationY","float"],["vecRotationZ","float"],["physicalStrength","float"],["constrainRotation","BOOL"],["doInitialWarp","BOOL"],["collideWithEntity","BOOL"],["addInitialSeperation","BOOL"],["rotOrder","int"],["invMassScaleA","float"],["invMassScaleB","float"]],"na":1,"since":2944},
{"name":"processEntityAttachments","native":"PROCESS_ENTITY_ATTACHMENTS","hash":"0xF4080490ADC51C6F","params":[["entity","Entity"]],"doc":"Called to update entity attachments."},
{"name":"getEntityBoneIndexByName","native":"GET_ENTITY_BONE_INDEX_BY_NAME","hash":"0xFB71170B7E76ACBA","params":[["entity","Entity"],["boneName","string"]],"ret":"int","doc":"Returns the index of the bone. If the bone was not found, -1 will be returned.\n\nlist:\nhttps://pastebin.com/D7JMnX1g\n\nBoneNames:\n\n```\n chassis,\n windscreen,\n  seat_pside_r,\nseat_dside_r,\nbodyshell,\n   suspension_lm,\n   suspension_lr,\n   platelight,\n  attach_female,\n   attach_male,\n bonnet,\n  boot,\nchassis_dummy,  //Center of the dummy\nchassis_Control,    //Not found yet\n  door_dside_f,   //Door left, front\n   door_dside_r,   //Door left, back\ndoor_pside_f,   //Door right, front\n  door_pside_r,   //Door right, back\n   Gun_GripR,\n   windscreen_f,\nplatelight, //Position where the light above the numberplate is located\n  VFX_Emitter,\n window_lf,  //Window left, front\n window_lr,  //Window left, back\n  window_rf,  //Window right, front\nwindow_rr,  //Window right, back\n engine, //Position of the engine\n gun_ammo,\nROPE_ATTATCH,   //Not misspelled. In script \"finale_heist2b.c4\".\n   wheel_lf,   //Wheel left, front\n  wheel_lr,   //Wheel left, back\n   wheel_rf,   //Wheel right, front\n wheel_rr,   //Wheel right, back\n  exhaust,    //Exhaust. shows only the position of the stock-exhaust\n  overheat,   //A position on the engine(not exactly sure, how to name it)\n misc_e, //Not a car-bone.\nseat_dside_f,   //Driver-seat\nseat_pside_f,   //Seat next to driver\nGun_Nuzzle,\n  seat_r\n```\n\nI doubt that the function is case-sensitive, since I found a \"Chassis\" and a \"chassis\". - Just tested: Definitely not case-sensitive."},
{"name":"clearEntityLastDamageEntity","native":"CLEAR_ENTITY_LAST_DAMAGE_ENTITY","hash":"0xA72CD9CA74A5ECBA","params":[["entity","Entity"]]},
{"name":"deleteEntity","native":"DELETE_ENTITY","hash":"0xAE3CBE5BF394C9C9","params":[["entity","Entity"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `entity` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"Deletes the specified entity, then sets the handle pointed to by the pointer to NULL."},
{"name":"detachEntity","native":"DETACH_ENTITY","hash":"0x961AC54BF0613F5D","params":[["entity","Entity"],["dynamic","BOOL"],["collision","BOOL"]],"doc":"If `collision` is set to true, both entities won't collide with the other until the distance between them is above 4 meters.\nSet `dynamic` to true to keep velocity after dettaching"},
{"name":"freezeEntityPosition","native":"FREEZE_ENTITY_POSITION","hash":"0x428CA6DBD1094446","params":[["entity","Entity"],["toggle","BOOL"]],"doc":"Freezes or unfreezes an entity preventing its coordinates to change by the player if set to `true`. You can still change the entity position using `setEntityCoords`."},
{"name":"setEntityShouldFreezeWaitingOnCollision","native":"SET_ENTITY_SHOULD_FREEZE_WAITING_ON_COLLISION","hash":"0x3910051CCECDB00C","params":[["entity","Entity"],["toggle","BOOL"]],"aka":["_SET_ENTITY_REGISTER","_SET_ENTITY_SOMETHING","_SET_ENTITY_CLEANUP_BY_ENGINE"],"doc":"True means it can be deleted by the engine when switching lobbies/missions/etc, false means the script is expected to clean it up.\n\n\"Allow Freeze If No Collision\""},
{"name":"playEntityAnim","native":"PLAY_ENTITY_ANIM","hash":"0x7FB218262B810701","params":[["entity","Entity"],["animName","string"],["animDict","string"],["p3","float"],["loop","BOOL"],["stayInAnim","BOOL"],["p6","BOOL"],["delta","float"],["bitset","Any"]],"ret":"BOOL","doc":"delta and bitset are guessed fields. They are based on the fact that most of the calls have 0 or nil field types passed in.\n\nThe only time bitset has a value is 0x4000 and the only time delta has a value is during stealth with usually <1.0f values.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"playSynchronizedEntityAnim","native":"PLAY_SYNCHRONIZED_ENTITY_ANIM","hash":"0xC77720A12FE14A86","params":[["entity","Entity"],["syncedScene","int"],["animation","string"],["propName","string"],["p4","float"],["p5","float"],["p6","Any"],["p7","float"]],"ret":"BOOL","doc":"p4 and p7 are usually 1000.0f.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"playSynchronizedMapEntityAnim","native":"PLAY_SYNCHRONIZED_MAP_ENTITY_ANIM","hash":"0xB9C54555ED30FBC4","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","Any"],["z2","float"],["p6","string"],["p7","string"],["p8","float"],["p9","float"],["p10","Any"],["p11","float"]],"ret":"BOOL","doc":"p6,p7 probably animname and animdict\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"stopSynchronizedMapEntityAnim","native":"STOP_SYNCHRONIZED_MAP_ENTITY_ANIM","hash":"0x11E79CAB7183B6F5","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","Any"],["z2","float"]],"ret":"BOOL"},
{"name":"stopEntityAnim","native":"STOP_ENTITY_ANIM","hash":"0x28004F88151E03E0","params":[["entity","Entity"],["animation","string"],["animGroup","string"],["p3","float"]],"ret":"BOOL","doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nRAGEPluginHook list: docs.ragepluginhook.net/html/62951c37-a440-478c-b389-c471230ddfc5.htm"},
{"name":"stopSynchronizedEntityAnim","native":"STOP_SYNCHRONIZED_ENTITY_ANIM","hash":"0x43D3807C077261E3","params":[["entity","Entity"],["p1","float"],["p2","BOOL"]],"ret":"BOOL"},
{"name":"hasAnimEventFired","native":"HAS_ANIM_EVENT_FIRED","hash":"0xEAF4CD9EA3E7E922","params":[["entity","Entity"],["actionHash","Hash"]],"ret":"BOOL","doc":"if (`hasAnimEventFired`(`playerPedId`(), `getHashKey`(\"CreateObject\")))"},
{"name":"findAnimEventPhase","native":"FIND_ANIM_EVENT_PHASE","hash":"0x07F1BE2BCCAA27A7","params":[["animDictionary","string"],["animName","string"],["p2","string"],["p3","Any*"],["p4","Any*"]],"ret":"BOOL","blocked":"memory","doc":"In the script \"player_scene_t_bbfight.c4\":\n\"if (`findAnimEventPhase`(&l_16E, &l_19F[v_4/*16*/], v_9, &v_A, &v_B))\"\n-- &l_16E (p0) is requested as an anim dictionary earlier in the script.\n-- &l_19F[v_4/*16*/] (p1) is used in other natives in the script as the \"animation\" param.\n-- v_9 (p2) is instantiated as \"victim_fall\"; I'm guessing that's another anim\n--v_A and v_B (p3 & p4) are both set as -1.0, but v_A is used immediately after this native for:\n\"if (v_A < `getEntityAnimCurrentTime`(...))\"\nBoth v_A and v_B are seemingly used to contain both Vector3's and floats, so I can't say what either really is other than that they are both output parameters. p4 looks more like a *Vector3 though\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"setEntityAnimCurrentTime","native":"SET_ENTITY_ANIM_CURRENT_TIME","hash":"0x4487C259F0F70977","params":[["entity","Entity"],["animDictionary","string"],["animName","string"],["time","float"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"setEntityAnimSpeed","native":"SET_ENTITY_ANIM_SPEED","hash":"0x28D1A16553C51776","params":[["entity","Entity"],["animDictionary","string"],["animName","string"],["speedMultiplier","float"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"setEntityAsMissionEntity","native":"SET_ENTITY_AS_MISSION_ENTITY","hash":"0xAD738C3085FE7E11","params":[["entity","Entity"],["bScriptHostObject","BOOL"],["bGrabFromOtherScript","BOOL"]],"checked":1,"notes":[{"kind":"info","title":"Resource scope","md":"Pass `false` or `0` for `bGrabFromOtherScript`. A nonzero value raises an error."}],"doc":"Makes the specified entity (ped, vehicle or object) persistent. Persistent entities will not automatically be removed by the engine."},
{"name":"setEntityAsNoLongerNeeded","native":"SET_ENTITY_AS_NO_LONGER_NEEDED","hash":"0xB736A491E64A32CF","params":[["entity","Entity"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `entity` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"Marks the specified entity (ped, vehicle or object) as no longer needed if its population type is set to the mission type.\nIf the entity is ped, it will also clear their tasks immediately just like when `clearPedTasksImmediately` is called.\nEntities marked as no longer needed, will be deleted as the engine sees fit."},
{"name":"setPedAsNoLongerNeeded","native":"SET_PED_AS_NO_LONGER_NEEDED","hash":"0x2595DD4236549CE3","params":[["ped","Ped"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ped` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"This is an alias of `setEntityAsNoLongerNeeded`."},
{"name":"setVehicleAsNoLongerNeeded","native":"SET_VEHICLE_AS_NO_LONGER_NEEDED","hash":"0x629BFA74418D6239","params":[["vehicle","Vehicle"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `vehicle` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"This is an alias of `setEntityAsNoLongerNeeded`."},
{"name":"setObjectAsNoLongerNeeded","native":"SET_OBJECT_AS_NO_LONGER_NEEDED","hash":"0x3AE22DEB5BA5A3E6","params":[["object","Object"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `object` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"This is an alias of `setEntityAsNoLongerNeeded`."},
{"name":"setEntityCanBeDamaged","native":"SET_ENTITY_CAN_BE_DAMAGED","hash":"0x1760FFA8AB074D66","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"getEntityCanBeDamaged","native":"GET_ENTITY_CAN_BE_DAMAGED","hash":"0xD95CC5D2AB15A09F","params":[["entity","Entity"]],"ret":"BOOL","since":757,"aka":["_GET_ENTITY_CAN_BE_DAMAGED"]},
{"name":"setEntityCanBeDamagedByRelationshipGroup","native":"SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP","hash":"0xE22D8FDE858B8119","params":[["entity","Entity"],["bCanBeDamaged","BOOL"],["relGroup","int"]]},
{"name":"setEntityCanOnlyBeDamagedByScriptParticipants","native":"SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_SCRIPT_PARTICIPANTS","hash":"0x352E2B5CF420BF3B","params":[["entity","Entity"],["toggle","BOOL"]],"since":573},
{"name":"setEntityCanBeTargetedWithoutLos","native":"SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS","hash":"0xD3997889736FD899","params":[["entity","Entity"],["toggle","BOOL"]],"doc":"Sets whether the entity can be targeted without being in line-of-sight."},
{"name":"setEntityCollision","native":"SET_ENTITY_COLLISION","hash":"0x1A9205C1B9EE827F","params":[["entity","Entity"],["toggle","BOOL"],["keepPhysics","BOOL"]]},
{"name":"getEntityCollisionDisabled","native":"GET_ENTITY_COLLISION_DISABLED","hash":"0xCCF1E97BEFDAE480","params":[["entity","Entity"]],"ret":"BOOL","aka":["_GET_ENTITY_COLLISON_DISABLED"]},
{"name":"setEntityCompletelyDisableCollision","native":"SET_ENTITY_COMPLETELY_DISABLE_COLLISION","hash":"0x9EBC85ED0FFFE51C","params":[["entity","Entity"],["toggle","BOOL"],["keepPhysics","BOOL"]],"aka":["_SET_ENTITY_COLLISION_2"]},
{"name":"setEntityCoords","native":"SET_ENTITY_COORDS","hash":"0x06843DA7060A026B","params":[["entity","Entity"],["xPos","float"],["yPos","float"],["zPos","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"],["clearArea","BOOL"]],"doc":"p7 is always 1 in the scripts. Set to 1, an area around the destination coords for the moved entity is cleared from other entities.\n\nOften ends with 1, 0, 0, 1); in the scripts. It works.\n\nAxis - Invert Axis Flags"},
{"name":"setEntityCoordsWithoutPlantsReset","native":"SET_ENTITY_COORDS_WITHOUT_PLANTS_RESET","hash":"0x621873ECE1178967","params":[["entity","Entity"],["xPos","float"],["yPos","float"],["zPos","float"],["alive","BOOL"],["deadFlag","BOOL"],["ragdollFlag","BOOL"],["clearArea","BOOL"]],"aka":["_SET_ENTITY_COORDS_2"]},
{"name":"setEntityCoordsNoOffset","native":"SET_ENTITY_COORDS_NO_OFFSET","hash":"0x239A3351AC1DA385","params":[["entity","Entity"],["xPos","float"],["yPos","float"],["zPos","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"]],"doc":"Axis - Invert Axis Flags"},
{"name":"setEntityDynamic","native":"SET_ENTITY_DYNAMIC","hash":"0x1718DE8E3F2823CA","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityHeading","native":"SET_ENTITY_HEADING","hash":"0x8E2530AA8ADA980E","params":[["entity","Entity"],["heading","float"]],"doc":"Set the heading of an entity in degrees also known as \"Yaw\"."},
{"name":"setEntityHealth","native":"SET_ENTITY_HEALTH","hash":"0x6B76DC1F3AE6E6A3","params":[["entity","Entity"],["health","int"],["instigator","Entity"],["weaponType","Hash"]],"doc":"health >= 0\nmale ped ~= 100 - 200\nfemale ped ~= 0 - 100"},
{"name":"setEntityInvincible","native":"SET_ENTITY_INVINCIBLE","hash":"0x3882114BDE571AD4","params":[["entity","Entity"],["toggle","BOOL"],["dontResetOnCleanup","BOOL"]],"doc":"Sets a ped or an object totally invincible. It doesn't take any kind of damage. Peds will not ragdoll on explosions and the tazer animation won't apply either."},
{"name":"setEntityIsTargetPriority","native":"SET_ENTITY_IS_TARGET_PRIORITY","hash":"0xEA02E132F5C68722","params":[["entity","Entity"],["p1","BOOL"],["p2","float"]]},
{"name":"setEntityLights","native":"SET_ENTITY_LIGHTS","hash":"0x7CFBA6A80BDF3874","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityLoadCollisionFlag","native":"SET_ENTITY_LOAD_COLLISION_FLAG","hash":"0x0DC7CABAB1E9B67E","params":[["entity","Entity"],["toggle","BOOL"],["p2","Any"]],"doc":"Loads collision grid for an entity spawned outside of a player's loaded area. This allows peds to execute tasks rather than sit dormant because of a lack of a physics grid.\nCertainly not the main usage of this native but when set to true for a Vehicle, it will prevent the vehicle to explode if it is spawned far away from the player."},
{"name":"hasCollisionLoadedAroundEntity","native":"HAS_COLLISION_LOADED_AROUND_ENTITY","hash":"0xE9676F61BC0B3321","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"setEntityMaxSpeed","native":"SET_ENTITY_MAX_SPEED","hash":"0x0E46A3FCBDE2A1B1","params":[["entity","Entity"],["speed","float"]]},
{"name":"setEntityOnlyDamagedByPlayer","native":"SET_ENTITY_ONLY_DAMAGED_BY_PLAYER","hash":"0x79F020FF9EDC0748","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityOnlyDamagedByRelationshipGroup","native":"SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP","hash":"0x7022BD828FA0B082","params":[["entity","Entity"],["p1","BOOL"],["p2","Any"]]},
{"name":"setEntityProofs","native":"SET_ENTITY_PROOFS","hash":"0xFAEE099C6F890BB8","params":[["entity","Entity"],["bulletProof","BOOL"],["fireProof","BOOL"],["explosionProof","BOOL"],["collisionProof","BOOL"],["meleeProof","BOOL"],["steamProof","BOOL"],["dontResetOnCleanup","BOOL"],["waterProof","BOOL"]],"doc":"Enable / disable each type of damage.\n\nwaterProof is damage related to water not drowning\n---\np7 is to to '1' in am_mp_property_ext/int: `setEntityProofs`(uParam0->f_19, true, true, true, true, true, true, 1, true);"},
{"name":"getEntityProofs","native":"GET_ENTITY_PROOFS","hash":"0xBE8CD9BE829BBEBF","params":[["entity","Entity"]],"ret":"BOOL","outs":[["bulletProof","BOOL",1],["fireProof","BOOL",2],["explosionProof","BOOL",3],["collisionProof","BOOL",4],["meleeProof","BOOL",5],["steamProof","BOOL",6],["p7","BOOL",7],["drownProof","BOOL",8]],"since":1604,"aka":["_GET_ENTITY_PROOFS"]},
{"name":"setEntityQuaternion","native":"SET_ENTITY_QUATERNION","hash":"0x77B21BE7AC540F07","params":[["entity","Entity"],["x","float"],["y","float"],["z","float"],["w","float"]],"doc":"w is the correct parameter name!"},
{"name":"setEntityRecordsCollisions","native":"SET_ENTITY_RECORDS_COLLISIONS","hash":"0x0A50A1EEDAD01E65","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityRotation","native":"SET_ENTITY_ROTATION","hash":"0x8524A8B0171D5E07","params":[["entity","Entity"],["pitch","float"],["roll","float"],["yaw","float"],["rotationOrder","int"],["p5","BOOL"]],"doc":"rotationOrder refers to the order yaw pitch roll is applied\nvalue ranges from 0 to 5. What you use for rotationOrder when setting must be the same as rotationOrder when getting the rotation.\nUnsure what value corresponds to what rotation order, more testing will be needed for that.\nFor the most part R* uses 1 or 2 as the order.\np5 is usually set as true"},
{"name":"setEntityVisible","native":"SET_ENTITY_VISIBLE","hash":"0xEA1C610A04DB6BBB","params":[["entity","Entity"],["toggle","BOOL"],["p2","BOOL"]],"doc":"p2 is always 0."},
{"name":"setEntityWaterReflectionFlag","native":"SET_ENTITY_WATER_REFLECTION_FLAG","hash":"0xC34BC448DA29F5E9","params":[["entity","Entity"],["toggle","BOOL"]],"since":573},
{"name":"setEntityMirrorReflectionFlag","native":"SET_ENTITY_MIRROR_REFLECTION_FLAG","hash":"0xE66377CDDADA4810","params":[["entity","Entity"],["p1","BOOL"]],"since":1734},
{"name":"setEntityVelocity","native":"SET_ENTITY_VELOCITY","hash":"0x1C99BB7B6E96D16F","params":[["entity","Entity"],["x","float"],["y","float"],["z","float"]],"doc":"Note that the third parameter(denoted as z) is \"up and down\" with positive numbers encouraging upwards movement."},
{"name":"setEntityAngularVelocity","native":"SET_ENTITY_ANGULAR_VELOCITY","hash":"0x8339643499D1222E","params":[["entity","Entity"],["x","float"],["y","float"],["z","float"]],"since":2372,"aka":["_SET_ENTITY_ANGULAR_VELOCITY"]},
{"name":"setEntityHasGravity","native":"SET_ENTITY_HAS_GRAVITY","hash":"0x4A4722448F18EEF5","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityLodDist","native":"SET_ENTITY_LOD_DIST","hash":"0x5927F96A78577363","params":[["entity","Entity"],["value","int"]],"doc":"LOD distance can be 0 to 0xFFFF (higher values will result in 0xFFFF) as it is actually stored as a 16-bit value (aka uint16_t)."},
{"name":"getEntityLodDist","native":"GET_ENTITY_LOD_DIST","hash":"0x4159C2762B5791D6","params":[["entity","Entity"]],"ret":"int","doc":"Returns the LOD distance of an entity."},
{"name":"setEntityAlpha","native":"SET_ENTITY_ALPHA","hash":"0x44A0870B7E92D7C0","params":[["entity","Entity"],["alphaLevel","int"],["skin","BOOL"]],"doc":"skin - everything alpha except skin\nSet entity alpha level. Ranging from 0 to 255 but chnages occur after every 20 percent (after every 51)."},
{"name":"getEntityAlpha","native":"GET_ENTITY_ALPHA","hash":"0x5A47B3B5E63E94C6","params":[["entity","Entity"]],"ret":"int"},
{"name":"resetEntityAlpha","native":"RESET_ENTITY_ALPHA","hash":"0x9B1E824FFBB7027A","params":[["entity","Entity"]]},
{"name":"resetPickupEntityGlow","native":"RESET_PICKUP_ENTITY_GLOW","hash":"0x490861B88F4FD846","params":[["entity","Entity"]],"since":944,"doc":"Similar to `resetEntityAlpha`"},
{"name":"setPickupCollidesWithProjectiles","native":"SET_PICKUP_COLLIDES_WITH_PROJECTILES","hash":"0xCEA7C8E1B48FF68C","params":[["p0","Any"],["p1","Any"]],"since":678},
{"name":"setEntitySortBias","native":"SET_ENTITY_SORT_BIAS","hash":"0x5C3B791D580E0BC2","params":[["entity","Entity"],["p1","float"]],"doc":"Only called once in the scripts.\n\nRelated to weapon objects."},
{"name":"setEntityAlwaysPrerender","native":"SET_ENTITY_ALWAYS_PRERENDER","hash":"0xACAD101E1FB66689","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityRenderScorched","native":"SET_ENTITY_RENDER_SCORCHED","hash":"0x730F5F8D3F0F2050","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityTrafficlightOverride","native":"SET_ENTITY_TRAFFICLIGHT_OVERRIDE","hash":"0x57C5DB656185EAC4","params":[["entity","Entity"],["state","int"]],"doc":"Example here: https://gtaforums.com/topic/830463-help-with-turning-lights-green-and-causing-peds-to-crash-into-each-other/#entry1068211340\n\n0 = green\n1 = red\n2 = yellow\n3 = reset changes\nchanging lights may not change the behavior of vehicles"},
{"name":"setEntityIsInVehicle","native":"SET_ENTITY_IS_IN_VEHICLE","hash":"0x78E8E3A640178255","params":[["entity","Entity"]]},
{"name":"createModelSwap","native":"CREATE_MODEL_SWAP","hash":"0x92C47782FDA8B2A3","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["originalModel","Hash"],["newModel","Hash"],["p6","BOOL"]],"doc":"Only works with objects!"},
{"name":"removeModelSwap","native":"REMOVE_MODEL_SWAP","hash":"0x033C0F9A64E229AE","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["originalModel","Hash"],["newModel","Hash"],["p6","BOOL"]]},
{"name":"createModelHide","native":"CREATE_MODEL_HIDE","hash":"0x8A97BCA30A0CE478","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["modelHash","Hash"],["p5","BOOL"]],"doc":"p5 = sets as true in scripts\nSame as the comment for `createModelSwap` unless for some reason p5 affects it this only works with objects as well.\n\nNetwork players do not see changes done with this."},
{"name":"createModelHideExcludingScriptObjects","native":"CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTS","hash":"0x3A52AE588830BF7F","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["modelHash","Hash"],["p5","BOOL"]]},
{"name":"removeModelHide","native":"REMOVE_MODEL_HIDE","hash":"0xD9E3006FB3CBD765","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["modelHash","Hash"],["p5","BOOL"]],"doc":"This native makes entities visible that are hidden by the native `createModelHide`.\np5 should be false, true does nothing"},
{"name":"createForcedObject","native":"CREATE_FORCED_OBJECT","hash":"0x150E808B375A385A","params":[["x","float"],["y","float"],["z","float"],["p3","Any"],["modelHash","Hash"],["p5","BOOL"]]},
{"name":"removeForcedObject","native":"REMOVE_FORCED_OBJECT","hash":"0x61B6775E83C0DB6F","params":[["x","float"],["y","float"],["z","float"],["p3","float"],["modelHash","Hash"]]},
{"name":"setEntityNoCollisionEntity","native":"SET_ENTITY_NO_COLLISION_ENTITY","hash":"0xA53ED5520C07654A","params":[["entity1","Entity"],["entity2","Entity"],["thisFrameOnly","BOOL"]],"doc":"Calling this function disables collision between two entities.\nThe importance of the order for entity1 and entity2 is unclear.\nThe third parameter, `thisFrame`, decides whether the collision is to be disabled until it is turned back on, or if it's just this frame."},
{"name":"setEntityNoCollisionWithNetworkedEntity","native":"_SET_ENTITY_NO_COLLISION_WITH_NETWORKED_ENTITY","hash":"0x0A27A7827347B3B1","params":[["entity1","Entity"],["entity2","Entity"]],"na":1,"since":3407},
{"name":"setEntityMotionBlur","native":"SET_ENTITY_MOTION_BLUR","hash":"0x295D82A8559F9150","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setCanAutoVaultOnEntity","native":"SET_CAN_AUTO_VAULT_ON_ENTITY","hash":"0xE12ABE5E3A389A6C","params":[["entity","Entity"],["toggle","BOOL"]],"doc":"p1 always false."},
{"name":"setCanClimbOnEntity","native":"SET_CAN_CLIMB_ON_ENTITY","hash":"0xA80AE305E0A3044F","params":[["entity","Entity"],["toggle","BOOL"]],"doc":"p1 always false."},
{"name":"setWaitForCollisionsBeforeProbe","native":"SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE","hash":"0xDC6F8601FAF2E893","params":[["entity","Entity"],["toggle","BOOL"]],"doc":"Only called within 1 script for x360. 'fm_mission_controller' and it used on an object.\n\nRan after these 2 natives,\n\n```\nset_object_targettable(uParam0, 0);\nset_entity_invincible(uParam0, 1);\n```"},
{"name":"setEntityNoweapondecals","native":"SET_ENTITY_NOWEAPONDECALS","hash":"0x2C2E3DC128F44309","params":[["entity","Entity"],["p1","BOOL"]],"aka":["_SET_ENTITY_DECALS_DISABLED"]},
{"name":"setEntityUseMaxDistanceForWaterReflection","native":"SET_ENTITY_USE_MAX_DISTANCE_FOR_WATER_REFLECTION","hash":"0x1A092BB0C3808B96","params":[["entity","Entity"],["p1","BOOL"]]},
{"name":"getEntityBoneRotation","native":"GET_ENTITY_BONE_ROTATION","hash":"0xCE6294A232D03786","params":[["entity","Entity"],["boneIndex","int"]],"ret":"Vector3","since":791,"aka":["_GET_WORLD_ROTATION_OF_ENTITY_BONE","_GET_ENTITY_BONE_ROTATION"],"doc":"Gets the world rotation of the specified bone of the specified entity."},
{"name":"getEntityBonePostion","native":"GET_ENTITY_BONE_POSTION","hash":"0x46F8696933A63C9B","params":[["entity","Entity"],["boneIndex","int"]],"ret":"Vector3","since":877,"aka":["_GET_WORLD_POSITION_OF_ENTITY_BONE_2","_GET_ENTITY_BONE_POSITION_2"],"doc":"Gets the world position of the specified bone of the specified entity."},
{"name":"getEntityBoneObjectRotation","native":"GET_ENTITY_BONE_OBJECT_ROTATION","hash":"0xBD8D32550E5CEBFE","params":[["entity","Entity"],["boneIndex","int"]],"ret":"Vector3","since":1734,"aka":["_GET_ENTITY_BONE_ROTATION_LOCAL"],"doc":"Gets the local rotation of the specified bone of the specified entity."},
{"name":"getEntityBoneObjectPostion","native":"GET_ENTITY_BONE_OBJECT_POSTION","hash":"0xCF1247CC86961FD6","params":[["entity","Entity"],["boneIndex","int"]],"ret":"Vector3","since":2802},
{"name":"getEntityBoneCount","native":"GET_ENTITY_BONE_COUNT","hash":"0xB328DCC3A3AA401B","params":[["entity","Entity"]],"ret":"int","since":791,"aka":["_GET_ENTITY_BONE_COUNT"]},
{"name":"enableEntityBulletCollision","native":"ENABLE_ENTITY_BULLET_COLLISION","hash":"0x6CE177D014502E8A","params":[["entity","Entity"]],"since":877,"aka":["_ENABLE_ENTITY_UNK"]},
{"name":"setEntityCanOnlyBeDamagedByEntity","native":"SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_ENTITY","hash":"0xB17BC6453F6CF5AC","params":[["entity1","Entity"],["entity2","Entity"]],"since":944},
{"name":"setEntityCantCauseCollisionDamagedEntity","native":"SET_ENTITY_CANT_CAUSE_COLLISION_DAMAGED_ENTITY","hash":"0x68B562E124CC0AEF","params":[["entity1","Entity"],["entity2","Entity"]],"since":1180},
{"name":"setAllowMigrateToSpectator","native":"SET_ALLOW_MIGRATE_TO_SPECTATOR","hash":"0x36F32DE87082343E","params":[["entity","Entity"],["p1","Any"]],"since":1011,"doc":"p1 is always set to 1"},
{"name":"getEntityOfTypeAttachedToEntity","native":"GET_ENTITY_OF_TYPE_ATTACHED_TO_ENTITY","hash":"0x1F922734E259BD26","params":[["entity","Entity"],["modelHash","Hash"]],"ret":"Entity","since":1180,"aka":["_GET_ENTITY_ATTACHED_TO_WITH_HASH"],"doc":"Gets the handle of an entity with a specific model hash attached to another entity, such as an object attached to a ped.\n This native does not appear to have anything to do with pickups as in scripts it is used with objects.\n\nExample from fm_mission_controller_2020.c:\n\n```\niVar8 = getEntityOfTypeAttachedToEntity(bParam0->f_9, joaat(\"p_cs_clipboard\"));\n```"},
{"name":"setPickUpByCargobobDisabled","native":"SET_PICK_UP_BY_CARGOBOB_DISABLED","hash":"0xD7B80E7C3BEFC396","params":[["entity","Entity"],["toggle","BOOL"]],"since":1180}
]},
{"id":"EVENT","title":"Events","doc":"AI and shocking events: adding, blocking and suppressing them.","natives":[
{"name":"setDecisionMaker","native":"SET_DECISION_MAKER","hash":"0xB604A2942ADED0EE","params":[["ped","Ped"],["name","Hash"]]},
{"name":"clearDecisionMakerEventResponse","native":"CLEAR_DECISION_MAKER_EVENT_RESPONSE","hash":"0x4FC9381A7AEE8968","params":[["name","Hash"],["eventType","int"]]},
{"name":"blockDecisionMakerEvent","native":"BLOCK_DECISION_MAKER_EVENT","hash":"0xE42FCDFD0E4196F7","params":[["name","Hash"],["eventType","int"]],"doc":"This is limited to 4 blocked events at a time."},
{"name":"unblockDecisionMakerEvent","native":"UNBLOCK_DECISION_MAKER_EVENT","hash":"0xD7CD9CF34F2C99E8","params":[["name","Hash"],["eventType","int"]]},
{"name":"addShockingEventAtPosition","native":"ADD_SHOCKING_EVENT_AT_POSITION","hash":"0xD9F8455409B525E9","params":[["eventType","int"],["x","float"],["y","float"],["z","float"],["duration","float"]],"ret":"int"},
{"name":"addShockingEventForEntity","native":"ADD_SHOCKING_EVENT_FOR_ENTITY","hash":"0x7FD8F3BE76F89422","params":[["eventType","int"],["entity","Entity"],["duration","float"]],"ret":"int"},
{"name":"isShockingEventInSphere","native":"IS_SHOCKING_EVENT_IN_SPHERE","hash":"0x1374ABB7C15BAB92","params":[["eventType","int"],["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL"},
{"name":"removeShockingEvent","native":"REMOVE_SHOCKING_EVENT","hash":"0x2CDA538C44C6CCE5","params":[["event","ScrHandle"]],"ret":"BOOL"},
{"name":"removeAllShockingEvents","native":"REMOVE_ALL_SHOCKING_EVENTS","hash":"0xEAABE8FDFA21274C","params":[["p0","BOOL"]]},
{"name":"removeShockingEventSpawnBlockingAreas","native":"REMOVE_SHOCKING_EVENT_SPAWN_BLOCKING_AREAS","hash":"0x340F1415B68AEADE"},
{"name":"suppressShockingEventsNextFrame","native":"SUPPRESS_SHOCKING_EVENTS_NEXT_FRAME","hash":"0x2F9A292AD0A3BD89"},
{"name":"suppressShockingEventTypeNextFrame","native":"SUPPRESS_SHOCKING_EVENT_TYPE_NEXT_FRAME","hash":"0x3FD2EC8BF1F1CF30","params":[["eventType","int"]]},
{"name":"suppressAgitationEventsNextFrame","native":"SUPPRESS_AGITATION_EVENTS_NEXT_FRAME","hash":"0x5F3B7749C112D552"}
]},
{"id":"EXTRAMETADATA","title":"Shop metadata","doc":"Shop items, outfits, tattoos and weapon data declared by DLC metadata.","natives":[
{"name":"getNumTattooShopDlcItems","native":"GET_NUM_TATTOO_SHOP_DLC_ITEMS","hash":"0x278F76C3B0A8F109","params":[["character","int"]],"ret":"int","aka":["_GET_NUM_DECORATIONS"],"doc":"Character types:\n0 = Michael,\n1 = Franklin,\n2 = Trevor,\n3 = MPMale,\n4 = MPFemale"},
{"name":"getTattooShopDlcItemData","native":"GET_TATTOO_SHOP_DLC_ITEM_DATA","hash":"0xFF56381874F82086","params":[["characterType","int"],["decorationIndex","int"],["outComponent","Any*"]],"ret":"BOOL","blocked":"memory","aka":["_GET_TATTOO_COLLECTION_DATA"],"doc":"Character types:\n0 = Michael,\n1 = Franklin,\n2 = Trevor,\n3 = MPMale,\n4 = MPFemale\n\n```\nstruct outComponent\n{\n    // these vars are suffixed with 4 bytes of padding each.\n    uint unk;\n    int unk2;\n    uint tattooCollectionHash;\n    uint tattooNameHash;\n    int unk3;\n    TattooZoneData zoneId;\n    uint unk4;\n    uint unk5;\n    // maybe more, not sure exactly, decompiled scripts are very vague around this part.\n}\n```"},
{"name":"getTattooShopDlcItemIndex","native":"GET_TATTOO_SHOP_DLC_ITEM_INDEX","hash":"0x10144267DD22866C","params":[["overlayHash","Hash"],["p1","Any"],["character","int"]],"ret":"int","since":2189,"doc":"Returns some sort of index/offset for overlays/decorations.\n\nCharacter types:\n0 = Michael,\n1 = Franklin,\n2 = Trevor,\n3 = MPMale,\n4 = MPFemale"},
{"name":"initShopPedComponent","native":"INIT_SHOP_PED_COMPONENT","hash":"0x1E8C308FD312C036","params":[["outComponent","Any*"]],"blocked":"memory"},
{"name":"initShopPedProp","native":"INIT_SHOP_PED_PROP","hash":"0xEB0A2B758F7B850F","params":[["outProp","Any*"]],"blocked":"memory"},
{"name":"setupShopPedApparelQuery","native":"SETUP_SHOP_PED_APPAREL_QUERY","hash":"0x50F457823CE6EB5F","params":[["p0","int"],["p1","int"],["p2","int"],["p3","int"]],"ret":"int"},
{"name":"setupShopPedApparelQueryTu","native":"SETUP_SHOP_PED_APPAREL_QUERY_TU","hash":"0x9BDF59818B1E38C1","params":[["character","int"],["p1","int"],["p2","int"],["p3","BOOL"],["p4","int"],["componentId","int"]],"ret":"int","aka":["_GET_NUM_PROPS_FROM_OUTFIT"],"doc":"character is 0 for Michael, 1 for Franklin, 2 for Trevor, 3 for freemode male, and 4 for freemode female.\n\ncomponentId is between 0 and 11 and corresponds to the usual component slots.\n\np1 could be the outfit number; unsure.\n\np2 is usually -1; unknown function.\n\np3 appears to be for selecting between clothes and props; false is used with components/clothes, true is used with props.\n\np4 is usually -1; unknown function.\n\ncomponentId is -1 when p3 is true in decompiled scripts."},
{"name":"getShopPedQueryComponent","native":"GET_SHOP_PED_QUERY_COMPONENT","hash":"0x249E310B2D920699","params":[["componentId","int"],["outComponent","Any*"]],"blocked":"memory","doc":"See https://git.io/JtcRf for example and structs."},
{"name":"getShopPedQueryComponentIndex","native":"GET_SHOP_PED_QUERY_COMPONENT_INDEX","hash":"0x96E2929292A4DB77","params":[["componentHash","Hash"]],"ret":"int","since":2189,"doc":"Returns some sort of index/offset for components.\nNeeds `setupShopPedApparelQueryTu` to be called with p3 = false and componentId with the drawable's component slot first, returns -1 otherwise."},
{"name":"getShopPedComponent","native":"GET_SHOP_PED_COMPONENT","hash":"0x74C0E2A57EC66760","params":[["componentHash","Hash"],["outComponent","Any*"]],"blocked":"memory","doc":"More info here: https://gist.github.com/root-cause/3b80234367b0c856d60bf5cb4b826f86"},
{"name":"getShopPedQueryProp","native":"GET_SHOP_PED_QUERY_PROP","hash":"0xDE44A00999B2837D","params":[["componentId","int"],["outProp","Any*"]],"blocked":"memory","doc":"See https://git.io/JtcRf for example and structs."},
{"name":"getShopPedQueryPropIndex","native":"GET_SHOP_PED_QUERY_PROP_INDEX","hash":"0x6CEBE002E58DEE97","params":[["componentHash","Hash"]],"ret":"int","since":2189,"doc":"Returns some sort of index/offset for props.\nNeeds `setupShopPedApparelQueryTu` to be called with p3 = true and componentId = -1 first, returns -1 otherwise."},
{"name":"getShopPedProp","native":"GET_SHOP_PED_PROP","hash":"0x5D5CAFF661DDF6FC","params":[["componentHash","Hash"],["outProp","Any*"]],"blocked":"memory","doc":"More info here: https://gist.github.com/root-cause/3b80234367b0c856d60bf5cb4b826f86"},
{"name":"getHashNameForComponent","native":"GET_HASH_NAME_FOR_COMPONENT","hash":"0x0368B3A838070348","params":[["entity","Entity"],["componentId","int"],["drawableVariant","int"],["textureVariant","int"]],"ret":"Hash"},
{"name":"getHashNameForProp","native":"GET_HASH_NAME_FOR_PROP","hash":"0x5D6160275CAEC8DD","params":[["entity","Entity"],["componentId","int"],["propIndex","int"],["propTextureIndex","int"]],"ret":"Hash"},
{"name":"getShopPedApparelVariantComponentCount","native":"GET_SHOP_PED_APPAREL_VARIANT_COMPONENT_COUNT","hash":"0xC17AD0E5752BECDA","params":[["componentHash","Hash"]],"ret":"int"},
{"name":"getShopPedApparelVariantPropCount","native":"GET_SHOP_PED_APPAREL_VARIANT_PROP_COUNT","hash":"0xD40AAC51E8E4C663","params":[["propHash","Hash"]],"ret":"int","since":791,"aka":["_GET_SHOP_PED_APPAREL_VARIANT_PROP_COUNT"],"doc":"`propHash`: Ped helmet prop hash?\nThis native returns 1 when the player helmet has a visor (there is another prop index for the same helmet with closed/opened visor variant) that can be toggled. 0 if there's no alternative version with a visor for this helmet prop."},
{"name":"getVariantComponent","native":"GET_VARIANT_COMPONENT","hash":"0x6E11F282F11863B6","params":[["componentHash","Hash"],["variantComponentIndex","int"]],"outs":[["nameHash","Hash",2],["enumValue","int",3],["componentType","int",4]]},
{"name":"getVariantProp","native":"GET_VARIANT_PROP","hash":"0xD81B7F27BC773E66","params":[["componentHash","Hash"],["variantPropIndex","int"]],"outs":[["nameHash","Hash",2],["enumValue","int",3],["anchorPoint","int",4]],"since":791,"aka":["_GET_VARIANT_PROP"]},
{"name":"getShopPedApparelForcedComponentCount","native":"GET_SHOP_PED_APPAREL_FORCED_COMPONENT_COUNT","hash":"0xC6B9DB42C04DD8C3","params":[["componentHash","Hash"]],"ret":"int","aka":["_GET_NUM_FORCED_COMPONENTS"],"doc":"Returns number of possible values of the forcedComponentIndex argument of `getForcedComponent`."},
{"name":"getShopPedApparelForcedPropCount","native":"GET_SHOP_PED_APPAREL_FORCED_PROP_COUNT","hash":"0x017568A8182D98A6","params":[["componentHash","Hash"]],"ret":"int","doc":"Returns number of possible values of the forcedPropIndex argument of `getForcedProp`."},
{"name":"getForcedComponent","native":"GET_FORCED_COMPONENT","hash":"0x6C93ED8C2F74859B","params":[["componentHash","Hash"],["forcedComponentIndex","int"]],"outs":[["nameHash","Hash",2],["enumValue","int",3],["componentType","int",4]]},
{"name":"getForcedProp","native":"GET_FORCED_PROP","hash":"0xE1CA84EBF72E691D","params":[["componentHash","Hash"],["forcedPropIndex","int"]],"outs":[["nameHash","Hash",2],["enumValue","int",3],["anchorPoint","int",4]]},
{"name":"doesShopPedApparelHaveRestrictionTag","native":"DOES_SHOP_PED_APPAREL_HAVE_RESTRICTION_TAG","hash":"0x341DE7ED1D2A1BFD","params":[["componentHash","Hash"],["restrictionTagHash","Hash"],["componentId","int"]],"ret":"BOOL","doc":"Full list of restriction tags by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedApparelRestrictionTags.json\n\ncomponentId/last parameter seems to be unused."},
{"name":"doesCurrentPedComponentHaveRestrictionTag","native":"DOES_CURRENT_PED_COMPONENT_HAVE_RESTRICTION_TAG","hash":"0x7796B21B76221BC5","params":[["ped","Ped"],["componentId","int"],["restrictionTagHash","Hash"]],"ret":"BOOL","since":2612,"aka":["_DOES_CUSTOMIZATION_COMPONENT_HAVE_RESTRICTION_TAG"]},
{"name":"doesCurrentPedPropHaveRestrictionTag","native":"DOES_CURRENT_PED_PROP_HAVE_RESTRICTION_TAG","hash":"0xD726BAB4554DA580","params":[["ped","Ped"],["componentId","int"],["restrictionTagHash","Hash"]],"ret":"BOOL","since":2612,"aka":["_DOES_CUSTOMIZATION_PROP_HAVE_RESTRICTION_TAG"]},
{"name":"setupShopPedOutfitQuery","native":"SETUP_SHOP_PED_OUTFIT_QUERY","hash":"0xF3FBE2D50A6A8C28","params":[["character","int"],["p1","BOOL"]],"ret":"int","doc":"characters\n\n0: Michael\n1: Franklin\n2: Trevor\n3: MPMale\n4: MPFemale"},
{"name":"getShopPedQueryOutfit","native":"GET_SHOP_PED_QUERY_OUTFIT","hash":"0x6D793F03A631FE56","params":[["outfitIndex","int"],["outfit","Any*"]],"blocked":"memory","doc":"outfitIndex: from 0 to `setupShopPedOutfitQuery`(characterIndex, false) - 1.\nSee https://git.io/JtcB8 for example and outfit struct."},
{"name":"getShopPedOutfit","native":"GET_SHOP_PED_OUTFIT","hash":"0xB7952076E444979D","params":[["p0","Any"],["p1","Any*"]],"blocked":"memory"},
{"name":"getShopPedOutfitLocate","native":"GET_SHOP_PED_OUTFIT_LOCATE","hash":"0x073CA26B079F956E","params":[["p0","Any"]],"ret":"int"},
{"name":"getShopPedOutfitPropVariant","native":"GET_SHOP_PED_OUTFIT_PROP_VARIANT","hash":"0xA9F9C2E0FDE11CBB","params":[["outfitHash","Hash"],["variantIndex","int"],["outPropVariant","Any*"]],"ret":"BOOL","blocked":"memory","doc":"See https://git.io/JtcBH for example and structs."},
{"name":"getShopPedOutfitComponentVariant","native":"GET_SHOP_PED_OUTFIT_COMPONENT_VARIANT","hash":"0x19F2A026EDF0013F","params":[["outfitHash","Hash"],["variantIndex","int"],["outComponentVariant","Any*"]],"ret":"BOOL","blocked":"memory","aka":["_GET_PROP_FROM_OUTFIT"],"doc":"See https://git.io/JtcBH for example and structs."},
{"name":"getNumDlcVehicles","native":"GET_NUM_DLC_VEHICLES","hash":"0xA7A866D21CD2329B","ret":"int"},
{"name":"getDlcVehicleModel","native":"GET_DLC_VEHICLE_MODEL","hash":"0xECC01B7C5763333C","params":[["dlcVehicleIndex","int"]],"ret":"Hash","doc":"dlcVehicleIndex is 0 to GET_NUM_DLC_VEHICLS() - 1"},
{"name":"getDlcVehicleData","native":"GET_DLC_VEHICLE_DATA","hash":"0x33468EDC08E371F6","params":[["dlcVehicleIndex","int"],["outData","Any*"]],"ret":"BOOL","blocked":"memory","doc":"dlcVehicleIndex takes a number from 0 - `getNumDlcVehicles`() - 1.\noutData is a struct of 3 8-byte items.\nThe Second item in the struct *(Hash *)(outData + 1) is the vehicle hash."},
{"name":"getDlcVehicleFlags","native":"GET_DLC_VEHICLE_FLAGS","hash":"0x5549EE11FA22FCF2","params":[["dlcVehicleIndex","int"]],"ret":"int"},
{"name":"getNumDlcWeapons","native":"GET_NUM_DLC_WEAPONS","hash":"0xEE47635F352DA367","ret":"int","doc":"Returns the total number of DLC weapons."},
{"name":"getNumDlcWeaponsSp","native":"GET_NUM_DLC_WEAPONS_SP","hash":"0x4160B65AE085B5A9","ret":"int","since":2060,"aka":["_GET_NUM_DLC_WEAPONS_SP"],"doc":"Returns the total number of DLC weapons that are available in SP (availableInSP field in shop_weapon.meta)."},
{"name":"getDlcWeaponData","native":"GET_DLC_WEAPON_DATA","hash":"0x79923CD21BECE14E","params":[["dlcWeaponIndex","int"],["outData","Any*"]],"ret":"BOOL","blocked":"memory","doc":"dlcWeaponIndex takes a number from 0 - `getNumDlcWeapons`() - 1.\n\n```\nstruct DlcWeaponData\n{\nint emptyCheck; //use isContentItemLocked on this\nint padding1;\nint weaponHash;\nint padding2;\nint unk;\nint padding3;\nint weaponCost;\nint padding4;\nint ammoCost;\nint padding5;\nint ammoType;\nint padding6;\nint defaultClipSize;\nint padding7;\nchar nameLabel[64];\nchar descLabel[64];\nchar desc2Label[64]; // usually \"the\" + name\nchar upperCaseNameLabel[64];\n};\n```"},
{"name":"getDlcWeaponDataSp","native":"GET_DLC_WEAPON_DATA_SP","hash":"0x310836EE7129BA33","params":[["dlcWeaponIndex","int"],["outData","Any*"]],"ret":"BOOL","blocked":"memory","since":2060,"aka":["_GET_DLC_WEAPON_DATA_SP"],"doc":"Same as `getDlcWeaponData` but only works for DLC weapons that are available in SP."},
{"name":"getNumDlcWeaponComponents","native":"GET_NUM_DLC_WEAPON_COMPONENTS","hash":"0x405425358A7D61FE","params":[["dlcWeaponIndex","int"]],"ret":"int","doc":"Returns the total number of DLC weapon components."},
{"name":"getNumDlcWeaponComponentsSp","native":"GET_NUM_DLC_WEAPON_COMPONENTS_SP","hash":"0xAD2A7A6DFF55841B","params":[["dlcWeaponIndex","int"]],"ret":"int","since":2060,"aka":["_GET_NUM_DLC_WEAPON_COMPONENTS_SP"],"doc":"Returns the total number of DLC weapon components that are available in SP."},
{"name":"getDlcWeaponComponentData","native":"GET_DLC_WEAPON_COMPONENT_DATA","hash":"0x6CF598A2957C2BF8","params":[["dlcWeaponIndex","int"],["dlcWeapCompIndex","int"],["ComponentDataPtr","Any*"]],"ret":"BOOL","blocked":"memory","doc":"p0 seems to be the weapon index\np1 seems to be the weapon component index\n\n```\nstruct DlcComponentData{\nint attachBone;\nint padding1;\nint bActiveByDefault;\nint padding2;\nint unk;\nint padding3;\nint componentHash;\nint padding4;\nint unk2;\nint padding5;\nint componentCost;\nint padding6;\nchar nameLabel[64];\nchar descLabel[64];\n};\n```"},
{"name":"getDlcWeaponComponentDataSp","native":"GET_DLC_WEAPON_COMPONENT_DATA_SP","hash":"0x31D5E073B6F93CDC","params":[["dlcWeaponIndex","int"],["dlcWeapCompIndex","int"],["ComponentDataPtr","Any*"]],"ret":"BOOL","blocked":"memory","since":2060,"aka":["_GET_DLC_WEAPON_COMPONENT_DATA_SP"],"doc":"Same as `getDlcWeaponComponentData` but only works for DLC components that are available in SP."},
{"name":"isContentItemLocked","native":"IS_CONTENT_ITEM_LOCKED","hash":"0xD4D7B033C3AA243C","params":[["itemHash","Hash"]],"ret":"BOOL","aka":["_IS_OUTFIT_EMPTY","_IS_DLC_DATA_EMPTY"]},
{"name":"isDlcVehicleMod","native":"IS_DLC_VEHICLE_MOD","hash":"0x0564B9FF9631B82C","params":[["hash","Hash"]],"ret":"BOOL"},
{"name":"getDlcVehicleModLockHash","native":"GET_DLC_VEHICLE_MOD_LOCK_HASH","hash":"0xC098810437312FFF","params":[["hash","Hash"]],"ret":"Hash"},
{"name":"executeContentChangesetGroupForAll","native":"EXECUTE_CONTENT_CHANGESET_GROUP_FOR_ALL","hash":"0x6BEDF5769AC2DC07","params":[["hash","Hash"]],"since":1604,"aka":["_LOAD_CONTENT_CHANGE_SET_GROUP"],"doc":"From fm_deathmatch_creator and fm_race_creator:\n\n```\nrevertContentChangesetGroupForAll(joaat(\"GROUP_MAP_SP\"));\nexecuteContentChangesetGroupForAll(joaat(\"GROUP_MAP\"));\n```"},
{"name":"revertContentChangesetGroupForAll","native":"REVERT_CONTENT_CHANGESET_GROUP_FOR_ALL","hash":"0x3C1978285B036B25","params":[["hash","Hash"]],"since":1604,"aka":["_UNLOAD_CONTENT_CHANGE_SET_GROUP"],"doc":"From fm_deathmatch_creator and fm_race_creator:\n\n```\nrevertContentChangesetGroupForAll(joaat(\"GROUP_MAP_SP\"));\nexecuteContentChangesetGroupForAll(joaat(\"GROUP_MAP\"));\n```"}
]},
{"id":"FIRE","title":"Fire","doc":"Script fires and explosions.","natives":[
{"name":"startScriptFire","native":"START_SCRIPT_FIRE","hash":"0x6B83617E04503888","params":[["X","float"],["Y","float"],["Z","float"],["maxChildren","int"],["isGasFire","BOOL"]],"ret":"FireId","doc":"Starts a fire:\n\nxyz: Location of fire\nmaxChildren: The max amount of times a fire can spread to other objects. Must be 25 or less, or the function will do nothing.\nisGasFire: Whether or not the fire is powered by gasoline."},
{"name":"removeScriptFire","native":"REMOVE_SCRIPT_FIRE","hash":"0x7FF548385680673F","params":[["fireHandle","FireId"]]},
{"name":"startEntityFire","native":"START_ENTITY_FIRE","hash":"0xF6A9D9708F6F23DF","params":[["entity","Entity"]],"ret":"FireId"},
{"name":"stopEntityFire","native":"STOP_ENTITY_FIRE","hash":"0x7F0DD2EBBB651AFF","params":[["entity","Entity"]]},
{"name":"isEntityOnFire","native":"IS_ENTITY_ON_FIRE","hash":"0x28D3FED7190D3A0B","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"getNumberOfFiresInRange","native":"GET_NUMBER_OF_FIRES_IN_RANGE","hash":"0x50CAD495A460B305","params":[["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"int"},
{"name":"setFlammabilityMultiplier","native":"SET_FLAMMABILITY_MULTIPLIER","hash":"0x8F390AC4155099BA","params":[["p0","float"]],"since":1734,"aka":["_SET_FIRE_SPREAD_RATE"]},
{"name":"stopFireInRange","native":"STOP_FIRE_IN_RANGE","hash":"0x056A8A219B8E829F","params":[["x","float"],["y","float"],["z","float"],["radius","float"]]},
{"name":"getClosestFirePos","native":"GET_CLOSEST_FIRE_POS","hash":"0x352A9F6BCF90081F","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",0]],"doc":"Returns TRUE if it found something. FALSE if not."},
{"name":"addExplosion","native":"ADD_EXPLOSION","hash":"0xE3AD2BDBAEE269AC","params":[["x","float"],["y","float"],["z","float"],["explosionType","int"],["damageScale","float"],["isAudible","BOOL"],["isInvisible","BOOL"],["cameraShake","float"],["noDamage","BOOL"]],"doc":"```\nBOOL isAudible = If explosion makes a sound.\nBOOL isInvisible = If the explosion is invisible or not.\n```"},
{"name":"addOwnedExplosion","native":"ADD_OWNED_EXPLOSION","hash":"0x172AA1B624FA1013","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["explosionType","int","See `addExplosion`."],["damageScale","float"],["isAudible","BOOL","If explosion makes a sound."],["isInvisible","BOOL","If the explosion is invisible or not."],["cameraShake","float"]]},
{"name":"addExplosionWithUserVfx","native":"ADD_EXPLOSION_WITH_USER_VFX","hash":"0x36DD3FE58B5E5212","params":[["x","float"],["y","float"],["z","float"],["explosionType","int","See `addExplosion`."],["explosionFx","Hash"],["damageScale","float"],["isAudible","BOOL","If explosion makes a sound."],["isInvisible","BOOL","If the explosion is invisible or not."],["cameraShake","float"]],"aka":["_ADD_SPECFX_EXPLOSION"]},
{"name":"isExplosionInArea","native":"IS_EXPLOSION_IN_AREA","hash":"0x2E2EBA0EE7CED0E0","params":[["explosionType","int","See `addExplosion`."],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"BOOL"},
{"name":"isExplosionActiveInArea","native":"IS_EXPLOSION_ACTIVE_IN_AREA","hash":"0x6070104B699B2EF4","params":[["explosionType","int","See `addExplosion`."],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"BOOL"},
{"name":"isExplosionInSphere","native":"IS_EXPLOSION_IN_SPHERE","hash":"0xAB0F816885B0E483","params":[["explosionType","int","See `addExplosion`."],["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL"},
{"name":"getOwnerOfExplosionInSphere","native":"GET_OWNER_OF_EXPLOSION_IN_SPHERE","hash":"0xB3CD51E3DB86F176","params":[["explosionType","int","See `addExplosion`."],["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"Entity","since":1290,"aka":["_GET_ENTITY_INSIDE_EXPLOSION_SPHERE"]},
{"name":"isExplosionInAngledArea","native":"IS_EXPLOSION_IN_ANGLED_AREA","hash":"0xA079A6C51525DC4B","params":[["explosionType","int","See `addExplosion`, -1 for any explosion type"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"]],"ret":"BOOL"},
{"name":"getOwnerOfExplosionInAngledArea","native":"GET_OWNER_OF_EXPLOSION_IN_ANGLED_AREA","hash":"0x14BA4BA137AF6CEC","params":[["explosionType","int","See `addExplosion`."],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["radius","float"]],"ret":"Entity","aka":["_GET_PED_INSIDE_EXPLOSION_AREA","_GET_ENTITY_INSIDE_EXPLOSION_AREA"],"doc":"Returns a handle to the first entity within the a circle spawned inside the 2 points from a radius."},
{"name":"networkExpectExplosionEventsForPlayer","native":"_NETWORK_EXPECT_EXPLOSION_EVENTS_FOR_PLAYER","hash":"0x5241DB47A8B8AD54","params":[["expect","BOOL"],["player","Player"]],"na":1,"since":3570}
]},
{"id":"GRAPHICS","title":"Graphics","doc":"Drawing: markers, lines, sprites, lights, particle effects, scaleform movies, timecycles and screen effects.","natives":[
{"name":"setDebugLinesAndSpheresDrawingActive","native":"SET_DEBUG_LINES_AND_SPHERES_DRAWING_ACTIVE","hash":"0x175B6BFC15CDD0C5","params":[["enabled","BOOL"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"drawDebugLine","native":"DRAW_DEBUG_LINE","hash":"0x7FDFADE676AA3CB0","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["r","int"],["g","int"],["b","int"],["alpha","int"]]},
{"name":"drawDebugLineWithTwoColours","native":"DRAW_DEBUG_LINE_WITH_TWO_COLOURS","hash":"0xD8B9A8AC5608FF94","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["r1","int"],["g1","int"],["b1","int"],["r2","int"],["g2","int"],["b2","int"],["alpha1","int"],["alpha2","int"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"drawDebugSphere","native":"DRAW_DEBUG_SPHERE","hash":"0xAAD68E1AB39DA632","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"drawDebugBox","native":"DRAW_DEBUG_BOX","hash":"0x083A2CA4F2E573BD","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["r","int"],["g","int"],["b","int"],["alpha","int"]]},
{"name":"drawDebugCross","native":"DRAW_DEBUG_CROSS","hash":"0x73B1189623049839","params":[["x","float"],["y","float"],["z","float"],["size","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"drawDebugText","native":"DRAW_DEBUG_TEXT","hash":"0x3903E216620488E8","params":[["text","string"],["x","float"],["y","float"],["z","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"drawDebugText2d","native":"DRAW_DEBUG_TEXT_2D","hash":"0xA3BB2E9555C05A8F","params":[["text","string"],["x","float"],["y","float"],["z","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"drawLine","native":"DRAW_LINE","hash":"0x6B7256074AE34680","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"Draws a depth-tested line from one point to another.\n---\nx1, y1, z1 : Coordinates for the first point\nx2, y2, z2 : Coordinates for the second point\nr, g, b, alpha : Color with RGBA-Values\nI recommend using a predefined function to call this.\n[VB.NET]\n\n```\nPublic Sub DrawLine(from As Vector3, [to] As Vector3, col As Color)\n    [Function].Call(Hash.DRAW_LINE, from.X, from.Y, from.Z, [to].X, [to].Y, [to].Z, col.R, col.G, col.B, col.A)\nEnd Sub\n```\n\n[C#]\n\n```\npublic void DrawLine(Vector3 from, Vector3 to, Color col)\n{\n    Function.Call(Hash.DRAW_LINE, from.X, from.Y, from.Z, to.X, to.Y, to.Z, col.R, col.G, col.B, col.A);\n}\n```"},
{"name":"drawPoly","native":"DRAW_POLY","hash":"0xAC26716048436851","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["x3","float"],["y3","float"],["z3","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"x/y/z - Location of a vertex (in world coords), presumably.\n---\nx1, y1, z1     : Coordinates for the first point\nx2, y2, z2     : Coordinates for the second point\nx3, y3, z3     : Coordinates for the third point\nr, g, b, alpha : Color with RGBA-Values\n\nKeep in mind that only one side of the drawn triangle is visible: It's the side, in which the vector-product of the vectors heads to: (b-a)x(c-a) Or (b-a)x(c-b).\nBut be aware: The function seems to work somehow differently. I have trouble having them drawn in rotated orientation. Try it yourself and if you somehow succeed, please edit this and post your solution.\nI recommend using a predefined function to call this.\n[VB.NET]\n\n```\nPublic Sub DrawPoly(a As Vector3, b As Vector3, c As Vector3, col As Color)\n    [Function].Call(Hash.DRAW_POLY, a.X, a.Y, a.Z, b.X, b.Y, b.Z, c.X, c.Y, c.Z, col.R, col.G, col.B, col.A)\nEnd Sub\n```\n\n[C#]\n\n```\npublic void DrawPoly(Vector3 a, Vector3 b, Vector3 c, Color col)\n{\n    Function.Call(Hash.DRAW_POLY, a.X, a.Y, a.Z, b.X, b.Y, b.Z, c.X, c.Y, c.Z, col.R, col.G, col.B, col.A);\n}\n```\n\nBTW: Intersecting triangles are not supported: They overlap in the order they were called."},
{"name":"drawTexturedPoly","native":"DRAW_TEXTURED_POLY","hash":"0x29280002282F1928","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["x3","float"],["y3","float"],["z3","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["textureDict","string"],["textureName","string"],["u1","float"],["v1","float"],["w1","float"],["u2","float"],["v2","float"],["w2","float"],["u3","float"],["v3","float"],["w3","float"]],"since":877,"aka":["_DRAW_SPRITE_POLY"],"doc":"Used for drawling Deadline trailing lights, see deadline.ytd\n\np15 through p23 are values that appear to be related to illiumation, scaling, and rotation; more testing required.\nFor UVW mapping (u,v,w parameters), reference your favourite internet resource for more details."},
{"name":"drawTexturedPolyWithThreeColours","native":"DRAW_TEXTURED_POLY_WITH_THREE_COLOURS","hash":"0x736D7AA1B750856B","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["x3","float"],["y3","float"],["z3","float"],["red1","float"],["green1","float"],["blue1","float"],["alpha1","int"],["red2","float"],["green2","float"],["blue2","float"],["alpha2","int"],["red3","float"],["green3","float"],["blue3","float"],["alpha3","int"],["textureDict","string"],["textureName","string"],["u1","float"],["v1","float"],["w1","float"],["u2","float"],["v2","float"],["w2","float"],["u3","float"],["v3","float"],["w3","float"]],"since":877,"aka":["_DRAW_SPRITE_POLY_2"],"doc":"Used for drawling Deadline trailing lights, see deadline.ytd\n\nEach vertex has its own colour that is blended/illuminated on the texture. Additionally, the R, G, and B components are floats that are int-casted internally.\nFor UVW mapping (u,v,w parameters), reference your favourite internet resource for more details."},
{"name":"drawBox","native":"DRAW_BOX","hash":"0xD3A9971CADAC7252","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"x,y,z = start pos\nx2,y2,z2 = end pos\n\nDraw's a 3D Box between the two x,y,z coords.\n---\nKeep in mind that the edges of the box do only align to the worlds base-vectors. Therefore something like rotation cannot be applied. That means this function is pretty much useless, unless you want a static unicolor box somewhere.\nI recommend using a predefined function to call this.\n[VB.NET]\n\n```\nPublic Sub DrawBox(a As Vector3, b As Vector3, col As Color)\n    [Function].Call(Hash.DRAW_BOX,a.X, a.Y, a.Z,b.X, b.Y, b.Z,col.R, col.G, col.B, col.A)\nEnd Sub\n```\n\n[C#]\n\n```\npublic void DrawBox(Vector3 a, Vector3 b, Color col)\n{\n    Function.Call(Hash.DRAW_BOX,a.X, a.Y, a.Z,b.X, b.Y, b.Z,col.R, col.G, col.B, col.A);\n}\n```"},
{"name":"setBackfaceculling","native":"SET_BACKFACECULLING","hash":"0x23BA6B0C2AD7B0D3","params":[["toggle","BOOL"]]},
{"name":"setDepthwriting","native":"SET_DEPTHWRITING","hash":"0xC5C8F970D4EDFF71","params":[["toggle","BOOL"]],"since":877},
{"name":"beginTakeMissionCreatorPhoto","native":"BEGIN_TAKE_MISSION_CREATOR_PHOTO","hash":"0x1DD2139A9A20DCE8","ret":"BOOL"},
{"name":"getStatusOfTakeMissionCreatorPhoto","native":"GET_STATUS_OF_TAKE_MISSION_CREATOR_PHOTO","hash":"0x90A78ECAA4E78453","ret":"int"},
{"name":"freeMemoryForMissionCreatorPhoto","native":"FREE_MEMORY_FOR_MISSION_CREATOR_PHOTO","hash":"0x0A46AF8A78DC5E0A"},
{"name":"loadMissionCreatorPhoto","native":"LOAD_MISSION_CREATOR_PHOTO","hash":"0x4862437A486F91B0","params":[["p0","Any*"],["p1","Any"],["p2","Any"],["p3","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"getStatusOfLoadMissionCreatorPhoto","native":"GET_STATUS_OF_LOAD_MISSION_CREATOR_PHOTO","hash":"0x1670F8D05056F257","params":[["p0","Any*"]],"ret":"int","blocked":"memory"},
{"name":"beginCreateMissionCreatorPhotoPreview","native":"BEGIN_CREATE_MISSION_CREATOR_PHOTO_PREVIEW","hash":"0x7FA5D82B8F58EC06","ret":"BOOL"},
{"name":"getStatusOfCreateMissionCreatorPhotoPreview","native":"GET_STATUS_OF_CREATE_MISSION_CREATOR_PHOTO_PREVIEW","hash":"0x5B0316762AFD4A64","ret":"int"},
{"name":"freeMemoryForMissionCreatorPhotoPreview","native":"FREE_MEMORY_FOR_MISSION_CREATOR_PHOTO_PREVIEW","hash":"0x346EF3ECAAAB149E"},
{"name":"beginTakeHighQualityPhoto","native":"BEGIN_TAKE_HIGH_QUALITY_PHOTO","hash":"0xA67C35C56EB1BD9D","ret":"BOOL"},
{"name":"getStatusOfTakeHighQualityPhoto","native":"GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO","hash":"0x0D6CA79EEEBD8CA3","ret":"int"},
{"name":"freeMemoryForHighQualityPhoto","native":"FREE_MEMORY_FOR_HIGH_QUALITY_PHOTO","hash":"0xD801CC02177FA3F1"},
{"name":"setTakenPhotoIsMugshot","native":"SET_TAKEN_PHOTO_IS_MUGSHOT","hash":"0x1BBC135A4D25EDDE","params":[["toggle","BOOL"]]},
{"name":"setArenaThemeAndVariationForTakenPhoto","native":"SET_ARENA_THEME_AND_VARIATION_FOR_TAKEN_PHOTO","hash":"0xF3F776ADA161E47D","params":[["p0","Any"],["p1","int"]],"since":1604},
{"name":"setOnIslandXForTakenPhoto","native":"SET_ON_ISLAND_X_FOR_TAKEN_PHOTO","hash":"0xADD6627C4D325458","params":[["p0","Any"]],"since":2189},
{"name":"saveHighQualityPhoto","native":"SAVE_HIGH_QUALITY_PHOTO","hash":"0x3DEC726C25A11BAC","params":[["unused","int"]],"ret":"BOOL","blocked":"saves","doc":"1 match in 1 script. cellphone_controller.\np0 is -1 in scripts."},
{"name":"getStatusOfSaveHighQualityPhoto","native":"GET_STATUS_OF_SAVE_HIGH_QUALITY_PHOTO","hash":"0x0C0C4E81E1AC60A0","ret":"int"},
{"name":"beginCreateLowQualityCopyOfPhoto","native":"BEGIN_CREATE_LOW_QUALITY_COPY_OF_PHOTO","hash":"0x759650634F07B6B4","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"getStatusOfCreateLowQualityCopyOfPhoto","native":"GET_STATUS_OF_CREATE_LOW_QUALITY_COPY_OF_PHOTO","hash":"0xCB82A0BF0E3E3265","params":[["p0","int"]],"ret":"int","aka":["_GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO"]},
{"name":"freeMemoryForLowQualityPhoto","native":"FREE_MEMORY_FOR_LOW_QUALITY_PHOTO","hash":"0x6A12D88881435DCA"},
{"name":"drawLowQualityPhotoToPhone","native":"DRAW_LOW_QUALITY_PHOTO_TO_PHONE","hash":"0x1072F115DAB0717E","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"getMaximumNumberOfPhotos","native":"GET_MAXIMUM_NUMBER_OF_PHOTOS","hash":"0x34D23450F028B0BF","ret":"int","doc":"This function is hard-coded to always return 0."},
{"name":"getMaximumNumberOfCloudPhotos","native":"GET_MAXIMUM_NUMBER_OF_CLOUD_PHOTOS","hash":"0xDC54A7AF8B3A14EF","ret":"int","aka":["_GET_MAXIMUM_NUMBER_OF_PHOTOS_2"],"doc":"This function is hard-coded to always return 96."},
{"name":"getCurrentNumberOfCloudPhotos","native":"GET_CURRENT_NUMBER_OF_CLOUD_PHOTOS","hash":"0x473151EBC762C6DA","ret":"int","aka":["_GET_NUMBER_OF_PHOTOS","_GET_CURRENT_NUMBER_OF_PHOTOS"]},
{"name":"queueOperationToCreateSortedListOfPhotos","native":"QUEUE_OPERATION_TO_CREATE_SORTED_LIST_OF_PHOTOS","hash":"0x2A893980E96B659A","params":[["p0","Any"]],"ret":"BOOL","doc":"2 matches across 2 scripts. Only showed in appcamera & appmedia. Both were 0."},
{"name":"getStatusOfSortedListOperation","native":"GET_STATUS_OF_SORTED_LIST_OPERATION","hash":"0xF5BED327CEA362B1","params":[["p0","Any"]],"ret":"int","doc":"3 matches across 3 scripts. First 2 were 0, 3rd was 1. Possibly a bool.\nappcamera, appmedia, and cellphone_controller."},
{"name":"clearStatusOfSortedListOperation","native":"CLEAR_STATUS_OF_SORTED_LIST_OPERATION","hash":"0x4AF92ACD3141D96C"},
{"name":"doesThisPhotoSlotContainAValidPhoto","native":"DOES_THIS_PHOTO_SLOT_CONTAIN_A_VALID_PHOTO","hash":"0xE791DF1F73ED2C8B","params":[["p0","Any"]],"ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"loadHighQualityPhoto","native":"LOAD_HIGH_QUALITY_PHOTO","hash":"0xEC72C258667BE5EA","params":[["p0","Any"]],"ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"getLoadHighQualityPhotoStatus","native":"GET_LOAD_HIGH_QUALITY_PHOTO_STATUS","hash":"0x40AFB081F8ADD4EE","params":[["p0","int"]],"ret":"int","aka":["_RETURN_TWO"],"doc":"Hardcoded to always return 2."},
{"name":"drawLightWithRangeex","native":"DRAW_LIGHT_WITH_RANGEEX","hash":"0xF49E9A9716A04595","params":[["x","float"],["y","float"],["z","float"],["r","int"],["g","int"],["b","int"],["range","float"],["intensity","float"],["shadow","float"]],"aka":["_DRAW_LIGHT_WITH_RANGE_WITH_SHADOW","_DRAW_LIGHT_WITH_RANGE_AND_SHADOW"]},
{"name":"drawLightWithRange","native":"DRAW_LIGHT_WITH_RANGE","hash":"0xF2A1B2771A01DBD4","params":[["posX","float"],["posY","float"],["posZ","float"],["colorR","int"],["colorG","int"],["colorB","int"],["range","float"],["intensity","float"]]},
{"name":"drawSpotLight","native":"DRAW_SPOT_LIGHT","hash":"0xD0F64B265C8C8B33","params":[["posX","float"],["posY","float"],["posZ","float"],["dirX","float"],["dirY","float"],["dirZ","float"],["colorR","int"],["colorG","int"],["colorB","int"],["distance","float"],["brightness","float"],["hardness","float"],["radius","float"],["falloff","float"]],"doc":"Parameters:\n* pos - coordinate where the spotlight is located\n* dir - the direction vector the spotlight should aim at from its current position\n* r,g,b - color of the spotlight\n* distance - the maximum distance the light can reach\n* brightness - the brightness of the light\n* roundness - \"smoothness\" of the circle edge\n* radius - the radius size of the spotlight\n* falloff - the falloff size of the light's edge\n\nExample in C# (spotlight aims at the closest vehicle):\n\n```\nVector3 myPos = Game.Player.Character.Position;\nVehicle nearest = World.GetClosestVehicle(myPos , 1000f);\nVector3 destinationCoords = nearest.Position;\nVector3 dirVector = destinationCoords - myPos;\ndirVector.Normalize();\nFunction.Call(Hash.DRAW_SPOT_LIGHT, pos.X, pos.Y, pos.Z, dirVector.X, dirVector.Y, dirVector.Z, 255, 255, 255, 100.0f, 1f, 0.0f, 13.0f, 1f);\n```"},
{"name":"drawShadowedSpotLight","native":"DRAW_SHADOWED_SPOT_LIGHT","hash":"0x5BCA583A583194DB","params":[["posX","float"],["posY","float"],["posZ","float"],["dirX","float"],["dirY","float"],["dirZ","float"],["colorR","int"],["colorG","int"],["colorB","int"],["distance","float"],["brightness","float"],["roundness","float"],["radius","float"],["falloff","float"],["shadowId","int"]],"aka":["_DRAW_SPOT_LIGHT_WITH_SHADOW"]},
{"name":"fadeUpPedLight","native":"FADE_UP_PED_LIGHT","hash":"0xC9B18B4619F48F7B","params":[["p0","float"]]},
{"name":"updateLightsOnEntity","native":"UPDATE_LIGHTS_ON_ENTITY","hash":"0xDEADC0DEDEADC0DE","params":[["entity","Entity"]],"aka":["_ENTITY_DESCRIPTION_TEXT"]},
{"name":"setLightOverrideMaxIntensityScale","native":"SET_LIGHT_OVERRIDE_MAX_INTENSITY_SCALE","hash":"0x9641588DAB93B4B5","params":[["p0","Any"]],"since":877},
{"name":"getLightOverrideMaxIntensityScale","native":"GET_LIGHT_OVERRIDE_MAX_INTENSITY_SCALE","hash":"0x393BD2275CEB7793","ret":"float","since":1103},
{"name":"drawMarker","native":"DRAW_MARKER","hash":"0x28477EC23D892089","params":[["type","int","The marker type to draw."],["posX","float","The X coordinate to draw the marker at."],["posY","float","The Y coordinate to draw the marker at."],["posZ","float","The Z coordinate to draw the marker at."],["dirX","float","The X component of the direction vector for the marker, or 0.0 to use rotX/Y/Z."],["dirY","float","The Y component of the direction vector for the marker, or 0.0 to use rotX/Y/Z."],["dirZ","float","The Z component of the direction vector for the marker, or 0.0 to use rotX/Y/Z."],["rotX","float","The X rotation for the marker. Only used if the direction vector is 0.0."],["rotY","float","The Y rotation for the marker. Only used if the direction vector is 0.0."],["rotZ","float","The Z rotation for the marker. Only used if the direction vector is 0.0."],["scaleX","float","The scale for the marker on the X axis."],["scaleY","float","The scale for the marker on the Y axis."],["scaleZ","float","The scale for the marker on the Z axis."],["red","int","The red component of the marker color, on a scale from 0-255."],["green","int","The green component of the marker color, on a scale from 0-255."],["blue","int","The blue component of the marker color, on a scale from 0-255."],["alpha","int","The alpha component of the marker color, on a scale from 0-255."],["bobUpAndDown","BOOL","Whether or not the marker should slowly animate up/down."],["faceCamera","BOOL","Whether the marker should be a 'billboard', as in, should constantly face the camera."],["rotationOrder","int","The order yaw, pitch and roll is applied. Usually 2."],["rotate","BOOL","Rotations only apply to the heading."],["textureDict","string","A texture dictionary to draw the marker with, or NULL. Example: 'GolfPutting'"],["textureName","string","A texture name in textureDict to draw the marker with, or NULL. Example: 'PuttingMarker'"],["invert","BOOL","Whether or not the marker should use an inverted depth test."]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`type` must be between `0` and `44`; `posX`, `posY`, `posZ`, `dirX`, `dirY`, `dirZ`, `rotX`, `rotY`, `rotZ`, `scaleX`, `scaleY`, `scaleZ` must be finite numbers. Otherwise the call is ignored: nothing reaches the game, and no error is raised. A texture pair the game has not loaded, or empty strings, does not refuse the call: the marker is drawn without a texture."}],"doc":"Draws a marker with the specified appearance at the target location. This has to be called every frame."},
{"name":"drawMarkerEx","native":"DRAW_MARKER_EX","hash":"0xE82728F0DE75D13A","params":[["type","int"],["posX","float"],["posY","float"],["posZ","float"],["dirX","float"],["dirY","float"],["dirZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["scaleX","float"],["scaleY","float"],["scaleZ","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["bobUpAndDown","BOOL"],["faceCamera","BOOL"],["p19","Any"],["rotate","BOOL"],["textureDict","string"],["textureName","string"],["drawOnEnts","BOOL"],["p24","BOOL"],["p25","BOOL"]],"checked":1,"since":573,"aka":["_DRAW_MARKER_2"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`type` must be between `0` and `44`; `posX`, `posY`, `posZ`, `dirX`, `dirY`, `dirZ`, `rotX`, `rotY`, `rotZ`, `scaleX`, `scaleY`, `scaleZ` must be finite numbers. Otherwise the call is ignored: nothing reaches the game, and no error is raised. A texture pair the game has not loaded, or empty strings, does not refuse the call: the marker is drawn without a texture."}],"doc":"See `drawMarker`"},
{"name":"drawMarkerSphere","native":"DRAW_MARKER_SPHERE","hash":"0x799017F9E3B10112","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["red","int"],["green","int"],["blue","int"],["alpha","float"]],"since":463,"aka":["_DRAW_SPHERE"],"doc":"Draws a 3D sphere, typically seen in the GTA:O freemode event \"Penned In\".\nExample: https://i.imgur.com/nCbtS4H.png\n\nalpha - The alpha for the sphere. Goes from 0.0 to 1.0."},
{"name":"createCheckpoint","native":"CREATE_CHECKPOINT","hash":"0x0134F0835AB6BFCB","params":[["type","int"],["posX1","float"],["posY1","float"],["posZ1","float"],["posX2","float"],["posY2","float"],["posZ2","float"],["diameter","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["reserved","int"]],"ret":"int","doc":"Creates a checkpoint. Returns the handle of the checkpoint.\n\n20/03/17 : Attention, checkpoints are already handled by the game itself, so you must not loop it like markers.\n\nParameters:\n* type - The type of checkpoint to create. See below for a list of checkpoint types.\n* pos1 - The position of the checkpoint.\n* pos2 - The position of the next checkpoint to point to.\n* radius - The radius of the checkpoint.\n* color - The color of the checkpoint.\n* reserved - Special parameter, see below for details. Usually set to 0 in the scripts.\n\nCheckpoint types:\n0-4---------Cylinder: 1 arrow, 2 arrow, 3 arrows, CycleArrow, Checker\n5-9---------Cylinder: 1 arrow, 2 arrow, 3 arrows, CycleArrow, Checker\n10-14-------Ring: 1 arrow, 2 arrow, 3 arrows, CycleArrow, Checker\n15-19-------1 arrow, 2 arrow, 3 arrows, CycleArrow, Checker\n20-24-------Cylinder: 1 arrow, 2 arrow, 3 arrows, CycleArrow, Checker\n25-29-------Cylinder: 1 arrow, 2 arrow, 3 arrows, CycleArrow, Checker\n30-34-------Cylinder: 1 arrow, 2 arrow, 3 arrows, CycleArrow, Checker\n35-38-------Ring: Airplane Up, Left, Right, UpsideDown\n39----------?\n40----------Ring: just a ring\n41----------?\n42-44-------Cylinder w/ number (uses 'reserved' parameter)\n45-47-------Cylinder no arrow or number\n\nIf using type 42-44, reserved sets number / number and shape to display\n\n0-99------------Just numbers (0-99)\n100-109-----------------Arrow (0-9)\n110-119------------Two arrows (0-9)\n120-129----------Three arrows (0-9)\n130-139----------------Circle (0-9)\n140-149------------CycleArrow (0-9)\n150-159----------------Circle (0-9)\n160-169----Circle  w/ pointer (0-9)\n170-179-------Perforated ring (0-9)\n180-189----------------Sphere (0-9)"},
{"name":"setCheckpointInsideCylinderHeightScale","native":"SET_CHECKPOINT_INSIDE_CYLINDER_HEIGHT_SCALE","hash":"0x4B5B4DA5D79F1943","params":[["checkpoint","int"],["scale","float"]],"aka":["_SET_CHECKPOINT_SCALE"]},
{"name":"setCheckpointInsideCylinderScale","native":"SET_CHECKPOINT_INSIDE_CYLINDER_SCALE","hash":"0x44621483FF966526","params":[["checkpoint","int"],["scale","float"]],"since":877,"aka":["_SET_CHECKPOINT_ICON_SCALE"]},
{"name":"setCheckpointCylinderHeight","native":"SET_CHECKPOINT_CYLINDER_HEIGHT","hash":"0x2707AAE9D9297D89","params":[["checkpoint","int"],["nearHeight","float"],["farHeight","float"],["radius","float"]],"doc":"Sets the cylinder height of the checkpoint.\n\nParameters:\n* nearHeight - The height of the checkpoint when inside of the radius.\n* farHeight - The height of the checkpoint when outside of the radius.\n* radius - The radius of the checkpoint."},
{"name":"setCheckpointRgba","native":"SET_CHECKPOINT_RGBA","hash":"0x7167371E8AD747F7","params":[["checkpoint","int"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"Sets the checkpoint color."},
{"name":"setCheckpointRgba2","native":"SET_CHECKPOINT_RGBA2","hash":"0xB9EA40907C680580","params":[["checkpoint","int"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"aka":["_SET_CHECKPOINT_ICON_RGBA"],"doc":"Sets the checkpoint icon color."},
{"name":"setCheckpointClipplaneWithPosNorm","native":"SET_CHECKPOINT_CLIPPLANE_WITH_POS_NORM","hash":"0xF51D36185993515D","params":[["checkpoint","int"],["posX","float"],["posY","float"],["posZ","float"],["unkX","float"],["unkY","float"],["unkZ","float"]]},
{"name":"setCheckpointForceOldArrowPointing","native":"SET_CHECKPOINT_FORCE_OLD_ARROW_POINTING","hash":"0xFCF6788FC4860CD4","params":[["checkpoint","int"]],"since":1734},
{"name":"setCheckpointDecalRotAlignedToCameraRot","native":"SET_CHECKPOINT_DECAL_ROT_ALIGNED_TO_CAMERA_ROT","hash":"0x615D3925E87A3B26","params":[["checkpoint","int"]],"doc":"Unknown. Called after creating a checkpoint (type: 51) in the creators."},
{"name":"setCheckpointForceDirection","native":"SET_CHECKPOINT_FORCE_DIRECTION","hash":"0xDB1EA9411C8911EC","params":[["checkpoint","int"]],"since":1180},
{"name":"setCheckpointDirection","native":"SET_CHECKPOINT_DIRECTION","hash":"0x3C788E7F6438754D","params":[["checkpoint","int"],["posX","float"],["posY","float"],["posZ","float"]],"since":1180},
{"name":"deleteCheckpoint","native":"DELETE_CHECKPOINT","hash":"0xF5ED37F54CD4D52E","params":[["checkpoint","int"]]},
{"name":"dontRenderInGameUi","native":"DONT_RENDER_IN_GAME_UI","hash":"0x22A249A53034450A","params":[["p0","BOOL"]]},
{"name":"forceRenderInGameUi","native":"FORCE_RENDER_IN_GAME_UI","hash":"0xDC459CFA0CCE245B","params":[["toggle","BOOL"]]},
{"name":"requestStreamedTextureDict","native":"REQUEST_STREAMED_TEXTURE_DICT","hash":"0xDFA2EF8E04127DD5","params":[["textureDict","string"],["p1","BOOL"]],"doc":"This function can requests texture dictonaries from following RPFs:\nscaleform_generic.rpf\nscaleform_minigames.rpf\nscaleform_minimap.rpf\nscaleform_web.rpf\n\nlast param isnt a toggle"},
{"name":"hasStreamedTextureDictLoaded","native":"HAS_STREAMED_TEXTURE_DICT_LOADED","hash":"0x0145F696AAAAD2E4","params":[["textureDict","string"]],"ret":"BOOL"},
{"name":"setStreamedTextureDictAsNoLongerNeeded","native":"SET_STREAMED_TEXTURE_DICT_AS_NO_LONGER_NEEDED","hash":"0xBE2CACCF5A8AA805","params":[["textureDict","string"]]},
{"name":"drawRect","native":"DRAW_RECT","hash":"0x3A618A217E5154F0","params":[["x","float"],["y","float"],["width","float"],["height","float"],["r","int"],["g","int"],["b","int"],["a","int"],["p8","BOOL"]],"doc":"Draws a rectangle on the screen.\n\n-x: The relative X point of the center of the rectangle. (0.0-1.0, 0.0 is the left edge of the screen, 1.0 is the right edge of the screen)\n\n-y: The relative Y point of the center of the rectangle. (0.0-1.0, 0.0 is the top edge of the screen, 1.0 is the bottom edge of the screen)\n\n-width: The relative width of the rectangle. (0.0-1.0, 1.0 means the whole screen width)\n\n-height: The relative height of the rectangle. (0.0-1.0, 1.0 means the whole screen height)\n\n-R: Red part of the color. (0-255)\n\n-G: Green part of the color. (0-255)\n\n-B: Blue part of the color. (0-255)\n\n-A: Alpha part of the color. (0-255, 0 means totally transparent, 255 means totally opaque)\n\nThe total number of rectangles to be drawn in one frame is apparently limited to 399."},
{"name":"setScriptGfxDrawBehindPausemenu","native":"SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU","hash":"0xC6372ECD45D73BCD","params":[["toggle","BOOL"]],"doc":"Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for TV channels and other draw commands that are used with a world render target."},
{"name":"setScriptGfxDrawOrder","native":"SET_SCRIPT_GFX_DRAW_ORDER","hash":"0x61BB1D9B3A95D802","params":[["drawOrder","int"]],"aka":["_SET_2D_LAYER","_SET_UI_LAYER"],"doc":"Sets the draw order for script draw commands.\n\nExamples from decompiled scripts:\n\n```\nsetScriptGfxDrawOrder(7);\ndrawRect(0.5, 0.5, 3.0, 3.0, v_4, v_5, v_6, a_0._f172, 0);\n\nsetScriptGfxDrawOrder(1);\ndrawRect(0.5, 0.5, 1.5, 1.5, 0, 0, 0, 255, 0);\n```"},
{"name":"setScriptGfxAlign","native":"SET_SCRIPT_GFX_ALIGN","hash":"0xB8A850F20A067EB6","params":[["horizontalAlign","int","The horizontal alignment. This can be 67 ('C'), 76 ('L'), or 82 ('R')."],["verticalAlign","int","The vertical alignment. This can be 67 ('C'), 66 ('B'), or 84 ('T')."]],"aka":["_SET_SCREEN_DRAW_POSITION","_SCREEN_DRAW_POSITION_BEGIN"],"doc":"This function anchors script draws to a side of the safe zone. This needs to be called to make the interface independent of the player's safe zone configuration.\n\nThese values are equivalent to alignX and alignY in common:/data/ui/frontend.xml, which can be used as a baseline for default alignment.\n\nUsing any other value (including 0) will result in the safe zone not being taken into account for this draw. The canonical value for this is 'I' (73).\n\nFor example, you can use `setScriptGfxAlign`(0, 84) to only scale on the Y axis (to the top), but not change the X axis.\n\nTo reset the value, use `resetScriptGfxAlign`."},
{"name":"resetScriptGfxAlign","native":"RESET_SCRIPT_GFX_ALIGN","hash":"0xE3A3DB414A373DAB","aka":["_SCREEN_DRAW_POSITION_END"],"doc":"This function resets the alignment set using `setScriptGfxAlign` and `setScriptGfxAlignParams` to the default values ('I', 'I'; 0, 0, 0, 0).\nThis should be used after having used the aforementioned functions in order to not affect any other scripts attempting to draw."},
{"name":"setScriptGfxAlignParams","native":"SET_SCRIPT_GFX_ALIGN_PARAMS","hash":"0xF5A2C681787E579D","params":[["x","float"],["y","float"],["w","float"],["h","float"]],"aka":["_SCREEN_DRAW_POSITION_RATIO"],"doc":"Sets the draw offset/calculated size for `setScriptGfxAlign`. If using any alignment other than left/top, the game expects the width/height to be configured using this native in order to get a proper starting position for the draw command."},
{"name":"getScriptGfxAlignPosition","native":"GET_SCRIPT_GFX_ALIGN_POSITION","hash":"0x6DD8F5AA635EB4B2","params":[["x","float"],["y","float"]],"outs":[["calculatedX","float",2],["calculatedY","float",3]],"aka":["_GET_SCRIPT_GFX_POSITION"],"doc":"Calculates the effective X/Y fractions when applying the values set by `setScriptGfxAlign` and `setScriptGfxAlignParams`"},
{"name":"getSafeZoneSize","native":"GET_SAFE_ZONE_SIZE","hash":"0xBAF107B6BB2C97F0","ret":"float","doc":"Gets the scale of safe zone. if the safe zone size scale is max, it will return 1.0."},
{"name":"drawSprite","native":"DRAW_SPRITE","hash":"0xE7FFAE5EBF23D890","params":[["textureDict","string"],["textureName","string"],["screenX","float"],["screenY","float"],["width","float"],["height","float"],["heading","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["p11","BOOL"],["p12","Any"]],"doc":"Draws a 2D sprite on the screen.\n\nParameters:\ntextureDict - Name of texture dictionary to load texture from (e.g. \"CommonMenu\", \"MPWeaponsCommon\", etc.)\n\ntextureName - Name of texture to load from texture dictionary (e.g. \"last_team_standing_icon\", \"tennis_icon\", etc.)\n\nscreenX/Y - Screen offset (0.5 = center)\nscaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half)\n\nheading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees\n\nred,green,blue - Sprite color (default = 255/255/255)\n\nalpha - opacity level"},
{"name":"drawSpriteArx","native":"DRAW_SPRITE_ARX","hash":"0x2D3B147AFAD49DE0","params":[["textureDict","string"],["textureName","string"],["x","float"],["y","float"],["width","float"],["height","float"],["p6","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["p11","Any"],["p12","Any"]],"since":1290,"doc":"Used in arcade games and Beam hack minigame in Doomsday Heist. I will most certainly dive into this to try replicate arcade games.\nx position must be between 0.0 and 1.0 (1.0 being the most right side of the screen)\ny position must be between 0.0 and 1.0 (1.0 being the most bottom side of the screen)\nwidth 0.0 - 1.0 is the reasonable amount generally\nheight 0.0 - 1.0 is the reasonable amount generally\np6 almost always 0.0\np11 seems to be unknown but almost always 0 int"},
{"name":"drawSpriteNamedRendertarget","native":"DRAW_SPRITE_NAMED_RENDERTARGET","hash":"0x2BC54A8188768488","params":[["textureDict","string"],["textureName","string"],["screenX","float"],["screenY","float"],["width","float"],["height","float"],["heading","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["p11","Any"]],"since":877,"aka":["_DRAW_INTERACTIVE_SPRITE"],"doc":"Similar to `drawSprite`, but seems to be some kind of \"interactive\" sprite, at least used by render targets.\nThese seem to be the only dicts ever requested by this native:\n\nprop_screen_biker_laptop\nProp_Screen_GR_Disruption\nProp_Screen_TaleOfUs\nprop_screen_nightclub\nProp_Screen_IE_Adhawk\nprop_screen_sm_free_trade_shipping\nprop_screen_hacker_truck\nMPDesktop\nProp_Screen_Nightclub\nAnd a few others"},
{"name":"drawSpriteArxWithUv","native":"DRAW_SPRITE_ARX_WITH_UV","hash":"0x95812F9B26074726","params":[["textureDict","string"],["textureName","string"],["x","float"],["y","float"],["width","float"],["height","float"],["u1","float"],["v1","float"],["u2","float"],["v2","float"],["heading","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["p15","Any"]],"since":1868,"aka":["_DRAW_SPRITE_UV"],"doc":"Similar to `drawSprite`, but allows to specify the texture coordinates used to draw the sprite.\n\nu1, v1 - texture coordinates for the top-left corner\nu2, v2 - texture coordinates for the bottom-right corner"},
{"name":"addEntityIcon","native":"ADD_ENTITY_ICON","hash":"0x9CD43EEE12BF4DD0","params":[["entity","Entity"],["icon","string"]],"ret":"int","doc":"Example:\n\n```\naddEntityIcon(a_0, \"MP_Arrow\");\n```\n\nI tried this and nothing happened..."},
{"name":"setEntityIconVisibility","native":"SET_ENTITY_ICON_VISIBILITY","hash":"0xE0E8BEECCA96BA31","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"setEntityIconColor","native":"SET_ENTITY_ICON_COLOR","hash":"0x1D5F595CCAE2E238","params":[["entity","Entity"],["red","int"],["green","int"],["blue","int"],["alpha","int"]]},
{"name":"setDrawOrigin","native":"SET_DRAW_ORIGIN","hash":"0xAA0008F3BBB8F416","params":[["x","float"],["y","float"],["z","float"],["p3","BOOL"]],"doc":"Sets the on-screen drawing origin for draw-functions (which is normally x=0,y=0 in the upper left corner of the screen) to a world coordinate.\nFrom now on, the screen coordinate which displays the given world coordinate on the screen is seen as x=0,y=0.\n\nExample in C#:\n\n```\nVector3 boneCoord = somePed.GetBoneCoord(Bone.SKEL_Head);\nFunction.Call(Hash.SET_DRAW_ORIGIN, boneCoord.X, boneCoord.Y, boneCoord.Z, 0);\nFunction.Call(Hash.DRAW_SPRITE, \"helicopterhud\", \"hud_corner\", -0.01, -0.015, 0.013, 0.013, 0.0, 255, 0, 0, 200);\nFunction.Call(Hash.DRAW_SPRITE, \"helicopterhud\", \"hud_corner\", 0.01, -0.015, 0.013, 0.013, 90.0, 255, 0, 0, 200);\nFunction.Call(Hash.DRAW_SPRITE, \"helicopterhud\", \"hud_corner\", -0.01, 0.015, 0.013, 0.013, 270.0, 255, 0, 0, 200);\nFunction.Call(Hash.DRAW_SPRITE, \"helicopterhud\", \"hud_corner\", 0.01, 0.015, 0.013, 0.013, 180.0, 255, 0, 0, 200);\nFunction.Call(Hash.CLEAR_DRAW_ORIGIN);\n```\n\nIf the pedestrian starts walking around now, the sprites are always around her head, no matter where the head is displayed on the screen.\n\nThis function also effects the drawing of texts and other UI-elements.\nThe effect can be reset by calling `clearDrawOrigin`()."},
{"name":"clearDrawOrigin","native":"CLEAR_DRAW_ORIGIN","hash":"0xFF0B610F6BE0D7AF","doc":"Resets the screen's draw-origin which was changed by the function `setDrawOrigin`(...) back to x=0,y=0.\n\nSee `setDrawOrigin`(...) for further information."},
{"name":"setBinkMovie","native":"SET_BINK_MOVIE","hash":"0x338D9F609FD632DB","params":[["name","string"]],"ret":"int","since":1290,"aka":["_SET_BINK_MOVIE_REQUESTED","_SET_BINK_MOVIE"]},
{"name":"playBinkMovie","native":"PLAY_BINK_MOVIE","hash":"0x70D2CC8A542A973C","params":[["binkMovie","int"]],"since":1290,"aka":["_PLAY_BINK_MOVIE"]},
{"name":"stopBinkMovie","native":"STOP_BINK_MOVIE","hash":"0x63606A61DE68898A","params":[["binkMovie","int"]],"since":1290,"aka":["_STOP_BINK_MOVIE"]},
{"name":"releaseBinkMovie","native":"RELEASE_BINK_MOVIE","hash":"0x04D950EEFA4EED8C","params":[["binkMovie","int"]],"since":1290,"aka":["_RELEASE_BINK_MOVIE"]},
{"name":"drawBinkMovie","native":"DRAW_BINK_MOVIE","hash":"0x7118E83EEB9F7238","params":[["binkMovie","int"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["r","int"],["g","int"],["b","int"],["a","int"]],"since":1290,"aka":["_DRAW_BINK_MOVIE"]},
{"name":"setBinkMovieTime","native":"SET_BINK_MOVIE_TIME","hash":"0x0CB6B3446855B57A","params":[["binkMovie","int"],["progress","float"]],"since":1290,"aka":["_SET_BINK_MOVIE_PROGRESS","_SET_BINK_MOVIE_TIME"],"doc":"In percentage: 0.0 - 100.0"},
{"name":"getBinkMovieTime","native":"GET_BINK_MOVIE_TIME","hash":"0x8E17DDD6B9D5BF29","params":[["binkMovie","int"]],"ret":"float","since":1734,"aka":["_GET_BINK_MOVIE_TIME"],"doc":"In percentage: 0.0 - 100.0"},
{"name":"setBinkMovieVolume","native":"SET_BINK_MOVIE_VOLUME","hash":"0xAFF33B1178172223","params":[["binkMovie","int","Is return value from `setBinkMovie`."],["value","float"]],"since":1290,"aka":["_SET_BINK_MOVIE_UNK","_SET_BINK_MOVIE_VOLUME"]},
{"name":"attachTvAudioToEntity","native":"ATTACH_TV_AUDIO_TO_ENTITY","hash":"0x845BAD77CC770633","params":[["entity","Entity"]]},
{"name":"setBinkMovieAudioFrontend","native":"SET_BINK_MOVIE_AUDIO_FRONTEND","hash":"0xF816F2933752322D","params":[["binkMovie","int"],["p1","BOOL"]],"since":1868,"aka":["_SET_BINK_MOVIE_UNK_2"]},
{"name":"setTvAudioFrontend","native":"SET_TV_AUDIO_FRONTEND","hash":"0x113D2C5DC57E1774","params":[["toggle","BOOL"]],"doc":"Probably changes tvs from being a 3d audio to being \"global\" audio"},
{"name":"setBinkShouldSkip","native":"SET_BINK_SHOULD_SKIP","hash":"0x6805D58CAA427B72","params":[["binkMovie","int"],["bShouldSkip","BOOL"]],"since":1290,"aka":["_SET_BINK_SHOULD_SKIP"]},
{"name":"loadMovieMeshSet","native":"LOAD_MOVIE_MESH_SET","hash":"0xB66064452270E8F1","params":[["movieMeshSetName","string"]],"ret":"int"},
{"name":"releaseMovieMeshSet","native":"RELEASE_MOVIE_MESH_SET","hash":"0xEB119AA014E89183","params":[["movieMeshSet","int"]]},
{"name":"queryMovieMeshSetState","native":"QUERY_MOVIE_MESH_SET_STATE","hash":"0x9B6E70C5CEEF4EEB","params":[["p0","Any"]],"ret":"int"},
{"name":"getScreenResolution","native":"GET_SCREEN_RESOLUTION","hash":"0x888D57E407E63624","outs":[["x","int",0],["y","int",1]],"doc":"```\nint screenresx,screenresy;\ngetScreenResolution(&screenresx,&screenresy);\n```"},
{"name":"getActualScreenResolution","native":"GET_ACTUAL_SCREEN_RESOLUTION","hash":"0x873C9F3104101DD3","outs":[["x","int",0],["y","int",1]],"aka":["_GET_SCREEN_ACTIVE_RESOLUTION","_GET_ACTIVE_SCREEN_RESOLUTION"],"doc":"Returns current screen resolution."},
{"name":"getAspectRatio","native":"GET_ASPECT_RATIO","hash":"0xF1307EF624A80D87","params":[["b","BOOL"]],"ret":"float","aka":["_GET_SCREEN_ASPECT_RATIO","_GET_ASPECT_RATIO"]},
{"name":"getScreenAspectRatio","native":"GET_SCREEN_ASPECT_RATIO","hash":"0xB2EBE8CBC58B90E9","ret":"float"},
{"name":"getIsWidescreen","native":"GET_IS_WIDESCREEN","hash":"0x30CF4BDA4FCB1905","ret":"BOOL","doc":"Setting Aspect Ratio Manually in game will return:\n\nfalse - for Narrow format Aspect Ratios (3:2, 4:3, 5:4, etc. )\ntrue - for Wide format Aspect Ratios (5:3, 16:9, 16:10, etc. )\n\nSetting Aspect Ratio to \"Auto\" in game will return \"false\" or \"true\" based on the actual set Resolution Ratio."},
{"name":"getIsHidef","native":"GET_IS_HIDEF","hash":"0x84ED31191CC5D2C9","ret":"BOOL","doc":"false = Any resolution < 1280x720\ntrue = Any resolution >= 1280x720"},
{"name":"adjustNextPosSizeAsNormalized169","native":"ADJUST_NEXT_POS_SIZE_AS_NORMALIZED_16_9","hash":"0xEFABC7722293DA7C"},
{"name":"displayLoadingScreenNow","native":"DISPLAY_LOADING_SCREEN_NOW","params":[["onOff","BOOL"]],"na":1},
{"name":"setNightvision","native":"SET_NIGHTVISION","hash":"0x18F621F7A5B1F85D","params":[["toggle","BOOL"]],"doc":"Enables Night Vision.\n\nExample:\n\n```\nC#: Function.Call(Hash.SET_NIGHTVISION, true);\nC++: setNightvision(true);\n```\n\nBOOL toggle:\ntrue = turns night vision on for your player.\nfalse = turns night vision off for your player."},
{"name":"getRequestingnightvision","native":"GET_REQUESTINGNIGHTVISION","hash":"0x35FB78DC42B7BD21","ret":"BOOL"},
{"name":"getUsingnightvision","native":"GET_USINGNIGHTVISION","hash":"0x2202A3F42C8E5F79","ret":"BOOL","aka":["_IS_NIGHTVISION_INACTIVE","_IS_NIGHTVISION_ACTIVE"]},
{"name":"setExposuretweak","native":"SET_EXPOSURETWEAK","hash":"0xEF398BEEE4EF45F9","params":[["toggle","BOOL"]]},
{"name":"forceExposureReadback","native":"FORCE_EXPOSURE_READBACK","hash":"0x814AF7DCAACC597B","params":[["toggle","BOOL"]],"since":372},
{"name":"overrideNightvisionLightRange","native":"OVERRIDE_NIGHTVISION_LIGHT_RANGE","hash":"0x43FA7CBE20DAB219","params":[["p0","float"]],"since":1290},
{"name":"setNoiseoveride","native":"SET_NOISEOVERIDE","hash":"0xE787BF1C5CF823C9","params":[["toggle","BOOL"]]},
{"name":"setNoisinessoveride","native":"SET_NOISINESSOVERIDE","hash":"0xCB6A7C3BB17A0C67","params":[["value","float"]]},
{"name":"getScreenCoordFromWorldCoord","native":"GET_SCREEN_COORD_FROM_WORLD_COORD","hash":"0x34E82F05DF2974F5","params":[["worldX","float"],["worldY","float"],["worldZ","float"]],"ret":"BOOL","outs":[["screenX","float",3],["screenY","float",4]],"aka":["_WORLD3D_TO_SCREEN2D"],"notes":[{"kind":"tip","title":"Friendlier helper","md":"[lsmp.worldToScreen](/resources/api#world/fn-world-to-screen) returns the same values as an object: `{ onScreen, x, y }`."}],"doc":"Convert a world coordinate into its relative screen coordinate.  (WorldToScreen)\n\nReturns a boolean; whether or not the operation was successful. It will return false if the coordinates given are not visible to the rendering camera.\n\nFor .NET users...\n\nVB:\n\n```\nPublic Shared Function World3DToScreen2d(pos as vector3) As Vector2\n\n        Dim x2dp, y2dp As New Native.OutputArgument\n\n        Native.Function.Call(Of Boolean)(Native.Hash.GET_SCREEN_COORD_FROM_WORLD_COORD , pos.x, pos.y, pos.z, x2dp, y2dp)\n        Return New Vector2(x2dp.GetResult(Of Single), y2dp.GetResult(Of Single))\n\n    End Function\n```\n\nC#:\n\n```\nVector2 World3DToScreen2d(Vector3 pos)\n    {\n        var x2dp = new OutputArgument();\n        var y2dp = new OutputArgument();\n\n        Function.Call<bool>(Hash.GET_SCREEN_COORD_FROM_WORLD_COORD , pos.X, pos.Y, pos.Z, x2dp, y2dp);\n        return new Vector2(x2dp.GetResult<float>(), y2dp.GetResult<float>());\n    }\n//USE VERY SMALL VALUES FOR THE SCALE OF RECTS/TEXT because it is dramatically larger on screen than in 3D, e.g '0.05' small.\n```\n\nIt does seem however that calling `setDrawOrigin` then your natives, then ending it. Seems to work better for certain things such as keeping boxes around people for a predator missile e.g."},
{"name":"getTextureResolution","native":"GET_TEXTURE_RESOLUTION","hash":"0x35736EE65BD00C11","params":[["textureDict","string"],["textureName","string"]],"ret":"Vector3","doc":"Returns the texture resolution of the passed texture dict+name.\n\nNote: Most texture resolutions are doubled compared to the console version of the game."},
{"name":"overridePedCrewLogoTexture","native":"OVERRIDE_PED_CREW_LOGO_TEXTURE","hash":"0x95EB5E34F821BABE","params":[["ped","Ped"],["txd","string"],["txn","string"]],"ret":"BOOL","since":877,"aka":["_OVERRIDE_PED_BADGE_TEXTURE"],"doc":"Overriding ped badge texture to a passed texture. It's synced between players (even custom textures!), don't forget to request used dict on *all* clients to make it sync properly. Can be removed by passing empty strings."},
{"name":"setDistanceBlurStrengthOverride","native":"SET_DISTANCE_BLUR_STRENGTH_OVERRIDE","hash":"0xE2892E7E55D7073A","params":[["p0","float"]]},
{"name":"setFlash","native":"SET_FLASH","hash":"0x0AB84296FED9CFC6","params":[["p0","float"],["p1","float"],["fadeIn","float"],["duration","float"],["fadeOut","float"]],"doc":"Purpose of p0 and p1 unknown."},
{"name":"disableOcclusionThisFrame","native":"DISABLE_OCCLUSION_THIS_FRAME","hash":"0x3669F1B198DCAA4F"},
{"name":"setArtificialLightsState","native":"SET_ARTIFICIAL_LIGHTS_STATE","hash":"0x1268615ACE24D504","params":[["state","BOOL","True turns off all artificial light sources in the map: buildings, street lights, car lights, etc. False turns them back on."]],"aka":["_SET_BLACKOUT"],"doc":"Does not affect weapons, particles, fire/explosions, flashlights or the sun.\nWhen set to true, all emissive textures (including ped components that have light effects), street lights, building lights, vehicle lights, etc will all be turned off.\n\nUsed in Humane Labs Heist for EMP."},
{"name":"setArtificialVehicleLightsState","native":"SET_ARTIFICIAL_VEHICLE_LIGHTS_STATE","hash":"0xE2B187C0939B3D32","params":[["toggle","BOOL"]],"since":2060,"aka":["_SET_ARTIFICIAL_LIGHTS_STATE_AFFECTS_VEHICLES"],"doc":"If \"blackout\" is enabled, this native allows you to ignore \"blackout\" for vehicles."},
{"name":"disableHdtexThisFrame","native":"DISABLE_HDTEX_THIS_FRAME","hash":"0xC35A6D07C93802B2"},
{"name":"createTrackedPoint","native":"CREATE_TRACKED_POINT","hash":"0xE2C9439ED45DEA60","ret":"int","doc":"Creates a tracked point, useful for checking the visibility of a 3D point on screen."},
{"name":"setTrackedPointInfo","native":"SET_TRACKED_POINT_INFO","hash":"0x164ECBB3CF750CB0","params":[["point","int"],["x","float"],["y","float"],["z","float"],["radius","float"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`point` must be a tracked point that is currently allocated; `x`, `y`, `z`, `radius` must be finite numbers. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"isTrackedPointVisible","native":"IS_TRACKED_POINT_VISIBLE","hash":"0xC45CCDAAC9221CA8","params":[["point","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`point` must be a tracked point that is currently allocated. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"destroyTrackedPoint","native":"DESTROY_TRACKED_POINT","hash":"0xB25DC90BAD56CA42","params":[["point","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`point` must be a tracked point that is currently allocated. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"setGrassCullSphere","native":"SET_GRASS_CULL_SPHERE","hash":"0xBE197EAA669238F4","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"]],"ret":"int","doc":"This function is hard-coded to always return 0."},
{"name":"removeGrassCullSphere","native":"REMOVE_GRASS_CULL_SPHERE","hash":"0x61F95E5BB3E0A8C6","params":[["handle","int"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"procgrassEnableCullsphere","native":"PROCGRASS_ENABLE_CULLSPHERE","hash":"0xAE51BC858F32BA66","params":[["handle","int"],["x","float"],["y","float"],["z","float"],["scale","float"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`handle` must be between `0` and `7`; `x`, `y`, `z`, `scale` must be finite numbers. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"procgrassDisableCullsphere","native":"PROCGRASS_DISABLE_CULLSPHERE","hash":"0x649C97D52332341A","params":[["handle","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`handle` must be between `0` and `7`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"procgrassIsCullsphereEnabled","native":"PROCGRASS_IS_CULLSPHERE_ENABLED","hash":"0x2C42340F916C5930","params":[["handle","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`handle` must be between `0` and `7`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"procgrassEnableAmbscalescan","native":"PROCGRASS_ENABLE_AMBSCALESCAN","hash":"0x14FC5833464340A8"},
{"name":"procgrassDisableAmbscalescan","native":"PROCGRASS_DISABLE_AMBSCALESCAN","hash":"0x0218BA067D249DEA"},
{"name":"disableProcobjCreation","native":"DISABLE_PROCOBJ_CREATION","hash":"0x1612C45F9E3E0D44"},
{"name":"enableProcobjCreation","native":"ENABLE_PROCOBJ_CREATION","hash":"0x5DEBD9C4DC995692"},
{"name":"grassbatchEnableFlatteningExtInSphere","native":"GRASSBATCH_ENABLE_FLATTENING_EXT_IN_SPHERE","hash":"0xAAE9BE70EC7C69AB","params":[["x","float"],["y","float"],["z","float"],["p3","Any"],["p4","float"],["p5","float"],["p6","float"],["scale","float"]],"since":1290},
{"name":"grassbatchEnableFlatteningInSphere","native":"GRASSBATCH_ENABLE_FLATTENING_IN_SPHERE","hash":"0x6D955F6A9E0295B1","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["p4","float"],["p5","float"],["p6","float"]],"aka":["_GRASS_LOD_SHRINK_SCRIPT_AREAS"],"doc":"Wraps `grassbatchEnableFlatteningExtInSphere` with FLT_MAX as p7"},
{"name":"grassbatchDisableFlattening","native":"GRASSBATCH_DISABLE_FLATTENING","hash":"0x302C91AB2D477F7E","aka":["_GRASS_LOD_RESET_SCRIPT_AREAS"]},
{"name":"cascadeShadowsInitSession","native":"CASCADE_SHADOWS_INIT_SESSION","hash":"0x03FC694AE06C5A20"},
{"name":"cascadeShadowsSetCascadeBounds","native":"CASCADE_SHADOWS_SET_CASCADE_BOUNDS","hash":"0xD2936CAB8B58FCBD","params":[["p0","Any"],["p1","BOOL"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","BOOL"],["p7","float"]]},
{"name":"cascadeShadowsSetCascadeBoundsScale","native":"CASCADE_SHADOWS_SET_CASCADE_BOUNDS_SCALE","hash":"0x5F0F3F56635809EF","params":[["p0","float"]]},
{"name":"cascadeShadowsSetEntityTrackerScale","native":"CASCADE_SHADOWS_SET_ENTITY_TRACKER_SCALE","hash":"0x5E9DAF5A20F15908","params":[["p0","float"]]},
{"name":"cascadeShadowsSetSplitZExpWeight","native":"CASCADE_SHADOWS_SET_SPLIT_Z_EXP_WEIGHT","hash":"0x36F6626459D91457","params":[["p0","float"]]},
{"name":"cascadeShadowsSetBoundPosition","native":"CASCADE_SHADOWS_SET_BOUND_POSITION","hash":"0x259BA6D4E6F808F1","params":[["p0","Any"]],"since":1011},
{"name":"cascadeShadowsEnableEntityTracker","native":"CASCADE_SHADOWS_ENABLE_ENTITY_TRACKER","hash":"0x80ECBC0C856D3B0B","params":[["toggle","BOOL"]],"aka":["_SET_FAR_SHADOWS_SUPPRESSED"],"doc":"When this is set to ON, shadows only draw as you get nearer.\n\nWhen OFF, they draw from a further distance."},
{"name":"cascadeShadowsSetScreenSizeCheckEnabled","native":"CASCADE_SHADOWS_SET_SCREEN_SIZE_CHECK_ENABLED","hash":"0x25FC3E33A31AD0C9","params":[["p0","BOOL"]]},
{"name":"cascadeShadowsSetShadowSampleType","native":"CASCADE_SHADOWS_SET_SHADOW_SAMPLE_TYPE","hash":"0xB11D94BC55F41932","params":[["type","string"]],"aka":["_CASCADESHADOWS_SET_TYPE"],"doc":"Possible values:\n\"CSM_ST_POINT\"\n\"CSM_ST_LINEAR\"\n\"CSM_ST_TWOTAP\"\n\"CSM_ST_BOX3x3\"\n\"CSM_ST_BOX4x4\"\n\"CSM_ST_DITHER2_LINEAR\"\n\"CSM_ST_CUBIC\"\n\"CSM_ST_DITHER4\"\n\"CSM_ST_DITHER16\"\n\"CSM_ST_SOFT16\"\n\"CSM_ST_DITHER16_RPDB\"\n\"CSM_ST_POISSON16_RPDB_GNORM\"\n\"CSM_ST_HIGHRES_BOX4x4\"\n\"CSM_ST_CLOUDS_SIMPLE\"\n\"CSM_ST_CLOUDS_LINEAR\"\n\"CSM_ST_CLOUDS_TWOTAP\"\n\"CSM_ST_CLOUDS_BOX3x3\"\n\"CSM_ST_CLOUDS_BOX4x4\"\n\"CSM_ST_CLOUDS_DITHER2_LINEAR\"\n\"CSM_ST_CLOUDS_SOFT16\"\n\"CSM_ST_CLOUDS_DITHER16_RPDB\"\n\"CSM_ST_CLOUDS_POISSON16_RPDB_GNORM\""},
{"name":"cascadeShadowsClearShadowSampleType","native":"CASCADE_SHADOWS_CLEAR_SHADOW_SAMPLE_TYPE","hash":"0x27CB772218215325","aka":["_CASCADESHADOWS_RESET_TYPE"]},
{"name":"cascadeShadowsSetAircraftMode","native":"CASCADE_SHADOWS_SET_AIRCRAFT_MODE","hash":"0x6DDBF9DFFC4AC080","params":[["p0","BOOL"]]},
{"name":"cascadeShadowsSetDynamicDepthMode","native":"CASCADE_SHADOWS_SET_DYNAMIC_DEPTH_MODE","hash":"0xD39D13C9FEBF0511","params":[["p0","BOOL"]]},
{"name":"cascadeShadowsSetDynamicDepthValue","native":"CASCADE_SHADOWS_SET_DYNAMIC_DEPTH_VALUE","hash":"0x02AC28F3A01FA04A","params":[["p0","float"]]},
{"name":"cascadeShadowsEnableFreezer","native":"CASCADE_SHADOWS_ENABLE_FREEZER","hash":"0x0AE73D8DF3A762B2","params":[["p0","BOOL"]]},
{"name":"waterReflectionSetScriptObjectVisibility","native":"WATER_REFLECTION_SET_SCRIPT_OBJECT_VISIBILITY","hash":"0xCA465D9CC0D231BA","params":[["p0","Any"]],"since":1011},
{"name":"golfTrailSetEnabled","native":"GOLF_TRAIL_SET_ENABLED","hash":"0xA51C4B86B71652AE","params":[["toggle","BOOL"]]},
{"name":"golfTrailSetPath","native":"GOLF_TRAIL_SET_PATH","hash":"0x312342E1A4874F3F","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","BOOL"]],"doc":"p8 seems to always be false."},
{"name":"golfTrailSetRadius","native":"GOLF_TRAIL_SET_RADIUS","hash":"0x2485D34E50A22E84","params":[["p0","float"],["p1","float"],["p2","float"]]},
{"name":"golfTrailSetColour","native":"GOLF_TRAIL_SET_COLOUR","hash":"0x12995F2E53FFA601","params":[["p0","int"],["p1","int"],["p2","int"],["p3","int"],["p4","int"],["p5","int"],["p6","int"],["p7","int"],["p8","int"],["p9","int"],["p10","int"],["p11","int"]]},
{"name":"golfTrailSetTessellation","native":"GOLF_TRAIL_SET_TESSELLATION","hash":"0xDBAA5EC848BA2D46","params":[["p0","int"],["p1","int"]]},
{"name":"golfTrailSetFixedControlPointEnable","native":"GOLF_TRAIL_SET_FIXED_CONTROL_POINT_ENABLE","hash":"0xC0416B061F2B7E5E","params":[["p0","BOOL"]]},
{"name":"golfTrailSetFixedControlPoint","native":"GOLF_TRAIL_SET_FIXED_CONTROL_POINT","hash":"0xB1BB03742917A5D6","params":[["type","int"],["xPos","float"],["yPos","float"],["zPos","float"],["p4","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"12 matches across 4 scripts. All 4 scripts were job creators.\n\ntype ranged from 0 - 2.\np4 was always 0.2f. Likely scale.\nassuming p5 - p8 is RGBA, the graphic is always yellow (255, 255, 0, 255).\n\nTested but noticed nothing."},
{"name":"golfTrailSetShaderParams","native":"GOLF_TRAIL_SET_SHADER_PARAMS","hash":"0x9CFDD90B2B844BF7","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"]],"doc":"Only appeared in Golf & Golf_mp. Parameters were all ptrs"},
{"name":"golfTrailSetFacing","native":"GOLF_TRAIL_SET_FACING","hash":"0x06F761EA47C1D3ED","params":[["p0","BOOL"]]},
{"name":"golfTrailGetMaxHeight","native":"GOLF_TRAIL_GET_MAX_HEIGHT","hash":"0xA4819F5E23E2FFAD","ret":"float"},
{"name":"golfTrailGetVisualControlPoint","native":"GOLF_TRAIL_GET_VISUAL_CONTROL_POINT","hash":"0xA4664972A9B8F8BA","params":[["p0","int"]],"ret":"Vector3"},
{"name":"setSeethrough","native":"SET_SEETHROUGH","hash":"0x7E08924259E08CE0","params":[["toggle","BOOL"]],"doc":"Toggles Heatvision on/off."},
{"name":"getUsingseethrough","native":"GET_USINGSEETHROUGH","hash":"0x44B80ABAB9D80BD3","ret":"BOOL","aka":["_IS_SEETHROUGH_ACTIVE"]},
{"name":"seethroughReset","native":"SEETHROUGH_RESET","hash":"0x70A64C0234EF522C"},
{"name":"seethroughSetFadeStartdistance","native":"SEETHROUGH_SET_FADE_STARTDISTANCE","hash":"0xA78DE25577300BA1","params":[["distance","float"]],"since":573,"aka":["_SEETHROUGH_SET_FADE_START_DISTANCE"]},
{"name":"seethroughSetFadeEnddistance","native":"SEETHROUGH_SET_FADE_ENDDISTANCE","hash":"0x9D75795B9DC6EBBF","params":[["distance","float"]],"since":573,"aka":["_SEETHROUGH_SET_FADE_END_DISTANCE"]},
{"name":"seethroughGetMaxThickness","native":"SEETHROUGH_GET_MAX_THICKNESS","hash":"0x43DBAE39626CE83F","ret":"float","since":1290,"aka":["_SEETHROUGH_GET_MAX_THICKNESS"]},
{"name":"seethroughSetMaxThickness","native":"SEETHROUGH_SET_MAX_THICKNESS","hash":"0x0C8FAC83902A62DF","params":[["thickness","float"]],"since":573,"aka":["_SEETHROUGH_SET_MAX_THICKNESS"],"doc":"0.0 = you will not be able to see people behind the walls. 50.0 and more = you will see everyone through the walls. More value is \"better\" view.\nmin: 1.0\nmax: 10000.0"},
{"name":"seethroughSetNoiseMin","native":"SEETHROUGH_SET_NOISE_MIN","hash":"0xFF5992E1C9E65D05","params":[["amount","float"]],"since":573,"aka":["_SEETHROUGH_SET_NOISE_AMOUNT_MIN"]},
{"name":"seethroughSetNoiseMax","native":"SEETHROUGH_SET_NOISE_MAX","hash":"0xFEBFBFDFB66039DE","params":[["amount","float"]],"since":573,"aka":["_SEETHROUGH_SET_NOISE_AMOUNT_MAX"]},
{"name":"seethroughSetHilightIntensity","native":"SEETHROUGH_SET_HILIGHT_INTENSITY","hash":"0x19E50EB6E33E1D28","params":[["intensity","float"]],"since":573,"aka":["_SEETHROUGH_SET_HI_LIGHT_INTENSITY"]},
{"name":"seethroughSetHighlightNoise","native":"SEETHROUGH_SET_HIGHLIGHT_NOISE","hash":"0x1636D7FC127B10D2","params":[["noise","float"]],"since":573,"aka":["_SEETHROUGH_SET_HI_LIGHT_NOISE"]},
{"name":"seethroughSetHeatscale","native":"SEETHROUGH_SET_HEATSCALE","hash":"0xD7D0B00177485411","params":[["index","int"],["heatScale","float"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`index` must be between `0` and `3`; `heatScale` must be a finite number. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"min: 0.0\nmax: 0.75"},
{"name":"seethroughSetColorNear","native":"SEETHROUGH_SET_COLOR_NEAR","hash":"0x1086127B3A63505E","params":[["red","int"],["green","int"],["blue","int"]],"since":573,"aka":["_SEETHROUGH_SET_COLOR_NEAR"]},
{"name":"setMotionblurMaxVelScaler","native":"SET_MOTIONBLUR_MAX_VEL_SCALER","hash":"0xB3C641F3630BF6DA","params":[["p0","float"]],"doc":"Setter for `getMotionblurMaxVelScaler`"},
{"name":"getMotionblurMaxVelScaler","native":"GET_MOTIONBLUR_MAX_VEL_SCALER","hash":"0xE59343E9E96529E7","ret":"float","doc":"Getter for `setMotionblurMaxVelScaler`"},
{"name":"setForceMotionblur","native":"SET_FORCE_MOTIONBLUR","hash":"0x6A51F78772175A51","params":[["toggle","BOOL"]],"since":1011},
{"name":"togglePlayerDamageOverlay","native":"TOGGLE_PLAYER_DAMAGE_OVERLAY","hash":"0xE63D7C6EECECB66B","params":[["toggle","BOOL"]]},
{"name":"resetAdaptation","native":"RESET_ADAPTATION","hash":"0xE3E2C1B4C59DBC77","params":[["p0","int"]],"doc":"Sets an value related to timecycles."},
{"name":"triggerScreenblurFadeIn","native":"TRIGGER_SCREENBLUR_FADE_IN","hash":"0xA328A24AAA6B7FDC","params":[["transitionTime","float"]],"ret":"BOOL","aka":["_TRANSITION_TO_BLURRED"],"doc":"time in ms to transition to fully blurred screen"},
{"name":"triggerScreenblurFadeOut","native":"TRIGGER_SCREENBLUR_FADE_OUT","hash":"0xEFACC8AEF94430D5","params":[["transitionTime","float"]],"ret":"BOOL","aka":["_TRANSITION_FROM_BLURRED"],"doc":"time in ms to transition from fully blurred to normal"},
{"name":"disableScreenblurFade","native":"DISABLE_SCREENBLUR_FADE","hash":"0xDE81239437E8C5A8","aka":["PAUSED_SCREENBLUR_LOADED"]},
{"name":"getScreenblurFadeCurrentTime","native":"GET_SCREENBLUR_FADE_CURRENT_TIME","hash":"0x5CCABFFCA31DDE33","ret":"float","aka":["IS_PARTICLE_FX_DELAYED_BLINK"]},
{"name":"isScreenblurFadeRunning","native":"IS_SCREENBLUR_FADE_RUNNING","hash":"0x7B226C785A52A0A9","ret":"BOOL","doc":"Returns whether screen transition to blur/from blur is running."},
{"name":"togglePausedRenderphases","native":"TOGGLE_PAUSED_RENDERPHASES","hash":"0xDFC252D8A3E15AB7","params":[["toggle","BOOL"]],"aka":["_ENABLE_GAMEPLAY_CAM","_SET_FROZEN_RENDERING_DISABLED"]},
{"name":"getTogglePausedRenderphasesStatus","native":"GET_TOGGLE_PAUSED_RENDERPHASES_STATUS","hash":"0xEB3DAC2C86001E5E","ret":"BOOL"},
{"name":"resetPausedRenderphases","native":"RESET_PAUSED_RENDERPHASES","hash":"0xE1C8709406F2C41C"},
{"name":"grabPausemenuOwnership","native":"GRAB_PAUSEMENU_OWNERSHIP","hash":"0x851CD923176EBA7C"},
{"name":"setHidofOverride","native":"SET_HIDOF_OVERRIDE","hash":"0xBA3D65906822BED5","params":[["p0","BOOL"],["p1","BOOL"],["nearplaneOut","float"],["nearplaneIn","float"],["farplaneOut","float"],["farplaneIn","float"]],"aka":["_SET_HIDOF_ENV_BLUR_PARAMS"]},
{"name":"setLockAdaptiveDofDistance","native":"SET_LOCK_ADAPTIVE_DOF_DISTANCE","hash":"0xB569F41F3E7E83A4","params":[["p0","BOOL"]],"since":1103},
{"name":"phonephotoeditorToggle","native":"PHONEPHOTOEDITOR_TOGGLE","hash":"0x7AC24EAB6D74118D","params":[["p0","BOOL"]],"ret":"BOOL"},
{"name":"phonephotoeditorIsActive","native":"PHONEPHOTOEDITOR_IS_ACTIVE","hash":"0xBCEDB009461DA156","ret":"BOOL"},
{"name":"phonephotoeditorSetFrameTxd","native":"PHONEPHOTOEDITOR_SET_FRAME_TXD","hash":"0x27FEB5254759CDE3","params":[["textureDict","string"],["p1","BOOL"]],"ret":"BOOL"},
{"name":"startParticleFxNonLoopedAtCoord","native":"START_PARTICLE_FX_NON_LOOPED_AT_COORD","hash":"0x25129531F77B9ED3","params":[["effectName","string"],["xPos","float"],["yPos","float"],["zPos","float"],["xRot","float"],["yRot","float"],["zRot","float"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"]],"ret":"BOOL","doc":"```\nstartParticleFxNonLoopedAtCoord(\"scr_paleto_roof_impact\", -140.8576f, 6420.789f, 41.1391f, 0f, 0f, 267.3957f, 0x3F800000, 0, 0, 0);\n```\n\nAxis - Invert Axis Flags\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json\n\n---\nC#\n\n```\nFunction.Call<int>(Hash.START_PARTICLE_FX_NON_LOOPED_AT_COORD, = you are calling this function.\n\nchar *effectname = This is an in-game effect name, for e.g. \"scr_fbi4_trucks_crash\" is used to give the effects when truck crashes etc\n\nfloat x, y, z pos = this one is Simple, you just have to declare, where do you want this effect to take place at, so declare the ordinates\n\nfloat xrot, yrot, zrot = Again simple? just mention the value in case if you want the effect to rotate.\n\nfloat scale = is declare the scale of the effect, this may vary as per the effects for e.g 1.0f\n\nbool xaxis, yaxis, zaxis = To bool the axis values.\n```\n\nexample:\nFunction.Call<int>(Hash.START_PARTICLE_FX_NON_LOOPED_AT_COORD, \"scr_fbi4_trucks_crash\", GTA.Game.Player.Character.Position.X, GTA.Game.Player.Character.Position.Y, GTA.Game.Player.Character.Position.Z + 4f, 0, 0, 0, 5.5f, 0, 0, 0);"},
{"name":"startNetworkedParticleFxNonLoopedAtCoord","native":"START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD","hash":"0xF56B8137DF10135D","params":[["effectName","string"],["xPos","float"],["yPos","float"],["zPos","float"],["xRot","float"],["yRot","float"],["zRot","float"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"],["p11","BOOL"]],"ret":"BOOL","aka":["_START_PARTICLE_FX_NON_LOOPED_AT_COORD_2"],"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startParticleFxNonLoopedOnPedBone","native":"START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE","hash":"0x0E7E72961BA18619","params":[["effectName","string"],["ped","Ped"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["boneIndex","int"],["scale","float"],["axisX","BOOL"],["axisY","BOOL"],["axisZ","BOOL"]],"ret":"BOOL","doc":"```\nstartParticleFxNonLoopedOnPedBone(\"scr_sh_bong_smoke\", playerPedId(), -0.025f, 0.13f, 0f, 0f, 0f, 0f, 31086, 0x3F800000, 0, 0, 0);\n```\n\nAxis - Invert Axis Flags\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startNetworkedParticleFxNonLoopedOnPedBone","native":"START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_PED_BONE","hash":"0xA41B6A43642AC2CF","params":[["effectName","string"],["ped","Ped"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["boneIndex","int"],["scale","float"],["axisX","BOOL"],["axisY","BOOL"],["axisZ","BOOL"]],"ret":"BOOL","aka":["_START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE_2"],"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startParticleFxNonLoopedOnEntity","native":"START_PARTICLE_FX_NON_LOOPED_ON_ENTITY","hash":"0x0D53A3B8DA0809D2","params":[["effectName","string"],["entity","Entity"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["scale","float"],["axisX","BOOL"],["axisY","BOOL"],["axisZ","BOOL"]],"ret":"BOOL","doc":"Starts a particle effect on an entity for example your player.\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json\n\nExample:\nC#:\n\n```\nFunction.Call(Hash.REQUEST_NAMED_PTFX_ASSET, \"scr_rcbarry2\");                     Function.Call(Hash.USE_PARTICLE_FX_ASSET, \"scr_rcbarry2\");                             Function.Call(Hash.START_PARTICLE_FX_NON_LOOPED_ON_ENTITY, \"scr_clown_appears\", Game.Player.Character, 0.0, 0.0, -0.5, 0.0, 0.0, 0.0, 1.0, false, false, false);\n```\n\nInternally this calls the same function as `startParticleFxNonLoopedOnPedBone`\nhowever it uses -1 for the specified bone index, so it should be possible to start a non looped fx on an entity bone using that native\n\n-can confirm `startParticleFxNonLoopedOnPedBone` does NOT work on vehicle bones."},
{"name":"startNetworkedParticleFxNonLoopedOnEntity","native":"START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY","hash":"0xC95EB1DB6E92113D","params":[["effectName","string"],["entity","Entity"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["scale","float"],["axisX","BOOL"],["axisY","BOOL"],["axisZ","BOOL"]],"ret":"BOOL","aka":["_START_PARTICLE_FX_NON_LOOPED_ON_ENTITY_2"],"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startParticleFxNonLoopedOnEntityBone","native":"START_PARTICLE_FX_NON_LOOPED_ON_ENTITY_BONE","hash":"0x02B1F2A72E0F5325","params":[["effectName","string"],["entity","Entity"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["boneIndex","int"],["scale","float"],["axisX","BOOL"],["axisY","BOOL"],["axisZ","BOOL"]],"ret":"BOOL","since":2189,"aka":["_START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY_BONE"],"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"setParticleFxNonLoopedColour","native":"SET_PARTICLE_FX_NON_LOOPED_COLOUR","hash":"0x26143A59EF48B262","params":[["r","float"],["g","float"],["b","float"]],"doc":"only works on some fx's, not networked"},
{"name":"setParticleFxNonLoopedAlpha","native":"SET_PARTICLE_FX_NON_LOOPED_ALPHA","hash":"0x77168D722C58B2FC","params":[["alpha","float"]],"doc":"Usage example for C#:\n\n```\nFunction.Call(Hash.SET_PARTICLE_FX_NON_LOOPED_ALPHA, new InputArgument[] { 0.1f });\n```\n\nNote: the argument alpha ranges from 0.0f-1.0f !"},
{"name":"setParticleFxNonLoopedScale","native":"SET_PARTICLE_FX_NON_LOOPED_SCALE","hash":"0xB7EF5850C39FABCA","params":[["scale","float"]],"since":2802},
{"name":"setParticleFxNonLoopedEmitterSize","native":"SET_PARTICLE_FX_NON_LOOPED_EMITTER_SIZE","hash":"0x1E2E01C00837D26E","params":[["p0","float"],["p1","float"],["scale","float"]],"since":2699,"aka":["_SET_PARTICLE_FX_NON_LOOPED_EMITTER_SCALE"]},
{"name":"setParticleFxForceVehicleInterior","native":"SET_PARTICLE_FX_FORCE_VEHICLE_INTERIOR","hash":"0x8CDE909A0370BB3A","params":[["toggle","BOOL"]],"doc":"Used only once in the scripts (taxi_clowncar)"},
{"name":"startParticleFxLoopedAtCoord","native":"START_PARTICLE_FX_LOOPED_AT_COORD","hash":"0xE184F4F0DC5910E7","params":[["effectName","string"],["x","float"],["y","float"],["z","float"],["xRot","float"],["yRot","float"],["zRot","float"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"],["p11","BOOL"]],"ret":"int","doc":"`startParticleFxLoopedAtCoord`(\"scr_fbi_falling_debris\", 93.7743f, -749.4572f, 70.86904f, 0f, 0f, 0f, 0x3F800000, 0, 0, 0, 0)\n\np11 seems to be always 0\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startParticleFxLoopedOnPedBone","native":"START_PARTICLE_FX_LOOPED_ON_PED_BONE","hash":"0xF28DA9F38CD1787C","params":[["effectName","string"],["ped","Ped"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["xRot","float"],["yRot","float"],["zRot","float"],["boneIndex","int"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"]],"ret":"int","doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startParticleFxLoopedOnEntity","native":"START_PARTICLE_FX_LOOPED_ON_ENTITY","hash":"0x1AE42C1660FD6517","params":[["effectName","string"],["entity","Entity"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["xRot","float"],["yRot","float"],["zRot","float"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"]],"ret":"int","doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startParticleFxLoopedOnEntityBone","native":"START_PARTICLE_FX_LOOPED_ON_ENTITY_BONE","hash":"0xC6EB449E33977F0B","params":[["effectName","string"],["entity","Entity"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["xRot","float"],["yRot","float"],["zRot","float"],["boneIndex","int"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"]],"ret":"int","doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startNetworkedParticleFxLoopedOnEntity","native":"START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY","hash":"0x6F60E89A7B64EE1D","params":[["effectName","string"],["entity","Entity"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["xRot","float"],["yRot","float"],["zRot","float"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"],["r","float"],["g","float"],["b","float"],["a","float"]],"ret":"int","aka":["_START_PARTICLE_FX_LOOPED_ON_ENTITY_2"],"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startNetworkedParticleFxLoopedOnEntityBone","native":"START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY_BONE","hash":"0xDDE23F30CC5A0F03","params":[["effectName","string"],["entity","Entity"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["xRot","float"],["yRot","float"],["zRot","float"],["boneIndex","int"],["scale","float"],["xAxis","BOOL"],["yAxis","BOOL"],["zAxis","BOOL"],["r","float"],["g","float"],["b","float"],["a","float"]],"ret":"int","aka":["_START_PARTICLE_FX_LOOPED_ON_ENTITY_BONE_2"],"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"stopParticleFxLooped","native":"STOP_PARTICLE_FX_LOOPED","hash":"0x8F75998877616996","params":[["ptfxHandle","int"],["p1","BOOL"]],"doc":"p1 is always 0 in the native scripts"},
{"name":"removeParticleFx","native":"REMOVE_PARTICLE_FX","hash":"0xC401503DFE8D53CF","params":[["ptfxHandle","int"],["p1","BOOL"]]},
{"name":"removeParticleFxFromEntity","native":"REMOVE_PARTICLE_FX_FROM_ENTITY","hash":"0xB8FEAEEBCC127425","params":[["entity","Entity"]]},
{"name":"removeParticleFxInRange","native":"REMOVE_PARTICLE_FX_IN_RANGE","hash":"0xDD19FA1C6D657305","params":[["X","float"],["Y","float"],["Z","float"],["radius","float"]]},
{"name":"forceParticleFxInVehicleInterior","native":"FORCE_PARTICLE_FX_IN_VEHICLE_INTERIOR","hash":"0xBA0127DA25FD54C9","params":[["p0","Any"],["p1","Any"]],"since":372},
{"name":"doesParticleFxLoopedExist","native":"DOES_PARTICLE_FX_LOOPED_EXIST","hash":"0x74AFEF0D2E1E409B","params":[["ptfxHandle","int"]],"ret":"BOOL"},
{"name":"setParticleFxLoopedOffsets","native":"SET_PARTICLE_FX_LOOPED_OFFSETS","hash":"0xF7DDEBEC43483C43","params":[["ptfxHandle","int"],["x","float"],["y","float"],["z","float"],["rotX","float"],["rotY","float"],["rotZ","float"]]},
{"name":"setParticleFxLoopedEvolution","native":"SET_PARTICLE_FX_LOOPED_EVOLUTION","hash":"0x5F0C4B5B1C393BE2","params":[["ptfxHandle","int"],["propertyName","string"],["amount","float"],["noNetwork","BOOL"]]},
{"name":"setParticleFxLoopedColour","native":"SET_PARTICLE_FX_LOOPED_COLOUR","hash":"0x7F8F65877F88783B","params":[["ptfxHandle","int"],["r","float"],["g","float"],["b","float"],["p4","BOOL"]],"doc":"only works on some fx's\n\np4 = 0"},
{"name":"setParticleFxLoopedAlpha","native":"SET_PARTICLE_FX_LOOPED_ALPHA","hash":"0x726845132380142E","params":[["ptfxHandle","int"],["alpha","float"]]},
{"name":"setParticleFxLoopedScale","native":"SET_PARTICLE_FX_LOOPED_SCALE","hash":"0xB44250AAA456492D","params":[["ptfxHandle","int"],["scale","float"]]},
{"name":"setParticleFxLoopedFarClipDist","native":"SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST","hash":"0xDCB194B85EF7B541","params":[["ptfxHandle","int"],["range","float"]],"aka":["_SET_PARTICLE_FX_LOOPED_RANGE"]},
{"name":"setParticleFxLoopedCameraBias","native":"_SET_PARTICLE_FX_LOOPED_CAMERA_BIAS","hash":"0x4100BF0346A8D2C3","params":[["ptfxHandle","int"],["p1","float"]],"na":1,"since":3095},
{"name":"setParticleFxCamInsideVehicle","native":"SET_PARTICLE_FX_CAM_INSIDE_VEHICLE","hash":"0xEEC4047028426510","params":[["p0","BOOL"]]},
{"name":"setParticleFxCamInsideNonplayerVehicle","native":"SET_PARTICLE_FX_CAM_INSIDE_NONPLAYER_VEHICLE","hash":"0xACEE6F360FC1F6B6","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setParticleFxShootoutBoat","native":"SET_PARTICLE_FX_SHOOTOUT_BOAT","hash":"0x96EF97DAEB89BEF5","params":[["p0","Any"]]},
{"name":"clearParticleFxShootoutBoat","native":"CLEAR_PARTICLE_FX_SHOOTOUT_BOAT","hash":"0x2A251AA48B2B46DB"},
{"name":"setParticleFxBloodScale","native":"SET_PARTICLE_FX_BLOOD_SCALE","hash":"0x908311265D42A820","params":[["p0","Any"]]},
{"name":"disableInWaterPtfx","native":"DISABLE_IN_WATER_PTFX","hash":"0xCFD16F0DB5A3535C","params":[["toggle","BOOL"]],"since":2060},
{"name":"disableDownwashPtfx","native":"DISABLE_DOWNWASH_PTFX","hash":"0x5F6DF3D92271E8A1","params":[["toggle","BOOL"]],"aka":["SET_PARTICLE_FX_BLOOD_SCALE"]},
{"name":"setParticleFxSlipstreamLodrangeScale","native":"SET_PARTICLE_FX_SLIPSTREAM_LODRANGE_SCALE","hash":"0x2B40A97646381508","params":[["scale","float"]],"since":1011},
{"name":"enableClownBloodVfx","native":"ENABLE_CLOWN_BLOOD_VFX","hash":"0xD821490579791273","params":[["toggle","BOOL"]],"aka":["SET_CAMERA_ENDTIME"],"doc":"Creates cartoon effect when Michel smokes the weed"},
{"name":"enableAlienBloodVfx","native":"ENABLE_ALIEN_BLOOD_VFX","hash":"0x9DCE1F0F78260875","params":[["toggle","BOOL"]],"doc":"Creates a motion-blur sort of effect, this native does not seem to work, however by using the `START_SCREEN_EFFECT` native with `DrugsMichaelAliensFight` as the effect parameter, you should be able to get the effect."},
{"name":"setParticleFxBulletImpactScale","native":"SET_PARTICLE_FX_BULLET_IMPACT_SCALE","hash":"0x27E32866E9A5C416","params":[["scale","float"]]},
{"name":"setParticleFxBulletImpactLodrangeScale","native":"SET_PARTICLE_FX_BULLET_IMPACT_LODRANGE_SCALE","hash":"0xBB90E12CAC1DAB25","params":[["p0","float"]]},
{"name":"setParticleFxBulletTraceNoAngleReject","native":"SET_PARTICLE_FX_BULLET_TRACE_NO_ANGLE_REJECT","hash":"0xCA4AE345A153D573","params":[["p0","BOOL"]]},
{"name":"setParticleFxBangScrapeLodrangeScale","native":"SET_PARTICLE_FX_BANG_SCRAPE_LODRANGE_SCALE","hash":"0x54E22EA2C1956A8D","params":[["p0","float"]]},
{"name":"setParticleFxFootLodrangeScale","native":"SET_PARTICLE_FX_FOOT_LODRANGE_SCALE","hash":"0x949F397A288B28B3","params":[["p0","float"]]},
{"name":"setParticleFxFootOverrideName","native":"SET_PARTICLE_FX_FOOT_OVERRIDE_NAME","hash":"0xBA3D194057C79A7B","params":[["p0","string"]],"since":877,"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"setSkidmarkRangeScale","native":"SET_SKIDMARK_RANGE_SCALE","hash":"0x5DBF05DB5926D089","params":[["scale","float"]],"since":1011},
{"name":"setPtfxForceVehicleInteriorFlag","native":"SET_PTFX_FORCE_VEHICLE_INTERIOR_FLAG","hash":"0xC6730E0D14E50703","params":[["p0","Any"]],"since":2545},
{"name":"registerPtfxFogVolume","native":"_REGISTER_PTFX_FOG_VOLUME","params":[["posX","float"],["posY","float"],["posZ","float"],["range","float"],["density","float"]],"na":1},
{"name":"registerPostfxBulletImpact","native":"REGISTER_POSTFX_BULLET_IMPACT","hash":"0x170911F37F646F29","params":[["weaponWorldPosX","float"],["weaponWorldPosY","float"],["weaponWorldPosZ","float"],["intensity","float"]],"since":2802},
{"name":"forcePostfxBulletImpactsAfterHud","native":"FORCE_POSTFX_BULLET_IMPACTS_AFTER_HUD","hash":"0x9B079E5221D984D3","params":[["p0","BOOL"]]},
{"name":"useParticleFxAsset","native":"USE_PARTICLE_FX_ASSET","hash":"0x6C38AF3693A69A91","params":[["name","string"]],"aka":["_SET_PTFX_ASSET_NEXT_CALL","_USE_PARTICLE_FX_ASSET_NEXT_CALL"],"doc":"From the b678d decompiled scripts:\n\n```\nuseParticleFxAsset(\"FM_Mission_Controler\");\nuseParticleFxAsset(\"scr_apartment_mp\");\nuseParticleFxAsset(\"scr_indep_fireworks\");\nuseParticleFxAsset(\"scr_mp_cig_plane\");\nuseParticleFxAsset(\"scr_mp_creator\");\nuseParticleFxAsset(\"scr_ornate_heist\");\nuseParticleFxAsset(\"scr_prison_break_heist_station\");\n```\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"setParticleFxOverride","native":"SET_PARTICLE_FX_OVERRIDE","hash":"0xEA1E2D93F6F75ED9","params":[["oldAsset","string"],["newAsset","string"]],"aka":["_SET_PTFX_ASSET_OLD_2_NEW","_SET_PARTICLE_FX_ASSET_OLD_TO_NEW"],"doc":"Full list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"resetParticleFxOverride","native":"RESET_PARTICLE_FX_OVERRIDE","hash":"0x89C8553DD3274AAE","params":[["name","string"]],"aka":["_RESET_PARTICLE_FX_ASSET_OLD_TO_NEW"],"doc":"Resets the effect of `setParticleFxOverride`\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json"},
{"name":"startVehicleParticleFxLooped","native":"_START_VEHICLE_PARTICLE_FX_LOOPED","hash":"0xDF269BE2909E181A","params":[["vehicle","Vehicle"],["effectName","string"],["frontBack","BOOL"],["leftRight","BOOL"],["localOnly","BOOL"]],"ret":"int","na":1,"since":3095,"doc":"Returns ptfxHandle\neffectName: scr_sv_drag_burnout"},
{"name":"setWeatherPtfxUseOverrideSettings","native":"SET_WEATHER_PTFX_USE_OVERRIDE_SETTINGS","hash":"0xA46B73FAA3460AE1","params":[["p0","BOOL"]]},
{"name":"setWeatherPtfxOverrideCurrLevel","native":"SET_WEATHER_PTFX_OVERRIDE_CURR_LEVEL","hash":"0xF78B803082D4386F","params":[["p0","float"]]},
{"name":"washDecalsInRange","native":"WASH_DECALS_IN_RANGE","hash":"0x9C30613D50A6ADEF","params":[["x","float"],["y","float"],["z","float"],["range","float"],["p4","float"]]},
{"name":"washDecalsFromVehicle","native":"WASH_DECALS_FROM_VEHICLE","hash":"0x5B712761429DBC14","params":[["vehicle","Vehicle"],["p1","float"]]},
{"name":"fadeDecalsInRange","native":"FADE_DECALS_IN_RANGE","hash":"0xD77EDADB0420E6E0","params":[["x","float"],["y","float"],["z","float"],["p3","float"],["p4","float"]],"doc":"Fades nearby decals within the range specified"},
{"name":"removeDecalsInRange","native":"REMOVE_DECALS_IN_RANGE","hash":"0x5D6B2D4830A67C62","params":[["x","float"],["y","float"],["z","float"],["range","float"]],"doc":"Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol..."},
{"name":"removeDecalsFromObject","native":"REMOVE_DECALS_FROM_OBJECT","hash":"0xCCF71CBDDF5B6CB9","params":[["obj","Object"]]},
{"name":"removeDecalsFromObjectFacing","native":"REMOVE_DECALS_FROM_OBJECT_FACING","hash":"0xA6F6F70FDC6D144C","params":[["obj","Object"],["x","float"],["y","float"],["z","float"]]},
{"name":"removeDecalsFromVehicle","native":"REMOVE_DECALS_FROM_VEHICLE","hash":"0xE91F1B65F2B48D57","params":[["vehicle","Vehicle"]]},
{"name":"addDecal","native":"ADD_DECAL","hash":"0xB302244A1839BDAD","params":[["decalType","int"],["posX","float"],["posY","float"],["posZ","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","float"],["p9","float"],["width","float"],["height","float"],["rCoef","float"],["gCoef","float"],["bCoef","float"],["opacity","float"],["timeout","float"],["p17","BOOL"],["p18","BOOL"],["p19","BOOL"]],"ret":"int","doc":"decal types:\n\n```\npublic enum DecalTypes\n{\n    splatters_blood = 1010,\n    splatters_blood_dir = 1015,\n    splatters_blood_mist = 1017,\n    splatters_mud = 1020,\n    splatters_paint = 1030,\n    splatters_water = 1040,\n    splatters_water_hydrant = 1050,\n    splatters_blood2 = 1110,\n    weapImpact_metal = 4010,\n    weapImpact_concrete = 4020,\n    weapImpact_mattress = 4030,\n    weapImpact_mud = 4032,\n    weapImpact_wood = 4050,\n    weapImpact_sand = 4053,\n    weapImpact_cardboard = 4040,\n    weapImpact_melee_glass = 4100,\n    weapImpact_glass_blood = 4102,\n    weapImpact_glass_blood2 = 4104,\n    weapImpact_shotgun_paper = 4200,\n    weapImpact_shotgun_mattress,\n    weapImpact_shotgun_metal,\n    weapImpact_shotgun_wood,\n    weapImpact_shotgun_dirt,\n    weapImpact_shotgun_tvscreen,\n    weapImpact_shotgun_tvscreen2,\n    weapImpact_shotgun_tvscreen3,\n    weapImpact_melee_concrete = 4310,\n    weapImpact_melee_wood = 4312,\n    weapImpact_melee_metal = 4314,\n    burn1 = 4421,\n    burn2,\n    burn3,\n    burn4,\n    burn5,\n    bang_concrete_bang = 5000,\n    bang_concrete_bang2,\n    bang_bullet_bang,\n    bang_bullet_bang2 = 5004,\n    bang_glass = 5031,\n    bang_glass2,\n    solidPool_water = 9000,\n    solidPool_blood,\n    solidPool_oil,\n    solidPool_petrol,\n    solidPool_mud,\n    porousPool_water,\n    porousPool_blood,\n    porousPool_oil,\n    porousPool_petrol,\n    porousPool_mud,\n    porousPool_water_ped_drip,\n    liquidTrail_water = 9050\n}\n```"},
{"name":"addPetrolDecal","native":"ADD_PETROL_DECAL","hash":"0x4F5212C7AD880DF8","params":[["x","float"],["y","float"],["z","float"],["groundLvl","float"],["width","float"],["transparency","float"]],"ret":"int"},
{"name":"addOilDecal","native":"ADD_OIL_DECAL","hash":"0x126D7F89FE859A5E","params":[["x","float"],["y","float"],["z","float"],["groundLvl","float"],["width","float"],["transparency","float"]],"ret":"int","since":2699,"aka":["_ADD_PETROL_DECAL_2","_ADD_OIL_DECAL"]},
{"name":"startPetrolTrailDecals","native":"START_PETROL_TRAIL_DECALS","hash":"0x99AC7F0D8B9C893D","params":[["p0","float"]]},
{"name":"addPetrolTrailDecalInfo","native":"ADD_PETROL_TRAIL_DECAL_INFO","hash":"0x967278682CB6967A","params":[["x","float"],["y","float"],["z","float"],["p3","float"]]},
{"name":"endPetrolTrailDecals","native":"END_PETROL_TRAIL_DECALS","hash":"0x0A123435A26C36CD"},
{"name":"removeDecal","native":"REMOVE_DECAL","hash":"0xED3F346429CCD659","params":[["decal","int"]]},
{"name":"isDecalAlive","native":"IS_DECAL_ALIVE","hash":"0xC694D74949CAFD0C","params":[["decal","int"]],"ret":"BOOL"},
{"name":"getDecalWashLevel","native":"GET_DECAL_WASH_LEVEL","hash":"0x323F647679A09103","params":[["decal","int"]],"ret":"float"},
{"name":"setDisablePetrolDecalsIgnitingThisFrame","native":"SET_DISABLE_PETROL_DECALS_IGNITING_THIS_FRAME","hash":"0xD9454B5752C857DC"},
{"name":"setDisablePetrolDecalsRecyclingThisFrame","native":"SET_DISABLE_PETROL_DECALS_RECYCLING_THIS_FRAME","hash":"0x27CFB1B1E078CB2D"},
{"name":"setDisableDecalRenderingThisFrame","native":"SET_DISABLE_DECAL_RENDERING_THIS_FRAME","hash":"0x4B5CFC83122DF602"},
{"name":"getIsPetrolDecalInRange","native":"GET_IS_PETROL_DECAL_IN_RANGE","hash":"0x2F09F7976C512404","params":[["xCoord","float"],["yCoord","float"],["zCoord","float"],["radius","float"]],"ret":"BOOL"},
{"name":"patchDecalDiffuseMap","native":"PATCH_DECAL_DIFFUSE_MAP","hash":"0x8A35C742130C6080","params":[["decalType","int"],["textureDict","string"],["textureName","string"]],"aka":["_ADD_DECAL_TO_MARKER","_OVERRIDE_DECAL_TEXTURE"]},
{"name":"unpatchDecalDiffuseMap","native":"UNPATCH_DECAL_DIFFUSE_MAP","hash":"0xB7ED70C49521A61D","params":[["decalType","int"]],"aka":["_UNDO_DECAL_TEXTURE_OVERRIDE"]},
{"name":"moveVehicleDecals","native":"MOVE_VEHICLE_DECALS","hash":"0x84C8D7C2D30D3280","params":[["p0","Any"],["p1","Any"]]},
{"name":"addVehicleCrewEmblem","native":"ADD_VEHICLE_CREW_EMBLEM","hash":"0x428BDCB9DA58DA53","params":[["vehicle","Vehicle"],["ped","Ped"],["boneIndex","int"],["x1","float"],["x2","float"],["x3","float"],["y1","float"],["y2","float"],["y3","float"],["z1","float"],["z2","float"],["z3","float"],["scale","float"],["p13","Any"],["alpha","int"]],"ret":"BOOL","aka":["_ADD_CLAN_DECAL_TO_VEHICLE"],"doc":"boneIndex is always chassis_dummy in the scripts. The x/y/z params are location relative to the chassis bone."},
{"name":"abortVehicleCrewEmblemRequest","native":"ABORT_VEHICLE_CREW_EMBLEM_REQUEST","hash":"0x82ACC484FFA3B05F","params":[["p0","int"]],"ret":"BOOL","refs":[0],"issue":1,"since":372,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `p0` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"removeVehicleCrewEmblem","native":"REMOVE_VEHICLE_CREW_EMBLEM","hash":"0xD2300034310557E4","params":[["vehicle","Vehicle"],["p1","int"]]},
{"name":"getVehicleCrewEmblemRequestState","native":"GET_VEHICLE_CREW_EMBLEM_REQUEST_STATE","hash":"0xFE26117A5841B2FF","params":[["vehicle","Vehicle"],["p1","int"]],"ret":"int"},
{"name":"doesVehicleHaveCrewEmblem","native":"DOES_VEHICLE_HAVE_CREW_EMBLEM","hash":"0x060D935D3981A275","params":[["vehicle","Vehicle"],["p1","int"]],"ret":"BOOL","aka":["_HAS_VEHICLE_GOT_DECAL","_DOES_VEHICLE_HAVE_DECAL"]},
{"name":"disableCompositeShotgunDecals","native":"DISABLE_COMPOSITE_SHOTGUN_DECALS","hash":"0x0E4299C549F0D1F1","params":[["toggle","BOOL"]]},
{"name":"disableScuffDecals","native":"DISABLE_SCUFF_DECALS","hash":"0x02369D5C8A51FDCF","params":[["toggle","BOOL"]]},
{"name":"setDecalBulletImpactRangeScale","native":"SET_DECAL_BULLET_IMPACT_RANGE_SCALE","hash":"0x46D1A61A21F566FC","params":[["p0","float"]]},
{"name":"overrideInteriorSmokeName","native":"OVERRIDE_INTERIOR_SMOKE_NAME","hash":"0x2A2A52824DB96700","params":[["name","string"]]},
{"name":"overrideInteriorSmokeLevel","native":"OVERRIDE_INTERIOR_SMOKE_LEVEL","hash":"0x1600FD8CF72EBC12","params":[["level","float"]]},
{"name":"overrideInteriorSmokeEnd","native":"OVERRIDE_INTERIOR_SMOKE_END","hash":"0xEFB55E7C25D3B3BE"},
{"name":"registerNoirLensEffect","native":"REGISTER_NOIR_LENS_EFFECT","hash":"0xA44FF770DFBC5DAE","aka":["_REGISTER_NOIR_SCREEN_EFFECT_THIS_FRAME"],"doc":"Used with 'NG_filmnoir_BW{01,02}' timecycles and the \"NOIR_FILTER_SOUNDS\" audioref."},
{"name":"disableVehicleDistantlights","native":"DISABLE_VEHICLE_DISTANTLIGHTS","hash":"0xC9F98AC1884E73A2","params":[["toggle","BOOL"]]},
{"name":"renderShadowedLightsWithNoShadows","native":"RENDER_SHADOWED_LIGHTS_WITH_NO_SHADOWS","hash":"0x03300B57FCAC6DDB","params":[["p0","BOOL"]]},
{"name":"requestEarlyLightCheck","native":"REQUEST_EARLY_LIGHT_CHECK","hash":"0x98EDF76A7271E4F2"},
{"name":"useSnowFootVfxWhenUnsheltered","native":"USE_SNOW_FOOT_VFX_WHEN_UNSHELTERED","hash":"0xAEEDAD1420C65CC0","params":[["toggle","BOOL"]],"aka":["_SET_FORCE_PED_FOOTSTEPS_TRACKS"],"doc":"Forces footstep tracks on all surfaces."},
{"name":"forceAllowSnowFootVfxOnIce","native":"_FORCE_ALLOW_SNOW_FOOT_VFX_ON_ICE","hash":"0xA342A3763B3AFB6C","params":[["toggle","BOOL"]],"na":1,"since":3095},
{"name":"useSnowWheelVfxWhenUnsheltered","native":"USE_SNOW_WHEEL_VFX_WHEN_UNSHELTERED","hash":"0x4CC7F0FEA5283FE0","params":[["toggle","BOOL"]],"aka":["_SET_FORCE_VEHICLE_TRAILS"],"doc":"Forces vehicle trails on all surfaces."},
{"name":"disableRegionVfx","native":"DISABLE_REGION_VFX","hash":"0xEFD97FF47B745B8D","params":[["p0","Any"]],"since":791,"aka":["_DISABLE_SCRIPT_AMBIENT_EFFECTS"]},
{"name":"forceGroundSnowPass","native":"_FORCE_GROUND_SNOW_PASS","hash":"0x6E9EF3A33C8899F8","params":[["toggle","BOOL"]],"na":1,"since":3095},
{"name":"presetInteriorAmbientCache","native":"PRESET_INTERIOR_AMBIENT_CACHE","hash":"0xD7021272EB0A451E","params":[["timecycleModifierName","string"]],"aka":["_PRESET_INTERIOR_AMBIENT_CACHE"],"doc":"Only one match in the scripts:\n\n```\npresetInteriorAmbientCache(\"int_carrier_hanger\");\n```"},
{"name":"setTimecycleModifier","native":"SET_TIMECYCLE_MODIFIER","hash":"0x2C933ABF17A1DF41","params":[["modifierName","string"]],"doc":"Loads the specified timecycle modifier. Modifiers are defined separately in another file (e.g. \"timecycle_mods_1.xml\")\n\nParameters:\nmodifierName - The modifier to load (e.g. \"V_FIB_IT3\", \"scanline_cam\", etc.)\n\nFull list of timecycle modifiers by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/timecycleModifiers.json"},
{"name":"setTimecycleModifierStrength","native":"SET_TIMECYCLE_MODIFIER_STRENGTH","hash":"0x82E7FFCD5B2326B3","params":[["strength","float"]]},
{"name":"setTransitionTimecycleModifier","native":"SET_TRANSITION_TIMECYCLE_MODIFIER","hash":"0x3BCF567485E1971C","params":[["modifierName","string"],["transition","float"]],"doc":"Full list of timecycle modifiers by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/timecycleModifiers.json"},
{"name":"setTransitionOutOfTimecycleModifier","native":"SET_TRANSITION_OUT_OF_TIMECYCLE_MODIFIER","hash":"0x1CBA05AE7BD7EE05","params":[["strength","float"]],"aka":["_SET_TRANSITION_TIMECYCLE_MODIFIER_STOP_WITH_BLEND"]},
{"name":"clearTimecycleModifier","native":"CLEAR_TIMECYCLE_MODIFIER","hash":"0x0F07E7745A236711"},
{"name":"getTimecycleModifierIndex","native":"GET_TIMECYCLE_MODIFIER_INDEX","hash":"0xFDF3D97C674AFB66","ret":"int","doc":"Only use for this in the PC scripts is:\n\nif (`getTimecycleModifierIndex`() != -1)"},
{"name":"getTimecycleTransitionModifierIndex","native":"GET_TIMECYCLE_TRANSITION_MODIFIER_INDEX","hash":"0x459FD2C8D0AB78BC","ret":"int"},
{"name":"getIsTimecycleTransitioningOut","native":"GET_IS_TIMECYCLE_TRANSITIONING_OUT","hash":"0x98D18905BF723B99","ret":"BOOL","since":1493},
{"name":"pushTimecycleModifier","native":"PUSH_TIMECYCLE_MODIFIER","hash":"0x58F735290861E6B4"},
{"name":"popTimecycleModifier","native":"POP_TIMECYCLE_MODIFIER","hash":"0x3C8938D7D872211E"},
{"name":"setCurrentPlayerTcmodifier","native":"SET_CURRENT_PLAYER_TCMODIFIER","hash":"0xBBF327DED94E4DEB","params":[["modifierName","string"]]},
{"name":"setPlayerTcmodifierTransition","native":"SET_PLAYER_TCMODIFIER_TRANSITION","hash":"0xBDEB86F4D5809204","params":[["value","float"]]},
{"name":"setNextPlayerTcmodifier","native":"SET_NEXT_PLAYER_TCMODIFIER","hash":"0xBF59707B3E5ED531","params":[["modifierName","string"]]},
{"name":"addTcmodifierOverride","native":"ADD_TCMODIFIER_OVERRIDE","hash":"0x1A8E2C8B9CF4549C","params":[["modifierName1","string"],["modifierName2","string"]]},
{"name":"clearAllTcmodifierOverrides","native":"CLEAR_ALL_TCMODIFIER_OVERRIDES","hash":"0x15E33297C3E8DC60","params":[["p0","string"]],"aka":["REMOVE_TCMODIFIER_OVERRIDE"]},
{"name":"setExtraTcmodifier","native":"SET_EXTRA_TCMODIFIER","hash":"0x5096FD9CCB49056D","params":[["modifierName","string"]],"aka":["_SET_EXTRA_TIMECYCLE_MODIFIER"],"doc":"Full list of timecycle modifiers by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/timecycleModifiers.json"},
{"name":"clearExtraTcmodifier","native":"CLEAR_EXTRA_TCMODIFIER","hash":"0x92CCC17A7A2285DA","aka":["_CLEAR_EXTRA_TIMECYCLE_MODIFIER"],"doc":"Clears the secondary timecycle modifier usually set with `setExtraTcmodifier`"},
{"name":"getExtraTcmodifier","native":"GET_EXTRA_TCMODIFIER","hash":"0xBB0527EC6341496D","ret":"int","aka":["_GET_EXTRA_TIMECYCLE_MODIFIER_INDEX"],"doc":"See `getTimecycleModifierIndex` for use, works the same just for the secondary timecycle modifier.\nReturns an integer representing the Timecycle modifier"},
{"name":"enableMoonCycleOverride","native":"ENABLE_MOON_CYCLE_OVERRIDE","hash":"0x2C328AF17210F009","params":[["strength","float"]],"aka":["_SET_EXTRA_TIMECYCLE_MODIFIER_STRENGTH","_ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH"],"doc":"The same as `setTimecycleModifierStrength` but for the secondary timecycle modifier."},
{"name":"disableMoonCycleOverride","native":"DISABLE_MOON_CYCLE_OVERRIDE","hash":"0x2BF72AD5B41AA739","aka":["_RESET_EXTRA_TIMECYCLE_MODIFIER_STRENGTH"],"doc":"Resets the timecycle modifier strength normally set with `enableMoonCycleOverride`"},
{"name":"requestScaleformMovie","native":"REQUEST_SCALEFORM_MOVIE","hash":"0x11FE353CF9733E6F","params":[["scaleformName","string"]],"ret":"int"},
{"name":"requestScaleformMovieWithIgnoreSuperWidescreen","native":"REQUEST_SCALEFORM_MOVIE_WITH_IGNORE_SUPER_WIDESCREEN","hash":"0x65E7E78842E74CDB","params":[["scaleformName","string"]],"ret":"int","na":1,"since":372,"aka":["_REQUEST_SCALEFORM_MOVIE_2"],"doc":"Another `requestScaleformMovie` equivalent."},
{"name":"requestScaleformMovieInstance","native":"REQUEST_SCALEFORM_MOVIE_INSTANCE","hash":"0xC514489CFB8AF806","params":[["scaleformName","string"]],"ret":"int"},
{"name":"requestScaleformMovieSkipRenderWhilePaused","native":"REQUEST_SCALEFORM_MOVIE_SKIP_RENDER_WHILE_PAUSED","hash":"0xBD06C611BB9048C2","params":[["scaleformName","string"]],"ret":"int","aka":["_REQUEST_SCALEFORM_MOVIE3","_REQUEST_SCALEFORM_MOVIE_INTERACTIVE"],"doc":"Similar to `requestScaleformMovie`, but seems to be some kind of \"interactive\" scaleform movie?\n\nThese seem to be the only scaleforms ever requested by this native:\n\"breaking_news\"\n\"desktop_pc\"\n\"ECG_MONITOR\"\n\"Hacking_PC\"\n\"TEETH_PULLING\"\n\nNote: Unless this hash is out-of-order, this native is next-gen only."},
{"name":"hasScaleformMovieLoaded","native":"HAS_SCALEFORM_MOVIE_LOADED","hash":"0x85F01B8D5B90570E","params":[["scaleformHandle","int"]],"ret":"BOOL"},
{"name":"hasScaleformMovieNamedLoaded","native":"_HAS_SCALEFORM_MOVIE_NAMED_LOADED","hash":"0x9743BCCF7CD6E1F6","params":[["scaleformName","string"]],"ret":"BOOL","outs":[["scaleformHandle","int",0]],"na":1,"since":3407},
{"name":"isActiveScaleformMovieDeleting","native":"IS_ACTIVE_SCALEFORM_MOVIE_DELETING","hash":"0x2FCB133CA50A49EB","params":[["scaleformHandle","int"]],"ret":"BOOL","since":1290},
{"name":"isScaleformMovieDeleting","native":"IS_SCALEFORM_MOVIE_DELETING","hash":"0x86255B1FC929E33E","params":[["scaleformHandle","int"]],"ret":"BOOL","since":1290},
{"name":"hasScaleformMovieFilenameLoaded","native":"HAS_SCALEFORM_MOVIE_FILENAME_LOADED","hash":"0x0C1C5D756FB5F337","params":[["scaleformName","string"]],"ret":"BOOL","aka":["_HAS_NAMED_SCALEFORM_MOVIE_LOADED"],"doc":"Only values used in the scripts are:\n\n\"heist_mp\"\n\"heistmap_mp\"\n\"instructional_buttons\"\n\"heist_pre\""},
{"name":"hasScaleformContainerMovieLoadedIntoParent","native":"HAS_SCALEFORM_CONTAINER_MOVIE_LOADED_INTO_PARENT","hash":"0x8217150E1217EBFD","params":[["scaleformHandle","int"]],"ret":"BOOL"},
{"name":"setScaleformMovieAsNoLongerNeeded","native":"SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED","hash":"0x1D132D614DD86811","params":[["scaleformHandle","int"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `scaleformHandle` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"setScaleformMovieNamedAsNoLongerNeeded","native":"_SET_SCALEFORM_MOVIE_NAMED_AS_NO_LONGER_NEEDED","hash":"0x2FDFB1B04C76E9C3","params":[["scaleformHandle","int"],["scaleformName","string"]],"na":1,"since":3407},
{"name":"setScaleformMovieToUseSystemTime","native":"SET_SCALEFORM_MOVIE_TO_USE_SYSTEM_TIME","hash":"0x6D8EB211944DCE08","params":[["scaleform","int"],["toggle","BOOL"]]},
{"name":"setScaleformMovieToUseLargeRt","native":"SET_SCALEFORM_MOVIE_TO_USE_LARGE_RT","hash":"0x32F34FF7F617643B","params":[["scaleformHandle","int"],["toggle","BOOL"]],"since":573},
{"name":"setScaleformMovieToUseSuperLargeRt","native":"SET_SCALEFORM_MOVIE_TO_USE_SUPER_LARGE_RT","hash":"0xE6A9F00D4240B519","params":[["scaleformHandle","int"],["toggle","BOOL"]],"since":877,"aka":["_SET_SCALEFORM_FIT_RENDERTARGET"],"doc":"This native is used in some casino scripts to fit the scaleform in the rendertarget."},
{"name":"drawScaleformMovie","native":"DRAW_SCALEFORM_MOVIE","hash":"0x54972ADAF0294A93","params":[["scaleformHandle","int"],["x","float"],["y","float"],["width","float"],["height","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["p9","int"]]},
{"name":"drawScaleformMovieFullscreen","native":"DRAW_SCALEFORM_MOVIE_FULLSCREEN","hash":"0x0DF606929C105BE1","params":[["scaleform","int"],["red","int"],["green","int"],["blue","int"],["alpha","int"],["p5","int"]],"doc":"unk is not used so no need"},
{"name":"drawScaleformMovieFullscreenMasked","native":"DRAW_SCALEFORM_MOVIE_FULLSCREEN_MASKED","hash":"0xCF537FDE4FBD4CE5","params":[["scaleform1","int"],["scaleform2","int"],["red","int"],["green","int"],["blue","int"],["alpha","int"]]},
{"name":"drawScaleformMovie3d","native":"DRAW_SCALEFORM_MOVIE_3D","hash":"0x87D51D72255D4E78","params":[["scaleform","int"],["posX","float"],["posY","float"],["posZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["p7","float"],["p8","float"],["p9","float"],["scaleX","float"],["scaleY","float"],["scaleZ","float"],["rotationOrder","int"]]},
{"name":"drawScaleformMovie3dSolid","native":"DRAW_SCALEFORM_MOVIE_3D_SOLID","hash":"0x1CE592FDC749D6F5","params":[["scaleform","int"],["posX","float"],["posY","float"],["posZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["p7","float"],["p8","float"],["p9","float"],["scaleX","float"],["scaleY","float"],["scaleZ","float"],["rotationOrder","int"]],"aka":["_DRAW_SCALEFORM_MOVIE_3D_NON_ADDITIVE"]},
{"name":"callScaleformMovieMethod","native":"CALL_SCALEFORM_MOVIE_METHOD","hash":"0xFBD96D87AC96D533","params":[["scaleform","int"],["method","string"]],"aka":["_CALL_SCALEFORM_MOVIE_FUNCTION_VOID"],"doc":"Calls the Scaleform function."},
{"name":"callScaleformMovieMethodWithNumber","native":"CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER","hash":"0xD0837058AE2E4BEE","params":[["scaleform","int"],["methodName","string"],["param1","float"],["param2","float"],["param3","float"],["param4","float"],["param5","float"]],"aka":["_CALL_SCALEFORM_MOVIE_FUNCTION_FLOAT_PARAMS"],"doc":"Calls the Scaleform function and passes the parameters as floats.\n\nThe number of parameters passed to the function varies, so the end of the parameter list is represented by -1.0."},
{"name":"callScaleformMovieMethodWithString","native":"CALL_SCALEFORM_MOVIE_METHOD_WITH_STRING","hash":"0x51BC1ED3CC44E8F7","params":[["scaleform","int"],["methodName","string"],["param1","string"],["param2","string"],["param3","string"],["param4","string"],["param5","string"]],"aka":["_CALL_SCALEFORM_MOVIE_FUNCTION_STRING_PARAMS"],"doc":"Calls the Scaleform function and passes the parameters as strings.\n\nThe number of parameters passed to the function varies, so the end of the parameter list is represented by 0 (NULL)."},
{"name":"callScaleformMovieMethodWithNumberAndString","native":"CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER_AND_STRING","hash":"0xEF662D8D57E290B1","params":[["scaleform","int"],["methodName","string"],["floatParam1","float"],["floatParam2","float"],["floatParam3","float"],["floatParam4","float"],["floatParam5","float"],["stringParam1","string"],["stringParam2","string"],["stringParam3","string"],["stringParam4","string"],["stringParam5","string"]],"aka":["_CALL_SCALEFORM_MOVIE_FUNCTION_MIXED_PARAMS"],"doc":"Calls the Scaleform function and passes both float and string parameters (in their respective order).\n\nThe number of parameters passed to the function varies, so the end of the float parameters is represented by -1.0, and the end of the string parameters is represented by 0 (NULL).\n\nNOTE: The order of parameters in the function prototype is important! All float parameters must come first, followed by the string parameters.\n\nExamples:\n\n```\n// function MY_FUNCTION(floatParam1, floatParam2, stringParam)\ncallScaleformMovieMethodWithNumberAndString(scaleform, \"MY_FUNCTION\", 10.0, 20.0, -1.0, -1.0, -1.0, \"String param\", 0, 0, 0, 0);\n\n// function MY_FUNCTION_2(floatParam, stringParam1, stringParam2)\ncallScaleformMovieMethodWithNumberAndString(scaleform, \"MY_FUNCTION_2\", 10.0, -1.0, -1.0, -1.0, -1.0, \"String param #1\", \"String param #2\", 0, 0, 0);\n```"},
{"name":"beginScaleformScriptHudMovieMethod","native":"BEGIN_SCALEFORM_SCRIPT_HUD_MOVIE_METHOD","hash":"0x98C494FD5BDFBFD5","params":[["hudComponent","int"],["methodName","string"]],"ret":"BOOL","aka":["_PUSH_SCALEFORM_MOVIE_FUNCTION_FROM_HUD_COMPONENT","_BEGIN_SCALEFORM_MOVIE_METHOD_HUD_COMPONENT"],"doc":"Pushes a function from the Hud component Scaleform onto the stack. Same behavior as `beginScaleformMovieMethod`, just a hud component id instead of a Scaleform.\n\nKnown components:\n19 - MP_RANK_BAR\n20 - HUD_DIRECTOR_MODE\n\nThis native requires more research - all information can be found inside of 'hud.gfx'. Using a decompiler, the different components are located under \"scripts\\__Packages\\com\\rockstargames\\gtav\\hud\\hudComponents\" and \"scripts\\__Packages\\com\\rockstargames\\gtav\\Multiplayer\"."},
{"name":"beginScaleformMovieMethod","native":"BEGIN_SCALEFORM_MOVIE_METHOD","hash":"0xF6E48914C7A8694E","params":[["scaleform","int"],["methodName","string"]],"ret":"BOOL","aka":["_PUSH_SCALEFORM_MOVIE_FUNCTION"],"doc":"Push a function from the Scaleform onto the stack"},
{"name":"beginScaleformMovieMethodOnFrontend","native":"BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND","hash":"0xAB58C27C2E6123C6","params":[["methodName","string"]],"ret":"BOOL","aka":["_PUSH_SCALEFORM_MOVIE_FUNCTION_N","_BEGIN_SCALEFORM_MOVIE_METHOD_N"],"doc":"Starts frontend (pause menu) scaleform movie methods.\nThis can be used when you want to make custom frontend menus, and customize things like images or text in the menus etc.\nUse `beginScaleformMovieMethodOnFrontendHeader` for header scaleform functions."},
{"name":"beginScaleformMovieMethodOnFrontendHeader","native":"BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND_HEADER","hash":"0xB9449845F73F5E9C","params":[["methodName","string"]],"ret":"BOOL","aka":["_BEGIN_SCALEFORM_MOVIE_METHOD_V"],"doc":"Starts frontend (pause menu) scaleform movie methods for header options.\nUse `beginScaleformMovieMethodOnFrontend` to customize the content inside the frontend menus."},
{"name":"endScaleformMovieMethod","native":"END_SCALEFORM_MOVIE_METHOD","hash":"0xC6796A8FFA375E53","aka":["_POP_SCALEFORM_MOVIE_FUNCTION_VOID"],"doc":"Pops and calls the Scaleform function on the stack"},
{"name":"endScaleformMovieMethodReturnValue","native":"END_SCALEFORM_MOVIE_METHOD_RETURN_VALUE","hash":"0xC50AA39A577AF886","ret":"int","aka":["_POP_SCALEFORM_MOVIE_FUNCTION","_END_SCALEFORM_MOVIE_METHOD_RETURN"]},
{"name":"isScaleformMovieMethodReturnValueReady","native":"IS_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_READY","hash":"0x768FF8961BA904D6","params":[["methodReturn","int"]],"ret":"BOOL","aka":["_GET_SCALEFORM_MOVIE_FUNCTION_RETURN_BOOL"],"doc":"methodReturn: The return value of this native: `endScaleformMovieMethodReturnValue`\nReturns true if the return value of a scaleform function is ready to be collected (using `getScaleformMovieMethodReturnValueString` or `getScaleformMovieMethodReturnValueInt`)."},
{"name":"getScaleformMovieMethodReturnValueInt","native":"GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_INT","hash":"0x2DE7EFA66B906036","params":[["methodReturn","int"]],"ret":"int","aka":["_GET_SCALEFORM_MOVIE_FUNCTION_RETURN_INT"],"doc":"methodReturn: The return value of this native: `endScaleformMovieMethodReturnValue`\nUsed to get a return value from a scaleform function. Returns an int in the same way `getScaleformMovieMethodReturnValueString` returns a string."},
{"name":"getScaleformMovieMethodReturnValueBool","native":"GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL","hash":"0xD80A80346A45D761","params":[["methodReturn","int","The return value of this native: `endScaleformMovieMethodReturnValue`"]],"ret":"BOOL","since":757,"aka":["_GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_BOOL"]},
{"name":"getScaleformMovieMethodReturnValueString","native":"GET_SCALEFORM_MOVIE_METHOD_RETURN_VALUE_STRING","hash":"0xE1E258829A885245","params":[["methodReturn","int"]],"ret":"string","aka":["SITTING_TV","_GET_SCALEFORM_MOVIE_FUNCTION_RETURN_STRING"],"doc":"methodReturn: The return value of this native: `endScaleformMovieMethodReturnValue`\nUsed to get a return value from a scaleform function. Returns a string in the same way `getScaleformMovieMethodReturnValueInt` returns an int."},
{"name":"scaleformMovieMethodAddParamInt","native":"SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT","hash":"0xC3D0841A0CC546A6","params":[["value","int"]],"aka":["_PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_INT","_PUSH_SCALEFORM_MOVIE_METHOD_PARAMETER_INT"],"doc":"Pushes an integer for the Scaleform function onto the stack."},
{"name":"scaleformMovieMethodAddParamFloat","native":"SCALEFORM_MOVIE_METHOD_ADD_PARAM_FLOAT","hash":"0xD69736AAE04DB51A","params":[["value","float"]],"aka":["_PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_FLOAT","_PUSH_SCALEFORM_MOVIE_METHOD_PARAMETER_FLOAT"],"doc":"Pushes a float for the Scaleform function onto the stack."},
{"name":"scaleformMovieMethodAddParamBool","native":"SCALEFORM_MOVIE_METHOD_ADD_PARAM_BOOL","hash":"0xC58424BA936EB458","params":[["value","BOOL"]],"aka":["_PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_BOOL","_PUSH_SCALEFORM_MOVIE_METHOD_PARAMETER_BOOL"],"doc":"Pushes a boolean for the Scaleform function onto the stack."},
{"name":"beginTextCommandScaleformString","native":"BEGIN_TEXT_COMMAND_SCALEFORM_STRING","hash":"0x80338406F3475E55","params":[["componentType","string"]],"aka":["_BEGIN_TEXT_COMPONENT"],"doc":"Called prior to adding a text component to the UI. After doing so, `endTextCommandScaleformString` is called.\n\nExamples:\n\n```\nbeginTextCommandScaleformString(\"NUMBER\");\naddTextComponentInteger(absi(a_1));\nendTextCommandScaleformString();\n\nbeginTextCommandScaleformString(\"STRING\");\naddTextComponentSubstringPlayerName(a_2);\nendTextCommandScaleformString();\n\nbeginTextCommandScaleformString(\"STRTNM2\");\naddTextComponentSubstringTextLabelHashKey(v_3);\naddTextComponentSubstringTextLabelHashKey(v_4);\nendTextCommandScaleformString();\n\nbeginTextCommandScaleformString(\"STRTNM1\");\naddTextComponentSubstringTextLabelHashKey(v_3);\nendTextCommandScaleformString();\n```"},
{"name":"endTextCommandScaleformString","native":"END_TEXT_COMMAND_SCALEFORM_STRING","hash":"0x362E2D3FE93A9959","aka":["_END_TEXT_COMPONENT"]},
{"name":"endTextCommandUnparsedScaleformString","native":"END_TEXT_COMMAND_UNPARSED_SCALEFORM_STRING","hash":"0xAE4E8157D9ECF087","aka":["_END_TEXT_COMMAND_SCALEFORM_STRING_2"],"doc":"Same as `endTextCommandScaleformString` but does not perform HTML conversion for text tokens."},
{"name":"scaleformMovieMethodAddParamLiteralString","native":"SCALEFORM_MOVIE_METHOD_ADD_PARAM_LITERAL_STRING","hash":"0x77FE3402004CD1B0","params":[["string","string"]],"since":573,"aka":["_PUSH_SCALEFORM_MOVIE_METHOD_PARAMETER_STRING_2","_SCALEFORM_MOVIE_METHOD_ADD_PARAM_TEXTURE_NAME_STRING_2"],"doc":"Same as `scaleformMovieMethodAddParamTextureNameString`\nBoth `scaleformMovieMethodAddParamTextureNameString` / `scaleformMovieMethodAddParamLiteralString` works, but `scaleformMovieMethodAddParamLiteralString` is usually used for \"name\" (organisation, players..)."},
{"name":"scaleformMovieMethodAddParamTextureNameString","native":"SCALEFORM_MOVIE_METHOD_ADD_PARAM_TEXTURE_NAME_STRING","hash":"0xBA7148484BD90365","params":[["string","string"]],"aka":["_PUSH_SCALEFORM_MOVIE_FUNCTION_PARAMETER_STRING","_PUSH_SCALEFORM_MOVIE_METHOD_PARAMETER_STRING"]},
{"name":"scaleformMovieMethodAddParamPlayerNameString","native":"SCALEFORM_MOVIE_METHOD_ADD_PARAM_PLAYER_NAME_STRING","hash":"0xE83A3E3557A56640","params":[["string","string"]],"aka":["_PUSH_SCALEFORM_MOVIE_METHOD_PARAMETER_BUTTON_NAME"]},
{"name":"doesLatestBriefStringExist","native":"DOES_LATEST_BRIEF_STRING_EXIST","hash":"0x5E657EF1099EDD65","params":[["p0","int"]],"ret":"BOOL"},
{"name":"scaleformMovieMethodAddParamLatestBriefString","native":"SCALEFORM_MOVIE_METHOD_ADD_PARAM_LATEST_BRIEF_STRING","hash":"0xEC52C631A1831C03","params":[["value","int"]],"aka":["_SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT_STRING"]},
{"name":"requestScaleformScriptHudMovie","native":"REQUEST_SCALEFORM_SCRIPT_HUD_MOVIE","hash":"0x9304881D6F6537EA","params":[["hudComponent","int"]],"aka":["_REQUEST_HUD_SCALEFORM"]},
{"name":"hasScaleformScriptHudMovieLoaded","native":"HAS_SCALEFORM_SCRIPT_HUD_MOVIE_LOADED","hash":"0xDF6E5987D2B4D140","params":[["hudComponent","int"]],"ret":"BOOL","aka":["_HAS_HUD_SCALEFORM_LOADED"]},
{"name":"removeScaleformScriptHudMovie","native":"REMOVE_SCALEFORM_SCRIPT_HUD_MOVIE","hash":"0xF44A5456AC3F4F97","params":[["hudComponent","int"]]},
{"name":"passKeyboardInputToScaleform","native":"PASS_KEYBOARD_INPUT_TO_SCALEFORM","hash":"0xD1C7CB175E012964","params":[["scaleformHandle","int"]],"ret":"BOOL","blocked":"frontend"},
{"name":"setTvChannel","native":"SET_TV_CHANNEL","hash":"0xBAABBB23EB6E484E","params":[["channel","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`channel` must be `-1` (off) or between `0` and `4`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"getTvChannel","native":"GET_TV_CHANNEL","hash":"0xFC1E275A90D39995","ret":"int"},
{"name":"setTvVolume","native":"SET_TV_VOLUME","hash":"0x2982BF73F66E9DDC","params":[["volume","float"]]},
{"name":"getTvVolume","native":"GET_TV_VOLUME","hash":"0x2170813D3DD8661B","ret":"float"},
{"name":"drawTvChannel","native":"DRAW_TV_CHANNEL","hash":"0xFDDC2B4ED3C69DF0","params":[["xPos","float"],["yPos","float"],["xScale","float"],["yScale","float"],["rotation","float"],["red","int"],["green","int"],["blue","int"],["alpha","int"]],"doc":"All calls to this native are preceded by calls to `setScriptGfxDrawOrder` and `setScriptGfxDrawBehindPausemenu`, respectively.\n\n\"act_cinema.ysc\", line 1483:\n\n```\nsetHudComponentPosition(15, 0.0, -0.0375);\nsetTextRenderId(l_AE);\nsetScriptGfxDrawOrder(4);\nsetScriptGfxDrawBehindPausemenu(1);\nif (isTvshowCurrentlyPlaying(${movie_arthouse})) {\n    drawTvChannel(0.5, 0.5, 0.7375, 1.0, 0.0, 255, 255, 255, 255);\n} else {\n    drawTvChannel(0.5, 0.5, 1.0, 1.0, 0.0, 255, 255, 255, 255);\n}\n```\n\n\"am_mp_property_int.ysc\", line 102545:\n\n```\nif (doesEntityExist(a_2._f3)) {\n    if (isNamedRendertargetLinked(getEntityModel(a_2._f3))) {\n        setTextRenderId(a_2._f1);\n        setScriptGfxDrawOrder(4);\n        setScriptGfxDrawBehindPausemenu(1);\n        drawTvChannel(0.5, 0.5, 1.0, 1.0, 0.0, 255, 255, 255, 255);\n        if (getTvChannel() == -1) {\n            sub_a8fa5(a_2, 1);\n        } else {\n            sub_a8fa5(a_2, 1);\n            attachTvAudioToEntity(a_2._f3);\n        }\n        setTextRenderId(getDefaultScriptRendertargetRenderId());\n    }\n}\n```"},
{"name":"setTvChannelPlaylist","native":"SET_TV_CHANNEL_PLAYLIST","hash":"0xF7B38B8305F1FE8B","params":[["tvChannel","int"],["playlistName","string"],["restart","BOOL"]],"checked":1,"aka":["_LOAD_TV_CHANNEL_SEQUENCE"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`tvChannel` must be between `0` and `4`; `playlistName` is required. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Loads specified video sequence into the TV Channel\nTV_Channel ranges from 0-2\nVideoSequence can be any of the following:\n\"PL_STD_CNT\" CNT Standard Channel\n\"PL_STD_WZL\" Weazel Standard Channel\n\"PL_LO_CNT\"\n\"PL_LO_WZL\"\n\"PL_SP_WORKOUT\"\n\"PL_SP_INV\" - Jay Norris Assassination Mission Fail\n\"PL_SP_INV_EXP\" - Jay Norris Assassination Mission Success\n\"PL_LO_RS\" - Righteous Slaughter Ad\n\"PL_LO_RS_CUTSCENE\" - Righteous Slaughter Cut-scene\n\"PL_SP_PLSH1_INTRO\"\n\"PL_LES1_FAME_OR_SHAME\"\n\"PL_STD_WZL_FOS_EP2\"\n\"PL_MP_WEAZEL\" - Weazel Logo on loop\n\"PL_MP_CCTV\" - Generic CCTV loop\n\nRestart:\n0=video sequence continues as normal\n1=sequence restarts from beginning every time that channel is selected\n\nThe above playlists work as intended, and are commonly used, but there are many more playlists, as seen in `tvplaylists.xml`. A pastebin below outlines all playlists, they will be surronded by the name tag I.E. (<Name>PL_STD_CNT</Name> = PL_STD_CNT).\nhttps://pastebin.com/zUzGB6h7"},
{"name":"setTvChannelPlaylistAtHour","native":"SET_TV_CHANNEL_PLAYLIST_AT_HOUR","hash":"0x2201C576FACAEBE8","params":[["tvChannel","int"],["playlistName","string"],["hour","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`tvChannel` must be between `0` and `4`, and `hour` between `0` and `23`; `playlistName` is required. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"setTvChannelPlaylistDirty","native":"_SET_TV_CHANNEL_PLAYLIST_DIRTY","hash":"0xEE831F15A8D0D94A","params":[["tvChannel","int"],["p1","BOOL"]],"ret":"Any","na":1,"since":3095,"doc":"Does not actually return anything."},
{"name":"clearTvChannelPlaylist","native":"CLEAR_TV_CHANNEL_PLAYLIST","hash":"0xBEB3D46BB7F043C0","params":[["tvChannel","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`tvChannel` must be between `0` and `4`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"isPlaylistOnChannel","native":"IS_PLAYLIST_ON_CHANNEL","hash":"0x1F710BFF7DAE6261","params":[["tvChannel","int"],["p1","Any"]],"ret":"BOOL","since":1604,"aka":["_IS_PLAYLIST_UNK"]},
{"name":"isTvshowCurrentlyPlaying","native":"IS_TVSHOW_CURRENTLY_PLAYING","hash":"0x0AD973CA1E077B60","params":[["videoCliphash","Hash"]],"ret":"BOOL","aka":["_LOAD_TV_CHANNEL","_IS_TV_PLAYLIST_ITEM_PLAYING"]},
{"name":"enableMovieKeyframeWait","native":"ENABLE_MOVIE_KEYFRAME_WAIT","hash":"0x74C180030FDE4B69","params":[["toggle","BOOL"]]},
{"name":"setTvPlayerWatchingThisFrame","native":"SET_TV_PLAYER_WATCHING_THIS_FRAME","hash":"0xD1C55B110E4DF534","params":[["p0","Any"]]},
{"name":"getCurrentTvClipNamehash","native":"GET_CURRENT_TV_CLIP_NAMEHASH","hash":"0x30432A0118736E00","ret":"Hash","since":1493},
{"name":"enableMovieSubtitles","native":"ENABLE_MOVIE_SUBTITLES","hash":"0x873FA65C778AD970","params":[["toggle","BOOL"]]},
{"name":"ui3dsceneIsAvailable","native":"UI3DSCENE_IS_AVAILABLE","hash":"0xD3A10FC7FD8D98CD","ret":"BOOL"},
{"name":"ui3dscenePushPreset","native":"UI3DSCENE_PUSH_PRESET","hash":"0xF1CEA8A4198D8E9A","params":[["presetName","string"]],"ret":"BOOL","doc":"All presets can be found in common\\data\\ui\\uiscenes.meta"},
{"name":"ui3dsceneAssignPedToSlot","native":"UI3DSCENE_ASSIGN_PED_TO_SLOT","hash":"0x98C4FE6EC34154CA","params":[["presetName","string"],["ped","Ped"],["slot","int"],["posX","float"],["posY","float"],["posZ","float"]],"ret":"BOOL","doc":"It's called after `ui3dsceneIsAvailable` and `ui3dscenePushPreset`\n\npresetName was always \"CELEBRATION_WINNER\"\nAll presets can be found in common\\data\\ui\\uiscenes.meta"},
{"name":"ui3dsceneClearPatchedData","native":"UI3DSCENE_CLEAR_PATCHED_DATA","hash":"0x7A42B2E236E71415"},
{"name":"ui3dsceneMakePushedPresetPersistent","native":"UI3DSCENE_MAKE_PUSHED_PRESET_PERSISTENT","hash":"0x108BE26959A9D9BB","params":[["toggle","BOOL"]]},
{"name":"terraingridActivate","native":"TERRAINGRID_ACTIVATE","hash":"0xA356990E161C9E65","params":[["toggle","BOOL"]],"doc":"This native enables/disables the gold putting grid display.\nThis requires these two natives to be called as well to configure the grid: `terraingridSetParams` and `terraingridSetColours`."},
{"name":"terraingridSetParams","native":"TERRAINGRID_SET_PARAMS","hash":"0x1C4FC5752BCD8E48","params":[["x","float"],["y","float"],["z","float"],["forwardX","float"],["forwardY","float"],["forwardZ","float"],["sizeX","float"],["sizeY","float"],["sizeZ","float"],["gridScale","float"],["glowIntensity","float"],["normalHeight","float"],["heightDiff","float"]],"doc":"This native is used along with these two natives: `terraingridActivate` and `terraingridSetColours`.\nThis native configures the location, size, rotation, normal height, and the difference ratio between min, normal and max.\n\nThis native renders a box at the given position, with a special shader that renders a grid on world geometry behind it. This box does not have backface culling.\nThe forward args here are a direction vector, something similar to what's returned by `getEntityForwardVector`.\nnormalHeight and heightDiff are used for positioning the color gradient of the grid, colors specified via `terraingridSetColours`.\n\nExample with box superimposed on the image to demonstrate: https://i.imgur.com/wdqskxd.jpg"},
{"name":"terraingridSetColours","native":"TERRAINGRID_SET_COLOURS","hash":"0x5CE62918F8D703C7","params":[["lowR","int"],["lowG","int"],["lowB","int"],["lowAlpha","int"],["r","int"],["g","int"],["b","int"],["alpha","int"],["highR","int"],["highG","int"],["highB","int"],["highAlpha","int"]],"doc":"This native is used along with these two natives: `terraingridActivate` and `terraingridSetParams`.\nThis native sets the colors for the golf putting grid. the 'min...' values are for the lower areas that the grid covers, the 'max...' values are for the higher areas that the grid covers, all remaining values are for the 'normal' ground height."},
{"name":"animpostfxPlay","native":"ANIMPOSTFX_PLAY","hash":"0x2206BF9A37B7F724","params":[["effectName","string"],["duration","int"],["looped","BOOL"]],"aka":["_START_SCREEN_EFFECT"],"doc":"duration - is how long to play the effect for in milliseconds. If 0, it plays the default length\nif loop is true, the effect won't stop until you call `animpostfxStop` on it. (only loopable effects)\n\nFull list of animpostFX / screen effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animPostFxNamesCompact.json"},
{"name":"animpostfxStop","native":"ANIMPOSTFX_STOP","hash":"0x068E835A1D0DC0E3","params":[["effectName","string"]],"aka":["_STOP_SCREEN_EFFECT"],"doc":"See `animpostfxPlay`\n\nFull list of animpostFX / screen effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animPostFxNamesCompact.json"},
{"name":"animpostfxGetCurrentTime","native":"ANIMPOSTFX_GET_CURRENT_TIME","hash":"0xE35B38A27E8E7179","params":[["effectName","string"]],"ret":"float","since":877,"aka":["_ANIMPOSTFX_GET_UNK"],"doc":"See `animpostfxPlay`\n\nFull list of animpostFX / screen effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animPostFxNamesCompact.json"},
{"name":"animpostfxIsRunning","native":"ANIMPOSTFX_IS_RUNNING","hash":"0x36AD3E690DA5ACEB","params":[["effectName","string"]],"ret":"BOOL","aka":["_GET_SCREEN_EFFECT_IS_ACTIVE"],"doc":"Returns whether the specified effect is active.\nSee `animpostfxPlay`\n\nFull list of animpostFX / screen effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animPostFxNamesCompact.json"},
{"name":"animpostfxStopAll","native":"ANIMPOSTFX_STOP_ALL","hash":"0xB4EDDC19532BFB85","aka":["_STOP_ALL_SCREEN_EFFECTS"],"doc":"Stops ALL currently playing effects."},
{"name":"animpostfxStopAndFlushRequests","native":"ANIMPOSTFX_STOP_AND_FLUSH_REQUESTS","hash":"0xD2209BE128B5418C","params":[["effectName","string"]],"aka":["_ANIMPOSTFX_STOP_AND_DO_UNK"],"doc":"Stops the effect and sets a value (bool) in its data to false.\nSee `animpostfxPlay`\n\nFull list of animpostFX / screen effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animPostFxNamesCompact.json"}
]},
{"id":"HUD","title":"HUD","doc":"Text, help and notifications, blips and the minimap, pause-menu and frontend components.","natives":[
{"name":"beginTextCommandBusyspinnerOn","native":"BEGIN_TEXT_COMMAND_BUSYSPINNER_ON","hash":"0xABA17D7CE615ADBF","params":[["string","string"]],"aka":["_SET_LOADING_PROMPT_TEXT_ENTRY","_BEGIN_TEXT_COMMAND_BUSY_STRING"],"doc":"Initializes the text entry for the the text next to a loading prompt. All natives for building UI texts can be used here\n\ne.g\n\n```\nvoid StartLoadingMessage(char *text, int spinnerType = 3)\n  {\n     beginTextCommandBusyspinnerOn(\"STRING\");\n       addTextComponentSubstringPlayerName(text);\n       endTextCommandBusyspinnerOn(spinnerType);\n    }\n```\n\n/*OR*/\n\n```\nvoid ShowLoadingMessage(char *text, int spinnerType = 3, int timeMs = 10000)\n {\n    beginTextCommandBusyspinnerOn(\"STRING\");\n      addTextComponentSubstringPlayerName(text);\n      endTextCommandBusyspinnerOn(spinnerType);\n       WAIT(timeMs);\n    busyspinnerOff();\n}\n```\n\nThese are some localized strings used in the loading spinner.\n\"PM_WAIT\"                   = Please Wait\n\"CELEB_WPLYRS\"              = Waiting For Players.\n\"CELL_SPINNER2\"             = Scanning storage.\n\"ERROR_CHECKYACHTNAME\" = Registering your yacht's name. Please wait.\n\"ERROR_CHECKPROFANITY\"   = Checking your text for profanity. Please wait.\n\"FM_COR_AUTOD\"                        = Just spinner no text\n\"FM_IHELP_WAT2\"                        = Waiting for other players\n\"FM_JIP_WAITO\"                            = Game options are being set\n\"FMMC_DOWNLOAD\"                    = Downloading\n\"FMMC_PLYLOAD\"                         = Loading\n\"FMMC_STARTTRAN\"                    = Launching session\n\"HUD_QUITTING\"                           =  Quiting session\n\"KILL_STRIP_IDM\"                         = Waiting for to accept\n\"MP_SPINLOADING\"                      = Loading"},
{"name":"endTextCommandBusyspinnerOn","native":"END_TEXT_COMMAND_BUSYSPINNER_ON","hash":"0xBD12F8228410D9B4","params":[["busySpinnerType","int"]],"aka":["_SHOW_LOADING_PROMPT","_END_TEXT_COMMAND_BUSY_STRING"]},
{"name":"busyspinnerOff","native":"BUSYSPINNER_OFF","hash":"0x10D373323E5B9C0D","aka":["_REMOVE_LOADING_PROMPT"],"doc":"Removes the loading prompt at the bottom right of the screen."},
{"name":"preloadBusyspinner","native":"PRELOAD_BUSYSPINNER","hash":"0xC65AB383CD91DF98"},
{"name":"busyspinnerIsOn","native":"BUSYSPINNER_IS_ON","hash":"0xD422FCC5F239A915","ret":"BOOL","aka":["_IS_LOADING_PROMPT_BEING_DISPLAYED"]},
{"name":"busyspinnerIsDisplaying","native":"BUSYSPINNER_IS_DISPLAYING","hash":"0xB2A592B04648A9CB","ret":"BOOL"},
{"name":"disablePausemenuSpinner","native":"DISABLE_PAUSEMENU_SPINNER","hash":"0x9245E81072704B8A","params":[["p0","BOOL"]],"aka":["_DISABLE_PAUSE_MENU_BUSYSPINNER"]},
{"name":"setMouseCursorThisFrame","native":"SET_MOUSE_CURSOR_THIS_FRAME","hash":"0xAAE7CE1D63167423","aka":["_SHOW_CURSOR_THIS_FRAME","_SET_MOUSE_CURSOR_ACTIVE_THIS_FRAME"],"doc":"Shows the cursor on screen for one frame."},
{"name":"setMouseCursorStyle","native":"SET_MOUSE_CURSOR_STYLE","hash":"0x8DB8CFFD58B62552","params":[["spriteId","int"]],"aka":["_SET_CURSOR_SPRITE","_SET_MOUSE_CURSOR_SPRITE"],"doc":"Changes the mouse cursor's sprite.\n1 = Normal\n6 = Left Arrow\n7 = Right Arrow"},
{"name":"setMouseCursorVisible","native":"SET_MOUSE_CURSOR_VISIBLE","hash":"0x98215325A695E78A","params":[["toggle","BOOL"]],"aka":["_SET_MOUSE_CURSOR_VISIBLE_IN_MENUS"],"doc":"Shows/hides the frontend cursor on the pause menu or similar menus.\nClicking off and then on the game window will show it again."},
{"name":"isMouseRolledOverInstructionalButtons","native":"IS_MOUSE_ROLLED_OVER_INSTRUCTIONAL_BUTTONS","hash":"0x3D9ACB1EB139E702","ret":"BOOL","aka":["_IS_MOUSE_CURSOR_ABOVE_INSTRUCTIONAL_BUTTONS"],"doc":"Returns TRUE if mouse is hovering above instructional buttons. Works with all buttons gfx, such as popup_warning, pause_menu_instructional_buttons, instructional_buttons, etc. Note: You have to call TOGGLE_MOUSE_BUTTONS on the scaleform if you want this native to work."},
{"name":"getMouseEvent","native":"GET_MOUSE_EVENT","hash":"0x632B2940C67F4EA9","params":[["scaleformHandle","int"],["p1","Any*"],["p2","Any*"],["p3","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"thefeedOnlyShowTooltips","native":"THEFEED_ONLY_SHOW_TOOLTIPS","hash":"0x6F1554B0CC2089FA","params":[["toggle","BOOL"]]},
{"name":"thefeedSetScriptedMenuHeight","native":"THEFEED_SET_SCRIPTED_MENU_HEIGHT","hash":"0x55598D21339CB998","params":[["pos","float"]],"aka":["_CLEAR_NOTIFICATIONS_POS"]},
{"name":"thefeedHide","native":"THEFEED_HIDE","hash":"0x32888337579A5970","since":463,"aka":["_THEFEED_DISABLE","_THEFEED_DISABLE_LOADING_SCREEN_TIPS"],"doc":"Stops loading screen tips shown by invoking `thefeedShow`"},
{"name":"thefeedHideThisFrame","native":"THEFEED_HIDE_THIS_FRAME","hash":"0x25F87B30C382FCA7","aka":["_HIDE_HUD_NOTIFICATIONS_THIS_FRAME"],"doc":"Once called each frame hides all above radar notifications."},
{"name":"thefeedShow","native":"THEFEED_SHOW","hash":"0x15CFA549788D35EF","since":463,"aka":["_THEFEED_ENABLE","_THEFEED_DISPLAY_LOADING_SCREEN_TIPS"],"doc":"Displays loading screen tips, requires `thefeedAutoPostGametipsOn` to be called beforehand."},
{"name":"thefeedFlushQueue","native":"THEFEED_FLUSH_QUEUE","hash":"0xA8FDB297A8D25FBA"},
{"name":"thefeedRemoveItem","native":"THEFEED_REMOVE_ITEM","hash":"0xBE4390CB40B3E627","params":[["notificationId","int"]],"aka":["_REMOVE_NOTIFICATION"],"doc":"Removes a notification instantly instead of waiting for it to disappear"},
{"name":"thefeedForceRenderOn","native":"THEFEED_FORCE_RENDER_ON","hash":"0xA13C11E1B5C06BFC"},
{"name":"thefeedForceRenderOff","native":"THEFEED_FORCE_RENDER_OFF","hash":"0x583049884A2EEE3C","aka":["_THEFEED_HIDE_GTAO_TOOLTIPS"],"doc":"Enables loading screen tips to be be shown (`thefeedShow`), blocks other kinds of notifications from being displayed (at least from current script). Call `0xADED7F5748ACAFE6` to display those again."},
{"name":"thefeedPause","native":"THEFEED_PAUSE","hash":"0xFDB423997FA30340"},
{"name":"thefeedResume","native":"THEFEED_RESUME","hash":"0xE1CD1E48E025E661"},
{"name":"thefeedIsPaused","native":"THEFEED_IS_PAUSED","hash":"0xA9CBFD40B3FA3010","ret":"BOOL"},
{"name":"thefeedReportLogoOn","native":"THEFEED_REPORT_LOGO_ON","hash":"0xD4438C0564490E63","aka":["_THEFEED_ENABLE_BASELINE_OFFSET","THEFEED_SPS_EXTEND_WIDESCREEN_ON"]},
{"name":"thefeedReportLogoOff","native":"THEFEED_REPORT_LOGO_OFF","hash":"0xB695E2CD0A2DA9EE","aka":["_THEFEED_DISABLE_BASELINE_OFFSET","THEFEED_SPS_EXTEND_WIDESCREEN_OFF"]},
{"name":"thefeedGetLastShownPhoneActivatableFeedId","native":"THEFEED_GET_LAST_SHOWN_PHONE_ACTIVATABLE_FEED_ID","hash":"0x82352748437638CA","ret":"int","aka":["_GET_CURRENT_NOTIFICATION","_THEFEED_GET_CURRENT_NOTIFICATION","THEFEED_GET_FIRST_VISIBLE_DELETE_REMAINING"],"doc":"Returns the handle for the notification currently displayed on the screen. Name may be a hash collision, but describes the function accurately."},
{"name":"thefeedAutoPostGametipsOn","native":"THEFEED_AUTO_POST_GAMETIPS_ON","hash":"0x56C8B608CFD49854","aka":["THEFEED_COMMENT_TELEPORT_POOL_ON"],"doc":"Enables loading screen tips to be be shown (`thefeedShow`), blocks other kinds of notifications from being displayed (at least from current script). Call `thefeedAutoPostGametipsOff` to display those again."},
{"name":"thefeedAutoPostGametipsOff","native":"THEFEED_AUTO_POST_GAMETIPS_OFF","hash":"0xADED7F5748ACAFE6","aka":["_THEFEED_SHOW_GTAO_TOOLTIPS","THEFEED_COMMENT_TELEPORT_POOL_OFF"],"doc":"Displays \"normal\" notifications again after calling `thefeedAutoPostGametipsOn` (those that were drawn before calling this native too), though those will have a weird offset and stay on screen forever (tested with notifications created from same script)."},
{"name":"thefeedSetBackgroundColorForNextPost","native":"THEFEED_SET_BACKGROUND_COLOR_FOR_NEXT_POST","hash":"0x92F0DA1E27DB96DC","params":[["hudColorIndex","int"]],"aka":["_SET_NOTIFICATION_BACKGROUND_COLOR","_THEFEED_NEXT_POST_BACKGROUND_COLOR","_THEFEED_SET_NEXT_POST_BACKGROUND_COLOR"],"doc":"From the decompiled scripts:\n\n```\nthefeedSetBackgroundColorForNextPost(6);\nthefeedSetBackgroundColorForNextPost(184);\nthefeedSetBackgroundColorForNextPost(190);\n```\n\nsets background color for the next notification\n6 = red\n184 = green\n190 = yellow\n\nHere is a list of some colors that can be used: https://i.gyazo.com/68bd384455fceb0a85a8729e48216e15.gif"},
{"name":"thefeedSetRgbaParameterForNextMessage","native":"THEFEED_SET_RGBA_PARAMETER_FOR_NEXT_MESSAGE","hash":"0x17430B918701C342","params":[["red","int"],["green","int"],["blue","int"],["alpha","int"]],"aka":["_SET_NOTIFICATION_FLASH_COLOR","_THEFEED_SET_ANIMPOSTFX_COLOR"]},
{"name":"thefeedSetFlashDurationParameterForNextMessage","native":"THEFEED_SET_FLASH_DURATION_PARAMETER_FOR_NEXT_MESSAGE","hash":"0x17AD8C9706BDD88A","params":[["count","int"]],"aka":["_THEFEED_SET_ANIMPOSTFX_COUNT"],"doc":"Related to notification color flashing, setting count to 0 invalidates a `thefeedSetRgbaParameterForNextMessage` call for the target notification."},
{"name":"thefeedSetVibrateParameterForNextMessage","native":"THEFEED_SET_VIBRATE_PARAMETER_FOR_NEXT_MESSAGE","hash":"0x4A0C7C9BB10ABB36","params":[["toggle","BOOL"]],"aka":["_THEFEED_SET_ANIMPOSTFX_SOUND"]},
{"name":"thefeedResetAllParameters","native":"THEFEED_RESET_ALL_PARAMETERS","hash":"0xFDD85225B2DEA55E","aka":["_THEFEED_CLEAR_ANIMPOSTFX"]},
{"name":"thefeedFreezeNextPost","native":"THEFEED_FREEZE_NEXT_POST","hash":"0xFDEC055AB549E328","aka":["_THEFEED_SET_NEXT_POST_PERSISTENT"],"doc":"Requires manual management of game stream handles (i.e., `thefeedRemoveItem`)."},
{"name":"thefeedClearFrozenPost","native":"THEFEED_CLEAR_FROZEN_POST","hash":"0x80FE4F3AB4E1B62A","aka":["_THEFEED_FLUSH_PERSISTENT"]},
{"name":"thefeedSetSnapFeedItemPositions","native":"THEFEED_SET_SNAP_FEED_ITEM_POSITIONS","hash":"0xBAE4F9B97CD43B30","params":[["p0","BOOL"]],"aka":["_THEFEED_SET_FLUSH_ANIMPOSTFX"]},
{"name":"thefeedUpdateItemTexture","native":"THEFEED_UPDATE_ITEM_TEXTURE","hash":"0x317EBA71D7543F52","params":[["txdString1","string"],["txnString1","string"],["txdString2","string"],["txnString2","string"]],"aka":["_THEFEED_ADD_TXD_REF"],"doc":"Used in the native scripts to reference \"`getPedheadshotTxdString`\" and \"CHAR_DEFAULT\"."},
{"name":"beginTextCommandThefeedPost","native":"BEGIN_TEXT_COMMAND_THEFEED_POST","hash":"0x202709F4C58A0424","params":[["text","string"]],"aka":["_SET_NOTIFICATION_TEXT_ENTRY"],"doc":"Declares the entry type of a notification, for example \"STRING\".\n\n```\nint ShowNotification(char *text)\n{\n  beginTextCommandThefeedPost(\"STRING\");\n  addTextComponentSubstringPlayerName(text);\n  return endTextCommandThefeedPostTicker(1, 1);\n}\n```"},
{"name":"endTextCommandThefeedPostStats","native":"END_TEXT_COMMAND_THEFEED_POST_STATS","hash":"0x2B7E9A4EAAA93C89","params":[["statTitle","string"],["iconEnum","int"],["stepVal","BOOL"],["barValue","int"],["isImportant","BOOL"],["pictureTextureDict","string"],["pictureTextureName","string"]],"ret":"int","aka":["_SET_NOTIFICATION_MESSAGE_2"],"doc":"List of picture names: https://pastebin.com/XdpJVbHz"},
{"name":"endTextCommandThefeedPostMessagetext","native":"END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT","hash":"0x1CCD9A37359072CF","params":[["txdName","string"],["textureName","string"],["flash","BOOL"],["iconType","int"],["sender","string"],["subject","string"]],"ret":"int","aka":["_SET_NOTIFICATION_MESSAGE"],"doc":"This function can show pictures of every texture that can be requested by `requestStreamedTextureDict`.\n\nList of picNames: https://pastebin.com/XdpJVbHz\n\nflash is a bool for fading in.\niconTypes:\n1 : Chat Box\n2 : Email\n3 : Add Friend Request\n4 : Nothing\n5 : Nothing\n6 : Nothing\n7 : Right Jumping Arrow\n8 : RP Icon\n9 : $ Icon\n\n\"sender\" is the very top header. This can be any old string.\n\"subject\" is the header under the sender."},
{"name":"endTextCommandThefeedPostMessagetextSubtitleLabel","native":"END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_SUBTITLE_LABEL","hash":"0xC6F580E4C94926AC","params":[["txdName","string"],["textureName","string"],["flash","BOOL"],["iconType","int"],["sender","string"],["subject","string"]],"ret":"int","aka":["_SET_NOTIFICATION_MESSAGE_3","_END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_ENTRY","_END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_GXT_ENTRY"],"doc":"This function can show pictures of every texture that can be requested by `requestStreamedTextureDict`.\n\nNeeds more research.\n\nOnly one type of usage in the scripts:\n\n```\nendTextCommandThefeedPostMessagetextSubtitleLabel(\"CHAR_ACTING_UP\", \"CHAR_ACTING_UP\", 0, 0, \"DI_FEED_CHAR\", a_0);\n```"},
{"name":"endTextCommandThefeedPostMessagetextTu","native":"END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_TU","hash":"0x1E6611149DB3DB6B","params":[["txdName","string"],["textureName","string"],["flash","BOOL"],["iconType","int"],["sender","string"],["subject","string"],["duration","float"]],"ret":"int","aka":["_SET_NOTIFICATION_MESSAGE_4"],"doc":"This function can show pictures of every texture that can be requested by `requestStreamedTextureDict`.\n\nNOTE: 'duration' is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.\n\nExample, only occurrence in the scripts:\n\n```\nv_8 = endTextCommandThefeedPostMessagetextTu(\"CHAR_SOCIAL_CLUB\", \"CHAR_SOCIAL_CLUB\", 0, 0, &v_9, \"\", a_5);\n```"},
{"name":"endTextCommandThefeedPostMessagetextWithCrewTag","native":"END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_WITH_CREW_TAG","hash":"0x5CBF7BADE20DB93E","params":[["txdName","string"],["textureName","string"],["flash","BOOL"],["iconType","int"],["sender","string"],["subject","string"],["duration","float"],["clanTag","string"]],"ret":"int","aka":["_SET_NOTIFICATION_MESSAGE_CLAN_TAG"],"doc":"This function can show pictures of every texture that can be requested by `requestStreamedTextureDict`.\n\nList of picNames https://pastebin.com/XdpJVbHz\n\nflash is a bool for fading in.\niconTypes:\n1 : Chat Box\n2 : Email\n3 : Add Friend Request\n4 : Nothing\n5 : Nothing\n6 : Nothing\n7 : Right Jumping Arrow\n8 : RP Icon\n9 : $ Icon\n\n\"sender\" is the very top header. This can be any old string.\n\"subject\" is the header under the sender.\n\"duration\" is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.\n\"clanTag\" shows a crew tag in the \"sender\" header, after the text. You need to use 3 underscores as padding. Maximum length of this field seems to be 7. (e.g. \"MK\" becomes \"___MK\", \"ACE\" becomes \"___ACE\", etc.)"},
{"name":"endTextCommandThefeedPostMessagetextWithCrewTagAndAdditionalIcon","native":"END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT_WITH_CREW_TAG_AND_ADDITIONAL_ICON","hash":"0x531B84E7DA981FB6","params":[["txdName","string"],["textureName","string"],["flash","BOOL"],["iconType1","int"],["sender","string"],["subject","string"],["duration","float"],["clanTag","string"],["iconType2","int"],["p9","int"]],"ret":"int","aka":["_SET_NOTIFICATION_MESSAGE_CLAN_TAG_2"],"doc":"This function can show pictures of every texture that can be requested by `requestStreamedTextureDict`.\n\nList of picNames:  https://pastebin.com/XdpJVbHz\n\nflash is a bool for fading in.\niconTypes:\n1 : Chat Box\n2 : Email\n3 : Add Friend Request\n4 : Nothing\n5 : Nothing\n6 : Nothing\n7 : Right Jumping Arrow\n8 : RP Icon\n9 : $ Icon\n\n\"sender\" is the very top header. This can be any old string.\n\"subject\" is the header under the sender.\n\"duration\" is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.\n\"clanTag\" shows a crew tag in the \"sender\" header, after the text. You need to use 3 underscores as padding. Maximum length of this field seems to be 7. (e.g. \"MK\" becomes \"___MK\", \"ACE\" becomes \"___ACE\", etc.)\niconType2 is a mirror of iconType. It shows in the \"subject\" line, right under the original iconType.\n\n```\nint IconNotification(char *text, char *text2, char *Subject)\n{\n    beginTextCommandThefeedPost(\"STRING\");\n addTextComponentSubstringPlayerName(text);\n   endTextCommandThefeedPostMessagetextWithCrewTagAndAdditionalIcon(\"CHAR_SOCIAL_CLUB\", \"CHAR_SOCIAL_CLUB\", 1, 7, text2, Subject, 1.0f, \"__EXAMPLE\", 7);\n   return endTextCommandThefeedPostTicker(1, 1);\n}\n```"},
{"name":"endTextCommandThefeedPostTicker","native":"END_TEXT_COMMAND_THEFEED_POST_TICKER","hash":"0x2ED7843F8F801023","params":[["blink","BOOL"],["p1","BOOL"]],"ret":"int","aka":["_DRAW_NOTIFICATION"]},
{"name":"endTextCommandThefeedPostTickerForced","native":"END_TEXT_COMMAND_THEFEED_POST_TICKER_FORCED","hash":"0x44FA03975424A0EE","params":[["blink","BOOL"],["p1","BOOL"]],"ret":"int","aka":["_DRAW_NOTIFICATION_2"]},
{"name":"endTextCommandThefeedPostTickerWithTokens","native":"END_TEXT_COMMAND_THEFEED_POST_TICKER_WITH_TOKENS","hash":"0x378E809BF61EC840","params":[["blink","BOOL"],["p1","BOOL"]],"ret":"int","aka":["_DRAW_NOTIFICATION_3"]},
{"name":"endTextCommandThefeedPostAward","native":"END_TEXT_COMMAND_THEFEED_POST_AWARD","hash":"0xAA295B6F28BD587D","params":[["textureDict","string"],["textureName","string"],["rpBonus","int"],["colorOverlay","int"],["titleLabel","string"]],"ret":"int","aka":["_DRAW_NOTIFICATION_ICON","_DRAW_NOTIFICATION_AWARD"],"doc":"Shows an \"award\" notification above the minimap\nExample:\n\n```\nbeginTextCommandThefeedPost(\"HUNT\");\nendTextCommandThefeedPostAward(\"Hunting\", \"Hunting_Gold_128\", 0, 109, \"HUD_MED_UNLKED\");\n```"},
{"name":"endTextCommandThefeedPostCrewtag","native":"END_TEXT_COMMAND_THEFEED_POST_CREWTAG","hash":"0x97C9E4E7024A8F2C","params":[["p0","BOOL"],["p1","BOOL"],["p2","Any*","A structure the game reads through this pointer."],["p3","int"],["isLeader","BOOL"],["unk0","BOOL"],["clanDesc","int"],["R","int"],["G","int"],["B","int"]],"ret":"int","blocked":"memory","aka":["_NOTIFICATION_SEND_APARTMENT_INVITE","_DRAW_NOTIFICATION_APARTMENT_INVITE"]},
{"name":"endTextCommandThefeedPostCrewtagWithGameName","native":"END_TEXT_COMMAND_THEFEED_POST_CREWTAG_WITH_GAME_NAME","hash":"0x137BC35589E34E1E","params":[["p0","BOOL"],["p1","BOOL"],["p2","Any*","A structure the game reads through this pointer."],["p3","int"],["isLeader","BOOL"],["unk0","BOOL"],["clanDesc","int"],["playerName","string"],["R","int"],["G","int"],["B","int"]],"ret":"int","blocked":"memory","aka":["_NOTIFICATION_SEND_CLAN_INVITE","_DRAW_NOTIFICATION_CLAN_INVITE"]},
{"name":"endTextCommandThefeedPostUnlock","native":"END_TEXT_COMMAND_THEFEED_POST_UNLOCK","hash":"0x33EE12743CCD6343","params":[["gxtLabel1","string"],["p1","int"],["gxtLabel2","string"]],"ret":"int"},
{"name":"endTextCommandThefeedPostUnlockTu","native":"END_TEXT_COMMAND_THEFEED_POST_UNLOCK_TU","hash":"0xC8F3AAF93D0600BF","params":[["gxtLabel1","string"],["p1","int"],["gxtLabel2","string"],["p3","int"]],"ret":"int"},
{"name":"endTextCommandThefeedPostUnlockTuWithColor","native":"END_TEXT_COMMAND_THEFEED_POST_UNLOCK_TU_WITH_COLOR","hash":"0x7AE0589093A2E088","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"ret":"int"},
{"name":"endTextCommandThefeedPostMpticker","native":"END_TEXT_COMMAND_THEFEED_POST_MPTICKER","hash":"0xF020C96915705B3A","params":[["blink","BOOL"],["p1","BOOL"]],"ret":"int","aka":["_DRAW_NOTIFICATION_4"]},
{"name":"endTextCommandThefeedPostCrewRankupWithLiteralFlag","native":"END_TEXT_COMMAND_THEFEED_POST_CREW_RANKUP_WITH_LITERAL_FLAG","hash":"0x8EFCCF6EC66D85E4","params":[["p0","string"],["p1","string"],["p2","string"],["p3","BOOL"],["p4","BOOL"]],"ret":"int","aka":["END_TEXT_COMMAND_THEFEED_POST_CREW_RANKUP"]},
{"name":"endTextCommandThefeedPostVersusTu","native":"END_TEXT_COMMAND_THEFEED_POST_VERSUS_TU","hash":"0xB6871B0555B02996","params":[["txdName1","string"],["textureName1","string"],["count1","int"],["txdName2","string"],["textureName2","string"],["count2","int"],["hudColor1","int"],["hudColor2","int"]],"ret":"int","doc":"This function can show pictures of every texture that can be requested by `requestStreamedTextureDict`.\n\nList of picNames: https://pastebin.com/XdpJVbHz\n\nShows a deathmatch score above the minimap, example: https://i.imgur.com/YmoMklG.png"},
{"name":"endTextCommandThefeedPostReplay","native":"END_TEXT_COMMAND_THEFEED_POST_REPLAY","hash":"0xD202B92CBF1D816F","params":[["type","int"],["image","int"],["text","string"]],"ret":"int","aka":["_DRAW_NOTIFICATION_WITH_ICON","_END_TEXT_COMMAND_THEFEED_POST_REPLAY_ICON"],"doc":"returns a notification handle, prints out a notification like below:\ntype range: 0 - 2\nif you set type to 1, image goes from 0 - 39 - Xbox you can add text to\n\nexample:\n\n```\nendTextCommandThefeedPostReplayInput(1, 20, \"Who you trynna get crazy with, ese? Don't you know I'm LOCO?!\");\n```\n\n- https://i.imgur.com/lGBPCz3.jpeg"},
{"name":"endTextCommandThefeedPostReplayInput","native":"END_TEXT_COMMAND_THEFEED_POST_REPLAY_INPUT","hash":"0xDD6CB2CCE7C2735C","params":[["type","int"],["button","string"],["text","string"]],"ret":"int","aka":["_DRAW_NOTIFICATION_WITH_BUTTON","_END_TEXT_COMMAND_THEFEED_POST_REPLAY_INPUT"],"doc":"returns a notification handle, prints out a notification like below:\ntype range: 0 - 2\nif you set type to 1, button accepts \"~INPUT_SOMETHING~\"\n\nexample:\n\n```\nendTextCommandThefeedPostReplayInput(1, \"~INPUT_TALK~\", \"Who you trynna get crazy with, ese? Don't you know I'm LOCO?!\");\n```\n\nExamples from the scripts:\n\n```\nl_D1[1/*1*/]=endTextCommandThefeedPostReplayInput(1,\"~INPUT_REPLAY_START_STOP_RECORDING~\",\"\");\nl_D1[2/*1*/]=endTextCommandThefeedPostReplayInput(1,\"~INPUT_SAVE_REPLAY_CLIP~\",\"\");\nl_D1[1/*1*/]=endTextCommandThefeedPostReplayInput(1,\"~INPUT_REPLAY_START_STOP_RECORDING~\",\"\");\nl_D1[2/*1*/]=endTextCommandThefeedPostReplayInput(1,\"~INPUT_REPLAY_START_STOP_RECORDING_SECONDARY~\",\"\");\n```"},
{"name":"beginTextCommandPrint","native":"BEGIN_TEXT_COMMAND_PRINT","hash":"0xB87A37EEB7FAA67D","params":[["GxtEntry","string"]],"aka":["_SET_TEXT_ENTRY_2"],"doc":"```\nvoid ShowSubtitle(const char *text)\n{\n  beginTextCommandPrint(\"STRING\");\n addTextComponentSubstringPlayerName(text);\n   endTextCommandPrint(2000, true);\n}\n```"},
{"name":"endTextCommandPrint","native":"END_TEXT_COMMAND_PRINT","hash":"0x9D77056A530643F6","params":[["duration","int"],["drawImmediately","BOOL"]],"aka":["_DRAW_SUBTITLE_TIMED"],"doc":"Draws the subtitle at middle center of the screen.\n\nint duration = time in milliseconds to show text on screen before disappearing\n\ndrawImmediately = If true, the text will be drawn immediately, if false, the text will be drawn after the previous subtitle has finished"},
{"name":"beginTextCommandIsMessageDisplayed","native":"BEGIN_TEXT_COMMAND_IS_MESSAGE_DISPLAYED","hash":"0x853648FD1063A213","params":[["text","string"]],"doc":"nothin doin.\n\n```\nBOOL Message(const char* text)\n   {\n     beginTextCommandIsMessageDisplayed(\"STRING\");\n      addTextComponentSubstringPlayerName(text);\n       return endTextCommandIsMessageDisplayed();\n   }\n```"},
{"name":"endTextCommandIsMessageDisplayed","native":"END_TEXT_COMMAND_IS_MESSAGE_DISPLAYED","hash":"0x8A9BA1AB3E237613","ret":"BOOL"},
{"name":"beginTextCommandDisplayText","native":"BEGIN_TEXT_COMMAND_DISPLAY_TEXT","hash":"0x25FBB336DF1804CB","params":[["text","string"]],"aka":["_SET_TEXT_ENTRY"],"doc":"The following were found in the decompiled script files:\nSTRING, TWOSTRINGS, NUMBER, PERCENTAGE, FO_TWO_NUM, ESMINDOLLA, ESDOLLA, MTPHPER_XPNO, AHD_DIST, CMOD_STAT_0, CMOD_STAT_1, CMOD_STAT_2, CMOD_STAT_3, DFLT_MNU_OPT, F3A_TRAFDEST, ES_HELP_SOC3\n\nESDOLLA - cash\nESMINDOLLA - cash (negative)"},
{"name":"endTextCommandDisplayText","native":"END_TEXT_COMMAND_DISPLAY_TEXT","hash":"0xCD015E5BB0D96A57","params":[["x","float"],["y","float"],["p2","int"]],"aka":["_DRAW_TEXT"],"doc":"After applying the properties to the text (See HUD::SET_TEXT_), this will draw the text in the applied position. Also 0.0f < x, y < 1.0f, percentage of the axis."},
{"name":"beginTextCommandGetScreenWidthOfDisplayText","native":"BEGIN_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT","hash":"0x54CE8AC98E120CAB","params":[["text","string"]],"aka":["_SET_TEXT_ENTRY_FOR_WIDTH","_BEGIN_TEXT_COMMAND_WIDTH","_BEGIN_TEXT_COMMAND_GET_WIDTH"]},
{"name":"endTextCommandGetScreenWidthOfDisplayText","native":"END_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT","hash":"0x85F061DA64ED2F67","params":[["p0","BOOL"]],"ret":"float","aka":["_GET_TEXT_SCREEN_WIDTH","_END_TEXT_COMMAND_GET_WIDTH"]},
{"name":"beginTextCommandGetNumberOfLinesForString","native":"BEGIN_TEXT_COMMAND_GET_NUMBER_OF_LINES_FOR_STRING","hash":"0x521FB041D93DD0E4","params":[["entry","string"]],"aka":["_SET_TEXT_GXT_ENTRY","_BEGIN_TEXT_COMMAND_LINE_COUNT"],"doc":"```\nint GetLineCount(char *text, float x, float y)\n    {\n     beginTextCommandGetNumberOfLinesForString(\"STRING\");\n                addTextComponentSubstringPlayerName(text);\n      return beginTextCommandGetNumberOfLinesForString(x, y);\n    }\n```"},
{"name":"endTextCommandGetNumberOfLinesForString","native":"END_TEXT_COMMAND_GET_NUMBER_OF_LINES_FOR_STRING","hash":"0x9040DFB09BE75706","params":[["x","float"],["y","float"]],"ret":"int","aka":["_GET_TEXT_SCREEN_LINE_COUNT","_END_TEXT_COMMAND_GET_LINE_COUNT","_END_TEXT_COMMAND_LINE_COUNT"],"doc":"Determines how many lines the text string will use when drawn on screen.\nMust use `beginTextCommandGetNumberOfLinesForString` for setting up"},
{"name":"beginTextCommandDisplayHelp","native":"BEGIN_TEXT_COMMAND_DISPLAY_HELP","hash":"0x8509B634FBE7DA11","params":[["inputType","string"]],"aka":["_SET_TEXT_COMPONENT_FORMAT"]},
{"name":"endTextCommandDisplayHelp","native":"END_TEXT_COMMAND_DISPLAY_HELP","hash":"0x238FFE5C7B0498A6","params":[["p0","int"],["loop","BOOL"],["beep","BOOL"],["shape","int"]],"aka":["_DISPLAY_HELP_TEXT_FROM_STRING_LABEL"],"doc":"shape goes from -1 to 50 (may be more).\np0 is always 0.\n\nExample:\n\n```\nvoid FloatingHelpText(const char* text)\n{\n    beginTextCommandDisplayHelp(\"STRING\");\n  addTextComponentSubstringPlayerName(text);\n   endTextCommandDisplayHelp (0, 0, 1, -1);\n}\n```\n\nmore inputs/icons:\n- https://pastebin.com/nqNYWMSB"},
{"name":"beginTextCommandIsThisHelpMessageBeingDisplayed","native":"BEGIN_TEXT_COMMAND_IS_THIS_HELP_MESSAGE_BEING_DISPLAYED","hash":"0x0A24DA3A41B718F5","params":[["labelName","string"]],"doc":"```\nBOOL IsContextActive(char *ctx)\n    {\n     beginTextCommandIsThisHelpMessageBeingDisplayed(ctx);\n     return endTextCommandIsThisHelpMessageBeingDisplayed(0);\n  }\n```"},
{"name":"endTextCommandIsThisHelpMessageBeingDisplayed","native":"END_TEXT_COMMAND_IS_THIS_HELP_MESSAGE_BEING_DISPLAYED","hash":"0x10BDDBFC529428DD","params":[["p0","int"]],"ret":"BOOL"},
{"name":"beginTextCommandSetBlipName","native":"BEGIN_TEXT_COMMAND_SET_BLIP_NAME","hash":"0xF9113A30DE5C6670","params":[["textLabel","string"]],"doc":"Starts a text command to change the name of a blip displayed in the pause menu.\nThis should be paired with `endTextCommandSetBlipName`, once adding all required text components.\nExample:\n\n```\nbeginTextCommandSetBlipName(\"STRING\");\naddTextComponentSubstringPlayerName(\"Name\");\nendTextCommandSetBlipName(blip);\n```"},
{"name":"endTextCommandSetBlipName","native":"END_TEXT_COMMAND_SET_BLIP_NAME","hash":"0xBC38B49BCB83BC9B","params":[["blip","Blip"]],"doc":"Finalizes a text command started with `beginTextCommandSetBlipName`, setting the name of the specified blip."},
{"name":"beginTextCommandAddDirectlyToPreviousBriefs","native":"BEGIN_TEXT_COMMAND_ADD_DIRECTLY_TO_PREVIOUS_BRIEFS","hash":"0x23D69E0465570028","params":[["p0","string"]],"aka":["_BEGIN_TEXT_COMMAND_OBJECTIVE"]},
{"name":"endTextCommandAddDirectlyToPreviousBriefs","native":"END_TEXT_COMMAND_ADD_DIRECTLY_TO_PREVIOUS_BRIEFS","hash":"0xCFDBDF5AE59BA0F4","params":[["p0","BOOL"]],"aka":["_END_TEXT_COMMAND_OBJECTIVE"]},
{"name":"beginTextCommandClearPrint","native":"BEGIN_TEXT_COMMAND_CLEAR_PRINT","hash":"0xE124FA80A759019C","params":[["text","string"]],"doc":"clears a print text command with this text"},
{"name":"endTextCommandClearPrint","native":"END_TEXT_COMMAND_CLEAR_PRINT","hash":"0xFCC75460ABA29378"},
{"name":"beginTextCommandOverrideButtonText","native":"BEGIN_TEXT_COMMAND_OVERRIDE_BUTTON_TEXT","hash":"0x8F9EE5687F8EECCD","params":[["gxtEntry","string"]],"aka":["_BEGIN_TEXT_COMMAND_TIMER"]},
{"name":"endTextCommandOverrideButtonText","native":"END_TEXT_COMMAND_OVERRIDE_BUTTON_TEXT","hash":"0xA86911979638106F","params":[["p0","int"]],"aka":["_END_TEXT_COMMAND_TIMER"]},
{"name":"addTextComponentInteger","native":"ADD_TEXT_COMPONENT_INTEGER","hash":"0x03B504CF259931BC","params":[["value","int"]]},
{"name":"addTextComponentFloat","native":"ADD_TEXT_COMPONENT_FLOAT","hash":"0xE7DCB5B874BCD96E","params":[["value","float"],["decimalPlaces","int"]]},
{"name":"addTextComponentSubstringTextLabel","native":"ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL","hash":"0xC63CD5D2920ACBE7","params":[["labelName","string"]],"aka":["_ADD_TEXT_COMPONENT_ITEM_STRING"]},
{"name":"addTextComponentSubstringTextLabelHashKey","native":"ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL_HASH_KEY","hash":"0x17299B63C7683A2B","params":[["gxtEntryHash","Hash"]],"doc":"It adds the localized text of the specified GXT entry name. Eg. if the argument is `getHashKey`(\"ES_HELP\"), adds \"Continue\". Just uses a text labels hash key"},
{"name":"addTextComponentSubstringBlipName","native":"ADD_TEXT_COMPONENT_SUBSTRING_BLIP_NAME","hash":"0x80EAD8E2E1D5D52E","params":[["blip","Blip"]]},
{"name":"addTextComponentSubstringPlayerName","native":"ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME","hash":"0x6C188BE134E074AA","params":[["text","string"]],"aka":["_ADD_TEXT_COMPONENT_STRING"]},
{"name":"addTextComponentSubstringTime","native":"ADD_TEXT_COMPONENT_SUBSTRING_TIME","hash":"0x1115F16B8AB9E8BF","params":[["timestamp","int"],["flags","int"]],"doc":"Adds a timer (e.g. \"00:00:00:000\"). The appearance of the timer depends on the flags, which needs more research."},
{"name":"addTextComponentFormattedInteger","native":"ADD_TEXT_COMPONENT_FORMATTED_INTEGER","hash":"0x0E4C749FF9DE9CC4","params":[["value","int"],["commaSeparated","BOOL"]]},
{"name":"addTextComponentSubstringPhoneNumber","native":"ADD_TEXT_COMPONENT_SUBSTRING_PHONE_NUMBER","hash":"0x761B77454205A61D","params":[["p0","string"],["p1","int"]],"aka":["_ADD_TEXT_COMPONENT_APP_TITLE"],"doc":"p1 was always -1"},
{"name":"addTextComponentSubstringWebsite","native":"ADD_TEXT_COMPONENT_SUBSTRING_WEBSITE","hash":"0x94CF4AC034C9C986","params":[["website","string"]],"aka":["_ADD_TEXT_COMPONENT_STRING2"],"doc":"This native (along with `addTextComponentSubstringKeyboardDisplay` and `addTextComponentSubstringPlayerName`) do not actually filter anything. They simply add the provided text (as of 944)"},
{"name":"addTextComponentSubstringKeyboardDisplay","native":"ADD_TEXT_COMPONENT_SUBSTRING_KEYBOARD_DISPLAY","hash":"0x5F68520888E69014","params":[["string","string"]],"aka":["_ADD_TEXT_COMPONENT_STRING3","_ADD_TEXT_COMPONENT_SCALEFORM"]},
{"name":"setColourOfNextTextComponent","native":"SET_COLOUR_OF_NEXT_TEXT_COMPONENT","hash":"0x39BBF623FC803EAC","params":[["hudColor","int"]],"aka":["_SET_NOTIFICATION_COLOR_NEXT"]},
{"name":"getCharacterFromAudioConversationFilename","native":"GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME","hash":"0x169BD9382084C8C0","params":[["text","string"],["position","int"],["length","int"]],"ret":"string","aka":["_GET_TEXT_SUBSTRING"],"doc":"Returns a substring of a specified length starting at a specified position.\n\nExample:\n\n```\n// Get \"STRING\" text from \"MY_STRING\"\nsubStr = getCharacterFromAudioConversationFilename(\"MY_STRING\", 3, 6);\n```"},
{"name":"getCharacterFromAudioConversationFilenameWithByteLimit","native":"GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_WITH_BYTE_LIMIT","hash":"0xB2798643312205C5","params":[["text","string"],["position","int"],["length","int"],["maxLength","int"]],"ret":"string","aka":["_GET_TEXT_SUBSTRING_SAFE"],"doc":"Returns a substring of a specified length starting at a specified position. The result is guaranteed not to exceed the specified max length.\n\nNOTE: The 'maxLength' parameter might actually be the size of the buffer that is returned. More research is needed. -CL69\n\nExample:\n\n```\n// Condensed example of how Rockstar uses this function\nstrLen = getLengthOfLiteralString(getOnscreenKeyboardResult());\nsubStr = getCharacterFromAudioConversationFilenameWithByteLimit(getOnscreenKeyboardResult(), 0, strLen, 63);\n```\n\n--\n\n\"fm_race_creator.ysc\", line 85115:\n\n```\n// parameters modified for clarity\nBOOL sub_8e5aa(char *text, int length) {\n    for (i = 0; i <= (length - 2); i += 1) {\n        if (!areStringsEqual(getCharacterFromAudioConversationFilenameWithByteLimit(text, i, i + 1, 1), \" \")) {\n            return FALSE;\n        }\n    }\n    return TRUE;\n}\n```"},
{"name":"getCharacterFromAudioConversationFilenameBytes","native":"GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_BYTES","hash":"0xCE94AEBA5D82908A","params":[["text","string"],["startPosition","int"],["endPosition","int"]],"ret":"string","aka":["_GET_TEXT_SUBSTRING_SLICE"],"doc":"Returns a substring that is between two specified positions. The length of the string will be calculated using (endPosition - startPosition).\n\nExample:\n\n```\n// Get \"STRING\" text from \"MY_STRING\"\nsubStr = getCharacterFromAudioConversationFilenameBytes(\"MY_STRING\", 3, 9);\n// Overflows are possibly replaced with underscores (needs verification)\nsubStr = getCharacterFromAudioConversationFilenameBytes(\"MY_STRING\", 3, 10); // \"STRING_\"?\n```"},
{"name":"getFilenameForAudioConversation","native":"GET_FILENAME_FOR_AUDIO_CONVERSATION","hash":"0x7B5280EBA9840C72","params":[["labelName","string"]],"ret":"string","aka":["_GET_LABEL_TEXT"],"doc":"Gets a localized string literal from a label name. Can be used for output of e.g. `getLiveryName`. To check if a GXT label can be localized with this, `doesTextLabelExist` can be used."},
{"name":"clearPrints","native":"CLEAR_PRINTS","hash":"0xCC33FA791322B9D9"},
{"name":"clearBrief","native":"CLEAR_BRIEF","hash":"0x9D292F73ADBD9313"},
{"name":"clearAllHelpMessages","native":"CLEAR_ALL_HELP_MESSAGES","hash":"0x6178F68A87A4D3A0"},
{"name":"clearThisPrint","native":"CLEAR_THIS_PRINT","hash":"0xCF708001E1E536DD","params":[["p0","string","found arguments in the b617d scripts: https://pastebin.com/X5akCN7z"]]},
{"name":"clearSmallPrints","native":"CLEAR_SMALL_PRINTS","hash":"0x2CEA2839313C09AC"},
{"name":"doesTextBlockExist","native":"DOES_TEXT_BLOCK_EXIST","hash":"0x1C7302E725259789","params":[["gxt","string"]],"ret":"BOOL"},
{"name":"requestAdditionalText","native":"REQUEST_ADDITIONAL_TEXT","hash":"0x71A78003C8E71424","params":[["gxt","string"],["slot","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`slot` must be between `0` and `21`; `gxt` is required. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Request a gxt into the passed slot."},
{"name":"requestAdditionalTextForDlc","native":"REQUEST_ADDITIONAL_TEXT_FOR_DLC","hash":"0x6009F9F1AE90D8A6","params":[["gxt","string"],["slot","int"]],"checked":1,"aka":["_REQUEST_ADDITIONAL_TEXT_2"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`slot` must be a DLC text slot: `11` to `15`, or `20`; `gxt` is required. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"hasAdditionalTextLoaded","native":"HAS_ADDITIONAL_TEXT_LOADED","hash":"0x02245FE4BED318B8","params":[["slot","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`slot` must be between `0` and `22`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"clearAdditionalText","native":"CLEAR_ADDITIONAL_TEXT","hash":"0x2A179DF17CCF04CD","params":[["p0","int"],["p1","BOOL"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`p0` must be between `0` and `21`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"isStreamingAdditionalText","native":"IS_STREAMING_ADDITIONAL_TEXT","hash":"0x8B6817B71B85EBF0","params":[["p0","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`p0` must be between `0` and `22`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"hasThisAdditionalTextLoaded","native":"HAS_THIS_ADDITIONAL_TEXT_LOADED","hash":"0xADBF060E2B30C5BC","params":[["gxt","string"],["slot","int"]],"ret":"BOOL","doc":"Checks if the specified gxt has loaded into the passed slot."},
{"name":"isMessageBeingDisplayed","native":"IS_MESSAGE_BEING_DISPLAYED","hash":"0x7984C03AA5CC2F41","ret":"BOOL"},
{"name":"doesTextLabelExist","native":"DOES_TEXT_LABEL_EXIST","hash":"0xAC09CA973C564252","params":[["gxt","string"]],"ret":"BOOL","doc":"Checks if the passed gxt name exists in the game files."},
{"name":"getFirstNCharactersOfLiteralString","native":"GET_FIRST_N_CHARACTERS_OF_LITERAL_STRING","hash":"0x98C3CF913D895111","params":[["string","string"],["length","int"]],"ret":"string","since":505},
{"name":"getLengthOfStringWithThisTextLabel","native":"GET_LENGTH_OF_STRING_WITH_THIS_TEXT_LABEL","hash":"0x801BD273D3A23F74","params":[["gxt","string"]],"ret":"int","doc":"Returns the string length of the string from the gxt string ."},
{"name":"getLengthOfLiteralString","native":"GET_LENGTH_OF_LITERAL_STRING","hash":"0xF030907CCBB8A9FD","params":[["string","string"]],"ret":"int","doc":"Returns the length of the string passed (much like strlen)."},
{"name":"getLengthOfLiteralStringInBytes","native":"GET_LENGTH_OF_LITERAL_STRING_IN_BYTES","hash":"0x43E4111189E54F0E","params":[["string","string"]],"ret":"int","aka":["_GET_LENGTH_OF_STRING"]},
{"name":"getStreetNameFromHashKey","native":"GET_STREET_NAME_FROM_HASH_KEY","hash":"0xD0EF8A959B8A4CB9","params":[["hash","Hash"]],"ret":"string","doc":"This functions converts the hash of a street name into a readable string.\n\nFor how to get the hashes, see `getStreetNameAtCoord`."},
{"name":"isHudPreferenceSwitchedOn","native":"IS_HUD_PREFERENCE_SWITCHED_ON","hash":"0x1930DFA731813EC4","ret":"BOOL"},
{"name":"isRadarPreferenceSwitchedOn","native":"IS_RADAR_PREFERENCE_SWITCHED_ON","hash":"0x9EB6522EA68F22FE","ret":"BOOL"},
{"name":"isSubtitlePreferenceSwitchedOn","native":"IS_SUBTITLE_PREFERENCE_SWITCHED_ON","hash":"0xAD6DACA4BA53E0A4","ret":"BOOL"},
{"name":"displayHud","native":"DISPLAY_HUD","hash":"0xA6294919E56FF02A","params":[["toggle","BOOL"]],"doc":"If Hud should be displayed"},
{"name":"displayHudWhenNotInStateOfPlayThisFrame","native":"DISPLAY_HUD_WHEN_NOT_IN_STATE_OF_PLAY_THIS_FRAME","hash":"0x7669F9E39DC17063","aka":["_DISPLAY_HUD_WHEN_DEAD_THIS_FRAME"],"doc":"Enables drawing some hud components, such as help labels, this frame, when the player is dead."},
{"name":"displayHudWhenPausedThisFrame","native":"DISPLAY_HUD_WHEN_PAUSED_THIS_FRAME","hash":"0x402F9ED62087E898"},
{"name":"displayRadar","native":"DISPLAY_RADAR","hash":"0xA0EBB943C300E693","params":[["toggle","BOOL"]],"doc":"If Minimap / Radar should be displayed."},
{"name":"setFakeSpectatorMode","native":"SET_FAKE_SPECTATOR_MODE","hash":"0xCD74233600C4EA6B","params":[["toggle","BOOL"]],"since":505,"doc":"Setter for `getFakeSpectatorMode`"},
{"name":"getFakeSpectatorMode","native":"GET_FAKE_SPECTATOR_MODE","hash":"0xC2D2AD9EAAE265B8","ret":"BOOL","since":505,"doc":"Getter for `setFakeSpectatorMode`"},
{"name":"isHudHidden","native":"IS_HUD_HIDDEN","hash":"0xA86478C6958735C5","ret":"BOOL"},
{"name":"isRadarHidden","native":"IS_RADAR_HIDDEN","hash":"0x157F93B036700462","ret":"BOOL"},
{"name":"isMinimapRendering","native":"IS_MINIMAP_RENDERING","hash":"0xAF754F20EB5CD51A","ret":"BOOL","aka":["_IS_RADAR_ENABLED"]},
{"name":"useVehicleTargetingReticule","native":"USE_VEHICLE_TARGETING_RETICULE","hash":"0x0C698D8F099174C7","params":[["p0","Any"]],"since":1180},
{"name":"useVehicleTargetingReticuleOnVehicles","native":"_USE_VEHICLE_TARGETING_RETICULE_ON_VEHICLES","hash":"0x1BC0EA2912708625","params":[["enable","BOOL"]],"na":1,"since":3095},
{"name":"addValidVehicleHitHash","native":"ADD_VALID_VEHICLE_HIT_HASH","hash":"0xE4C3B169876D33D7","params":[["p0","Any"]],"since":1290},
{"name":"clearValidVehicleHitHashes","native":"CLEAR_VALID_VEHICLE_HIT_HASHES","hash":"0xEB81A3DADD503187","since":1290},
{"name":"setBlipRoute","native":"SET_BLIP_ROUTE","hash":"0x4F7D8A9BFB0B43E9","params":[["blip","Blip"],["enabled","BOOL"]],"doc":"Enable / disable showing route for the Blip-object."},
{"name":"clearAllBlipRoutes","native":"CLEAR_ALL_BLIP_ROUTES","hash":"0xD12882D3FF82BF11","since":877,"aka":["_CLEAR_ALL_BLIP_ROUTES"]},
{"name":"setBlipRouteColour","native":"SET_BLIP_ROUTE_COLOUR","hash":"0x837155CD2F63DA09","params":[["blip","Blip"],["colour","int"]]},
{"name":"setForceShowGps","native":"SET_FORCE_SHOW_GPS","hash":"0x2790F4B17D098E26","params":[["toggle","BOOL"]],"since":573,"aka":["_SET_FORCE_BLIP_ROUTES_ON_FOOT"]},
{"name":"setUseSetDestinationInPauseMap","native":"SET_USE_SET_DESTINATION_IN_PAUSE_MAP","hash":"0x6CDD58146A436083","params":[["toggle","BOOL"]],"since":573,"aka":["_SET_USE_WAYPOINT_AS_DESTINATION"]},
{"name":"setBlockWantedFlash","native":"SET_BLOCK_WANTED_FLASH","hash":"0xD1942374085C8469","params":[["disabled","BOOL"]],"since":505},
{"name":"addNextMessageToPreviousBriefs","native":"ADD_NEXT_MESSAGE_TO_PREVIOUS_BRIEFS","hash":"0x60296AF4BA14ABC5","params":[["p0","BOOL"]]},
{"name":"forceNextMessageToPreviousBriefsList","native":"FORCE_NEXT_MESSAGE_TO_PREVIOUS_BRIEFS_LIST","hash":"0x57D760D55F54E071","params":[["p0","int"]]},
{"name":"setRadarZoomPrecise","native":"SET_RADAR_ZOOM_PRECISE","hash":"0xBD12C5EEE184C337","params":[["zoom","float"]],"aka":["RESPONDING_AS_TEMP"],"doc":"zoom ranges from 0 to 90f in R* Scripts"},
{"name":"setRadarZoom","native":"SET_RADAR_ZOOM","hash":"0x096EF57A0C999BBA","params":[["zoomLevel","int"]],"doc":"zoomLevel ranges from 0 to 1400 in R* Scripts"},
{"name":"setRadarZoomToBlip","native":"SET_RADAR_ZOOM_TO_BLIP","hash":"0xF98E4B3E56AFC7B1","params":[["blip","Blip"],["zoom","float"]]},
{"name":"setRadarZoomToDistance","native":"SET_RADAR_ZOOM_TO_DISTANCE","hash":"0xCB7CC0D58405AD41","params":[["zoom","float"]],"aka":["_SET_RADAR_ZOOM_LEVEL_THIS_FRAME"]},
{"name":"updateRadarZoomToBlip","native":"UPDATE_RADAR_ZOOM_TO_BLIP","hash":"0xD2049635DEB9C375","doc":"Does nothing (it's a nullsub)."},
{"name":"getHudColour","native":"GET_HUD_COLOUR","hash":"0x7C9C91AB74A0360F","params":[["hudColorIndex","int"]],"outs":[["r","int",1],["g","int",2],["b","int",3],["a","int",4]]},
{"name":"setScriptVariableHudColour","native":"SET_SCRIPT_VARIABLE_HUD_COLOUR","hash":"0xD68A5FF8A3A89874","params":[["r","int"],["g","int"],["b","int"],["a","int"]],"doc":"Sets the color of HUD_COLOUR_SCRIPT_VARIABLE"},
{"name":"setSecondScriptVariableHudColour","native":"SET_SECOND_SCRIPT_VARIABLE_HUD_COLOUR","hash":"0x16A304E6CB2BFAB9","params":[["r","int"],["g","int"],["b","int"],["a","int"]],"aka":["_SET_SCRIPT_VARIABLE_2_HUD_COLOUR"],"doc":"Sets the color of HUD_COLOUR_SCRIPT_VARIABLE_2"},
{"name":"replaceHudColour","native":"REPLACE_HUD_COLOUR","hash":"0x1CCC708F0F850613","params":[["hudColorIndex","int"],["hudColorIndex2","int"]],"checked":1,"aka":["_SET_HUD_COLOURS_SWITCH"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`hudColorIndex` must be between `0` and `234`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"makes hudColorIndex2 color into hudColorIndex color"},
{"name":"replaceHudColourWithRgba","native":"REPLACE_HUD_COLOUR_WITH_RGBA","hash":"0xF314CF4F0211894E","params":[["hudColorIndex","int"],["r","int"],["g","int"],["b","int"],["a","int"]],"checked":1,"aka":["_SET_HUD_COLOUR"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`hudColorIndex` must be between `0` and `234`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"setAbilityBarVisibility","native":"SET_ABILITY_BAR_VISIBILITY","hash":"0x1DFEDD15019315A9","params":[["visible","BOOL"]],"since":1493,"aka":["_SET_ABILITY_BAR_VISIBILITY_IN_MULTIPLAYER"]},
{"name":"setAllowAbilityBar","native":"SET_ALLOW_ABILITY_BAR","hash":"0x889329C80FE5963C","params":[["toggle","BOOL"]],"since":1868,"aka":["_SET_ALLOW_ABILITY_BAR_IN_MULTIPLAYER"]},
{"name":"flashAbilityBar","native":"FLASH_ABILITY_BAR","hash":"0x02CFBA0C9E9275CE","params":[["millisecondsToFlash","int"]]},
{"name":"setAbilityBarValue","native":"SET_ABILITY_BAR_VALUE","hash":"0x9969599CCFF5D85E","params":[["p0","float"],["p1","float"]]},
{"name":"flashWantedDisplay","native":"FLASH_WANTED_DISPLAY","hash":"0xA18AFB39081B6A1F","params":[["p0","BOOL"]]},
{"name":"forceOffWantedStarFlash","native":"FORCE_OFF_WANTED_STAR_FLASH","hash":"0xBA8D65C1C65702E5","params":[["toggle","BOOL"]]},
{"name":"setCustomMpHudColor","native":"SET_CUSTOM_MP_HUD_COLOR","hash":"0x2ACCB195F3CCD9DE","params":[["hudColorId","int"]],"since":2545,"aka":["_SET_CURRENT_CHARACTER_HUD_COLOR"]},
{"name":"getRenderedCharacterHeight","native":"GET_RENDERED_CHARACTER_HEIGHT","hash":"0xDB88A37483346780","params":[["size","float"],["font","int"]],"ret":"float","aka":["_GET_TEXT_SCALE_HEIGHT"],"doc":"This gets the height of the FONT and not the total text. You need to get the number of lines your text uses, and get the height of a newline (I'm using a smaller value) to get the total text height."},
{"name":"setTextScale","native":"SET_TEXT_SCALE","hash":"0x07C837F9A01C34C9","params":[["scale","float"],["size","float"]],"doc":"Size range : 0F to 1.0F\np0 is unknown and doesn't seem to have an effect, yet in the game scripts it changes to 1.0F sometimes."},
{"name":"setTextColour","native":"SET_TEXT_COLOUR","hash":"0xBE6B23FFA53FB442","params":[["red","int"],["green","int"],["blue","int"],["alpha","int"]]},
{"name":"setTextCentre","native":"SET_TEXT_CENTRE","hash":"0xC02F4DBFB51D988B","params":[["align","BOOL"]]},
{"name":"setTextRightJustify","native":"SET_TEXT_RIGHT_JUSTIFY","hash":"0x6B3C4650BC8BEE47","params":[["toggle","BOOL"]]},
{"name":"setTextJustification","native":"SET_TEXT_JUSTIFICATION","hash":"0x4E096588B13FFECA","params":[["justifyType","int"]],"doc":"Types -\n0: Center-Justify\n1: Left-Justify\n2: Right-Justify\n\nRight-Justify requires `setTextWrap`, otherwise it will draw to the far right of the screen"},
{"name":"setTextLineHeightMult","native":"SET_TEXT_LINE_HEIGHT_MULT","hash":"0x9F4624F76E6953D1","params":[["lineHeightMult","float"]],"na":1,"since":3095},
{"name":"setTextWrap","native":"SET_TEXT_WRAP","hash":"0x63145D9C883A1A70","params":[["start","float"],["end","float"]],"doc":"It sets the text in a specified box and wraps the text if it exceeds the boundries. Both values are for X axis. Useful when positioning text set to center or aligned to the right.\n\nstart - left boundry on screen position (0.0 - 1.0)\nend - right boundry on screen position (0.0 - 1.0)"},
{"name":"setTextLeading","native":"SET_TEXT_LEADING","hash":"0xA50ABC31E3CDFAFF","params":[["p0","int"]]},
{"name":"setTextProportional","native":"SET_TEXT_PROPORTIONAL","hash":"0x038C1F517D7FDCF8","params":[["p0","BOOL"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"setTextFont","native":"SET_TEXT_FONT","hash":"0x66E0276CC5F6B9DA","params":[["fontType","int"]],"doc":"fonts that mess up your text where made for number values/misc stuff"},
{"name":"setTextDropShadow","native":"SET_TEXT_DROP_SHADOW","hash":"0x1CA3E9EAC9D93E5E"},
{"name":"setTextDropshadow","native":"SET_TEXT_DROPSHADOW","hash":"0x465C84BC39F1C351","params":[["distance","int"],["r","int"],["g","int"],["b","int"],["a","int"]],"doc":"distance - shadow distance in pixels, both horizontal and vertical\nr, g, b, a - color"},
{"name":"setTextOutline","native":"SET_TEXT_OUTLINE","hash":"0x2513DFB0FB8400FE"},
{"name":"setTextEdge","native":"SET_TEXT_EDGE","hash":"0x441603240D202FA6","params":[["p0","int"],["r","int"],["g","int"],["b","int"],["a","int"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"setTextRenderId","native":"SET_TEXT_RENDER_ID","hash":"0x5F15302936E07111","params":[["renderId","int"]]},
{"name":"getDefaultScriptRendertargetRenderId","native":"GET_DEFAULT_SCRIPT_RENDERTARGET_RENDER_ID","hash":"0x52F0982D7FD156B6","ret":"int","doc":"This function is hard-coded to always return 1."},
{"name":"registerNamedRendertarget","native":"REGISTER_NAMED_RENDERTARGET","hash":"0x57D9C12635E25CE3","params":[["name","string"],["p1","BOOL"]],"ret":"BOOL"},
{"name":"isNamedRendertargetRegistered","native":"IS_NAMED_RENDERTARGET_REGISTERED","hash":"0x78DCDC15C9F116B4","params":[["name","string"]],"ret":"BOOL"},
{"name":"releaseNamedRendertarget","native":"RELEASE_NAMED_RENDERTARGET","hash":"0xE9F6FFE837354DD4","params":[["name","string"]],"ret":"BOOL"},
{"name":"linkNamedRendertarget","native":"LINK_NAMED_RENDERTARGET","hash":"0xF6C09E276AEB3F2D","params":[["modelHash","Hash"]]},
{"name":"getNamedRendertargetRenderId","native":"GET_NAMED_RENDERTARGET_RENDER_ID","hash":"0x1A6478B61C6BDC3B","params":[["name","string"]],"ret":"int"},
{"name":"isNamedRendertargetLinked","native":"IS_NAMED_RENDERTARGET_LINKED","hash":"0x113750538FA31298","params":[["modelHash","Hash"]],"ret":"BOOL"},
{"name":"clearHelp","native":"CLEAR_HELP","hash":"0x8DFCED7A656F8802","params":[["toggle","BOOL"]]},
{"name":"isHelpMessageOnScreen","native":"IS_HELP_MESSAGE_ON_SCREEN","hash":"0xDAD37F45428801AE","ret":"BOOL"},
{"name":"hasScriptHiddenHelpThisFrame","native":"HAS_SCRIPT_HIDDEN_HELP_THIS_FRAME","hash":"0x214CD562A939246A","ret":"BOOL"},
{"name":"isHelpMessageBeingDisplayed","native":"IS_HELP_MESSAGE_BEING_DISPLAYED","hash":"0x4D79439A6B55AC67","ret":"BOOL"},
{"name":"isHelpMessageFadingOut","native":"IS_HELP_MESSAGE_FADING_OUT","hash":"0x327EDEEEAC55C369","ret":"BOOL"},
{"name":"setHelpMessageStyle","native":"SET_HELP_MESSAGE_STYLE","hash":"0xB9C362BABECDDC7A","params":[["style","int"],["hudColor","int"],["alpha","int"],["p3","int"],["p4","int"]],"since":463,"aka":["_SET_HELP_MESSAGE_TEXT_STYLE"]},
{"name":"getStandardBlipEnumId","native":"GET_STANDARD_BLIP_ENUM_ID","hash":"0x4A9923385BDB9DAD","ret":"int","aka":["_GET_LEVEL_BLIP_SPRITE"]},
{"name":"getWaypointBlipEnumId","native":"GET_WAYPOINT_BLIP_ENUM_ID","hash":"0x186E5D252FA50E7D","ret":"int","aka":["_GET_BLIP_INFO_ID_ITERATOR"]},
{"name":"getNumberOfActiveBlips","native":"GET_NUMBER_OF_ACTIVE_BLIPS","hash":"0x9A3FF3DE163034E8","ret":"int"},
{"name":"getNextBlipInfoId","native":"GET_NEXT_BLIP_INFO_ID","hash":"0x14F96AA50D6FBEA7","params":[["blipSprite","int"]],"ret":"Blip"},
{"name":"getFirstBlipInfoId","native":"GET_FIRST_BLIP_INFO_ID","hash":"0x1BEDE233E6CD2A1F","params":[["blipSprite","int"]],"ret":"Blip"},
{"name":"getClosestBlipInfoId","native":"GET_CLOSEST_BLIP_INFO_ID","hash":"0xD484BF71050CA1EE","params":[["blipSprite","int"]],"ret":"Blip","since":1180,"aka":["_GET_CLOSEST_BLIP_OF_TYPE"]},
{"name":"getBlipInfoIdCoord","native":"GET_BLIP_INFO_ID_COORD","hash":"0xFA7C7F0AADF25D09","params":[["blip","Blip"]],"ret":"Vector3"},
{"name":"getBlipInfoIdDisplay","native":"GET_BLIP_INFO_ID_DISPLAY","hash":"0x1E314167F701DC3B","params":[["blip","Blip"]],"ret":"int"},
{"name":"getBlipInfoIdType","native":"GET_BLIP_INFO_ID_TYPE","hash":"0xBE9B0959FFD0779B","params":[["blip","Blip"]],"ret":"int","doc":"Returns a value based on what the blip is attached to\n1 - Vehicle\n2 - Ped\n3 - Object\n4 - Coord\n5 - unk\n6 - Pickup\n7 - Radius"},
{"name":"getBlipInfoIdEntityIndex","native":"GET_BLIP_INFO_ID_ENTITY_INDEX","hash":"0x4BA4E2553AFEDC2C","params":[["blip","Blip"]],"ret":"Entity"},
{"name":"getBlipInfoIdPickupIndex","native":"GET_BLIP_INFO_ID_PICKUP_INDEX","hash":"0x9B6786E4C03DD382","params":[["blip","Blip"]],"ret":"Pickup","doc":"This function is hard-coded to always return 0."},
{"name":"getBlipFromEntity","native":"GET_BLIP_FROM_ENTITY","hash":"0xBC8DBDCA2436F7E8","params":[["entity","Entity"]],"ret":"Blip","doc":"Returns the Blip handle of given Entity."},
{"name":"addBlipForRadius","native":"ADD_BLIP_FOR_RADIUS","hash":"0x46818D79B1F7499A","params":[["posX","float"],["posY","float"],["posZ","float"],["radius","float"]],"ret":"Blip"},
{"name":"addBlipForArea","native":"ADD_BLIP_FOR_AREA","hash":"0xCE5D0E5E315DB238","params":[["x","float"],["y","float"],["z","float"],["width","float"],["height","float"]],"ret":"Blip","since":463,"aka":["_ADD_BLIP_FOR_AREA"],"doc":"Adds a rectangular blip for the specified coordinates/area.\n\nIt is recommended to use `setBlipRotation` and `setBlipColour` to make the blip not rotate along with the camera.\n\nBy default, the blip will show as a _regular_ blip with the specified color/sprite if it is outside of the minimap view."},
{"name":"addBlipForEntity","native":"ADD_BLIP_FOR_ENTITY","hash":"0x5CDE92C702A8FCE7","params":[["entity","Entity"]],"ret":"Blip","doc":"Returns red ( default ) blip attached to entity.\n\nExample:\n\n```\nBlip blip; //Put this outside your case or option\nblip = addBlipForEntity(YourPedOrBodyguardName);\nsetBlipAsFriendly(blip, true);\n```"},
{"name":"addBlipForPickup","native":"ADD_BLIP_FOR_PICKUP","hash":"0xBE339365C863BD36","params":[["pickup","Pickup"]],"ret":"Blip"},
{"name":"addBlipForCoord","native":"ADD_BLIP_FOR_COORD","hash":"0x5A039BB0BCA604B6","params":[["x","float"],["y","float"],["z","float"]],"ret":"Blip","doc":"Creates an orange ( default ) Blip-object. Returns a Blip-object which can then be modified."},
{"name":"triggerSonarBlip","native":"TRIGGER_SONAR_BLIP","hash":"0x72DD432F3CDFC0EE","params":[["posX","float"],["posY","float"],["posZ","float"],["radius","float"],["p4","int"]]},
{"name":"allowSonarBlips","native":"ALLOW_SONAR_BLIPS","hash":"0x60734CC207C9833C","params":[["toggle","BOOL"]]},
{"name":"setBlipCoords","native":"SET_BLIP_COORDS","hash":"0xAE2AF67E9D9AF65D","params":[["blip","Blip"],["posX","float"],["posY","float"],["posZ","float"]]},
{"name":"getBlipCoords","native":"GET_BLIP_COORDS","hash":"0x586AFE3FF72D996E","params":[["blip","Blip"]],"ret":"Vector3"},
{"name":"setBlipSprite","native":"SET_BLIP_SPRITE","hash":"0xDF735600A4696DAF","params":[["blip","Blip"],["spriteId","int"]],"doc":"Sets the displayed sprite for a specific blip..\n\nYou may have your own list, but since dev-c didn't show it I was bored and started looking through scripts and functions to get a presumable almost positive list of a majority of blip IDs\nhttps://pastebin.com/Bpj9Sfft\n\nBlips Images + IDs:\nhttps://gtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html"},
{"name":"getBlipSprite","native":"GET_BLIP_SPRITE","hash":"0x1FC877464A04FC4F","params":[["blip","Blip"]],"ret":"int","doc":"Blips Images + IDs:\ngtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html"},
{"name":"setCopBlipSprite","native":"SET_COP_BLIP_SPRITE","hash":"0x9FCB3CBFB3EAD69A","params":[["p0","int"],["p1","float"]],"since":1734},
{"name":"setCopBlipSpriteAsStandard","native":"SET_COP_BLIP_SPRITE_AS_STANDARD","hash":"0xB7B873520C84C118","since":1734},
{"name":"setBlipNameFromTextFile","native":"SET_BLIP_NAME_FROM_TEXT_FILE","hash":"0xEAA0FFE120D92784","params":[["blip","Blip"],["gxtEntry","string"]],"doc":"Doesn't work if the label text of gxtEntry is >= 80."},
{"name":"setBlipNameToPlayerName","native":"SET_BLIP_NAME_TO_PLAYER_NAME","hash":"0x127DE7B20C60A6A3","params":[["blip","Blip"],["player","Player"]]},
{"name":"setBlipAlpha","native":"SET_BLIP_ALPHA","hash":"0x45FF974EEE1C8734","params":[["blip","Blip"],["alpha","int"]],"doc":"Sets alpha-channel for blip color.\n\nExample:\n\n```\nBlip blip = addBlipForEntity(entity);\nsetBlipColour(blip , 3);\nsetBlipAlpha(blip , 64);\n```"},
{"name":"getBlipAlpha","native":"GET_BLIP_ALPHA","hash":"0x970F608F0EE6C885","params":[["blip","Blip"]],"ret":"int"},
{"name":"setBlipFade","native":"SET_BLIP_FADE","hash":"0x2AEE8F8390D2298C","params":[["blip","Blip"],["opacity","int"],["duration","int"]]},
{"name":"getBlipFadeDirection","native":"GET_BLIP_FADE_DIRECTION","hash":"0x2C173AE2BDB9385E","params":[["blip","Blip"]],"ret":"int","since":463,"aka":["_GET_BLIP_FADE_STATUS"],"doc":"Returns -1, 0, +1, depending on if the blip is fading out, doing nothing, or fading in respectively."},
{"name":"setBlipRotation","native":"SET_BLIP_ROTATION","hash":"0xF87683CDF73C3F6E","params":[["blip","Blip"],["rotation","int"]],"doc":"After some testing, looks like you need to use CEIL() on the rotation (vehicle/ped heading) before using it there."},
{"name":"setBlipRotationWithFloat","native":"SET_BLIP_ROTATION_WITH_FLOAT","hash":"0xA8B6AFDAC320AC87","params":[["blip","Blip"],["heading","float"]],"since":877,"aka":["_SET_BLIP_SQUARED_ROTATION"],"doc":"Does not require whole number/integer rotations."},
{"name":"getBlipRotation","native":"GET_BLIP_ROTATION","hash":"0x003E92BA477F9D7F","params":[["blip","Blip"]],"ret":"int","since":2060,"aka":["_GET_BLIP_ROTATION"]},
{"name":"setBlipFlashTimer","native":"SET_BLIP_FLASH_TIMER","hash":"0xD3CD6FD297AE87CC","params":[["blip","Blip"],["duration","int"]],"doc":"Adds up after viewing multiple R* scripts. I believe that the duration is in miliseconds."},
{"name":"setBlipFlashInterval","native":"SET_BLIP_FLASH_INTERVAL","hash":"0xAA51DB313C010A7E","params":[["blip","Blip"],["p1","Any"]]},
{"name":"setBlipColour","native":"SET_BLIP_COLOUR","hash":"0x03D7FB09E75D6B7E","params":[["blip","Blip"],["color","int"]],"doc":"https://gtaforums.com/topic/864881-all-blip-color-ids-pictured/"},
{"name":"setBlipSecondaryColour","native":"SET_BLIP_SECONDARY_COLOUR","hash":"0x14892474891E09EB","params":[["blip","Blip"],["r","int"],["g","int"],["b","int"]],"doc":"Can be used to give blips any RGB colour with `setBlipColour`(blip, 84)."},
{"name":"getBlipColour","native":"GET_BLIP_COLOUR","hash":"0xDF729E8D20CF7327","params":[["blip","Blip"]],"ret":"int"},
{"name":"getBlipHudColour","native":"GET_BLIP_HUD_COLOUR","hash":"0x729B5F1EFBC0AAEE","params":[["blip","Blip"]],"ret":"int"},
{"name":"isBlipShortRange","native":"IS_BLIP_SHORT_RANGE","hash":"0xDA5F8727EB75B926","params":[["blip","Blip"]],"ret":"BOOL"},
{"name":"isBlipOnMinimap","native":"IS_BLIP_ON_MINIMAP","hash":"0xE41CA53051197A27","params":[["blip","Blip"]],"ret":"BOOL"},
{"name":"doesBlipHaveGpsRoute","native":"DOES_BLIP_HAVE_GPS_ROUTE","hash":"0xDD2238F57B977751","params":[["blip","Blip"]],"ret":"BOOL"},
{"name":"setBlipHiddenOnLegend","native":"SET_BLIP_HIDDEN_ON_LEGEND","hash":"0x54318C915D27E4CE","params":[["blip","Blip"],["toggle","BOOL"]]},
{"name":"setBlipHighDetail","native":"SET_BLIP_HIGH_DETAIL","hash":"0xE2590BC29220CEBB","params":[["blip","Blip"],["toggle","BOOL"]]},
{"name":"setBlipAsMissionCreatorBlip","native":"SET_BLIP_AS_MISSION_CREATOR_BLIP","hash":"0x24AC0137444F9FD5","params":[["blip","Blip"],["toggle","BOOL"]]},
{"name":"isMissionCreatorBlip","native":"IS_MISSION_CREATOR_BLIP","hash":"0x26F49BF3381D933D","params":[["blip","Blip"]],"ret":"BOOL"},
{"name":"getNewSelectedMissionCreatorBlip","native":"GET_NEW_SELECTED_MISSION_CREATOR_BLIP","hash":"0x5C90988E7C8E1AF4","ret":"Blip","aka":["DISABLE_BLIP_NAME_FOR_VAR"]},
{"name":"isHoveringOverMissionCreatorBlip","native":"IS_HOVERING_OVER_MISSION_CREATOR_BLIP","hash":"0x4167EFE0527D706E","ret":"BOOL"},
{"name":"showStartMissionInstructionalButton","native":"SHOW_START_MISSION_INSTRUCTIONAL_BUTTON","hash":"0xF1A6C18B35BCADE6","params":[["toggle","BOOL"]]},
{"name":"showContactInstructionalButton","native":"SHOW_CONTACT_INSTRUCTIONAL_BUTTON","hash":"0xC772A904CDE1186F","params":[["toggle","BOOL"]],"since":2545,"aka":["_SHOW_CONTACT_INSTRUCTIONAL_BUTTON"]},
{"name":"showPurchaseInstructionalButton","native":"_SHOW_PURCHASE_INSTRUCTIONAL_BUTTON","hash":"0xF6865E26067B708C","params":[["toggle","BOOL"]],"na":1,"since":3407},
{"name":"reloadMapMenu","native":"RELOAD_MAP_MENU","hash":"0x2916A928514C9827","since":573},
{"name":"setBlipMarkerLongDistance","native":"SET_BLIP_MARKER_LONG_DISTANCE","hash":"0xB552929B85FC27EC","params":[["p0","Any"],["p1","Any"]],"since":573},
{"name":"setBlipFlashes","native":"SET_BLIP_FLASHES","hash":"0xB14552383D39CE3E","params":[["blip","Blip"],["toggle","BOOL"]]},
{"name":"setBlipFlashesAlternate","native":"SET_BLIP_FLASHES_ALTERNATE","hash":"0x2E8D9498C56DD0D1","params":[["blip","Blip"],["toggle","BOOL"]]},
{"name":"isBlipFlashing","native":"IS_BLIP_FLASHING","hash":"0xA5E41FD83AD6CEF0","params":[["blip","Blip"]],"ret":"BOOL"},
{"name":"setBlipAsShortRange","native":"SET_BLIP_AS_SHORT_RANGE","hash":"0xBE8BE4FE60E27B72","params":[["blip","Blip"],["toggle","BOOL"]],"doc":"Sets whether or not the specified blip should only be displayed when nearby, or on the minimap."},
{"name":"setBlipScale","native":"SET_BLIP_SCALE","hash":"0xD38744167B2FA257","params":[["blip","Blip"],["scale","float"]]},
{"name":"setBlipScale2d","native":"SET_BLIP_SCALE_2D","hash":"0xCD6524439909C979","params":[["blip","Blip"],["xScale","float"],["yScale","float"]],"since":1734,"aka":["_SET_BLIP_SCALE_TRANSFORMATION"],"doc":"https://i.imgur.com/jH2JMUl.png"},
{"name":"setBlipPriority","native":"SET_BLIP_PRIORITY","hash":"0xAE9FC9EF6A9FAC79","params":[["blip","Blip"],["priority","int"]],"doc":"See this topic for more details : https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page-35?p=1069477935"},
{"name":"setBlipDisplay","native":"SET_BLIP_DISPLAY","hash":"0x9029B2F3DA924928","params":[["blip","Blip"],["displayId","int"]],"doc":"Display Id behaviours:\n0 = Doesn't show up, ever, anywhere.\n1 = Doesn't show up, ever, anywhere.\n2 = Shows on both main map and minimap. (Selectable on map)\n3 = Shows on main map only. (Selectable on map)\n4 = Shows on main map only. (Selectable on map)\n5 = Shows on minimap only.\n6 = Shows on both main map and minimap. (Selectable on map)\n7 = Doesn't show up, ever, anywhere.\n8 = Shows on both main map and minimap. (Not selectable on map)\n9 = Shows on minimap only.\n10 = Shows on both main map and minimap. (Not selectable on map)\n\nAnything higher than 10 seems to be exactly the same as 10."},
{"name":"setBlipCategory","native":"SET_BLIP_CATEGORY","hash":"0x234CDD44D996FD9A","params":[["blip","Blip"],["index","int"]],"doc":"Index:\n1 = No distance shown in legend\n2 = Distance shown in legend\n7 = \"Other Players\" category, also shows distance in legend\n10 = \"Property\" category\n11 = \"Owned Property\" category\n\nAny other value behaves like index = 1, index wraps around after 255\nBlips with categories 7, 10 or 11 will all show under the specific categories listing in the map legend, regardless of sprite or name.\nLegend entries:\n7 = Other Players (BLIP_OTHPLYR)\n10 = Property (BLIP_PROPCAT)\n11 = Owned Property (BLIP_APARTCAT)\n\nCategory needs to be `7` in order for blip names to show on the expanded minimap when using `displayPlayerNameTagsOnBlips`."},
{"name":"removeBlip","native":"REMOVE_BLIP","hash":"0x86A652570E5F25DD","params":[["blip","Blip"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `blip` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"In the C++ SDK, this seems not to work-- the blip isn't removed immediately. I use it for saving cars.\n\nE.g.:\n\n```\nPed pped = playerPedId();\nVehicle v = getVehiclePedIsUsing(pped);\nBlip b = addBlipForEntity(v);\n```\n\nworks fine.\nBut later attempting to delete it with:\n\n```\nBlip b = getBlipFromEntity(v);\nif (doesBlipExist(b)) removeBlip(&b);\n```\n\ndoesn't work. And yes, doesn't work without the `doesBlipExist` check either. Also, if you attach multiple blips to the same thing (say, a vehicle), and that thing disappears, the blips randomly attach to other things (in my case, a vehicle).\n\nThus for me, `removeBlip`(&b) only works if there's one blip, (in my case) the vehicle is marked as no longer needed, you drive away from it and it eventually despawns, AND there is only one blip attached to it. I never intentionally attach multiple blips but if the user saves the car, this adds a blip. Then if they delete it, it is supposed to remove the blip, but it doesn't. Then they can immediately save it again, causing another blip to re-appear.\n---\n\nPassing the address of the variable instead of the value works for me.\ne.g.\n\n```\nint blip = addBlipForEntity(ped);\nremoveBlip(&blip);\n```\n\nRemove blip will currently crash your game, just artificially remove the blip by setting the sprite to a id that is 'invisible'."},
{"name":"setBlipAsFriendly","native":"SET_BLIP_AS_FRIENDLY","hash":"0x6F6F290102C02AB4","params":[["blip","Blip"],["toggle","BOOL"]],"doc":"false for enemy\ntrue for friendly"},
{"name":"pulseBlip","native":"PULSE_BLIP","hash":"0x742D6FD43115AF73","params":[["blip","Blip"]]},
{"name":"showNumberOnBlip","native":"SHOW_NUMBER_ON_BLIP","hash":"0xA3C0B359DCB848B6","params":[["blip","Blip"],["number","int"]]},
{"name":"hideNumberOnBlip","native":"HIDE_NUMBER_ON_BLIP","hash":"0x532CFF637EF80148","params":[["blip","Blip"]]},
{"name":"showHeightOnBlip","native":"SHOW_HEIGHT_ON_BLIP","hash":"0x75A16C3DA34F1245","params":[["blip","Blip"],["toggle","BOOL"]]},
{"name":"showTickOnBlip","native":"SHOW_TICK_ON_BLIP","hash":"0x74513EA3E505181E","params":[["blip","Blip"],["toggle","BOOL"]],"aka":["_SET_BLIP_CHECKED"],"doc":"Adds a green checkmark on top of a blip."},
{"name":"showGoldTickOnBlip","native":"SHOW_GOLD_TICK_ON_BLIP","hash":"0xCAC2031EBF79B1A8","params":[["blip","Blip"],["toggle","BOOL"]],"since":2699,"aka":["_SHOW_TICK_ON_BLIP_2","_SHOW_HAS_COMPLETED_INDICATOR_ON_BLIP"],"doc":"Adds an orange checkmark on top of a given blip handle: https://i.imgur.com/KG9k6Fk.png"},
{"name":"showForSaleIconOnBlip","native":"SHOW_FOR_SALE_ICON_ON_BLIP","hash":"0x19BD6E3C0E16A8FA","params":[["blip","Blip"],["toggle","BOOL"]],"since":2802},
{"name":"showHeadingIndicatorOnBlip","native":"SHOW_HEADING_INDICATOR_ON_BLIP","hash":"0x5FBCA48327B914DF","params":[["blip","Blip"],["toggle","BOOL"]],"doc":"Adds the GTA: Online player heading indicator to a blip."},
{"name":"showOutlineIndicatorOnBlip","native":"SHOW_OUTLINE_INDICATOR_ON_BLIP","hash":"0xB81656BC81FE24D1","params":[["blip","Blip"],["toggle","BOOL"]],"aka":["SET_BLIP_FRIENDLY"],"doc":"Highlights a blip by a cyan color circle.\n\nColor can be changed with `setBlipSecondaryColour`"},
{"name":"showFriendIndicatorOnBlip","native":"SHOW_FRIEND_INDICATOR_ON_BLIP","hash":"0x23C3EB807312F01A","params":[["blip","Blip"],["toggle","BOOL"]],"aka":["SET_BLIP_FRIEND"],"doc":"Highlights a blip by a half cyan circle on the right side of the blip. Indicating that that player is a friend (in GTA:O). This color can not be changed.\nTo toggle the left side (crew member indicator) of the half circle around the blip, use: `showCrewIndicatorOnBlip`"},
{"name":"showCrewIndicatorOnBlip","native":"SHOW_CREW_INDICATOR_ON_BLIP","hash":"0xDCFB5D4DB8BF367E","params":[["blip","Blip"],["toggle","BOOL"]],"aka":["SET_BLIP_CREW"],"doc":"Enables or disables the blue half circle around the specified blip on the left side of the blip. This is used to indicate that the player is in your crew in GTA:O. Color is changeable by using `setBlipSecondaryColour`."},
{"name":"setBlipExtendedHeightThreshold","native":"SET_BLIP_EXTENDED_HEIGHT_THRESHOLD","hash":"0xC4278F70131BAA6D","params":[["blip","Blip"],["toggle","BOOL"]],"aka":["_SET_BLIP_DISPLAY_INDICATOR_ON_BLIP"],"doc":"Must be toggled before being queued for animation"},
{"name":"setBlipShortHeightThreshold","native":"SET_BLIP_SHORT_HEIGHT_THRESHOLD","hash":"0x4B5B620C9B59ED34","params":[["p0","Any"],["p1","Any"]],"since":678},
{"name":"setBlipUseHeightIndicatorOnEdge","native":"SET_BLIP_USE_HEIGHT_INDICATOR_ON_EDGE","hash":"0x2C9F302398E13141","params":[["blip","Blip"],["p1","Any"]],"since":1103},
{"name":"setBlipAsMinimalOnEdge","native":"SET_BLIP_AS_MINIMAL_ON_EDGE","hash":"0x2B6D467DAB714E8D","params":[["blip","Blip"],["toggle","BOOL"]],"aka":["_SET_BLIP_SHRINK"],"doc":"Makes a blip go small when off the minimap."},
{"name":"setRadiusBlipEdge","native":"SET_RADIUS_BLIP_EDGE","hash":"0x25615540D894B814","params":[["blip","Blip"],["toggle","BOOL"]],"doc":"Enabling this on a radius blip will make it outline only."},
{"name":"doesBlipExist","native":"DOES_BLIP_EXIST","hash":"0xA6DB27D19ECBB7DA","params":[["blip","Blip"]],"ret":"BOOL"},
{"name":"setWaypointOff","native":"SET_WAYPOINT_OFF","hash":"0xA7E4E2D361C2627F","doc":"This native removes the current waypoint from the map.\n\nExample:\nC#:\n\n```\nFunction.Call(Hash.SET_WAYPOINT_OFF);\n```\n\nC++:\n\n```\nsetWaypointOff();\n```"},
{"name":"deleteWaypointsFromThisPlayer","native":"DELETE_WAYPOINTS_FROM_THIS_PLAYER","hash":"0xD8E694757BCEA8E9","aka":["_DELETE_WAYPOINT"]},
{"name":"refreshWaypoint","native":"REFRESH_WAYPOINT","hash":"0x81FA173F170560D1"},
{"name":"isWaypointActive","native":"IS_WAYPOINT_ACTIVE","hash":"0x1DD1F58F493F1DA5","ret":"BOOL"},
{"name":"setNewWaypoint","native":"SET_NEW_WAYPOINT","hash":"0xFE43368D2AA4F2FC","params":[["x","float"],["y","float"]]},
{"name":"setBlipBright","native":"SET_BLIP_BRIGHT","hash":"0xB203913733F27884","params":[["blip","Blip"],["toggle","BOOL"]]},
{"name":"setBlipShowCone","native":"SET_BLIP_SHOW_CONE","hash":"0x13127EC3665E8EE1","params":[["blip","Blip"],["toggle","BOOL"],["hudColorIndex","int"]],"doc":"As of b2189, the third parameter sets the color of the cone (before b2189 it was ignored). Note that it uses HUD colors, not blip colors."},
{"name":"removeCopBlipFromPed","native":"REMOVE_COP_BLIP_FROM_PED","hash":"0xC594B315EDF2D4AF","params":[["ped","Ped"]],"doc":"Interesting fact: A hash collision for this is RESET_JETPACK_MODEL_SETTINGS"},
{"name":"setupFakeConeData","native":"SETUP_FAKE_CONE_DATA","hash":"0xF83D0FEBE75E62C9","params":[["blip","Blip"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","Any"],["p8","int"]],"since":1290},
{"name":"removeFakeConeData","native":"REMOVE_FAKE_CONE_DATA","hash":"0x35A3CD97B2C0A6D2","params":[["blip","Blip"]],"since":1290},
{"name":"clearFakeConeArray","native":"CLEAR_FAKE_CONE_ARRAY","hash":"0x8410C5E0CD847B9D","since":1290},
{"name":"setBlipGpsRouteDisplayDistance","native":"_SET_BLIP_GPS_ROUTE_DISPLAY_DISTANCE","hash":"0x25D984CFB64ED6DE","params":[["blip","Blip"],["blipChangeParam46","int"],["blipChangeParam47","BOOL"]],"na":1,"since":3095},
{"name":"setMinimapComponent","native":"SET_MINIMAP_COMPONENT","hash":"0x75A9A10948D1DEA6","params":[["componentId","int"],["toggle","BOOL"],["overrideColor","int"]],"ret":"BOOL","doc":"This native is used to colorize certain map components like the army base at the top of the map.\np2 appears to be always -1. If p2 is -1 then native wouldn't change the color."},
{"name":"setMinimapSonarSweep","native":"SET_MINIMAP_SONAR_SWEEP","hash":"0x6B50FC8749632EC1","params":[["toggle","BOOL"]],"since":2189,"aka":["_SET_MINIMAP_SONAR_ENABLED"]},
{"name":"showAccountPicker","native":"SHOW_ACCOUNT_PICKER","hash":"0x60E892BA4F5BDCA4","aka":["_SHOW_SIGNIN_UI"]},
{"name":"getMainPlayerBlipId","native":"GET_MAIN_PLAYER_BLIP_ID","hash":"0xDCD4EC3F419D02FA","ret":"Blip"},
{"name":"setPmWarningscreenActive","native":"SET_PM_WARNINGSCREEN_ACTIVE","hash":"0x41350B4FC28E3941","params":[["p0","BOOL"]]},
{"name":"hideLoadingOnFadeThisFrame","native":"HIDE_LOADING_ON_FADE_THIS_FRAME","hash":"0x4B0311D3CDC4648F"},
{"name":"setRadarAsInteriorThisFrame","native":"SET_RADAR_AS_INTERIOR_THIS_FRAME","hash":"0x59E727A1C9D3E31A","params":[["interior","Hash"],["x","float"],["y","float"],["z","int"],["zoom","int"]],"doc":"List of interior hashes: https://pastebin.com/1FUyXNqY\nNot for every interior zoom > 0 available."},
{"name":"setInsideVerySmallInterior","native":"SET_INSIDE_VERY_SMALL_INTERIOR","hash":"0x504DFE62A1692296","params":[["toggle","BOOL"]],"since":1493,"aka":["_SET_INTERIOR_ZOOM_LEVEL_INCREASED"]},
{"name":"setInsideVeryLargeInterior","native":"SET_INSIDE_VERY_LARGE_INTERIOR","hash":"0x7EC8ABA5E74B3D7A","params":[["toggle","BOOL"]],"since":2372,"aka":["_SET_INTERIOR_ZOOM_LEVEL_DECREASED"]},
{"name":"setRadarAsExteriorThisFrame","native":"SET_RADAR_AS_EXTERIOR_THIS_FRAME","hash":"0xE81B7D2A3DAB2D81"},
{"name":"setFakePausemapPlayerPositionThisFrame","native":"SET_FAKE_PAUSEMAP_PLAYER_POSITION_THIS_FRAME","hash":"0x77E2DD177910E1CF","params":[["x","float"],["y","float"]],"aka":["_SET_PLAYER_BLIP_POSITION_THIS_FRAME"],"doc":"Sets the position of the arrow icon representing the player on both the minimap and world map.\n\nToo bad this wouldn't work over the network (obviously not). Could spoof where we would be."},
{"name":"setFakeGpsPlayerPositionThisFrame","native":"SET_FAKE_GPS_PLAYER_POSITION_THIS_FRAME","hash":"0xA17784FCA9548D15","params":[["x","float"],["y","float"],["z","float"]],"since":877},
{"name":"isPausemapInInteriorMode","native":"IS_PAUSEMAP_IN_INTERIOR_MODE","hash":"0x9049FE339D5F6F6F","ret":"BOOL","aka":["_IS_MINIMAP_IN_INTERIOR"]},
{"name":"hideMinimapExteriorMapThisFrame","native":"HIDE_MINIMAP_EXTERIOR_MAP_THIS_FRAME","hash":"0x5FBAE526203990C9","aka":["_DISABLE_RADAR_THIS_FRAME"]},
{"name":"hideMinimapInteriorMapThisFrame","native":"HIDE_MINIMAP_INTERIOR_MAP_THIS_FRAME","hash":"0x20FE7FDFEEAD38C0"},
{"name":"setUseIslandMap","native":"SET_USE_ISLAND_MAP","hash":"0x5E1460624D194A38","params":[["toggle","BOOL"]],"since":2189,"aka":["_SET_TOGGLE_MINIMAP_HEIST_ISLAND"],"doc":"Toggles the Cayo Perico map."},
{"name":"setPauseExteriorRenderingWhileInInterior","native":"_SET_PAUSE_EXTERIOR_RENDERING_WHILE_IN_INTERIOR","hash":"0x35CCE12EAECB4A51","na":1,"since":2944},
{"name":"dontTiltMinimapThisFrame","native":"DONT_TILT_MINIMAP_THIS_FRAME","hash":"0x6D14BFDC33B34F55","aka":["_CENTER_PLAYER_ON_RADAR_THIS_FRAME"],"doc":"When calling this, the current frame will have the players \"arrow icon\" be focused on the dead center of the radar."},
{"name":"dontZoomMinimapWhenRunningThisFrame","native":"DONT_ZOOM_MINIMAP_WHEN_RUNNING_THIS_FRAME","hash":"0x89DA85D949CE57A0","since":2802},
{"name":"dontZoomMinimapWhenSnipingThisFrame","native":"DONT_ZOOM_MINIMAP_WHEN_SNIPING_THIS_FRAME","hash":"0x55F5A5F07134DE60","since":1180},
{"name":"setWidescreenFormat","native":"SET_WIDESCREEN_FORMAT","hash":"0xC3B07BA00A83B0F1","params":[["p0","Any"]]},
{"name":"displayAreaName","native":"DISPLAY_AREA_NAME","hash":"0x276B6CE369C33678","params":[["toggle","BOOL"]]},
{"name":"displayCash","native":"DISPLAY_CASH","hash":"0x96DEC8D5430208B7","params":[["toggle","BOOL"]],"doc":"\"`displayCash`(false);\" makes the cash amount render on the screen when appropriate\n\"`displayCash`(true);\" disables cash amount rendering"},
{"name":"useFakeMpCash","native":"USE_FAKE_MP_CASH","hash":"0x170F541E1CADD1DE","params":[["toggle","BOOL"]],"doc":"Related to displaying cash on the HUD\nAlways called before `changeFakeMpCash` in decompiled scripts"},
{"name":"changeFakeMpCash","native":"CHANGE_FAKE_MP_CASH","hash":"0x0772DF77852C2E30","params":[["cash","int"],["bank","int"]],"aka":["_SET_SINGLEPLAYER_HUD_CASH"],"doc":"Displays cash change notifications on HUD."},
{"name":"displayAmmoThisFrame","native":"DISPLAY_AMMO_THIS_FRAME","hash":"0xA5E78BA2B1331C55","params":[["display","BOOL"]]},
{"name":"displaySniperScopeThisFrame","native":"DISPLAY_SNIPER_SCOPE_THIS_FRAME","hash":"0x73115226F4814E62","doc":"Displays the crosshair for this frame."},
{"name":"hideHudAndRadarThisFrame","native":"HIDE_HUD_AND_RADAR_THIS_FRAME","hash":"0x719FF505F097FD20","doc":"Hides HUD and radar this frame and prohibits switching to other weapons (or accessing the weapon wheel)"},
{"name":"allowDisplayOfMultiplayerCashText","native":"ALLOW_DISPLAY_OF_MULTIPLAYER_CASH_TEXT","hash":"0xE67C6DFD386EA5E7","params":[["allow","BOOL"]],"aka":["_ALLOW_ADDITIONAL_INFO_FOR_MULTIPLAYER_HUD_CASH"],"doc":"Controls whether to display 'Cash'/'Bank' next to the money balance HUD in Multiplayer (https://i.imgur.com/MiYUtNl.png)"},
{"name":"setMultiplayerWalletCash","native":"SET_MULTIPLAYER_WALLET_CASH","hash":"0xC2D15BEF167E27BC"},
{"name":"removeMultiplayerWalletCash","native":"REMOVE_MULTIPLAYER_WALLET_CASH","hash":"0x95CF81BD06EE1887"},
{"name":"setMultiplayerBankCash","native":"SET_MULTIPLAYER_BANK_CASH","hash":"0xDD21B55DF695CD0A"},
{"name":"removeMultiplayerBankCash","native":"REMOVE_MULTIPLAYER_BANK_CASH","hash":"0xC7C6789AA1CFEDD0"},
{"name":"setMultiplayerHudCash","native":"SET_MULTIPLAYER_HUD_CASH","hash":"0xFD1D220394BCB824","params":[["p0","int"],["p1","BOOL"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"removeMultiplayerHudCash","native":"REMOVE_MULTIPLAYER_HUD_CASH","hash":"0x968F270E39141ECA","doc":"Removes multiplayer cash hud each frame"},
{"name":"hideHelpTextThisFrame","native":"HIDE_HELP_TEXT_THIS_FRAME","hash":"0xD46923FC481CA285"},
{"name":"isImeInProgress","native":"IS_IME_IN_PROGRESS","hash":"0x801879A9B4F4B2FB","ret":"BOOL","since":372,"notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}]},
{"name":"displayHelpTextThisFrame","native":"DISPLAY_HELP_TEXT_THIS_FRAME","hash":"0x960C9FF8F616E41C","params":[["message","string"],["curvedWindow","BOOL"]],"doc":"The messages are localized strings.\nExamples:\n\"No_bus_money\"\n\"Enter_bus\"\n\"Tour_help\"\n\"LETTERS_HELP2\"\n\"Dummy\"\"\n\ncurvedWindow is unused."},
{"name":"hudForceWeaponWheel","native":"HUD_FORCE_WEAPON_WHEEL","hash":"0xEB354E5376BC81A7","params":[["show","BOOL"]],"aka":["_SHOW_WEAPON_WHEEL"],"doc":"Forces the weapon wheel to show/hide."},
{"name":"hudForceSpecialVehicleWeaponWheel","native":"HUD_FORCE_SPECIAL_VEHICLE_WEAPON_WHEEL","hash":"0x488043841BBE156F","since":1011,"aka":["_HUD_DISPLAY_LOADING_SCREEN_TIPS"],"doc":"Displays \"blazer_wheels_up\" and \"blazer_wheels_down\" \"weapon\" icons when switching between jetski and quadbike modes. Works only on vehicles using \"VEHICLE_TYPE_AMPHIBIOUS_QUADBIKE\" vehicle type. Needs to be called every time prior to switching modes, otherwise the icon will only appear when switching modes once."},
{"name":"hudSuppressWeaponWheelResultsThisFrame","native":"HUD_SUPPRESS_WEAPON_WHEEL_RESULTS_THIS_FRAME","hash":"0x0AFC4AF510774B47","aka":["_BLOCK_WEAPON_WHEEL_THIS_FRAME","_HUD_WEAPON_WHEEL_IGNORE_SELECTION"],"doc":"Calling this each frame, stops the player from receiving a weapon via the weapon wheel."},
{"name":"hudGetWeaponWheelCurrentlyHighlighted","native":"HUD_GET_WEAPON_WHEEL_CURRENTLY_HIGHLIGHTED","hash":"0xA48931185F0536FE","ret":"Hash","aka":["_HUD_WEAPON_WHEEL_GET_SELECTED_HASH"],"doc":"Returns the weapon hash to the selected/highlighted weapon in the wheel"},
{"name":"hudSetWeaponWheelTopSlot","native":"HUD_SET_WEAPON_WHEEL_TOP_SLOT","hash":"0x72C1056D678BB7D8","params":[["weaponHash","Hash"]],"aka":["_HUD_WEAPON_WHEEL_SET_SLOT_HASH"],"doc":"Set the active slotIndex in the wheel weapon to the slot associated with the provided Weapon hash"},
{"name":"hudGetWeaponWheelTopSlot","native":"HUD_GET_WEAPON_WHEEL_TOP_SLOT","hash":"0xA13E93403F26C812","params":[["weaponTypeIndex","int"]],"ret":"Hash","aka":["_HUD_WEAPON_WHEEL_GET_SLOT_HASH"],"doc":"Returns the weapon hash active in a specific weapon wheel slotList"},
{"name":"hudShowingCharacterSwitchSelection","native":"HUD_SHOWING_CHARACTER_SWITCH_SELECTION","hash":"0x14C9FDCC41F81F63","params":[["toggle","BOOL"]],"aka":["_HUD_WEAPON_WHEEL_IGNORE_CONTROL_INPUT"],"doc":"Sets a global that disables many weapon input tasks (shooting, aiming, etc.). Does not work with vehicle weapons, only used in selector.ysc"},
{"name":"setGpsFlags","native":"SET_GPS_FLAGS","hash":"0x5B440763A4C8D15B","params":[["p0","int"],["p1","float"]],"doc":"Only the script that originally called `setGpsFlags` can set them again. Another script cannot set the flags, until the first script that called it has called `clearGpsFlags`.\n\nDoesn't seem like the flags are actually read by the game at all."},
{"name":"clearGpsFlags","native":"CLEAR_GPS_FLAGS","hash":"0x21986729D6A3A830","doc":"Clears the GPS flags. Only the script that originally called `setGpsFlags` can clear them.\n\nDoesn't seem like the flags are actually read by the game at all."},
{"name":"setRaceTrackRender","native":"SET_RACE_TRACK_RENDER","hash":"0x1EAC5F91BCBC5073","params":[["toggle","BOOL"]]},
{"name":"clearGpsRaceTrack","native":"CLEAR_GPS_RACE_TRACK","hash":"0x7AA5B4CE533C858B","doc":"Does the same as `setRaceTrackRender`(false);"},
{"name":"startGpsCustomRoute","native":"START_GPS_CUSTOM_ROUTE","hash":"0xDB34E8D56FC13B08","params":[["hudColor","int"],["displayOnFoot","BOOL"],["followPlayer","BOOL"]],"doc":"Starts a new GPS custom-route, allowing you to plot lines on the map.\nLines are drawn directly between points.\nThe GPS custom route works like the GPS multi route, except it does not follow roads.\nhudColor: The HUD color of the GPS path.\ndisplayOnFoot: Draws the path regardless if the player is in a vehicle or not.\nfollowPlayer: Draw the path partially between the previous and next point based on the players position between them. When false, the GPS appears to not disappear after the last leg is completed."},
{"name":"addPointToGpsCustomRoute","native":"ADD_POINT_TO_GPS_CUSTOM_ROUTE","hash":"0x311438A071DD9B1A","params":[["x","float"],["y","float"],["z","float"]]},
{"name":"setGpsCustomRouteRender","native":"SET_GPS_CUSTOM_ROUTE_RENDER","hash":"0x900086F371220B6F","params":[["toggle","BOOL"],["radarThickness","int","The width of the GPS route on the radar"],["mapThickness","int","The width of the GPS route on the map"]]},
{"name":"clearGpsCustomRoute","native":"CLEAR_GPS_CUSTOM_ROUTE","hash":"0xE6DE0561D9232A64"},
{"name":"startGpsMultiRoute","native":"START_GPS_MULTI_ROUTE","hash":"0x3D3D15AF7BCAAF83","params":[["hudColor","int"],["routeFromPlayer","BOOL"],["displayOnFoot","BOOL"]],"doc":"Starts a new GPS multi-route, allowing you to create custom GPS paths.\nGPS functions like the waypoint, except it can contain multiple points it's forced to go through.\nOnce the player has passed a point, the GPS will no longer force its path through it.\n\nWorks independently from the player-placed waypoint and blip routes.\nhudColor: The HUD color of the GPS path.\nrouteFromPlayer: Makes the GPS draw a path from the player to the next point, rather than the original path from the previous point.\ndisplayOnFoot: Draws the GPS path regardless if the player is in a vehicle or not."},
{"name":"addPointToGpsMultiRoute","native":"ADD_POINT_TO_GPS_MULTI_ROUTE","hash":"0xA905192A6781C41B","params":[["x","float"],["y","float"],["z","float"]]},
{"name":"setGpsMultiRouteRender","native":"SET_GPS_MULTI_ROUTE_RENDER","hash":"0x3DDA37128DD1ACA8","params":[["toggle","BOOL"]]},
{"name":"clearGpsMultiRoute","native":"CLEAR_GPS_MULTI_ROUTE","hash":"0x67EEDEA1B9BAFD94","doc":"Does the same as `setGpsMultiRouteRender`(false);"},
{"name":"clearGpsPlayerWaypoint","native":"CLEAR_GPS_PLAYER_WAYPOINT","hash":"0xFF4FB7C8CDFA3DA7"},
{"name":"setGpsFlashes","native":"SET_GPS_FLASHES","hash":"0x320D0E0D936A0E9B","params":[["toggle","BOOL"]]},
{"name":"setPlayerIconColour","native":"SET_PLAYER_ICON_COLOUR","hash":"0x7B21E0BB01E8224A","params":[["color","int"]],"aka":["_SET_MAIN_PLAYER_BLIP_COLOUR"]},
{"name":"flashMinimapDisplay","native":"FLASH_MINIMAP_DISPLAY","hash":"0xF2DD778C22B15BDA","doc":"adds a short flash to the Radar/Minimap\nUsage: UI.FLASH_MINIMAP_DISPLAY"},
{"name":"flashMinimapDisplayWithColor","native":"FLASH_MINIMAP_DISPLAY_WITH_COLOR","hash":"0x6B1DE27EE78E6A19","params":[["hudColorIndex","int"]]},
{"name":"toggleStealthRadar","native":"TOGGLE_STEALTH_RADAR","hash":"0x6AFDFB93754950C7","params":[["toggle","BOOL"]]},
{"name":"setMinimapInSpectatorMode","native":"SET_MINIMAP_IN_SPECTATOR_MODE","hash":"0x1A5CD7752DD28CD3","params":[["toggle","BOOL"],["ped","Ped"]],"aka":["KEY_HUD_COLOUR"]},
{"name":"setMissionName","native":"SET_MISSION_NAME","hash":"0x5F28ECF5FC84772F","params":[["p0","BOOL"],["name","string"]]},
{"name":"setMissionNameForUgcMission","native":"SET_MISSION_NAME_FOR_UGC_MISSION","hash":"0xE45087D85F468BC2","params":[["p0","BOOL"],["name","string"]],"aka":["_SET_MISSION_NAME_2"]},
{"name":"setDescriptionForUgcMissionEightStrings","native":"SET_DESCRIPTION_FOR_UGC_MISSION_EIGHT_STRINGS","hash":"0x817B86108EB94E51","params":[["p0","BOOL"],["p1","string"],["p2","string"],["p3","string"],["p4","string"],["p5","string"],["p6","string"],["p7","string"],["p8","string"]]},
{"name":"setMinimapBlockWaypoint","native":"SET_MINIMAP_BLOCK_WAYPOINT","hash":"0x58FADDED207897DC","params":[["toggle","BOOL"]]},
{"name":"setMinimapInPrologue","native":"SET_MINIMAP_IN_PROLOGUE","hash":"0x9133955F1A2DA957","params":[["toggle","BOOL"]],"aka":["_SET_DRAW_MAP_VISIBLE","_SET_NORTH_YANKTON_MAP"],"doc":"Toggles the North Yankton map"},
{"name":"setMinimapBackgroundHidden","native":"SET_MINIMAP_BACKGROUND_HIDDEN","hash":"0xB09D42557C45EBA1","params":[["toggle","BOOL"]],"na":1,"since":3258,"doc":"This native does absolutely nothing on PC master builds, just a nullsub."},
{"name":"setMinimapHideFow","native":"SET_MINIMAP_HIDE_FOW","hash":"0xF8DEE0A5600CBB93","params":[["toggle","BOOL"]],"aka":["_SET_MINIMAP_REVEALED"],"doc":"If true, the entire map will be revealed.\n\nFOW = Fog of War"},
{"name":"getMinimapFowDiscoveryRatio","native":"GET_MINIMAP_FOW_DISCOVERY_RATIO","hash":"0xE0130B41D3CF4574","ret":"float","aka":["_GET_MINIMAP_REVEAL_PERCENTAGE"]},
{"name":"getMinimapFowCoordinateIsRevealed","native":"GET_MINIMAP_FOW_COORDINATE_IS_REVEALED","hash":"0x6E31B91145873922","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","aka":["_IS_MINIMAP_AREA_REVEALED"]},
{"name":"setMinimapFowDoNotUpdate","native":"SET_MINIMAP_FOW_DO_NOT_UPDATE","hash":"0x62E849B7EB28E770","params":[["p0","BOOL"]]},
{"name":"setMinimapFowRevealCoordinate","native":"SET_MINIMAP_FOW_REVEAL_COORDINATE","hash":"0x0923DBF87DFF735E","params":[["x","float"],["y","float"],["z","float"]],"doc":"Up to eight coordinates may be revealed per frame"},
{"name":"setMinimapGolfCourse","native":"SET_MINIMAP_GOLF_COURSE","hash":"0x71BDB63DBAF8DA59","params":[["hole","int"]],"doc":"Not much is known so far on what it does _exactly_.\nAll I know for sure is that it draws the specified hole ID on the pause menu map as well as on the mini-map/radar. This native also seems to change some other things related to the pause menu map's behaviour, for example: you can no longer set waypoints, the pause menu map starts up in a 'zoomed in' state. This native does not need to be executed every tick.\nYou need to center the minimap manually as well as change/lock it's zoom and angle in order for it to appear correctly on the minimap.\nYou'll also need to use the `GOLF` scaleform in order to get the correct minmap border to show up.\nUse `0x35edd5b2e3ff01c0` to reset the map when you no longer want to display any golf holes (you still need to unlock zoom, position and angle of the radar manually after calling this)."},
{"name":"setMinimapGolfCourseOff","native":"SET_MINIMAP_GOLF_COURSE_OFF","hash":"0x35EDD5B2E3FF01C0"},
{"name":"lockMinimapAngle","native":"LOCK_MINIMAP_ANGLE","hash":"0x299FAEBB108AE05B","params":[["angle","int","The angle in whole degrees. If less than 0 or greater than 360, unlocks the angle."]],"doc":"Locks the minimap to the specified angle in integer degrees."},
{"name":"unlockMinimapAngle","native":"UNLOCK_MINIMAP_ANGLE","hash":"0x8183455E16C42E3A"},
{"name":"lockMinimapPosition","native":"LOCK_MINIMAP_POSITION","hash":"0x1279E861A329E73F","params":[["x","float"],["y","float"]],"doc":"Locks the minimap to the specified world position."},
{"name":"unlockMinimapPosition","native":"UNLOCK_MINIMAP_POSITION","hash":"0x3E93E06DB8EF1F30"},
{"name":"setFakeMinimapMaxAltimeterHeight","native":"SET_FAKE_MINIMAP_MAX_ALTIMETER_HEIGHT","hash":"0xD201F3FF917A506D","params":[["altitude","float"],["p1","BOOL"],["p2","Any"]],"aka":["_SET_MINIMAP_ATTITUDE_INDICATOR_LEVEL","_SET_MINIMAP_ALTITUDE_INDICATOR_LEVEL"],"doc":"Argument must be 0.0f or above 38.0f, or it will be ignored."},
{"name":"setHealthHudDisplayValues","native":"SET_HEALTH_HUD_DISPLAY_VALUES","hash":"0x3F5CC444DCAAA8F2","params":[["health","int"],["capacity","int"],["wasAdded","BOOL"]]},
{"name":"setMaxHealthHudDisplay","native":"SET_MAX_HEALTH_HUD_DISPLAY","hash":"0x975D66A0BC17064C","params":[["maximumValue","int"]]},
{"name":"setMaxArmourHudDisplay","native":"SET_MAX_ARMOUR_HUD_DISPLAY","hash":"0x06A320535F5F0248","params":[["maximumValue","int"]]},
{"name":"setBigmapActive","native":"SET_BIGMAP_ACTIVE","hash":"0x231C8F89D0539D8F","params":[["toggleBigMap","BOOL"],["showFullMap","BOOL"]],"aka":["_SET_RADAR_BIGMAP_ENABLED"],"doc":"Toggles the big minimap state like in GTA:Online."},
{"name":"isHudComponentActive","native":"IS_HUD_COMPONENT_ACTIVE","hash":"0xBC4C9EA5391ECC0D","params":[["id","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `160`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"isScriptedHudComponentActive","native":"IS_SCRIPTED_HUD_COMPONENT_ACTIVE","hash":"0xDD100EB17A94FF65","params":[["id","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `29`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"hideScriptedHudComponentThisFrame","native":"HIDE_SCRIPTED_HUD_COMPONENT_THIS_FRAME","hash":"0xE374C498D8BADC14","params":[["id","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `29`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"showScriptedHudComponentThisFrame","native":"SHOW_SCRIPTED_HUD_COMPONENT_THIS_FRAME","hash":"0x4F38DCA127DAAEA2","params":[["id","int"]],"checked":1,"since":1734,"aka":["_SHOW_SCRIPTED_HUD_COMPONENT_THIS_FRAME"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `29`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"isScriptedHudComponentHiddenThisFrame","native":"IS_SCRIPTED_HUD_COMPONENT_HIDDEN_THIS_FRAME","hash":"0x09C0403ED9A751C2","params":[["id","int"]],"ret":"BOOL"},
{"name":"hideHudComponentThisFrame","native":"HIDE_HUD_COMPONENT_THIS_FRAME","hash":"0x6806C51AD12B83B8","params":[["id","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `160`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"This function hides various HUD (Heads-up Display) components.\nListed below are the integers and the corresponding HUD component.\n- 1 : WANTED_STARS\n- 2 : WEAPON_ICON\n- 3 : CASH\n- 4 : MP_CASH\n- 5 : MP_MESSAGE\n- 6 : VEHICLE_NAME\n- 7 : AREA_NAME\n- 8 : VEHICLE_CLASS\n- 9 : STREET_NAME\n- 10 : HELP_TEXT\n- 11 : FLOATING_HELP_TEXT_1\n- 12 : FLOATING_HELP_TEXT_2\n- 13 : CASH_CHANGE\n- 14 : RETICLE\n- 15 : SUBTITLE_TEXT\n- 16 : RADIO_STATIONS\n- 17 : SAVING_GAME\n- 18 : GAME_STREAM\n- 19 : WEAPON_WHEEL\n- 20 : WEAPON_WHEEL_STATS\n- 21 : HUD_COMPONENTS\n- 22 : HUD_WEAPONS\n\nThese integers also work for the `showHudComponentThisFrame` native, but instead shows the HUD Component."},
{"name":"showHudComponentThisFrame","native":"SHOW_HUD_COMPONENT_THIS_FRAME","hash":"0x0B4DF1FA60C0E664","params":[["id","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `160`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"This function hides various HUD (Heads-up Display) components.\nListed below are the integers and the corresponding HUD component.\n- 1 : WANTED_STARS\n- 2 : WEAPON_ICON\n- 3 : CASH\n- 4 : MP_CASH\n- 5 : MP_MESSAGE\n- 6 : VEHICLE_NAME\n- 7 : AREA_NAME\n- 8 : VEHICLE_CLASS\n- 9 : STREET_NAME\n- 10 : HELP_TEXT\n- 11 : FLOATING_HELP_TEXT_1\n- 12 : FLOATING_HELP_TEXT_2\n- 13 : CASH_CHANGE\n- 14 : RETICLE\n- 15 : SUBTITLE_TEXT\n- 16 : RADIO_STATIONS\n- 17 : SAVING_GAME\n- 18 : GAME_STREAM\n- 19 : WEAPON_WHEEL\n- 20 : WEAPON_WHEEL_STATS\n- 21 : HUD_COMPONENTS\n- 22 : HUD_WEAPONS\n\nThese integers also work for the `hideHudComponentThisFrame` native, but instead hides the HUD Component."},
{"name":"hideStreetAndCarNamesThisFrame","native":"HIDE_STREET_AND_CAR_NAMES_THIS_FRAME","hash":"0xA4DEDE28B1814289","aka":["_HIDE_AREA_AND_VEHICLE_NAME_THIS_FRAME"],"doc":"Hides area and vehicle name HUD components for one frame."},
{"name":"resetReticuleValues","native":"RESET_RETICULE_VALUES","hash":"0x12782CE0A636E9F0"},
{"name":"resetHudComponentValues","native":"RESET_HUD_COMPONENT_VALUES","hash":"0x450930E616475D0D","params":[["id","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `160`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"setHudComponentPosition","native":"SET_HUD_COMPONENT_POSITION","hash":"0xAABB1F56E2A17CED","params":[["id","int"],["x","float"],["y","float"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `160`; `x`, `y` must be finite numbers. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"getHudComponentPosition","native":"GET_HUD_COMPONENT_POSITION","hash":"0x223CA69A8C4417FD","params":[["id","int"]],"ret":"Vector3","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`id` must be between `0` and `160`. Otherwise the call is ignored and returns a zero vector: nothing reaches the game, and no error is raised."}]},
{"name":"clearReminderMessage","native":"CLEAR_REMINDER_MESSAGE","hash":"0xB57D8DD645CFA2CF","doc":"This native does absolutely nothing, just a nullsub"},
{"name":"getHudScreenPositionFromWorldPosition","native":"GET_HUD_SCREEN_POSITION_FROM_WORLD_POSITION","hash":"0xF9904D11F1ACBEC3","params":[["worldX","float"],["worldY","float"],["worldZ","float"]],"ret":"int","outs":[["screenX","float",3],["screenY","float",4]],"aka":["_GET_2D_COORD_FROM_3D_COORD"],"doc":"World to relative screen coords, this world to screen will keep the text on screen."},
{"name":"openReportugcMenu","native":"OPEN_REPORTUGC_MENU","hash":"0x523A590C1A3CC0D3","aka":["_DISPLAY_JOB_REPORT"],"doc":"Shows a menu for reporting UGC content."},
{"name":"forceCloseReportugcMenu","native":"FORCE_CLOSE_REPORTUGC_MENU","hash":"0xEE4C0E6DBC6F2C6F"},
{"name":"isReportugcMenuOpen","native":"IS_REPORTUGC_MENU_OPEN","hash":"0x9135584D09A3437E","ret":"BOOL"},
{"name":"isFloatingHelpTextOnScreen","native":"IS_FLOATING_HELP_TEXT_ON_SCREEN","hash":"0x2432784ACA090DA4","params":[["hudIndex","int"]],"ret":"BOOL"},
{"name":"setFloatingHelpTextScreenPosition","native":"SET_FLOATING_HELP_TEXT_SCREEN_POSITION","hash":"0x7679CC1BCEBE3D4C","params":[["hudIndex","int"],["x","float"],["y","float"]]},
{"name":"setFloatingHelpTextWorldPosition","native":"SET_FLOATING_HELP_TEXT_WORLD_POSITION","hash":"0x784BA7E0ECEB4178","params":[["hudIndex","int"],["x","float"],["y","float"],["z","float"]]},
{"name":"setFloatingHelpTextToEntity","native":"SET_FLOATING_HELP_TEXT_TO_ENTITY","hash":"0xB094BC1DB4018240","params":[["hudIndex","int"],["entity","Entity"],["offsetX","float"],["offsetY","float"]]},
{"name":"setFloatingHelpTextStyle","native":"SET_FLOATING_HELP_TEXT_STYLE","hash":"0x788E7FD431BD67F1","params":[["hudIndex","int"],["p1","int"],["p2","int"],["p3","int"],["p4","int"],["p5","int"]]},
{"name":"clearFloatingHelp","native":"CLEAR_FLOATING_HELP","hash":"0x50085246ABD3FEFA","params":[["hudIndex","int"],["p1","BOOL"]]},
{"name":"createMpGamerTagWithCrewColor","native":"CREATE_MP_GAMER_TAG_WITH_CREW_COLOR","hash":"0x6DD05E9D83EFA4C9","params":[["player","Player"],["username","string"],["pointedClanTag","BOOL"],["isRockstarClan","BOOL"],["clanTag","string"],["clanFlag","int","takes a number 0-5"],["r","int"],["g","int"],["b","int"]],"aka":["_CREATE_MP_GAMER_TAG_COLOR","_SET_MP_GAMER_TAG_COLOR","_CREATE_MP_GAMER_TAG_FOR_NET_PLAYER"]},
{"name":"isMpGamerTagMovieActive","native":"IS_MP_GAMER_TAG_MOVIE_ACTIVE","hash":"0x6E0EB3EB47C8D7AA","ret":"BOOL","aka":["_HAS_MP_GAMER_TAG"]},
{"name":"createFakeMpGamerTag","native":"CREATE_FAKE_MP_GAMER_TAG","hash":"0xBFEFE3321A3F5015","params":[["ped","Ped"],["username","string"],["pointedClanTag","BOOL"],["isRockstarClan","BOOL"],["clanTag","string"],["clanFlag","int","takes a number 0-5"]],"ret":"int","aka":["_CREATE_MP_GAMER_TAG"]},
{"name":"removeMpGamerTag","native":"REMOVE_MP_GAMER_TAG","hash":"0x31698AA80E0223F8","params":[["gamerTagId","int"]]},
{"name":"isMpGamerTagActive","native":"IS_MP_GAMER_TAG_ACTIVE","hash":"0x4E929E7A5796FD26","params":[["gamerTagId","int"]],"ret":"BOOL"},
{"name":"isMpGamerTagFree","native":"IS_MP_GAMER_TAG_FREE","hash":"0x595B5178E412E199","params":[["gamerTagId","int"]],"ret":"BOOL","aka":["ADD_TREVOR_RANDOM_MODIFIER"]},
{"name":"setMpGamerTagVisibility","native":"SET_MP_GAMER_TAG_VISIBILITY","hash":"0x63BB75ABEDC1F6A0","params":[["gamerTagId","int"],["component","int"],["toggle","BOOL"],["p3","Any"]]},
{"name":"setAllMpGamerTagsVisibility","native":"SET_ALL_MP_GAMER_TAGS_VISIBILITY","hash":"0xEE76FF7E6A0166B0","params":[["gamerTagId","int"],["toggle","BOOL"]],"aka":["_SET_MP_GAMER_TAG_","_SET_MP_GAMER_TAG","_SET_MP_GAMER_TAG_ENABLED"]},
{"name":"setMpGamerTagsShouldUseVehicleHealth","native":"SET_MP_GAMER_TAGS_SHOULD_USE_VEHICLE_HEALTH","hash":"0xA67F9C46D612B6F1","params":[["gamerTagId","int"],["toggle","BOOL"]],"aka":["_SET_MP_GAMER_TAG_ICONS"],"doc":"Displays a bunch of icons above the players name, and level, and their name twice"},
{"name":"setMpGamerTagsShouldUsePointsHealth","native":"SET_MP_GAMER_TAGS_SHOULD_USE_POINTS_HEALTH","hash":"0xD29EC58C2F6B5014","params":[["gamerTagId","int"],["toggle","BOOL"]],"since":1365,"aka":["_SET_MP_GAMER_HEALTH_BAR_DISPLAY"]},
{"name":"setMpGamerTagsPointHealth","native":"SET_MP_GAMER_TAGS_POINT_HEALTH","hash":"0x1563FE35E9928E67","params":[["gamerTagId","int"],["value","int"],["maximumValue","int"]],"since":1365,"aka":["_SET_MP_GAMER_HEALTH_BAR_MAX"]},
{"name":"setMpGamerTagColour","native":"SET_MP_GAMER_TAG_COLOUR","hash":"0x613ED644950626AE","params":[["gamerTagId","int"],["component","int"],["hudColorIndex","int"]],"doc":"Sets a gamer tag's component colour\n\ngamerTagId is obtained using for example `createFakeMpGamerTag`\nRanges from 0 to 255. 0 is grey health bar, ~50 yellow, 200 purple."},
{"name":"setMpGamerTagHealthBarColour","native":"SET_MP_GAMER_TAG_HEALTH_BAR_COLOUR","hash":"0x3158C77A7E888AB4","params":[["gamerTagId","int"],["hudColorIndex","int"]],"aka":["_SET_MP_GAMER_TAG_HEALTH_BAR_COLOR"],"doc":"Ranges from 0 to 255. 0 is grey health bar, ~50 yellow, 200 purple.\nShould be enabled as flag (2). Has 0 opacity by default."},
{"name":"setMpGamerTagAlpha","native":"SET_MP_GAMER_TAG_ALPHA","hash":"0xD48FE545CD46F857","params":[["gamerTagId","int"],["component","int"],["alpha","int"]],"doc":"Sets flag's sprite transparency. 0-255."},
{"name":"setMpGamerTagWantedLevel","native":"SET_MP_GAMER_TAG_WANTED_LEVEL","hash":"0xCF228E2AA03099C3","params":[["gamerTagId","int"],["wantedlvl","int"]],"doc":"displays wanted star above head"},
{"name":"setMpGamerTagNumPackages","native":"SET_MP_GAMER_TAG_NUM_PACKAGES","hash":"0x9C16459B2324B2CF","params":[["gamerTagId","int"],["p1","int"]],"since":877,"aka":["_SET_MP_GAMER_TAG_UNK"]},
{"name":"setMpGamerTagName","native":"SET_MP_GAMER_TAG_NAME","hash":"0xDEA2B8283BAA3944","params":[["gamerTagId","int"],["string","string"]]},
{"name":"isUpdatingMpGamerTagNameAndCrewDetails","native":"IS_UPDATING_MP_GAMER_TAG_NAME_AND_CREW_DETAILS","hash":"0xEB709A36958ABE0D","params":[["gamerTagId","int"]],"ret":"BOOL","aka":["_HAS_MP_GAMER_TAG_2","_HAS_MP_GAMER_TAG_CREW_FLAGS_SET","_IS_VALID_MP_GAMER_TAG_MOVIE"]},
{"name":"setMpGamerTagBigText","native":"SET_MP_GAMER_TAG_BIG_TEXT","hash":"0x7B7723747CCB55B6","params":[["gamerTagId","int"],["string","string"]],"aka":["_SET_MP_GAMER_TAG_CHATTING"]},
{"name":"getCurrentWebpageId","native":"GET_CURRENT_WEBPAGE_ID","hash":"0x01A358D9128B7A86","ret":"int","aka":["_GET_ACTIVE_WEBSITE_ID"]},
{"name":"getCurrentWebsiteId","native":"GET_CURRENT_WEBSITE_ID","hash":"0x97D47996FC48CBAD","ret":"int"},
{"name":"getGlobalActionscriptFlag","native":"GET_GLOBAL_ACTIONSCRIPT_FLAG","hash":"0xE3B05614DCE1D014","params":[["flagIndex","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`flagIndex` must be between `0` and `19`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"Returns the ActionScript flagValue.\nActionScript flags are global flags that scaleforms use\nFlags found during testing\n0: Returns 1 if the web_browser keyboard is open, otherwise 0\n1: Returns 1 if the player has clicked back twice on the opening page, otherwise 0 (web_browser)\n2: Returns how many links the player has clicked in the web_browser scaleform, returns 0 when the browser gets closed\n9: Returns the current selection on the mobile phone scaleform\n\nThere are 20 flags in total."},
{"name":"resetGlobalActionscriptFlag","native":"RESET_GLOBAL_ACTIONSCRIPT_FLAG","hash":"0xB99C4E4D9499DF29","params":[["flagIndex","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`flagIndex` must be between `0` and `19`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"isWarningMessageReadyForControl","native":"IS_WARNING_MESSAGE_READY_FOR_CONTROL","hash":"0xAF42195A42C63BBA","ret":"BOOL","aka":["_IS_WARNING_MESSAGE_ACTIVE_2"]},
{"name":"setWarningMessage","native":"SET_WARNING_MESSAGE","hash":"0x7B1776B3B53F8D74","params":[["titleMsg","string"],["flags","int"],["promptMsg","string"],["p3","BOOL"],["p4","int"],["p5","string"],["p6","string"],["showBackground","BOOL"],["errorCode","int"]],"doc":"You can only use text entries. No custom text.\n\n```\nExample: setWarningMessage(\"t20\", 3, \"adder\", false, -1, 0, 0, true);\n```\n\nerrorCode: shows an error code at the bottom left if nonzero"},
{"name":"setWarningMessageWithHeader","native":"SET_WARNING_MESSAGE_WITH_HEADER","hash":"0xDC38CC1E35B6A5D7","params":[["entryHeader","string"],["entryLine1","string"],["instructionalKey","int"],["entryLine2","string"],["p4","BOOL"],["p5","Any"],["showBackground","Any*"],["p7","Any*"],["p8","BOOL"],["p9","Any"]],"blocked":"memory","aka":["_SET_WARNING_MESSAGE_2"],"doc":"Shows a warning message on screen with a header.\nNote: You can only use text entries. No custom text. You can recreate this easily with scaleforms.\nExample: https://i.imgur.com/ITJt8bJ.png"},
{"name":"setWarningMessageWithHeaderAndSubstringFlags","native":"SET_WARNING_MESSAGE_WITH_HEADER_AND_SUBSTRING_FLAGS","hash":"0x701919482C74B5AB","params":[["entryHeader","string"],["entryLine1","string"],["instructionalKey","int"],["entryLine2","string"],["p4","BOOL"],["p5","Any"],["additionalIntInfo","Any"],["additionalTextInfoLine1","string"],["additionalTextInfoLine2","string"],["showBackground","BOOL"],["errorCode","int"]],"aka":["_SET_WARNING_MESSAGE_3"],"doc":"You can use this native for custom input, without having to use any scaleform-related natives.\nThe native must be called on tick.\nThe entryHeader must be a valid label.\nFor Single lines use JL_INVITE_N as entryLine1, JL_INVITE_ND for multiple.\nNotes:\n- additionalIntInfo: replaces first occurrence of ~1~ in provided label with an integer\n- additionalTextInfoLine1: replaces first occurrence of ~a~ in provided label, with your custom text\n- additionalTextInfoLine2: replaces second occurrence of ~a~ in provided label, with your custom text\n- showBackground: shows black background of the warning screen\n- errorCode: shows an error code at the bottom left if nonzero\nExample of usage:\n\n```\nsetWarningMessageWithHeaderAndSubstringFlags(\"ALERT\", \"JL_INVITE_ND\", 66, \"\", true, -1, -1, \"Testing line 1\", \"Testing line 2\", true, 0);\n```\n\nScreenshot:\nhttps://i.imgur.com/MsSIhPV.png"},
{"name":"setWarningMessageWithHeaderExtended","native":"SET_WARNING_MESSAGE_WITH_HEADER_EXTENDED","hash":"0x38B55259C2E078ED","params":[["entryHeader","string"],["entryLine1","string"],["flags","int"],["entryLine2","string"],["p4","BOOL"],["p5","Any"],["p6","Any*"],["p7","Any*"],["showBg","BOOL"],["p9","Any"],["p10","Any"]],"blocked":"memory","since":1493,"aka":["_SET_WARNING_MESSAGE_WITH_HEADER_UNK"]},
{"name":"setWarningMessageWithHeaderAndSubstringFlagsExtended","native":"SET_WARNING_MESSAGE_WITH_HEADER_AND_SUBSTRING_FLAGS_EXTENDED","hash":"0x15803FEC3B9A872B","params":[["labelTitle","string"],["labelMessage","string"],["p2","int"],["p3","int"],["labelMessage2","string"],["p5","BOOL"],["p6","int"],["p7","int"],["p8","string"],["p9","string"],["background","BOOL"],["errorCode","int"]],"since":573,"aka":["_DRAW_FRONTEND_ALERT","_SET_WARNING_MESSAGE_WITH_ALERT"],"doc":"labelTitle: Label of the alert's title.\nlabelMsg: Label of the alert's message.\np2: This is an enum, check the description for a list.\np3: This is an enum, check the description for a list.\nlabelMsg2: Label of another message line\np5: usually 0\np6: usually -1\np7: usually 0\np8: unknown label\np9: unknown label\nbackground: Set to anything other than 0 or false (even any string) and it will draw a background. Setting it to 0 or false will draw no background.\nerrorCode: Error code, shown at the bottom left if set to value other than 0.\n\ninstructionalKey enum list:\n\n```\nButtons = {\n      Empty = 0,\n      Select = 1, -- (RETURN)\n      Ok = 2, -- (RETURN)\n      Yes = 4, -- (RETURN)\n      Back = 8, -- (ESC)\n      Cancel = 16, -- (ESC)\n      No = 32, -- (ESC)\n      RetrySpace = 64, -- (SPACE)\n      Restart = 128, -- (SPACE)\n      Skip = 256, -- (SPACE)\n      Quit = 512, -- (ESC)\n      Adjust = 1024, -- (ARROWS)\n      SpaceKey = 2048, -- (SPACE)\n      Share = 4096, -- (SPACE)\n      SignIn = 8192, -- (SPACE)\n      Continue = 16384, -- (RETURN)\n      AdjustLeftRight = 32768, -- (SCROLL L/R)\n      AdjustUpDown = 65536, -- (SCROLL U/D)\n      Overwrite = 131072, -- (SPACE)\n      SocialClubSignup = 262144, -- (RETURN)\n      Confirm = 524288, -- (RETURN)\n      Queue = 1048576, -- (RETURN)\n      RetryReturn = 2097152, -- (RETURN)\n      BackEsc = 4194304, -- (ESC)\n      SocialClub = 8388608, -- (RETURN)\n      Spectate = 16777216, -- (SPACE)\n      OkEsc = 33554432, -- (ESC)\n      CancelTransfer = 67108864, -- (ESC)\n      LoadingSpinner = 134217728,\n      NoReturnToGTA = 268435456, -- (ESC)\n      CancelEsc = 536870912, -- (ESC)\n}\n\nAlt = {\n      Empty = 0,\n      No = 1, -- (SPACE)\n      Host = 2, -- (ESC)\n      SearchForJob = 4, -- (RETURN)\n      ReturnKey = 8, -- (TURN)\n      Freemode = 16, -- (ESC)\n}\n```"},
{"name":"getWarningScreenMessageHash","native":"GET_WARNING_SCREEN_MESSAGE_HASH","hash":"0x81DF9ABA6C83DFF9","ret":"Hash","since":1290,"aka":["_GET_WARNING_MESSAGE_TITLE_HASH"],"doc":"Has to do with the confirmation overlay (E.g. confirm exit)"},
{"name":"setWarningMessageOptionItems","native":"SET_WARNING_MESSAGE_OPTION_ITEMS","hash":"0x0C5A80A9E096D529","params":[["index","int"],["name","string"],["cash","int"],["rp","int"],["lvl","int"],["colour","int"]],"ret":"BOOL","aka":["_SET_WARNING_MESSAGE_LIST_ROW"],"doc":"Some sort of list displayed in a warning message. Yet unknown how to prevent repeating.\nParam names copied from the corresponding scaleform function \"SET_LIST_ROW\".\nExample: https://i.imgur.com/arKvOYx.png"},
{"name":"setWarningMessageOptionHighlight","native":"SET_WARNING_MESSAGE_OPTION_HIGHLIGHT","hash":"0xDAF87174BE7454FF","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"removeWarningMessageOptionItems","native":"REMOVE_WARNING_MESSAGE_OPTION_ITEMS","hash":"0x6EF54AB721DC6242","aka":["_REMOVE_WARNING_MESSAGE_LIST_ITEMS"]},
{"name":"isWarningMessageActive","native":"IS_WARNING_MESSAGE_ACTIVE","hash":"0xE18B138FABC53103","ret":"BOOL","aka":["IS_MEDICAL_DISABLED"]},
{"name":"clearDynamicPauseMenuErrorMessage","native":"CLEAR_DYNAMIC_PAUSE_MENU_ERROR_MESSAGE","hash":"0x7792424AA0EAC32E"},
{"name":"customMinimapSetActive","native":"CUSTOM_MINIMAP_SET_ACTIVE","hash":"0x5354C5BA2EA868A4","params":[["toggle","BOOL"]],"aka":["_SET_MAP_FULL_SCREEN","_RACE_GALLERY_FULLSCREEN"],"doc":"If toggle is true, the map is shown in full screen\nIf toggle is false, the map is shown in normal mode"},
{"name":"customMinimapSetBlipObject","native":"CUSTOM_MINIMAP_SET_BLIP_OBJECT","hash":"0x1EAE6DD17B7A5EFA","params":[["spriteId","int"]],"aka":["_RACE_GALLERY_NEXT_BLIP_SPRITE"],"doc":"Sets the sprite of the next BLIP_GALLERY blip, values used in the native scripts: 143 (ObjectiveBlue), 144 (ObjectiveGreen), 145 (ObjectiveRed), 146 (ObjectiveYellow)."},
{"name":"customMinimapCreateBlip","native":"CUSTOM_MINIMAP_CREATE_BLIP","hash":"0x551DF99658DB6EE8","params":[["x","float"],["y","float"],["z","float"]],"ret":"int","aka":["_RACE_GALLERY_ADD_BLIP"],"doc":"Add a BLIP_GALLERY at the specific coordinate. Used in fm_maintain_transition_players to display race track points."},
{"name":"customMinimapClearBlips","native":"CUSTOM_MINIMAP_CLEAR_BLIPS","hash":"0x2708FC083123F9FF","aka":["_CLEAR_RACE_GALLERY_BLIPS"]},
{"name":"forceSonarBlipsThisFrame","native":"FORCE_SONAR_BLIPS_THIS_FRAME","hash":"0x1121BFA1A1A522A8","ret":"BOOL","doc":"Doesn't actually return anything."},
{"name":"getNorthBlidIndex","native":"GET_NORTH_BLID_INDEX","hash":"0x3F0CF9CB7E589B88","ret":"Blip","since":463,"aka":["_GET_NORTH_RADAR_BLIP"]},
{"name":"displayPlayerNameTagsOnBlips","native":"DISPLAY_PLAYER_NAME_TAGS_ON_BLIPS","hash":"0x82CEDC33687E1F50","params":[["toggle","BOOL"]],"doc":"Toggles whether or not name labels are shown on the expanded minimap next to player blips, like in GTA:O.\nDoesn't need to be called every frame.\n\nMake sure to call `setBlipCategory` with index 7 for this to work on the desired blip."},
{"name":"drawFrontendBackgroundThisFrame","native":"DRAW_FRONTEND_BACKGROUND_THIS_FRAME","hash":"0x211C4EF450086857","doc":"This native does absolutely nothing, just a nullsub"},
{"name":"drawHudOverFadeThisFrame","native":"DRAW_HUD_OVER_FADE_THIS_FRAME","hash":"0xBF4F34A85CA2970C"},
{"name":"activateFrontendMenu","native":"ACTIVATE_FRONTEND_MENU","hash":"0xEF01D36B9C9D0C7B","params":[["menuhash","Hash"],["togglePause","BOOL"],["component","int"]],"blocked":"frontend","doc":"Does stuff like this:\nhttps://i.gyazo.com/7fcb78ea3520e3dbc5b2c0c0f3712617.png\n\nExample:\n\n```\nint GetHash = getHashKey(\"fe_menu_version_corona_lobby\");\nactivateFrontendMenu(GetHash, 0, -1);\n```\n\nBOOL p1 is a toggle to define the game in pause.\nint p2 is unknown but -1 always works, not sure why though.\n\n[30/03/2017] ins1de :\n\nthe int p2 is actually a component variable. When the pause menu is visible, it opens the tab related to it.\n\nExample : Function.Call(Hash.ACTIVATE_FRONTEND_MENU,-1171018317, 0, 42);\nResult : Opens the \"Online\" tab without pausing the menu, with -1 it opens the map.Below is a list of all known Frontend Menu Hashes.\n- FE_MENU_VERSION_SP_PAUSE\n- FE_MENU_VERSION_MP_PAUSE\n- FE_MENU_VERSION_CREATOR_PAUSE\n- FE_MENU_VERSION_CUTSCENE_PAUSE\n- FE_MENU_VERSION_SAVEGAME\n- FE_MENU_VERSION_PRE_LOBBY\n- FE_MENU_VERSION_LOBBY\n- FE_MENU_VERSION_MP_CHARACTER_SELECT\n- FE_MENU_VERSION_MP_CHARACTER_CREATION\n- FE_MENU_VERSION_EMPTY\n- FE_MENU_VERSION_EMPTY_NO_BACKGROUND\n- FE_MENU_VERSION_TEXT_SELECTION\n- FE_MENU_VERSION_CORONA\n- FE_MENU_VERSION_CORONA_LOBBY\n- FE_MENU_VERSION_CORONA_JOINED_PLAYERS\n- FE_MENU_VERSION_CORONA_INVITE_PLAYERS\n- FE_MENU_VERSION_CORONA_INVITE_FRIENDS\n- FE_MENU_VERSION_CORONA_INVITE_CREWS\n- FE_MENU_VERSION_CORONA_INVITE_MATCHED_PLAYERS\n- FE_MENU_VERSION_CORONA_INVITE_LAST_JOB_PLAYERS\n- FE_MENU_VERSION_CORONA_RACE\n- FE_MENU_VERSION_CORONA_BETTING\n- FE_MENU_VERSION_JOINING_SCREEN\n- FE_MENU_VERSION_LANDING_MENU\n- FE_MENU_VERSION_LANDING_KEYMAPPING_MENU"},
{"name":"restartFrontendMenu","native":"RESTART_FRONTEND_MENU","hash":"0x10706DC6AD2D49C0","params":[["menuHash","Hash"],["p1","int"]],"blocked":"frontend","doc":"Before using this native click the native above and look at the decription.\n\nExample:\n\n```\nint GetHash = Function.Call<int>(Hash.GET_HASH_KEY, \"fe_menu_version_corona_lobby\");\nFunction.Call(Hash.ACTIVATE_FRONTEND_MENU, GetHash, 0, -1);\nFunction.Call(Hash.RESTART_FRONTEND_MENU(GetHash, -1);\n```\n\nThis native refreshes the frontend menu.\n\np1 = Hash of Menu\np2 = Unknown but always works with -1."},
{"name":"getCurrentFrontendMenuVersion","native":"GET_CURRENT_FRONTEND_MENU_VERSION","hash":"0x2309595AD6145265","ret":"Hash","aka":["_GET_CURRENT_FRONTEND_MENU"],"doc":"if (`getCurrentFrontendMenuVersion`() == joaat(\"fe_menu_version_empty_no_background\"))"},
{"name":"setPauseMenuActive","native":"SET_PAUSE_MENU_ACTIVE","hash":"0xDF47FC56C71569CF","params":[["toggle","BOOL"]],"blocked":"frontend"},
{"name":"disableFrontendThisFrame","native":"DISABLE_FRONTEND_THIS_FRAME","hash":"0x6D3465A73092F0E6"},
{"name":"suppressFrontendRenderingThisFrame","native":"SUPPRESS_FRONTEND_RENDERING_THIS_FRAME","hash":"0xBA751764F0821256"},
{"name":"allowPauseWhenNotInStateOfPlayThisFrame","native":"ALLOW_PAUSE_WHEN_NOT_IN_STATE_OF_PLAY_THIS_FRAME","hash":"0xCC3FDDED67BCFC63","aka":["_ALLOW_PAUSE_MENU_WHEN_DEAD_THIS_FRAME"],"doc":"Allows opening the pause menu this frame, when the player is dead."},
{"name":"setFrontendActive","native":"SET_FRONTEND_ACTIVE","hash":"0x745711A75AB09277","params":[["active","BOOL"]],"blocked":"frontend"},
{"name":"isPauseMenuActive","native":"IS_PAUSE_MENU_ACTIVE","hash":"0xB0034A223497FFCB","ret":"BOOL"},
{"name":"isStorePendingNetworkShutdownToOpen","native":"IS_STORE_PENDING_NETWORK_SHUTDOWN_TO_OPEN","hash":"0x2F057596F2BD0061","ret":"BOOL"},
{"name":"getPauseMenuState","native":"GET_PAUSE_MENU_STATE","hash":"0x272ACD84970869C5","ret":"int","doc":"Returns:\n\n0\n5\n10\n15\n20\n25\n30\n35"},
{"name":"getPauseMenuPosition","native":"GET_PAUSE_MENU_POSITION","hash":"0x5BFF36D6ED83E0AE","ret":"Vector3"},
{"name":"isPauseMenuRestarting","native":"IS_PAUSE_MENU_RESTARTING","hash":"0x1C491717107431C7","ret":"BOOL"},
{"name":"forceScriptedGfxWhenFrontendActive","native":"FORCE_SCRIPTED_GFX_WHEN_FRONTEND_ACTIVE","hash":"0x2162C446DFDF38FD","params":[["p0","string"]],"aka":["_LOG_DEBUG_INFO"],"doc":"Not present in retail version of the game"},
{"name":"pauseMenuceptionGoDeeper","native":"PAUSE_MENUCEPTION_GO_DEEPER","hash":"0x77F16B447824DA6C","params":[["page","int"]],"blocked":"frontend"},
{"name":"pauseMenuceptionTheKick","native":"PAUSE_MENUCEPTION_THE_KICK","hash":"0xCDCA26E80FAECB8F","blocked":"frontend"},
{"name":"pauseToggleFullscreenMap","native":"PAUSE_TOGGLE_FULLSCREEN_MAP","hash":"0x2DE6C5E2E996F178","params":[["p0","Any"]],"since":372},
{"name":"pauseMenuActivateContext","native":"PAUSE_MENU_ACTIVATE_CONTEXT","hash":"0xDD564BDD0472C936","params":[["contextHash","Hash"]],"blocked":"frontend","aka":["_ADD_FRONTEND_MENU_CONTEXT"],"doc":"Activates the specified frontend menu context.\npausemenu.xml defines some specific menu options using 'context'. Context is basically a 'condition'.\nThe `*ALL*` part of the context means that whatever is being defined, will be active when any or all of those conditions after `*ALL*` are met.\nThe `*NONE*` part of the context section means that whatever is being defined, will NOT be active if any or all of the conditions after `*NONE*` are met.\nThis basically allows you to hide certain menu sections, or things like instructional buttons."},
{"name":"pauseMenuDeactivateContext","native":"PAUSE_MENU_DEACTIVATE_CONTEXT","hash":"0x444D8CF241EC25C5","params":[["contextHash","Hash"]],"blocked":"frontend","aka":["OBJECT_DECAL_TOGGLE"]},
{"name":"pauseMenuIsContextActive","native":"PAUSE_MENU_IS_CONTEXT_ACTIVE","hash":"0x84698AB38D0C6636","params":[["contextHash","Hash"]],"ret":"BOOL"},
{"name":"pauseMenuIsContextMenuActive","native":"PAUSE_MENU_IS_CONTEXT_MENU_ACTIVE","hash":"0x2A25ADC48F87841F","ret":"BOOL"},
{"name":"pauseMenuGetHairColourIndex","native":"PAUSE_MENU_GET_HAIR_COLOUR_INDEX","hash":"0xDE03620F8703A9DF","ret":"int"},
{"name":"pauseMenuGetMouseHoverIndex","native":"PAUSE_MENU_GET_MOUSE_HOVER_INDEX","hash":"0x359AF31A4B52F5ED","ret":"int"},
{"name":"pauseMenuGetMouseHoverUniqueId","native":"PAUSE_MENU_GET_MOUSE_HOVER_UNIQUE_ID","hash":"0x13C4B962653A5280","ret":"int"},
{"name":"pauseMenuGetMouseClickEvent","native":"PAUSE_MENU_GET_MOUSE_CLICK_EVENT","hash":"0xC8E1071177A23BE5","params":[["p0","Any*"],["p1","Any*"],["p2","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"pauseMenuRedrawInstructionalButtons","native":"PAUSE_MENU_REDRAW_INSTRUCTIONAL_BUTTONS","hash":"0x4895BDEA16E7C080","params":[["p0","int"]],"aka":["ENABLE_DEATHBLOOD_SEETHROUGH"]},
{"name":"pauseMenuSetBusySpinner","native":"PAUSE_MENU_SET_BUSY_SPINNER","hash":"0xC78E239AC5B2DDB9","params":[["p0","BOOL"],["position","int"],["spinnerIndex","int"]]},
{"name":"pauseMenuSetWarnOnTabChange","native":"PAUSE_MENU_SET_WARN_ON_TAB_CHANGE","hash":"0xF06EBB91A81E09E3","params":[["p0","BOOL"]]},
{"name":"pauseMenuSetCloudBusySpinner","native":"PAUSE_MENU_SET_CLOUD_BUSY_SPINNER","params":[["TextLabel","string"],["bNoMenu","BOOL"],["bBlackBackground","BOOL"]],"na":1},
{"name":"pauseMenuClearCloudBusySpinner","native":"PAUSE_MENU_CLEAR_CLOUD_BUSY_SPINNER","na":1},
{"name":"isFrontendReadyForControl","native":"IS_FRONTEND_READY_FOR_CONTROL","hash":"0x3BAB9A4E4F2FF5C7","ret":"BOOL"},
{"name":"takeControlOfFrontend","native":"TAKE_CONTROL_OF_FRONTEND","hash":"0xEC9264727EEC0F28","doc":"Disables frontend (works in custom frontends, not sure about regular pause menu) navigation keys on keyboard. Not sure about controller. Does not disable mouse controls. No need to call this every tick.\n\nTo enable the keys again, use `0x14621BB1DF14E2B2`."},
{"name":"releaseControlOfFrontend","native":"RELEASE_CONTROL_OF_FRONTEND","hash":"0x14621BB1DF14E2B2","doc":"Enables frontend (works in custom frontends, not sure about regular pause menu) navigation keys on keyboard if they were disabled using the native below.\nTo disable the keys, use `0xEC9264727EEC0F28`"},
{"name":"codeWantsScriptToTakeControl","native":"CODE_WANTS_SCRIPT_TO_TAKE_CONTROL","hash":"0x66E7CB63C97B7D20","ret":"BOOL"},
{"name":"getScreenCodeWantsScriptToControl","native":"GET_SCREEN_CODE_WANTS_SCRIPT_TO_CONTROL","hash":"0x593FEAE1F73392D4","ret":"int"},
{"name":"isNavigatingMenuContent","native":"IS_NAVIGATING_MENU_CONTENT","hash":"0x4E3CD0EF8A489541","ret":"BOOL"},
{"name":"hasMenuTriggerEventOccurred","native":"HAS_MENU_TRIGGER_EVENT_OCCURRED","hash":"0xF284AC67940C6812","ret":"BOOL"},
{"name":"hasMenuLayoutChangedEventOccurred","native":"HAS_MENU_LAYOUT_CHANGED_EVENT_OCCURRED","hash":"0x2E22FEFA0100275E","ret":"BOOL"},
{"name":"setSavegameListUniqueId","native":"SET_SAVEGAME_LIST_UNIQUE_ID","hash":"0x0CF54F20DE43879C","params":[["p0","Any"]],"blocked":"saves"},
{"name":"getMenuTriggerEventDetails","native":"GET_MENU_TRIGGER_EVENT_DETAILS","hash":"0x36C1451A88A09630","outs":[["lastItemMenuId","int",0],["selectedItemUniqueId","int",1]],"aka":["_GET_PAUSE_MENU_SELECTION"]},
{"name":"getMenuLayoutChangedEventDetails","native":"GET_MENU_LAYOUT_CHANGED_EVENT_DETAILS","hash":"0x7E17BE53E1AAABAF","outs":[["lastItemMenuId","int",0,"this is the menuID of the last selected item minus 1000 (lastItem.menuID - 1000)"],["selectedItemMenuId","int",1,"same as lastItemMenuId except for the currently selected menu item"],["selectedItemUniqueId","int",2,"this is uniqueID of the currently selected menu item"]],"aka":["_GET_PAUSE_MENU_SELECTION_DATA"],"doc":"when the pausemenu is closed:\nlastItemMenuId = -1\nselectedItemMenuId = -1\nselectedItemUniqueId = 0\n\nwhen the header gains focus:\nlastItemMenuId updates as normal or 0 if the pausemenu was just opened\nselectedItemMenuId becomes a unique id for the pausemenu page that focus was taken from (?) or 0 if the pausemenu was just opened\nselectedItemUniqueId = -1\n\nwhen focus is moved from the header to a pausemenu page:\nlastItemMenuId becomes a unique id for the pausemenu page that focus was moved to (?)\nselectedItemMenuId = -1\nselectedItemUniqueId updates as normal"},
{"name":"getPmPlayerCrewColor","native":"GET_PM_PLAYER_CREW_COLOR","hash":"0xA238192F33110615","ret":"BOOL","outs":[["r","int",0],["g","int",1],["b","int",2]]},
{"name":"getMenuPedIntStat","native":"GET_MENU_PED_INT_STAT","hash":"0xEF4CED81CEBEDC6D","params":[["p0","Any"],["p1","Any*"]],"ret":"BOOL","blocked":"memory","aka":["SET_USERIDS_UIHIDDEN"]},
{"name":"getCharacterMenuPedIntStat","native":"GET_CHARACTER_MENU_PED_INT_STAT","hash":"0xCA6B2F7CE32AB653","params":[["p0","Any"],["p1","Any*"],["p2","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"getMenuPedMaskedIntStat","native":"GET_MENU_PED_MASKED_INT_STAT","hash":"0x90A6526CF0381030","params":[["statHash","Hash"],["mask","int"],["p3","BOOL"]],"ret":"BOOL","outs":[["outValue","int",1]]},
{"name":"getCharacterMenuPedMaskedIntStat","native":"GET_CHARACTER_MENU_PED_MASKED_INT_STAT","hash":"0x24A49BEAF468DC90","params":[["statHash","Hash"],["outValue","Any*"],["p2","int"],["mask","int"],["p4","BOOL"]],"ret":"BOOL","blocked":"memory"},
{"name":"getMenuPedFloatStat","native":"GET_MENU_PED_FLOAT_STAT","hash":"0x5FBD7095FE7AE57F","params":[["statHash","Hash"]],"ret":"BOOL","outs":[["outValue","float",1]]},
{"name":"getCharacterMenuPedFloatStat","native":"GET_CHARACTER_MENU_PED_FLOAT_STAT","hash":"0x8F08017F9D7C47BD","params":[["statHash","float"],["p2","BOOL"]],"ret":"BOOL","outs":[["outValue","float",1]]},
{"name":"getMenuPedBoolStat","native":"GET_MENU_PED_BOOL_STAT","hash":"0x052991E59076E4E4","params":[["statHash","Hash"]],"ret":"BOOL","outs":[["outValue","BOOL",1]],"doc":"p0 was always 0xAE2602A3."},
{"name":"clearPedInPauseMenu","native":"CLEAR_PED_IN_PAUSE_MENU","hash":"0x5E62BE5DC58E9E06"},
{"name":"givePedToPauseMenu","native":"GIVE_PED_TO_PAUSE_MENU","hash":"0xAC0BFBDC3BE00E14","params":[["ped","Ped"],["p1","int"]],"doc":"p1 is either 1 or 2 in the PC scripts."},
{"name":"setPauseMenuPedLighting","native":"SET_PAUSE_MENU_PED_LIGHTING","hash":"0x3CA6050692BC61B0","params":[["state","BOOL"]],"doc":"Toggles the light state for the pause menu ped in frontend menus.\n\nThis is used by R* in combination with `setPauseMenuPedSleepState` to toggle the \"offline\" or \"online\" state in the \"friends\" tab of the pause menu in GTA Online.\n\nExample:\nLights On: https://vespura.com/hi/i/2019-04-01_16-09_540ee_1015.png\nLights Off: https://vespura.com/hi/i/2019-04-01_16-10_8b5e7_1016.png"},
{"name":"setPauseMenuPedSleepState","native":"SET_PAUSE_MENU_PED_SLEEP_STATE","hash":"0xECF128344E9FF9F1","params":[["state","BOOL"]],"doc":"Toggles the pause menu ped sleep state for frontend menus.\n\nExample: https://vespura.com/hi/i/2019-04-01_15-51_8ed38_1014.gif\n\n`state` 0 will make the ped slowly fall asleep, 1 will slowly wake the ped up."},
{"name":"openOnlinePoliciesMenu","native":"OPEN_ONLINE_POLICIES_MENU","hash":"0x805D7CBB36FD6C4C","aka":["_SHOW_SOCIAL_CLUB_LEGAL_SCREEN"]},
{"name":"areOnlinePoliciesUpToDate","native":"ARE_ONLINE_POLICIES_UP_TO_DATE","hash":"0xF13FE2A80C05C561","ret":"BOOL"},
{"name":"isOnlinePoliciesMenuActive","native":"IS_ONLINE_POLICIES_MENU_ACTIVE","hash":"0x6F72CD94F7B5B68C","ret":"BOOL","doc":"Returns the same as `isSocialClubActive`"},
{"name":"openSocialClubMenu","native":"OPEN_SOCIAL_CLUB_MENU","hash":"0x75D3691713C3B05A","params":[["menu","Hash"]],"doc":"Uses the `SOCIAL_CLUB2` scaleform.\nmenu: GALLERY, MISSIONS, CREWS, MIGRATE, PLAYLISTS, JOBS"},
{"name":"closeSocialClubMenu","native":"CLOSE_SOCIAL_CLUB_MENU","hash":"0xD2B32BE3FC1626C6"},
{"name":"setSocialClubTour","native":"SET_SOCIAL_CLUB_TOUR","hash":"0x9E778248D6685FE0","params":[["name","string"]],"doc":"```\nsetSocialClubTour(\"Gallery\");\nsetSocialClubTour(\"Missions\");\nsetSocialClubTour(\"General\");\nsetSocialClubTour(\"Playlists\");\n```"},
{"name":"isSocialClubActive","native":"IS_SOCIAL_CLUB_ACTIVE","hash":"0xC406BE343FC4B9AF","ret":"BOOL"},
{"name":"setTextInputBoxEnabled","native":"SET_TEXT_INPUT_BOX_ENABLED","hash":"0x1185A8087587322C","params":[["p0","BOOL"]]},
{"name":"forceCloseTextInputBox","native":"FORCE_CLOSE_TEXT_INPUT_BOX","hash":"0x8817605C2BA76200","aka":["_FORCE_CLOSE_TEXT_INPUT_BOX"]},
{"name":"setAllowCommaOnTextInput","native":"SET_ALLOW_COMMA_ON_TEXT_INPUT","hash":"0x577599CCED639CA2","params":[["p0","Any"]],"since":505},
{"name":"overrideMpTextChatTeamString","native":"OVERRIDE_MP_TEXT_CHAT_TEAM_STRING","hash":"0x6A1738B4323FE2D9","params":[["gxtEntryHash","Hash"]],"since":573,"aka":["_OVERRIDE_MULTIPLAYER_CHAT_PREFIX"]},
{"name":"isMpTextChatTyping","native":"IS_MP_TEXT_CHAT_TYPING","hash":"0xB118AF58B5F332A1","ret":"BOOL","aka":["_IS_TEXT_CHAT_ACTIVE","_IS_MULTIPLAYER_CHAT_ACTIVE"],"doc":"Returns whether or not the text chat (MULTIPLAYER_CHAT Scaleform component) is active."},
{"name":"closeMpTextChat","native":"CLOSE_MP_TEXT_CHAT","hash":"0x1AC8F4AD40E22127","aka":["_ABORT_TEXT_CHAT","_CLOSE_MULTIPLAYER_CHAT"]},
{"name":"mpTextChatIsTeamJob","native":"MP_TEXT_CHAT_IS_TEAM_JOB","hash":"0x7C226D5346D4D10A","params":[["p0","Any"]],"since":372},
{"name":"overrideMpTextChatColor","native":"OVERRIDE_MP_TEXT_CHAT_COLOR","hash":"0xF47E567B3630DD12","params":[["p0","int"],["hudColor","int"]],"since":678,"aka":["_OVERRIDE_MULTIPLAYER_CHAT_COLOUR"]},
{"name":"mpTextChatDisable","native":"MP_TEXT_CHAT_DISABLE","hash":"0x1DB21A44B09E8BA3","params":[["toggle","BOOL"]],"aka":["_SET_TEXT_CHAT_UNK","_MULTIPLAYER_CHAT_SET_DISABLED"],"doc":"Hides the chat history, closes the input box and makes it unable to be opened unless called again with FALSE."},
{"name":"flagPlayerContextInTournament","native":"FLAG_PLAYER_CONTEXT_IN_TOURNAMENT","hash":"0xCEF214315D276FD1","params":[["toggle","BOOL"]],"aka":["_SET_IS_IN_TOURNAMENT"]},
{"name":"setPedHasAiBlip","native":"SET_PED_HAS_AI_BLIP","hash":"0xD30C50DF888D58B5","params":[["ped","Ped"],["hasCone","BOOL"]],"aka":["_SET_PED_ENEMY_AI_BLIP","_SET_PED_AI_BLIP"],"doc":"This native turns on the AI blip on the specified ped. It also disappears automatically when the ped is too far or if the ped is dead. You don't need to control it with other natives.\n\nSee https://gtaforums.com/topic/884370-native-research-ai-blips for further information."},
{"name":"setPedHasAiBlipWithColour","native":"SET_PED_HAS_AI_BLIP_WITH_COLOUR","hash":"0xB13DCB4C6FAAD238","params":[["ped","Ped"],["hasCone","BOOL"],["color","int","see `setBlipColour`"]],"since":505,"aka":["_SET_PED_HAS_AI_BLIP_WITH_COLOR"]},
{"name":"doesPedHaveAiBlip","native":"DOES_PED_HAVE_AI_BLIP","hash":"0x15B8ECF844EE67ED","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedAiBlipGangId","native":"SET_PED_AI_BLIP_GANG_ID","hash":"0xE52B8E7F85D39A08","params":[["ped","Ped"],["gangId","int"]],"aka":["_SET_AI_BLIP_TYPE"]},
{"name":"setPedAiBlipHasCone","native":"SET_PED_AI_BLIP_HAS_CONE","hash":"0x3EED80DFF7325CAA","params":[["ped","Ped"],["toggle","BOOL"]],"aka":["HIDE_SPECIAL_ABILITY_LOCKON_OPERATION"]},
{"name":"setPedAiBlipForcedOn","native":"SET_PED_AI_BLIP_FORCED_ON","hash":"0x0C4BBF625CA98C4E","params":[["ped","Ped"],["toggle","BOOL"]],"aka":["_IS_AI_BLIP_ALWAYS_SHOWN"]},
{"name":"setPedAiBlipNoticeRange","native":"SET_PED_AI_BLIP_NOTICE_RANGE","hash":"0x97C65887D4B37FA9","params":[["ped","Ped"],["range","float"]],"aka":["_SET_AI_BLIP_MAX_DISTANCE"]},
{"name":"setPedAiBlipSprite","native":"SET_PED_AI_BLIP_SPRITE","hash":"0xFCFACD0DB9D7A57D","params":[["ped","Ped"],["spriteId","int"]],"since":877,"aka":["_SET_PED_AI_BLIP_SPRITE"]},
{"name":"getAiPedPedBlipIndex","native":"GET_AI_PED_PED_BLIP_INDEX","hash":"0x7CD934010E115C2C","params":[["ped","Ped"]],"ret":"Blip","aka":["_GET_AI_BLIP_2"]},
{"name":"getAiPedVehicleBlipIndex","native":"GET_AI_PED_VEHICLE_BLIP_INDEX","hash":"0x56176892826A4FE8","params":[["ped","Ped"]],"ret":"Blip","aka":["_GET_AI_BLIP"],"doc":"Returns the current AI BLIP for the specified ped"},
{"name":"hasDirectorModeBeenLaunchedByCode","native":"HAS_DIRECTOR_MODE_BEEN_LAUNCHED_BY_CODE","hash":"0xA277800A9EAE340E","ret":"BOOL","aka":["_HAS_DIRECTOR_MODE_BEEN_TRIGGERED"]},
{"name":"setDirectorModeLaunchedByScript","native":"SET_DIRECTOR_MODE_LAUNCHED_BY_SCRIPT","hash":"0x2632482FD6B9AB87","aka":["_SET_DIRECTOR_MODE_CLEAR_TRIGGERED_FLAG"]},
{"name":"setPlayerIsInDirectorMode","native":"SET_PLAYER_IS_IN_DIRECTOR_MODE","hash":"0x808519373FD336A3","params":[["toggle","BOOL"]],"aka":["_SET_DIRECTOR_MODE","_SET_PLAYER_IS_IN_DIRECTOR_MODE"],"doc":"If toggle is true, hides special ability bar / character name in the pause menu\nIf toggle is false, shows special ability bar / character name in the pause menu"},
{"name":"setDirectorModeAvailable","native":"SET_DIRECTOR_MODE_AVAILABLE","hash":"0x04655F9D075D0AE5","params":[["toggle","BOOL"]]},
{"name":"hideHudmarkersThisFrame","native":"HIDE_HUDMARKERS_THIS_FRAME","hash":"0x243296A510B562B6","since":2060}
]},
{"id":"IIS","title":"IIS","doc":"The initial interactive screen shown when the game starts.","natives":[
{"name":"setShouldLaunchIis","native":"SET_SHOULD_LAUNCH_IIS","na":1}
]},
{"id":"INTERIOR","title":"Interior","doc":"Interiors, rooms and entity sets.","natives":[
{"name":"getInteriorHeading","native":"GET_INTERIOR_HEADING","hash":"0xF49B58631D9E22D9","params":[["interior","Interior"]],"ret":"float","since":1493,"aka":["_GET_INTERIOR_HEADING"]},
{"name":"getInteriorLocationAndNamehash","native":"GET_INTERIOR_LOCATION_AND_NAMEHASH","hash":"0x252BDC06B73FA6EA","params":[["interior","Interior"]],"outs":[["position","Vector3",1],["nameHash","Hash",2]],"since":1290,"aka":["_GET_INTERIOR_INFO"]},
{"name":"getInteriorGroupId","native":"GET_INTERIOR_GROUP_ID","hash":"0xE4A84ABF135EF91A","params":[["interior","Interior"]],"ret":"int","doc":"Returns the group ID of the specified interior.\n0 = default\n1 = subway station, subway tracks, sewers\n3 = train tunnel under mirror park\n5 = tunnel near del perro\n6 = train tunnel near chilliad\n7 = train tunnel near josiah\n8 = train tunnel in sandy shores\n9 = braddock tunnel (near chilliad)\n12 = tunnel under fort zancudo\n14 = train tunnel under cypress flats\n18 = rockford plaza parking garage\n19 = arcadius parking garage\n20 = union depository parking garage\n21 = fib parking garage"},
{"name":"getOffsetFromInteriorInWorldCoords","native":"GET_OFFSET_FROM_INTERIOR_IN_WORLD_COORDS","hash":"0x9E3B3E6D66F6E22F","params":[["interior","Interior"],["x","float"],["y","float"],["z","float"]],"ret":"Vector3"},
{"name":"isInteriorScene","native":"IS_INTERIOR_SCENE","hash":"0xBC72B5D7A1CBD54D","ret":"BOOL"},
{"name":"isValidInterior","native":"IS_VALID_INTERIOR","hash":"0x26B0E73D7EAAF4D3","params":[["interior","Interior"]],"ret":"BOOL"},
{"name":"clearRoomForEntity","native":"CLEAR_ROOM_FOR_ENTITY","hash":"0xB365FC0C4E27FFA7","params":[["entity","Entity"]]},
{"name":"forceRoomForEntity","native":"FORCE_ROOM_FOR_ENTITY","hash":"0x52923C4710DD9907","params":[["entity","Entity"],["interior","Interior"],["roomHashKey","Hash"]]},
{"name":"getRoomKeyFromEntity","native":"GET_ROOM_KEY_FROM_ENTITY","hash":"0x47C2A06D4F5F424B","params":[["entity","Entity"]],"ret":"Hash","doc":"Gets the room hash key from the room that the specified entity is in. Each room in every interior has a unique key. Returns 0 if the entity is outside."},
{"name":"getKeyForEntityInRoom","native":"GET_KEY_FOR_ENTITY_IN_ROOM","hash":"0x399685DB942336BC","params":[["entity","Entity"]],"ret":"Hash","doc":"Seems to do the exact same as `getRoomKeyFromEntity`"},
{"name":"getInteriorFromEntity","native":"GET_INTERIOR_FROM_ENTITY","hash":"0x2107BA504071A6BB","params":[["entity","Entity"]],"ret":"Interior","doc":"Returns the handle of the interior that the entity is in. Returns 0 if outside."},
{"name":"retainEntityInInterior","native":"RETAIN_ENTITY_IN_INTERIOR","hash":"0x82EBB79E258FA2B7","params":[["entity","Entity"],["interior","Interior"]]},
{"name":"clearInteriorStateOfEntity","native":"CLEAR_INTERIOR_STATE_OF_ENTITY","hash":"0x85D5422B2039A70D","params":[["entity","Entity"]],"since":2189,"aka":["_CLEAR_INTERIOR_FOR_ENTITY"],"doc":"Immediately removes entity from an interior. Like sets entity to `limbo` room."},
{"name":"forceActivatingTrackingOnEntity","native":"FORCE_ACTIVATING_TRACKING_ON_ENTITY","hash":"0x38C1CB1CB119A016","params":[["p0","Any"],["p1","Any"]],"since":1493},
{"name":"forceRoomForGameViewport","native":"FORCE_ROOM_FOR_GAME_VIEWPORT","hash":"0x920D853F3E17F1DA","params":[["interiorID","int"],["roomHashKey","Hash"]]},
{"name":"setRoomForGameViewportByName","native":"SET_ROOM_FOR_GAME_VIEWPORT_BY_NAME","hash":"0xAF348AFCB575A441","params":[["roomName","string"]],"doc":"Example of use (carmod_shop)\n\n```\nsetRoomForGameViewportByName(\"V_CarModRoom\");\n```"},
{"name":"setRoomForGameViewportByKey","native":"SET_ROOM_FOR_GAME_VIEWPORT_BY_KEY","hash":"0x405DC2AEF6AF95B9","params":[["roomHashKey","Hash"]],"doc":"```\nUsage: setRoomForGameViewportByKey(getKeyForEntityInRoom(playerPedId()));\n```"},
{"name":"getRoomKeyForGameViewport","native":"GET_ROOM_KEY_FOR_GAME_VIEWPORT","hash":"0xA6575914D2A0B450","ret":"Hash","aka":["_GET_ROOM_KEY_FROM_GAMEPLAY_CAM"]},
{"name":"clearRoomForGameViewport","native":"CLEAR_ROOM_FOR_GAME_VIEWPORT","hash":"0x23B59D8912F94246"},
{"name":"getInteriorFromPrimaryView","native":"GET_INTERIOR_FROM_PRIMARY_VIEW","hash":"0xE7D267EC6CA966C3","ret":"Interior","since":1604,"aka":["_GET_INTERIOR_FROM_GAMEPLAY_CAM"],"doc":"Returns the current interior id from gameplay camera"},
{"name":"getInteriorAtCoords","native":"GET_INTERIOR_AT_COORDS","hash":"0xB0F7F8663821D9C3","params":[["x","float"],["y","float"],["z","float"]],"ret":"Interior","doc":"Returns interior ID from specified coordinates. If coordinates are outside, then it returns 0.\n\nExample for VB.NET\nDim interiorID As Integer = Native.Function.Call(Of Integer)(Hash.GET_INTERIOR_AT_COORDS, X, Y, Z)"},
{"name":"addPickupToInteriorRoomByName","native":"ADD_PICKUP_TO_INTERIOR_ROOM_BY_NAME","hash":"0x3F6167F351168730","params":[["pickup","Pickup"],["roomName","string"]]},
{"name":"pinInteriorInMemory","native":"PIN_INTERIOR_IN_MEMORY","hash":"0x2CA429C029CCF247","params":[["interior","Interior"]],"aka":["_LOAD_INTERIOR"]},
{"name":"unpinInterior","native":"UNPIN_INTERIOR","hash":"0x261CCE7EED010641","params":[["interior","Interior"]],"doc":"Does something similar to `disableInterior`.\n\nYou don't fall through the floor but everything is invisible inside and looks the same as when `disableInterior` is used. Peds behaves normally inside."},
{"name":"isInteriorReady","native":"IS_INTERIOR_READY","hash":"0x6726BDCCC1932F0E","params":[["interior","Interior"]],"ret":"BOOL"},
{"name":"setInteriorInUse","native":"SET_INTERIOR_IN_USE","hash":"0x4C2330E61D3DEB56","params":[["interior","Interior"]],"ret":"BOOL","doc":"Only used once in the entire game scripts.\nDoes not actually return anything."},
{"name":"getInteriorAtCoordsWithType","native":"GET_INTERIOR_AT_COORDS_WITH_TYPE","hash":"0x05B7A89BD78797FC","params":[["x","float"],["y","float"],["z","float"],["interiorType","string"]],"ret":"Interior","doc":"Returns the interior ID representing the requested interior at that location (if found?). The supplied interior string is not the same as the one used to load the interior.\n\nUse: `unpinInterior`(`getInteriorAtCoordsWithType`(x, y, z, interior))\n\nInterior types include: \"V_Michael\", \"V_Franklins\", \"V_Franklinshouse\", etc.. you can find them in the scripts.\n\nNot a very useful native as you could just use `getInteriorAtCoords` instead and get the same result, without even having to specify the interior type."},
{"name":"getInteriorAtCoordsWithTypehash","native":"GET_INTERIOR_AT_COORDS_WITH_TYPEHASH","hash":"0xF0F77ADB9F67E79D","params":[["x","float"],["y","float"],["z","float"],["typeHash","Hash"]],"ret":"Interior","aka":["_UNK_GET_INTERIOR_AT_COORDS"],"doc":"Hashed version of `getInteriorAtCoordsWithType`"},
{"name":"activateInteriorGroupsUsingCamera","native":"ACTIVATE_INTERIOR_GROUPS_USING_CAMERA","hash":"0x483ACA1176CA93F1","since":1103},
{"name":"isCollisionMarkedOutside","native":"IS_COLLISION_MARKED_OUTSIDE","hash":"0xEEA5AC2EDA7C33E8","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","aka":["_ARE_COORDS_COLLIDING_WITH_EXTERIOR"],"doc":"Returns true if the collision at the specified coords is marked as being outside (false if there's an interior)"},
{"name":"getInteriorFromCollision","native":"GET_INTERIOR_FROM_COLLISION","hash":"0xEC4CF9FCB29A4424","params":[["x","float"],["y","float"],["z","float"]],"ret":"Interior"},
{"name":"enableStadiumProbesThisFrame","native":"ENABLE_STADIUM_PROBES_THIS_FRAME","hash":"0x7ECDF98587E92DEC","params":[["toggle","BOOL"]],"since":1604},
{"name":"activateInteriorEntitySet","native":"ACTIVATE_INTERIOR_ENTITY_SET","hash":"0x55E86AF2712B36A1","params":[["interior","Interior"],["entitySetName","string"]],"aka":["_ENABLE_INTERIOR_PROP"],"doc":"More info: https://gtaforums.com/topic/836367-adding-props-to-interiors/\n\nFull list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json"},
{"name":"deactivateInteriorEntitySet","native":"DEACTIVATE_INTERIOR_ENTITY_SET","hash":"0x420BD37289EEE162","params":[["interior","Interior"],["entitySetName","string"]],"aka":["_DISABLE_INTERIOR_PROP"],"doc":"Full list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json"},
{"name":"isInteriorEntitySetActive","native":"IS_INTERIOR_ENTITY_SET_ACTIVE","hash":"0x35F7DD45E8C0A16D","params":[["interior","Interior"],["entitySetName","string"]],"ret":"BOOL","aka":["_IS_INTERIOR_PROP_ENABLED"],"doc":"Full list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json"},
{"name":"setInteriorEntitySetTintIndex","native":"SET_INTERIOR_ENTITY_SET_TINT_INDEX","hash":"0xC1F1920BAF281317","params":[["interior","Interior"],["entitySetName","string"],["color","int"]],"since":877,"aka":["_SET_INTERIOR_PROP_COLOR","_SET_INTERIOR_ENTITY_SET_COLOR"],"doc":"Full list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json"},
{"name":"refreshInterior","native":"REFRESH_INTERIOR","hash":"0x41F37C3427C75AE0","params":[["interior","Interior"]]},
{"name":"enableExteriorCullModelThisFrame","native":"ENABLE_EXTERIOR_CULL_MODEL_THIS_FRAME","hash":"0xA97F257D0151A6AB","params":[["mapObjectHash","Hash"]],"aka":["_HIDE_MAP_OBJECT_THIS_FRAME"],"doc":"This is the native that is used to hide the exterior of GTA Online apartment buildings when you are inside an apartment.\n\nMore info: https://gtaforums.com/topic/836301-hiding-gta-online-apartment-exteriors/"},
{"name":"enableShadowCullModelThisFrame","native":"ENABLE_SHADOW_CULL_MODEL_THIS_FRAME","hash":"0x50C375537449F369","params":[["mapObjectHash","Hash"]],"since":757,"aka":["_ENABLE_SCRIPT_CULL_MODEL_THIS_FRAME"]},
{"name":"disableInterior","native":"DISABLE_INTERIOR","hash":"0x6170941419D7D8EC","params":[["interior","Interior"],["toggle","BOOL"]]},
{"name":"isInteriorDisabled","native":"IS_INTERIOR_DISABLED","hash":"0xBC5115A5A939DD15","params":[["interior","Interior"]],"ret":"BOOL"},
{"name":"capInterior","native":"CAP_INTERIOR","hash":"0xD9175F941610DB54","params":[["interior","Interior"],["toggle","BOOL"]],"doc":"Does something similar to `disableInterior`"},
{"name":"isInteriorCapped","native":"IS_INTERIOR_CAPPED","hash":"0x92BAC8ACF88CEC26","params":[["interior","Interior"]],"ret":"BOOL"},
{"name":"disableMetroSystem","native":"DISABLE_METRO_SYSTEM","hash":"0x9E6542F0CE8E70A3","params":[["toggle","BOOL"]]},
{"name":"setIsExteriorOnly","native":"SET_IS_EXTERIOR_ONLY","hash":"0x7241CCB7D020DB69","params":[["entity","Entity"],["toggle","BOOL"]],"since":791,"doc":"Jenkins hash _might_ be 0xFC227584."}
]},
{"id":"ITEMSET","title":"Item sets","doc":"Script-side collections of entities and other items.","natives":[
{"name":"createItemset","native":"CREATE_ITEMSET","hash":"0x35AD299F50D91B24","params":[["p0","BOOL"]],"ret":"ScrHandle"},
{"name":"destroyItemset","native":"DESTROY_ITEMSET","hash":"0xDE18220B1C183EDA","params":[["itemset","ScrHandle"]]},
{"name":"isItemsetValid","native":"IS_ITEMSET_VALID","hash":"0xB1B1EA596344DFAB","params":[["itemset","ScrHandle"]],"ret":"BOOL"},
{"name":"addToItemset","native":"ADD_TO_ITEMSET","hash":"0xE3945201F14637DD","params":[["item","ScrHandle"],["itemset","ScrHandle"]],"ret":"BOOL"},
{"name":"removeFromItemset","native":"REMOVE_FROM_ITEMSET","hash":"0x25E68244B0177686","params":[["item","ScrHandle"],["itemset","ScrHandle"]]},
{"name":"getItemsetSize","native":"GET_ITEMSET_SIZE","hash":"0xD9127E83ABF7C631","params":[["itemset","ScrHandle"]],"ret":"int"},
{"name":"getIndexedItemInItemset","native":"GET_INDEXED_ITEM_IN_ITEMSET","hash":"0x7A197E2521EE2BAB","params":[["index","int"],["itemset","ScrHandle"]],"ret":"ScrHandle"},
{"name":"isInItemset","native":"IS_IN_ITEMSET","hash":"0x2D0FC594D1E9C107","params":[["item","ScrHandle"],["itemset","ScrHandle"]],"ret":"BOOL"},
{"name":"cleanItemset","native":"CLEAN_ITEMSET","hash":"0x41BC0D722FC04221","params":[["itemset","ScrHandle"]]}
]},
{"id":"LANDINGPAGE","title":"Landing page","doc":"The game's landing page.","natives":[
{"name":"isLandingPageActive","native":"IS_LANDING_PAGE_ACTIVE","ret":"BOOL","na":1},
{"name":"setShouldLaunchLandingPage","native":"SET_SHOULD_LAUNCH_LANDING_PAGE","params":[["entrypointId","int"]],"na":1},
{"name":"setShouldDismissLandingPage","native":"SET_SHOULD_DISMISS_LANDING_PAGE","na":1},
{"name":"getLandingPageSelectedCharacterSlot","native":"GET_LANDING_PAGE_SELECTED_CHARACTER_SLOT","ret":"int","na":1}
]},
{"id":"LOBBY","title":"Lobby","doc":"Legacy lobby state of the game's own multiplayer menu.","natives":[
{"name":"lobbyAutoMultiplayerMenu","native":"LOBBY_AUTO_MULTIPLAYER_MENU","hash":"0xF2CA003F167E21D2","ret":"BOOL","blocked":"online","aka":["_RETURN_ZERO"],"doc":"This function is hard-coded to always return 0."},
{"name":"lobbyAutoMultiplayerFreemode","native":"LOBBY_AUTO_MULTIPLAYER_FREEMODE","hash":"0xEF7D17BC6C85264C","ret":"BOOL","blocked":"online","aka":["_LOADINGSCREEN_GET_LOAD_FREEMODE"]},
{"name":"lobbySetAutoMultiplayer","native":"LOBBY_SET_AUTO_MULTIPLAYER","hash":"0xB0C56BD3D808D863","params":[["toggle","BOOL"]],"blocked":"online","aka":["_GET_BROADCAST_FINSHED_LOS_SOUND","_LOADINGSCREEN_SET_LOAD_FREEMODE"]},
{"name":"lobbyAutoMultiplayerEvent","native":"LOBBY_AUTO_MULTIPLAYER_EVENT","hash":"0x8AA464D4E0F6ACCD","ret":"BOOL","blocked":"online","aka":["_LOADINGSCREEN_GET_LOAD_FREEMODE_WITH_EVENT_NAME"]},
{"name":"lobbySetAutoMultiplayerEvent","native":"LOBBY_SET_AUTO_MULTIPLAYER_EVENT","hash":"0xFC309E94546FCDB5","params":[["toggle","BOOL"]],"blocked":"online","aka":["_IS_IN_LOADING_SCREEN","_LOADINGSCREEN_SET_LOAD_FREEMODE_WITH_EVENT_NAME"]},
{"name":"lobbyAutoMultiplayerRandomJob","native":"LOBBY_AUTO_MULTIPLAYER_RANDOM_JOB","hash":"0xC6DC823253FBB366","ret":"BOOL","blocked":"online","aka":["_IS_UI_LOADING_MULTIPLAYER","_LOADINGSCREEN_IS_LOADING_FREEMODE"]},
{"name":"lobbySetAutoMpRandomJob","native":"LOBBY_SET_AUTO_MP_RANDOM_JOB","hash":"0xC7E7181C09F33B69","params":[["toggle","BOOL"]],"blocked":"online","aka":["_LOADINGSCREEN_SET_IS_LOADING_FREEMODE"]},
{"name":"shutdownSessionClearsAutoMultiplayer","native":"SHUTDOWN_SESSION_CLEARS_AUTO_MULTIPLAYER","hash":"0xFA1E0E893D915215","params":[["toggle","BOOL"]],"blocked":"online"}
]},
{"id":"LOCALIZATION","title":"Localization","doc":"Language and region of the game.","natives":[
{"name":"localizationGetSystemLanguage","native":"LOCALIZATION_GET_SYSTEM_LANGUAGE","hash":"0x497420E022796B3F","ret":"int","since":877,"aka":["_LOCALIZATION_GET_SYSTEM_LANGUAGE"],"doc":"Same return values as `getCurrentLanguage`"},
{"name":"getCurrentLanguage","native":"GET_CURRENT_LANGUAGE","hash":"0x2BDD44CC428A7EAE","ret":"int","aka":["_GET_UI_LANGUAGE_ID","_GET_CURRENT_LANGUAGE_ID"],"doc":"0 = american (en-US)\n1 = french (fr-FR)\n2 = german (de-DE)\n3 = italian (it-IT)\n4 = spanish (es-ES)\n5 = brazilian (pt-BR)\n6 = polish (pl-PL)\n7 = russian (ru-RU)\n8 = korean (ko-KR)\n9 = chinesetrad (zh-TW)\n10 = japanese (ja-JP)\n11 = mexican (es-MX)\n12 = chinesesimp (zh-CN)"},
{"name":"localizationGetSystemDateType","native":"LOCALIZATION_GET_SYSTEM_DATE_TYPE","hash":"0xA8AE43AEC1A61314","ret":"int","aka":["_GET_USER_LANGUAGE_ID","_LOCALIZATION_GET_SYSTEM_DATE_FORMAT"],"doc":"Possible return values: 0, 1, 2"}
]},
{"id":"MISC","title":"Misc","doc":"Everything without a better home: weather, ground and area checks, maths, hashing, strings, game flow.","natives":[
{"name":"getAllocatedStackSize","native":"GET_ALLOCATED_STACK_SIZE","hash":"0x8B3CA62B1EF19B62","ret":"int"},
{"name":"getNumberOfFreeStacksOfThisSize","native":"GET_NUMBER_OF_FREE_STACKS_OF_THIS_SIZE","hash":"0xFEAD16FC8F9DFC0F","params":[["stackSize","int"]],"ret":"int","aka":["_GET_FREE_STACK_SLOTS_COUNT"]},
{"name":"setRandomSeed","native":"SET_RANDOM_SEED","hash":"0x444D98F98C11F3EC","params":[["seed","int"]]},
{"name":"setTimeScale","native":"SET_TIME_SCALE","hash":"0x1D408577D440E81E","params":[["timeScale","float"]],"doc":"Maximum value is 1.\nAt a value of 0 the game will still run at a minimum time scale.\n\nSlow Motion 1: 0.6\nSlow Motion 2: 0.4\nSlow Motion 3: 0.2"},
{"name":"setMissionFlag","native":"SET_MISSION_FLAG","hash":"0xC4301E5121A0ED73","params":[["toggle","BOOL"]],"doc":"If true, the player can't save the game.\n\nIf the parameter is true, sets the mission flag to true, if the parameter is false, the function does nothing at all.\n\n^ also, if the mission flag is already set, the function does nothing at all"},
{"name":"getMissionFlag","native":"GET_MISSION_FLAG","hash":"0xA33CDCCDA663159E","ret":"BOOL"},
{"name":"setRandomEventFlag","native":"SET_RANDOM_EVENT_FLAG","hash":"0x971927086CFD2158","params":[["toggle","BOOL"]],"doc":"If the parameter is true, sets the random event flag to true, if the parameter is false, the function does nothing at all.\nDoes nothing if the mission flag is set."},
{"name":"getRandomEventFlag","native":"GET_RANDOM_EVENT_FLAG","hash":"0xD2D57F1D764117B1","ret":"BOOL"},
{"name":"getContentToLoad","native":"GET_CONTENT_TO_LOAD","hash":"0x24DA7D7667FD7B09","ret":"string","aka":["_GET_GLOBAL_CHAR_BUFFER"],"doc":"Returns pointer to an empty string."},
{"name":"activityFeedCreate","native":"ACTIVITY_FEED_CREATE","hash":"0x4DCDF92BF64236CD","params":[["p0","string"],["p1","string"]],"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedAddSubstringToCaption","native":"ACTIVITY_FEED_ADD_SUBSTRING_TO_CAPTION","hash":"0x31125FD509D9043F","params":[["p0","string"]],"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedAddLiteralSubstringToCaption","native":"ACTIVITY_FEED_ADD_LITERAL_SUBSTRING_TO_CAPTION","hash":"0xEBD3205A207939ED","params":[["p0","string"]],"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedAddIntToCaption","native":"ACTIVITY_FEED_ADD_INT_TO_CAPTION","hash":"0x97E7E2C04245115B","params":[["p0","Any"]],"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedLargeImageUrl","native":"ACTIVITY_FEED_LARGE_IMAGE_URL","hash":"0x916CA67D26FD1E37","params":[["p0","string"]],"since":2060,"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedActionStartWithCommandLine","native":"ACTIVITY_FEED_ACTION_START_WITH_COMMAND_LINE","hash":"0xEB078CA2B5E82ADD","params":[["p0","string"],["p1","string"]],"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedActionStartWithCommandLineAdd","native":"ACTIVITY_FEED_ACTION_START_WITH_COMMAND_LINE_ADD","hash":"0x703CC7F60CBB2B57","params":[["p0","string"]],"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedPost","native":"ACTIVITY_FEED_POST","hash":"0x8951EB9C6906D3C8","doc":"Does nothing (it's a nullsub). Seems to be PS4 specific."},
{"name":"activityFeedOnlinePlayedWithPost","native":"ACTIVITY_FEED_ONLINE_PLAYED_WITH_POST","hash":"0xBA4B8D83BDC75551","params":[["p0","string"]],"doc":"Does nothing (it's a nullsub). Seems to be PS4 specific.\n\nUsed only once in the scripts (ingamehud) with p0 = \"AF_GAMEMODE\""},
{"name":"hasResumedFromSuspend","native":"HAS_RESUMED_FROM_SUSPEND","hash":"0xE8B9C0EC9E183F35","ret":"BOOL","aka":["_HAS_RESUMED_FROM_SUSPEND"],"doc":"Hardcoded to return false."},
{"name":"setScriptHighPrio","native":"SET_SCRIPT_HIGH_PRIO","hash":"0x65D2EBB47E1CEC21","params":[["toggle","BOOL"]]},
{"name":"setThisIsATriggerScript","native":"SET_THIS_IS_A_TRIGGER_SCRIPT","hash":"0x6F2135B6129620C1","params":[["toggle","BOOL"]]},
{"name":"informCodeOfContentIdOfCurrentUgcMission","native":"INFORM_CODE_OF_CONTENT_ID_OF_CURRENT_UGC_MISSION","hash":"0x8D74E26F54B4E5C3","params":[["p0","string"]]},
{"name":"getBaseElementLocationFromMetadataBlock","native":"GET_BASE_ELEMENT_LOCATION_FROM_METADATA_BLOCK","hash":"0xB335F761606DB47C","params":[["p0","Any*"],["p1","Any*"],["p2","Any"],["p3","BOOL"]],"ret":"BOOL","blocked":"memory","aka":["_GET_BASE_ELEMENT_METADATA"]},
{"name":"getPrevWeatherTypeHashName","native":"GET_PREV_WEATHER_TYPE_HASH_NAME","hash":"0x564B884A05EC45A3","ret":"Hash","aka":["_GET_PREV_WEATHER_TYPE"],"doc":"Returns current weather name hash"},
{"name":"getNextWeatherTypeHashName","native":"GET_NEXT_WEATHER_TYPE_HASH_NAME","hash":"0x711327CD09C8F162","ret":"Hash","aka":["_GET_NEXT_WEATHER_TYPE"],"doc":"Returns weather name hash"},
{"name":"isPrevWeatherType","native":"IS_PREV_WEATHER_TYPE","hash":"0x44F28F86433B10A9","params":[["weatherType","string"]],"ret":"BOOL"},
{"name":"isNextWeatherType","native":"IS_NEXT_WEATHER_TYPE","hash":"0x2FAA3A30BEC0F25D","params":[["weatherType","string"]],"ret":"BOOL"},
{"name":"setWeatherTypePersist","native":"SET_WEATHER_TYPE_PERSIST","hash":"0x704983DF373B198F","params":[["weatherType","string"]],"blocked":"worldState","doc":"The following weatherTypes are used in the scripts:\n\"CLEAR\"\n\"EXTRASUNNY\"\n\"CLOUDS\"\n\"OVERCAST\"\n\"RAIN\"\n\"CLEARING\"\n\"THUNDER\"\n\"SMOG\"\n\"FOGGY\"\n\"XMAS\"\n\"SNOW\"\n\"SNOWLIGHT\"\n\"BLIZZARD\"\n\"HALLOWEEN\"\n\"NEUTRAL\""},
{"name":"setWeatherTypeNowPersist","native":"SET_WEATHER_TYPE_NOW_PERSIST","hash":"0xED712CA327900C8A","params":[["weatherType","string"]],"blocked":"worldState","doc":"The following weatherTypes are used in the scripts:\n\"CLEAR\"\n\"EXTRASUNNY\"\n\"CLOUDS\"\n\"OVERCAST\"\n\"RAIN\"\n\"CLEARING\"\n\"THUNDER\"\n\"SMOG\"\n\"FOGGY\"\n\"XMAS\"\n\"SNOW\"\n\"SNOWLIGHT\"\n\"BLIZZARD\"\n\"HALLOWEEN\"\n\"NEUTRAL\""},
{"name":"setWeatherTypeNow","native":"SET_WEATHER_TYPE_NOW","hash":"0x29B487C359E19889","params":[["weatherType","string"]],"blocked":"worldState","doc":"The following weatherTypes are used in the scripts:\n\"CLEAR\"\n\"EXTRASUNNY\"\n\"CLOUDS\"\n\"OVERCAST\"\n\"RAIN\"\n\"CLEARING\"\n\"THUNDER\"\n\"SMOG\"\n\"FOGGY\"\n\"XMAS\"\n\"SNOW\"\n\"SNOWLIGHT\"\n\"BLIZZARD\"\n\"HALLOWEEN\"\n\"NEUTRAL\""},
{"name":"setWeatherTypeOvertimePersist","native":"SET_WEATHER_TYPE_OVERTIME_PERSIST","hash":"0xFB5045B7C42B75BF","params":[["weatherType","string"],["time","float"]],"blocked":"worldState","aka":["_SET_WEATHER_TYPE_OVER_TIME"]},
{"name":"setRandomWeatherType","native":"SET_RANDOM_WEATHER_TYPE","hash":"0x8B05F884CF7E8020","blocked":"worldState"},
{"name":"clearWeatherTypePersist","native":"CLEAR_WEATHER_TYPE_PERSIST","hash":"0xCCC39339BEF76CF5","blocked":"worldState"},
{"name":"clearWeatherTypeNowPersistNetwork","native":"CLEAR_WEATHER_TYPE_NOW_PERSIST_NETWORK","hash":"0x0CF97F497FE7D048","params":[["milliseconds","int"]],"since":1103,"aka":["_CLEAR_WEATHER_TYPE_OVERTIME_PERSIST"]},
{"name":"getCurrWeatherState","native":"GET_CURR_WEATHER_STATE","hash":"0xF3BBE884A14BB413","outs":[["weatherType1","Hash",0],["weatherType2","Hash",1],["percentWeather2","float",2]],"aka":["_GET_WEATHER_TYPE_TRANSITION"],"notes":[{"kind":"tip","title":"Friendlier helper","md":"[lsmp.weather.getState](/resources/api#weather/fn-weather-get-state) returns the same three values as named fields."}]},
{"name":"setCurrWeatherState","native":"SET_CURR_WEATHER_STATE","hash":"0x578C752848ECFA0C","params":[["weatherType1","Hash"],["weatherType2","Hash"],["percentWeather2","float"]],"blocked":"worldState","aka":["_SET_WEATHER_TYPE_TRANSITION"],"doc":"Mixes two weather types. If percentWeather2 is set to 0.0f, then the weather will be entirely of weatherType1, if it is set to 1.0f it will be entirely of weatherType2. If it's set somewhere in between, there will be a mixture of weather behaviors. To test, try this in the RPH console, and change the float to different values between 0 and 1:\n\nexecute \"NativeFunction.Natives.x578C752848ECFA0C(Game.GetHashKey(\"\"RAIN\"\"), Game.GetHashKey(\"\"SMOG\"\"), 0.50f);\n\nNote that unlike most of the other weather natives, this native takes the hash of the weather name, not the plain string. These are the weather names and their hashes:\n\nCLEAR  0x36A83D84\nEXTRASUNNY  0x97AA0A79\nCLOUDS  0x30FDAF5C\nOVERCAST    0xBB898D2D\nRAIN    0x54A69840\nCLEARING    0x6DB1A50D\nTHUNDER 0xB677829F\nSMOG    0x10DCF4B5\nFOGGY   0xAE737644\nXMAS    0xAAC9C895\nSNOWLIGHT   0x23FB812B\nBLIZZARD    0x27EA2814\n\n/* OLD INVALID INFO BELOW */\nNot tested. Based purely on disassembly. Instantly sets the weather to sourceWeather, then transitions to targetWeather over the specified transitionTime in seconds.\n\nIf an invalid hash is specified for sourceWeather, the current weather type will be used.\nIf an invalid hash is specified for targetWeather, the next weather type will be used.\nIf an invalid hash is specified for both sourceWeather and targetWeather, the function just changes the transition time of the current transition."},
{"name":"setOverrideWeather","native":"SET_OVERRIDE_WEATHER","hash":"0xA43D5C6FE51ADBEF","params":[["weatherType","string"]],"blocked":"worldState","doc":"Appears to have an optional bool parameter that is unused in the scripts.\n\nIf you pass true, something will be set to zero."},
{"name":"setOverrideWeatherex","native":"SET_OVERRIDE_WEATHEREX","hash":"0x1178E104409FE58C","params":[["weatherType","string"],["p1","BOOL"]],"since":2189,"doc":"Identical to `setOverrideWeather` but has an additional BOOL param that sets some weather var to 0 if true"},
{"name":"clearOverrideWeather","native":"CLEAR_OVERRIDE_WEATHER","hash":"0x338D2E3477711050","blocked":"worldState"},
{"name":"waterOverrideSetShorewaveamplitude","native":"WATER_OVERRIDE_SET_SHOREWAVEAMPLITUDE","hash":"0xB8F87EAD7533B176","params":[["amplitude","float"]]},
{"name":"waterOverrideSetShorewaveminamplitude","native":"WATER_OVERRIDE_SET_SHOREWAVEMINAMPLITUDE","hash":"0xC3EAD29AB273ECE8","params":[["minAmplitude","float"]]},
{"name":"waterOverrideSetShorewavemaxamplitude","native":"WATER_OVERRIDE_SET_SHOREWAVEMAXAMPLITUDE","hash":"0xA7A1127490312C36","params":[["maxAmplitude","float"]]},
{"name":"waterOverrideSetOceannoiseminamplitude","native":"WATER_OVERRIDE_SET_OCEANNOISEMINAMPLITUDE","hash":"0x31727907B2C43C55","params":[["minAmplitude","float"]]},
{"name":"waterOverrideSetOceanwaveamplitude","native":"WATER_OVERRIDE_SET_OCEANWAVEAMPLITUDE","hash":"0x405591EC8FD9096D","params":[["amplitude","float"]]},
{"name":"waterOverrideSetOceanwaveminamplitude","native":"WATER_OVERRIDE_SET_OCEANWAVEMINAMPLITUDE","hash":"0xF751B16FB32ABC1D","params":[["minAmplitude","float"]]},
{"name":"waterOverrideSetOceanwavemaxamplitude","native":"WATER_OVERRIDE_SET_OCEANWAVEMAXAMPLITUDE","hash":"0xB3E6360DDE733E82","params":[["maxAmplitude","float"]]},
{"name":"waterOverrideSetRipplebumpiness","native":"WATER_OVERRIDE_SET_RIPPLEBUMPINESS","hash":"0x7C9C0B1EEB1F9072","params":[["bumpiness","float"]]},
{"name":"waterOverrideSetRippleminbumpiness","native":"WATER_OVERRIDE_SET_RIPPLEMINBUMPINESS","hash":"0x6216B116083A7CB4","params":[["minBumpiness","float"]]},
{"name":"waterOverrideSetRipplemaxbumpiness","native":"WATER_OVERRIDE_SET_RIPPLEMAXBUMPINESS","hash":"0x9F5E6BB6B34540DA","params":[["maxBumpiness","float"]]},
{"name":"waterOverrideSetRippledisturb","native":"WATER_OVERRIDE_SET_RIPPLEDISTURB","hash":"0xB9854DFDE0D833D6","params":[["disturb","float"]]},
{"name":"waterOverrideSetStrength","native":"WATER_OVERRIDE_SET_STRENGTH","hash":"0xC54A08C85AE4D410","params":[["strength","float"]],"doc":"This seems to edit the water wave, intensity around your current location.\n\n0.0f = Normal\n1.0f = So Calm and Smooth, a boat will stay still.\n3.0f = Really Intense."},
{"name":"waterOverrideFadeIn","native":"WATER_OVERRIDE_FADE_IN","hash":"0xA8434F1DFF41D6E7","params":[["p0","float"]]},
{"name":"waterOverrideFadeOut","native":"WATER_OVERRIDE_FADE_OUT","hash":"0xC3C221ADDDE31A11","params":[["p0","float"]]},
{"name":"setWind","native":"SET_WIND","hash":"0xAC3A74E8384A9919","params":[["speed","float"]],"doc":"Sets the the normalized wind speed value. The wind speed clamps always at 12.0, `setWind` sets the wind in a percentage, 0.0 is 0 and 1.0 is 12.0. Setting this value to a negative number resumes the random wind speed changes provided by the game."},
{"name":"setWindSpeed","native":"SET_WIND_SPEED","hash":"0xEE09ECEDBABE47FC","params":[["speed","float"]],"doc":"Using this native will set the absolute wind speed value. The wind speed clamps to a range of 0.0- 12.0. Setting this value to a negative number resumes the random wind speed changes provided by the game."},
{"name":"getWindSpeed","native":"GET_WIND_SPEED","hash":"0xA8CF1CC0AFCD3F12","ret":"float"},
{"name":"setWindDirection","native":"SET_WIND_DIRECTION","hash":"0xEB0F4468467B4528","params":[["direction","float"]],"doc":"The wind direction in radians\n180 degrees (PI), wind will blow from the south. Setting this value to a negative number resumes the random wind direction changes provided by the game."},
{"name":"getWindDirection","native":"GET_WIND_DIRECTION","hash":"0x1F400FEF721170DA","ret":"Vector3"},
{"name":"setRain","native":"SET_RAIN","hash":"0x643E26EA6E024D92","params":[["intensity","float"]],"aka":["_SET_RAIN_FX_INTENSITY","_SET_RAIN_LEVEL"],"doc":"With an `intensity` higher than `0.5f`, only the creation of puddles gets faster, rain and rain sound won't increase after that.\nWith an `intensity` of `0.0f` rain and rain sounds are disabled and there won't be any new puddles.\nTo use the rain intensity of the current weather, call this native with `-1f` as `intensity`."},
{"name":"getRainLevel","native":"GET_RAIN_LEVEL","hash":"0x96695E368AD855F3","ret":"float"},
{"name":"setSnow","native":"SET_SNOW","hash":"0x7F06937B0CDCBC1A","params":[["level","float"]],"since":1868,"aka":["_SET_SNOW_LEVEL"]},
{"name":"getSnowLevel","native":"GET_SNOW_LEVEL","hash":"0xC5868A966E5BE3AE","ret":"float"},
{"name":"forceLightningFlash","native":"FORCE_LIGHTNING_FLASH","hash":"0xF6062E089251C898","aka":["_CREATE_LIGHTNING_THUNDER"],"doc":"creates single lightning+thunder at random position"},
{"name":"setCloudSettingsOverride","native":"SET_CLOUD_SETTINGS_OVERRIDE","hash":"0x02DEAAC8F8EA7FE7","params":[["p0","string"]]},
{"name":"preloadCloudHat","native":"PRELOAD_CLOUD_HAT","hash":"0x11B56FBBF7224868","params":[["name","string"]]},
{"name":"loadCloudHat","native":"LOAD_CLOUD_HAT","hash":"0xFC4842A34657BFCB","params":[["name","string"],["transitionTime","float"]],"aka":["_SET_CLOUD_HAT_TRANSITION"],"doc":"The following cloudhats are useable:\naltostratus\nCirrus\ncirrocumulus\nClear 01\nCloudy 01\nContrails\nHorizon\nhorizonband1\nhorizonband2\nhorizonband3\nhorsey\nNimbus\nPuffs\nRAIN\nSnowy 01\nStormy 01\nstratoscumulus\nStripey\nshower\nWispy"},
{"name":"unloadCloudHat","native":"UNLOAD_CLOUD_HAT","hash":"0xA74802FB8D0B7814","params":[["name","string"],["p1","float"]]},
{"name":"unloadAllCloudHats","native":"UNLOAD_ALL_CLOUD_HATS","hash":"0x957E790EA1727B64","aka":["_CLEAR_CLOUD_HAT"]},
{"name":"setCloudsAlpha","native":"SET_CLOUDS_ALPHA","hash":"0xF36199225D6D8C86","params":[["opacity","float"]],"aka":["_SET_CLOUD_HAT_OPACITY"]},
{"name":"getCloudsAlpha","native":"GET_CLOUDS_ALPHA","hash":"0x20AC25E781AE4A84","ret":"float","aka":["_GET_CLOUD_HAT_OPACITY"]},
{"name":"getGameTimer","native":"GET_GAME_TIMER","hash":"0x9CD27B0045628463","ret":"int"},
{"name":"getFrameTime","native":"GET_FRAME_TIME","hash":"0x15C40837039FFAF7","ret":"float"},
{"name":"getSystemTimeStep","native":"GET_SYSTEM_TIME_STEP","hash":"0xE599A503B3837E1B","ret":"float","aka":["_GET_BENCHMARK_TIME"]},
{"name":"getFrameCount","native":"GET_FRAME_COUNT","hash":"0xFC8202EFC642E6F2","ret":"int"},
{"name":"getRandomFloatInRange","native":"GET_RANDOM_FLOAT_IN_RANGE","hash":"0x313CE5879CEB6FCD","params":[["startRange","float"],["endRange","float"]],"ret":"float"},
{"name":"getRandomIntInRange","native":"GET_RANDOM_INT_IN_RANGE","hash":"0xD53343AA4FB7DD28","params":[["startRange","int"],["endRange","int"]],"ret":"int"},
{"name":"getRandomMwcIntInRange","native":"GET_RANDOM_MWC_INT_IN_RANGE","hash":"0xF2D49816A804D134","params":[["startRange","int"],["endRange","int"]],"ret":"int","since":1734,"aka":["_GET_RANDOM_INT_IN_RANGE_2"]},
{"name":"getGroundZFor3dCoord","native":"GET_GROUND_Z_FOR_3D_COORD","hash":"0xC906A7DAB05C8D2B","params":[["x","float","Position on the X-axis to get ground elevation at."],["y","float","Position on the Y-axis to get ground elevation at."],["z","float","Position on the Z-axis to get ground elevation at."],["ignoreWater","BOOL","Nearly always 0, very rarely 1 in the scripts"],["p5","BOOL"]],"ret":"BOOL","outs":[["groundZ","float",3,"The ground elevation at the specified position."]],"notes":[{"kind":"tip","title":"Friendlier helper","md":"[lsmp.getGroundZ](/resources/api#world/fn-get-ground-z) is this call with the tuple collapsed: the height, or `null` when no ground was found."}],"doc":"Gets the ground elevation at the specified position. Note that if the specified position is below ground level, the function will output zero!\n\nBear in mind this native can only calculate the elevation when the coordinates are within the client's render distance."},
{"name":"getGroundZAndNormalFor3dCoord","native":"GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD","hash":"0x8BDC7BFC57A81E76","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","outs":[["groundZ","float",3],["normal","Vector3",4]],"aka":["_GET_GROUND_Z_COORD_WITH_OFFSETS"]},
{"name":"getGroundZExcludingObjectsFor3dCoord","native":"GET_GROUND_Z_EXCLUDING_OBJECTS_FOR_3D_COORD","hash":"0x9E82F0F362881B29","params":[["x","float"],["y","float"],["z","float"],["p4","BOOL"],["p5","BOOL"]],"ret":"BOOL","outs":[["groundZ","float",3]],"since":505,"aka":["_GET_GROUND_Z_FOR_3D_COORD_2"]},
{"name":"asin","native":"ASIN","hash":"0xC843060B5765DCE7","params":[["p0","float"]],"ret":"float"},
{"name":"acos","native":"ACOS","hash":"0x1D08B970013C34B6","params":[["p0","float"]],"ret":"float"},
{"name":"tan","native":"TAN","hash":"0x632106CC96E82E91","params":[["p0","float"]],"ret":"float"},
{"name":"atan","native":"ATAN","hash":"0xA9D1795CD5043663","params":[["p0","float"]],"ret":"float"},
{"name":"atan2","native":"ATAN2","hash":"0x8927CBF9D22261A4","params":[["p0","float"],["p1","float"]],"ret":"float"},
{"name":"getDistanceBetweenCoords","native":"GET_DISTANCE_BETWEEN_COORDS","hash":"0xF1B760881820C952","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["useZ","BOOL"]],"ret":"float","doc":"Returns the distance between two three-dimensional points, optionally ignoring the Z values.\nIf useZ is false, only the 2D plane (X-Y) will be considered for calculating the distance.\n\nConsider using this faster native instead: `vdist` - DVIST always takes in consideration the 3D coordinates."},
{"name":"getAngleBetween2dVectors","native":"GET_ANGLE_BETWEEN_2D_VECTORS","hash":"0x186FC4BE848E1C92","params":[["x1","float"],["y1","float"],["x2","float"],["y2","float"]],"ret":"float"},
{"name":"getHeadingFromVector2d","native":"GET_HEADING_FROM_VECTOR_2D","hash":"0x2FFB6B224F4B2926","params":[["dx","float"],["dy","float"]],"ret":"float","doc":"dx = x1 - x2\ndy = y1 - y2"},
{"name":"getRatioOfClosestPointOnLine","native":"GET_RATIO_OF_CLOSEST_POINT_ON_LINE","hash":"0x7F8F6405F4777AF6","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["x3","float"],["y3","float"],["z3","float"],["clamp","BOOL"]],"ret":"float","aka":["_GET_PROGRESS_ALONG_LINE_BETWEEN_COORDS"],"doc":"returns a float between 0.0 and 1.0, clamp: sets whether the product should be clamped between the given coordinates"},
{"name":"getClosestPointOnLine","native":"GET_CLOSEST_POINT_ON_LINE","hash":"0x21C235BC64831E5A","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["x3","float"],["y3","float"],["z3","float"],["clamp","BOOL","sets whether the product should be clamped between the given coordinates"]],"ret":"Vector3"},
{"name":"getLinePlaneIntersection","native":"GET_LINE_PLANE_INTERSECTION","hash":"0xF56DFB7B61BE7276","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","float"],["p9","float"],["p10","float"],["p11","float"]],"ret":"BOOL","outs":[["p12","float",12]]},
{"name":"getPointAreaOverlap","native":"GET_POINT_AREA_OVERLAP","hash":"0xA0AD167E4B39D9A2","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","Any"],["p10","Any"],["p11","Any"],["p12","Any"],["p13","Any"]],"ret":"BOOL","since":2189},
{"name":"setBit","native":"SET_BIT","hash":"0x933D6A9EEC1BACD0","params":[["address","int","The number to set a bit in."],["offset","int"]],"outs":[["address","int",0,"The value after the call."]],"refs":[0],"blocked":"language","doc":"This sets bit [offset] of [address] to on.\n\nThe offsets used are different bits to be toggled on and off, typically there is only one address used in a script.\n\nExample:\n\n```\nsetBit(&bitAddress, 1);\n```\n\nTo check if this bit has been enabled:\n\n```\nMISC::IS_BIT_SET(bitAddress, 1); // will return 1 afterwards\n```\n\nPlease note, this method may assign a value to [address] when used."},
{"name":"clearBit","native":"CLEAR_BIT","hash":"0xE80492A9AC099A93","params":[["address","int","The number to clear a bit in."],["offset","int"]],"outs":[["address","int",0,"The value after the call."]],"refs":[0],"blocked":"language","doc":"This sets bit [offset] of [address] to off.\n\nExample:\n\n```\nclearBit(&bitAddress, 1);\n```\n\nTo check if this bit has been enabled:\n\n```\nMISC::IS_BIT_SET(bitAddress, 1); // will return 0 afterwards\n```"},
{"name":"getHashKey","native":"GET_HASH_KEY","hash":"0xD24D37CC275948CC","params":[["string","string"]],"ret":"Hash","notes":[{"kind":"tip","title":"Same as lsmp.hash","md":"The hash comes back **unsigned**, equal to [lsmp.hash](/resources/api#core-utils/fn-hash) for the same name. Every `Hash` parameter accepts it, signed or not."}],"doc":"This native converts its past string to hash. It is hashed using jenkins one at a time method."},
{"name":"slerpNearQuaternion","native":"SLERP_NEAR_QUATERNION","hash":"0xF2F6A2FA49278625","params":[["t","float"],["x","float"],["y","float"],["z","float"],["w","float"],["x1","float"],["y1","float"],["z1","float"],["w1","float"]],"outs":[["outX","float",9],["outY","float",10],["outZ","float",11],["outW","float",12]],"doc":"This native always come right before `setEntityQuaternion` where its final 4 parameters are `slerpNearQuaternion` p9 to p12"},
{"name":"isAreaOccupied","native":"IS_AREA_OCCUPIED","hash":"0xA61B4DF533DCB56E","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","BOOL"],["p7","BOOL"],["p8","BOOL"],["p9","BOOL"],["p10","BOOL"],["p11","Any"],["p12","BOOL"]],"ret":"BOOL"},
{"name":"isAreaOccupiedSlow","native":"IS_AREA_OCCUPIED_SLOW","hash":"0x39455BF4F4F55186","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","Any"],["p10","Any"],["p11","Any"],["p12","Any"]],"ret":"BOOL","since":1868},
{"name":"isPositionOccupied","native":"IS_POSITION_OCCUPIED","hash":"0xADCDE75E1C60F32D","params":[["x","float"],["y","float"],["z","float"],["range","float"],["p4","BOOL"],["checkVehicles","BOOL"],["checkPeds","BOOL"],["p7","BOOL"],["p8","BOOL"],["ignoreEntity","Entity"],["p10","BOOL"]],"ret":"BOOL","doc":"`range`: The range, seems to not be very accurate during testing.\n`p4`: Unknown, when set to true it seems to always return true no matter what I try.\n`checkVehicle`: Check for any vehicles in that area.\n`checkPeds`: Check for any peds in that area.\n`ignoreEntity`: This entity will be ignored if it's in the area. Set to 0 if you don't want to exclude any entities.\nThe BOOL parameters that are documented have not been confirmed. They are just documented from what I've found during testing. They may not work as expected in all cases.\n\nReturns true if there is anything in that location matching the provided parameters."},
{"name":"isPointObscuredByAMissionEntity","native":"IS_POINT_OBSCURED_BY_A_MISSION_ENTITY","hash":"0xE54E209C35FFA18D","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","Any"]],"ret":"BOOL"},
{"name":"clearArea","native":"CLEAR_AREA","hash":"0xA56F01F3765B93A0","params":[["X","float"],["Y","float"],["Z","float"],["radius","float"],["p4","BOOL"],["ignoreCopCars","BOOL"],["ignoreObjects","BOOL"],["p7","BOOL"]],"doc":"```\nExample: clearArea(0, 0, 0, 30, true, false, false, false);\n```"},
{"name":"clearAreaLeaveVehicleHealth","native":"CLEAR_AREA_LEAVE_VEHICLE_HEALTH","hash":"0x957838AAF91BD12D","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["p4","BOOL"],["p5","BOOL"],["p6","BOOL"],["p7","BOOL"]],"aka":["_CLEAR_AREA_OF_EVERYTHING"],"doc":"`clearAreaLeaveVehicleHealth`(x, y, z, radius, false, false, false, false); seem to make all objects go away, peds, vehicles etc. All booleans set to true doesn't seem to change anything."},
{"name":"clearAreaOfVehicles","native":"CLEAR_AREA_OF_VEHICLES","hash":"0x01C7B9B38428AEB6","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["p4","BOOL"],["p5","BOOL"],["p6","BOOL"],["p7","BOOL"],["p8","BOOL"],["p9","BOOL"],["p10","Any"]],"doc":"Example:\n\n```\nclearAreaOfVehicles(0.0f, 0.0f, 0.0f, 10000.0f, false, false, false, false, false, false);\n```"},
{"name":"clearAngledAreaOfVehicles","native":"CLEAR_ANGLED_AREA_OF_VEHICLES","hash":"0x11DB3500F042A8AA","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["p7","BOOL"],["p8","BOOL"],["p9","BOOL"],["p10","BOOL"],["p11","BOOL"],["p12","Any"],["p13","Any"]]},
{"name":"clearAreaOfObjects","native":"CLEAR_AREA_OF_OBJECTS","hash":"0xDD9B9B385AAC7F5B","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["flags","int"]]},
{"name":"clearAreaOfPeds","native":"CLEAR_AREA_OF_PEDS","hash":"0xBE31FD6CE464AC59","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["flags","int"]],"doc":"```\nExample:       clearAreaOfPeds(0, 0, 0, 10000, 1);\n```"},
{"name":"clearAreaOfCops","native":"CLEAR_AREA_OF_COPS","hash":"0x04F8FC8FCF58F88D","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["flags","int"]],"doc":"flags appears to always be 0"},
{"name":"clearAreaOfProjectiles","native":"CLEAR_AREA_OF_PROJECTILES","hash":"0x0A1CB9094635D1A6","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["flags","int"]],"doc":"flags is usually 0 in the scripts."},
{"name":"clearScenarioSpawnHistory","native":"CLEAR_SCENARIO_SPAWN_HISTORY","hash":"0x7EC6F9A478A6A512","doc":"Possibly used to clear scenario points."},
{"name":"setSaveMenuActive","native":"SET_SAVE_MENU_ACTIVE","hash":"0xC9BF75D28165FF77","params":[["ignoreVehicle","BOOL"]],"blocked":"saves","doc":"ignoreVehicle - bypasses vehicle check of the local player (it will not open if you are in a vehicle and this is set to false)"},
{"name":"getStatusOfManualSave","native":"GET_STATUS_OF_MANUAL_SAVE","hash":"0x397BAA01068BAA96","ret":"int"},
{"name":"setCreditsActive","native":"SET_CREDITS_ACTIVE","hash":"0xB938B7E6D3C0620C","params":[["toggle","BOOL"]]},
{"name":"setCreditsFadeOutWithScreen","native":"SET_CREDITS_FADE_OUT_WITH_SCREEN","hash":"0xB51B9AB9EF81868C","params":[["toggle","BOOL"]]},
{"name":"haveCreditsReachedEnd","native":"HAVE_CREDITS_REACHED_END","hash":"0x075F1D57402C93BA","ret":"BOOL"},
{"name":"areCreditsRunning","native":"ARE_CREDITS_RUNNING","hash":"0xD19C0826DC20CF1C","ret":"BOOL","since":2802},
{"name":"terminateAllScriptsWithThisName","native":"TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME","hash":"0x9DC711BC69C548DF","params":[["scriptName","string"]],"blocked":"scripts"},
{"name":"networkSetScriptIsSafeForNetworkGame","native":"NETWORK_SET_SCRIPT_IS_SAFE_FOR_NETWORK_GAME","hash":"0x9243BAC96D64C050"},
{"name":"addHospitalRestart","native":"ADD_HOSPITAL_RESTART","hash":"0x1F464EF988465A81","params":[["x","float"],["y","float"],["z","float"],["p3","float"],["p4","Any"]],"ret":"int","doc":"Returns the index of the newly created hospital spawn point.\nwhenToUse: must be 0"},
{"name":"disableHospitalRestart","native":"DISABLE_HOSPITAL_RESTART","hash":"0xC8535819C450EBA8","params":[["hospitalIndex","int"],["toggle","BOOL"]],"doc":"The game by default has 5 hospital respawn points. Disabling them all will cause the player to respawn at the last position they were."},
{"name":"addPoliceRestart","native":"ADD_POLICE_RESTART","hash":"0x452736765B31FC4B","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","Any"]],"ret":"int","doc":"whenToUse: must be 0"},
{"name":"disablePoliceRestart","native":"DISABLE_POLICE_RESTART","hash":"0x23285DED6EBD7EA3","params":[["policeIndex","int","The police house index."],["toggle","BOOL","true to enable the spawn point, false to disable."]],"doc":"Disables the spawn point at the police house on the specified index.\n\n- Nacorpio"},
{"name":"setRestartCoordOverride","native":"SET_RESTART_COORD_OVERRIDE","hash":"0x706B5EDCAA7FA663","params":[["x","float"],["y","float"],["z","float"],["heading","float"]],"aka":["_SET_CUSTOM_RESPAWN_POSITION","_SET_RESTART_CUSTOM_POSITION"]},
{"name":"clearRestartCoordOverride","native":"CLEAR_RESTART_COORD_OVERRIDE","hash":"0xA2716D40842EAF79","aka":["_SET_NEXT_RESPAWN_TO_CUSTOM","_CLEAR_RESTART_CUSTOM_POSITION"]},
{"name":"pauseDeathArrestRestart","native":"PAUSE_DEATH_ARREST_RESTART","hash":"0x2C2B3493FBF51C71","params":[["toggle","BOOL"]],"aka":["_DISABLE_AUTOMATIC_RESPAWN"]},
{"name":"ignoreNextRestart","native":"IGNORE_NEXT_RESTART","hash":"0x21FFB63D8C615361","params":[["toggle","BOOL"]]},
{"name":"setFadeOutAfterDeath","native":"SET_FADE_OUT_AFTER_DEATH","hash":"0x4A18E01DF2C87B86","params":[["toggle","BOOL"]],"doc":"Sets whether the game should fade out after the player dies."},
{"name":"setFadeOutAfterArrest","native":"SET_FADE_OUT_AFTER_ARREST","hash":"0x1E0B4DC0D990A4E7","params":[["toggle","BOOL"]],"doc":"Sets whether the game should fade out after the player is arrested."},
{"name":"setFadeInAfterDeathArrest","native":"SET_FADE_IN_AFTER_DEATH_ARREST","hash":"0xDA66D2796BA33F12","params":[["toggle","BOOL"]],"doc":"Sets whether the game should fade in after the player dies or is arrested."},
{"name":"setFadeInAfterLoad","native":"SET_FADE_IN_AFTER_LOAD","hash":"0xF3D78F59DFE18D79","params":[["toggle","BOOL"]]},
{"name":"registerSaveHouse","native":"REGISTER_SAVE_HOUSE","hash":"0xC0714D0A7EEECA54","params":[["x","float"],["y","float"],["z","float"],["p3","float"],["p4","string"],["p5","Any"],["p6","Any"]],"ret":"int","blocked":"saves","doc":"returns savehouseHandle"},
{"name":"setSaveHouse","native":"SET_SAVE_HOUSE","hash":"0x4F548CABEAE553BC","params":[["savehouseHandle","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"saves"},
{"name":"overrideSaveHouse","native":"OVERRIDE_SAVE_HOUSE","hash":"0x1162EA8AE9D24EEA","params":[["p0","BOOL"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","BOOL"],["p6","float"],["p7","float"]],"ret":"BOOL","blocked":"saves"},
{"name":"getSaveHouseDetailsAfterSuccessfulLoad","native":"GET_SAVE_HOUSE_DETAILS_AFTER_SUCCESSFUL_LOAD","hash":"0xA4A0065E39C9F25C","ret":"BOOL","outs":[["p0","Vector3",0],["p1","float",1],["fadeInAfterLoad","BOOL",2],["p3","BOOL",3]]},
{"name":"doAutoSave","native":"DO_AUTO_SAVE","hash":"0x50EEAAD86232EE55","blocked":"saves"},
{"name":"getIsAutoSaveOff","native":"GET_IS_AUTO_SAVE_OFF","hash":"0x6E04F06094C87047","ret":"BOOL","doc":"Returns true if profile setting 208 is equal to 0."},
{"name":"isAutoSaveInProgress","native":"IS_AUTO_SAVE_IN_PROGRESS","hash":"0x69240733738C19A0","ret":"BOOL"},
{"name":"hasCodeRequestedAutosave","native":"HAS_CODE_REQUESTED_AUTOSAVE","hash":"0x2107A3773771186D","ret":"BOOL"},
{"name":"clearCodeRequestedAutosave","native":"CLEAR_CODE_REQUESTED_AUTOSAVE","hash":"0x06462A961E94B67C","blocked":"saves"},
{"name":"beginReplayStats","native":"BEGIN_REPLAY_STATS","hash":"0xE0E500246FF73D66","params":[["p0","Any"],["p1","Any"]]},
{"name":"addReplayStatValue","native":"ADD_REPLAY_STAT_VALUE","hash":"0x69FE6DC87BD2A5E9","params":[["value","Any"]]},
{"name":"endReplayStats","native":"END_REPLAY_STATS","hash":"0xA23E821FBDF8A5F2"},
{"name":"haveReplayStatsBeenStored","native":"HAVE_REPLAY_STATS_BEEN_STORED","hash":"0xD642319C54AADEB6","ret":"BOOL"},
{"name":"getReplayStatMissionId","native":"GET_REPLAY_STAT_MISSION_ID","hash":"0x5B1F2E327B6B6FE1","ret":"int"},
{"name":"getReplayStatMissionType","native":"GET_REPLAY_STAT_MISSION_TYPE","hash":"0x2B626A0150E4D449","ret":"int"},
{"name":"getReplayStatCount","native":"GET_REPLAY_STAT_COUNT","hash":"0xDC9274A7EF6B2867","ret":"int"},
{"name":"getReplayStatAtIndex","native":"GET_REPLAY_STAT_AT_INDEX","hash":"0x8098C8D6597AAE18","params":[["index","int"]],"ret":"int"},
{"name":"clearReplayStats","native":"CLEAR_REPLAY_STATS","hash":"0x1B1AB132A16FDA55"},
{"name":"queueMissionRepeatLoad","native":"QUEUE_MISSION_REPEAT_LOAD","hash":"0x72DE52178C291CB5","ret":"BOOL","blocked":"saves"},
{"name":"queueMissionRepeatSave","native":"QUEUE_MISSION_REPEAT_SAVE","hash":"0x44A0BDC559B35F6E","ret":"BOOL","blocked":"saves","doc":"Shows the screen which is visible before you redo a mission? The game will make a restoration point where you will cameback when the mission is over.\nReturns 1 if the message isn't currently on screen"},
{"name":"queueMissionRepeatSaveForBenchmarkTest","native":"QUEUE_MISSION_REPEAT_SAVE_FOR_BENCHMARK_TEST","hash":"0xEB2104E905C6F2E9","ret":"BOOL","blocked":"saves"},
{"name":"getStatusOfMissionRepeatSave","native":"GET_STATUS_OF_MISSION_REPEAT_SAVE","hash":"0x2B5E102E4A42F2BF","ret":"int"},
{"name":"isMemoryCardInUse","native":"IS_MEMORY_CARD_IN_USE","hash":"0x8A75CE2956274ADD","ret":"BOOL"},
{"name":"shootSingleBulletBetweenCoords","native":"SHOOT_SINGLE_BULLET_BETWEEN_COORDS","hash":"0x867654CBC7606F2C","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["damage","int"],["p7","BOOL"],["weaponHash","Hash"],["ownerPed","Ped"],["isAudible","BOOL"],["isInvisible","BOOL"],["speed","float"]]},
{"name":"shootSingleBulletBetweenCoordsIgnoreEntity","native":"SHOOT_SINGLE_BULLET_BETWEEN_COORDS_IGNORE_ENTITY","hash":"0xE3A7742E0B7A2F8B","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["damage","int"],["p7","BOOL"],["weaponHash","Hash"],["ownerPed","Ped"],["isAudible","BOOL"],["isInvisible","BOOL"],["speed","float"],["entity","Entity"],["p14","Any"]],"aka":["_SHOOT_SINGLE_BULLET_BETWEEN_COORDS_PRESET_PARAMS"],"doc":"entity - entity to ignore"},
{"name":"shootSingleBulletBetweenCoordsIgnoreEntityNew","native":"SHOOT_SINGLE_BULLET_BETWEEN_COORDS_IGNORE_ENTITY_NEW","hash":"0xBFE5756E7407064A","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["damage","int"],["p7","BOOL"],["weaponHash","Hash"],["ownerPed","Ped"],["isAudible","BOOL"],["isInvisible","BOOL"],["speed","float"],["entity","Entity"],["p14","BOOL"],["p15","BOOL"],["targetEntity","Entity"],["p17","BOOL"],["p18","Any"],["p19","Any"],["p20","Any"]],"aka":["_SHOOT_SINGLE_BULLET_BETWEEN_COORDS_WITH_EXTRA_PARAMS"],"doc":"entity - entity to ignore\ntargetEntity - entity to home in on, if the weapon hash provided supports homing"},
{"name":"getModelDimensions","native":"GET_MODEL_DIMENSIONS","hash":"0x03E8D3D5F549087A","params":[["modelHash","Hash"]],"outs":[["minimum","Vector3",1],["maximum","Vector3",2]],"doc":"Gets the dimensions of a model.\n\nCalculate (maximum - minimum) to get the size, in which case, Y will be how long the model is.\n\nExample from the scripts: `getModelDimensions`(`getEntityModel`(`playerPedId`()), &v_1A, &v_17);"},
{"name":"setFakeWantedLevel","native":"SET_FAKE_WANTED_LEVEL","hash":"0x1454F2448DE30163","params":[["fakeWantedLevel","int"]],"doc":"Sets a visually fake wanted level on the user interface. Used by Rockstar's scripts to \"override\" regular wanted levels and make custom ones while the real wanted level and multipliers are still in effect.\n\nMax is 6, anything above this makes it just 6. Also the mini-map gets the red & blue flashing effect."},
{"name":"getFakeWantedLevel","native":"GET_FAKE_WANTED_LEVEL","hash":"0x4C9296CBCD1B971E","ret":"int"},
{"name":"usingMissionCreator","native":"USING_MISSION_CREATOR","hash":"0xF14878FC50BEC6EE","params":[["toggle","BOOL"]]},
{"name":"allowMissionCreatorWarp","native":"ALLOW_MISSION_CREATOR_WARP","hash":"0xDEA36202FC3382DF","params":[["toggle","BOOL"]]},
{"name":"setMinigameInProgress","native":"SET_MINIGAME_IN_PROGRESS","hash":"0x19E00D7322C6F85B","params":[["toggle","BOOL"]]},
{"name":"isMinigameInProgress","native":"IS_MINIGAME_IN_PROGRESS","hash":"0x2B4A15E44DE0F478","ret":"BOOL"},
{"name":"isThisAMinigameScript","native":"IS_THIS_A_MINIGAME_SCRIPT","hash":"0x7B30F65D7B710098","ret":"BOOL"},
{"name":"isSniperInverted","native":"IS_SNIPER_INVERTED","hash":"0x61A23B7EDA9BDA24","ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"shouldUseMetricMeasurements","native":"SHOULD_USE_METRIC_MEASUREMENTS","hash":"0xD3D15555431AB793","ret":"BOOL","aka":["_IS_GAME_USING_METRIC_MEASUREMENT_SYSTEM"],"doc":"Returns true if the game is using the metric measurement system (profile setting 227), false if imperial is used."},
{"name":"getProfileSetting","native":"GET_PROFILE_SETTING","hash":"0xC488FF2356EA7791","params":[["profileSetting","int"]],"ret":"int"},
{"name":"areStringsEqual","native":"ARE_STRINGS_EQUAL","hash":"0x0C515FAB3FF9EA92","params":[["string1","string"],["string2","string"]],"ret":"BOOL"},
{"name":"compareStrings","native":"COMPARE_STRINGS","hash":"0x1E34710ECD4AB0EB","params":[["str1","string"],["str2","string"],["matchCase","BOOL"],["maxLength","int"]],"ret":"int","doc":"Compares two strings up to a specified number of characters.\n\nParameters:\nstr1 - String to be compared.\nstr2 - String to be compared.\nmatchCase - Comparison will be case-sensitive.\nmaxLength - Maximum number of characters to compare. A value of -1 indicates an infinite length.\n\nReturns:\nA value indicating the relationship between the strings:\n<0 - The first non-matching character in 'str1' is less than the one in 'str2'. (e.g. 'A' < 'B', so result = -1)\n0 - The contents of both strings are equal.\n>0 - The first non-matching character in 'str1' is less than the one in 'str2'. (e.g. 'B' > 'A', so result = 1)\n\nExamples:\n\n```\ncompareStrings(\"STRING\", \"string\", false, -1); // 0; equal\ncompareStrings(\"TESTING\", \"test\", false, 4); // 0; equal\ncompareStrings(\"R2D2\", \"R2xx\", false, 2); // 0; equal\ncompareStrings(\"foo\", \"bar\", false, -1); // 4; 'f' > 'b'\ncompareStrings(\"A\", \"A\", true, 1); // 0; equal\n```\n\nWhen comparing case-sensitive strings, lower-case characters are greater than upper-case characters:\n\n```\ncompareStrings(\"A\", \"a\", true, 1); // -1; 'A' < 'a'\ncompareStrings(\"a\", \"A\", true, 1); // 1; 'a' > 'A'\n```"},
{"name":"absi","native":"ABSI","hash":"0xF0D31AD191A74F87","params":[["value","int"]],"ret":"int"},
{"name":"absf","native":"ABSF","hash":"0x73D57CFFDD12C355","params":[["value","float"]],"ret":"float"},
{"name":"isSniperBulletInArea","native":"IS_SNIPER_BULLET_IN_AREA","hash":"0xFEFCF11B01287125","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"BOOL","doc":"Determines whether there is a sniper bullet within the specified coordinates. The coordinates form an axis-aligned bounding box."},
{"name":"isProjectileInArea","native":"IS_PROJECTILE_IN_AREA","hash":"0x5270A8FBC098C3F8","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["ownedByPlayer","BOOL"]],"ret":"BOOL","doc":"Determines whether there is a projectile within the specified coordinates. The coordinates form a rectangle.\n\n- Nacorpio\n\nownedByPlayer = only projectiles fired by the player will be detected."},
{"name":"isProjectileTypeInArea","native":"IS_PROJECTILE_TYPE_IN_AREA","hash":"0x2E0DC353342C4A6D","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["type","int"],["ownedByPlayer","BOOL"]],"ret":"BOOL","doc":"Determines whether there is a projectile of a specific type within the specified coordinates. The coordinates form a axis-aligned bounding box."},
{"name":"isProjectileTypeInAngledArea","native":"IS_PROJECTILE_TYPE_IN_ANGLED_AREA","hash":"0xF0BC12401061DEA0","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["p7","Any"],["ownedByPlayer","BOOL"]],"ret":"BOOL","doc":"See `isPointInAngledArea` for the definition of an angled area."},
{"name":"isProjectileTypeWithinDistance","native":"IS_PROJECTILE_TYPE_WITHIN_DISTANCE","hash":"0x34318593248C8FB2","params":[["x","float"],["y","float"],["z","float"],["projectileHash","Hash"],["radius","float"],["ownedByPlayer","BOOL"]],"ret":"BOOL","aka":["_IS_PROJECTILE_TYPE_IN_RADIUS"]},
{"name":"getCoordsOfProjectileTypeInArea","native":"GET_COORDS_OF_PROJECTILE_TYPE_IN_AREA","hash":"0x8D7A43EC6A5FEA45","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["projectileHash","Hash"],["ownedByPlayer","BOOL"]],"ret":"BOOL","outs":[["projectilePos","Vector3",7]],"aka":["_GET_IS_PROJECTILE_TYPE_IN_AREA"]},
{"name":"getCoordsOfProjectileTypeInAngledArea","native":"GET_COORDS_OF_PROJECTILE_TYPE_IN_ANGLED_AREA","hash":"0x3DA8C28346B62CED","params":[["vecAngledAreaPoint1X","float"],["vecAngledAreaPoint1Y","float"],["vecAngledAreaPoint1Z","float"],["vecAngledAreaPoint2X","float"],["vecAngledAreaPoint2Y","float"],["vecAngledAreaPoint2Z","float"],["distanceOfOppositeFace","float"],["weaponType","Hash"],["bIsPlayer","BOOL"]],"ret":"BOOL","outs":[["positionOut","Vector3",8]],"since":2802},
{"name":"getCoordsOfProjectileTypeWithinDistance","native":"GET_COORDS_OF_PROJECTILE_TYPE_WITHIN_DISTANCE","hash":"0xDFB4138EEFED7B81","params":[["ped","Ped"],["weaponHash","Hash"],["distance","float"],["p4","BOOL"]],"ret":"BOOL","outs":[["outCoords","Vector3",3]],"aka":["_GET_PROJECTILE_NEAR_PED_COORDS"]},
{"name":"getProjectileOfProjectileTypeWithinDistance","native":"GET_PROJECTILE_OF_PROJECTILE_TYPE_WITHIN_DISTANCE","hash":"0x82FDE6A57EE4EE44","params":[["ped","Ped"],["weaponHash","Hash"],["distance","float"],["p5","BOOL"]],"ret":"BOOL","outs":[["outCoords","Vector3",3],["outProjectile","Object",4]],"aka":["_GET_PROJECTILE_NEAR_PED"]},
{"name":"isBulletInAngledArea","native":"IS_BULLET_IN_ANGLED_AREA","hash":"0x1A8B5F3C01E2B477","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["ownedByPlayer","BOOL"]],"ret":"BOOL","doc":"For projectiles, see: `isProjectileTypeInAngledArea`\nSee `isPointInAngledArea` for the definition of an angled area."},
{"name":"isBulletInArea","native":"IS_BULLET_IN_AREA","hash":"0x3F2023999AD51C1F","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["ownedByPlayer","BOOL"]],"ret":"BOOL"},
{"name":"isBulletInBox","native":"IS_BULLET_IN_BOX","hash":"0xDE0F6D7450D37351","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["ownedByPlayer","BOOL"]],"ret":"BOOL"},
{"name":"hasBulletImpactedInArea","native":"HAS_BULLET_IMPACTED_IN_AREA","hash":"0x9870ACFB89A90995","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["bIsPlayer","BOOL"],["bIsEntry","BOOL"]],"ret":"BOOL","doc":"bIsPlayer: checks if the player fired the bullet\nbEntryOnly: only find entry impacts"},
{"name":"hasBulletImpactedInBox","native":"HAS_BULLET_IMPACTED_IN_BOX","hash":"0xDC8C5D7CFEAB8394","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","BOOL"],["p7","BOOL"]],"ret":"BOOL"},
{"name":"isOrbisVersion","native":"IS_ORBIS_VERSION","hash":"0xA72BC0B675B1519E","ret":"BOOL","doc":"PS4"},
{"name":"isDurangoVersion","native":"IS_DURANGO_VERSION","hash":"0x4D982ADB1978442D","ret":"BOOL","doc":"XBOX ONE"},
{"name":"isXbox360Version","native":"IS_XBOX360_VERSION","hash":"0xF6201B4DAF662A9D","ret":"BOOL"},
{"name":"isPs3Version","native":"IS_PS3_VERSION","hash":"0xCCA1072C29D096C2","ret":"BOOL"},
{"name":"isPcVersion","native":"IS_PC_VERSION","hash":"0x48AF36444B965238","ret":"BOOL"},
{"name":"isSteamVersion","native":"IS_STEAM_VERSION","hash":"0x0A27B2B6282F7169","ret":"BOOL","since":2545},
{"name":"isXboxpcVersion","native":"_IS_XBOXPC_VERSION","hash":"0xE2BCD0EFAE90D1F4","ret":"BOOL","na":1,"since":3504},
{"name":"isAussieVersion","native":"IS_AUSSIE_VERSION","hash":"0x9F1935CA1F724008","ret":"BOOL","doc":"Used to block some of the prostitute stuff due to laws in Australia."},
{"name":"isJapaneseVersion","native":"IS_JAPANESE_VERSION","hash":"0xB8C0BB75D8A77DB3","ret":"BOOL","since":2545,"aka":["_IS_JAPANESE_VERSION"]},
{"name":"isXboxPlatform","native":"IS_XBOX_PLATFORM","hash":"0x138679CA01E21F53","ret":"BOOL","since":2612},
{"name":"isScarlettVersion","native":"IS_SCARLETT_VERSION","hash":"0xC545AB1CF97ABB34","ret":"BOOL","since":2612,"doc":"Xbox Series (Scarlett) version..."},
{"name":"isScePlatform","native":"IS_SCE_PLATFORM","hash":"0xF911E695C1EB8518","ret":"BOOL","since":2612},
{"name":"isProsperoVersion","native":"IS_PROSPERO_VERSION","hash":"0x807ABE1AB65C24D2","ret":"BOOL","since":2612,"doc":"PS5 (Prospero) version..."},
{"name":"isStringNull","native":"IS_STRING_NULL","hash":"0xF22B6C47C6EAB066","params":[["string","string"]],"ret":"BOOL"},
{"name":"isStringNullOrEmpty","native":"IS_STRING_NULL_OR_EMPTY","hash":"0xCA042B6957743895","params":[["string","string"]],"ret":"BOOL"},
{"name":"stringToInt","native":"STRING_TO_INT","hash":"0x5A5F40FE637EB584","params":[["string","string"]],"ret":"BOOL","outs":[["outInteger","int",1]],"blocked":"language","doc":"Returns false if it's a null or empty string or if the string is too long. outInteger will be set to -999 in that case.\n\nIf all checks have passed successfully, the return value will be set to whatever strtol(string, 0i64, 10); returns."},
{"name":"setBitsInRange","native":"SET_BITS_IN_RANGE","hash":"0x8EF07E15701D61ED","params":[["var","int","The number to write the bits into."],["rangeStart","int"],["rangeEnd","int"],["p3","int"]],"outs":[["var","int",0,"The value after the call."]],"refs":[0],"blocked":"language"},
{"name":"getBitsInRange","native":"GET_BITS_IN_RANGE","hash":"0x53158863FCC0893A","params":[["var","int"],["rangeStart","int"],["rangeEnd","int"]],"ret":"int"},
{"name":"addStuntJump","native":"ADD_STUNT_JUMP","hash":"0x1A992DA297A4630C","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["x3","float"],["y3","float"],["z3","float"],["x4","float"],["y4","float"],["z4","float"],["camX","float"],["camY","float"],["camZ","float"],["p15","int"],["p16","int"],["p17","int"]],"ret":"int","doc":"See description of `addStuntJumpAngled` for detailed info. The only difference really is this one does not have the radius (or angle, not sure) floats parameters for entry and landing zones."},
{"name":"addStuntJumpAngled","native":"ADD_STUNT_JUMP_ANGLED","hash":"0xBBE5D803A5360CBF","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["radius1","float"],["x3","float"],["y3","float"],["z3","float"],["x4","float"],["y4","float"],["z4","float"],["radius2","float"],["camX","float"],["camY","float"],["camZ","float"],["p17","int"],["p18","int"],["p19","int"]],"ret":"int","doc":"Creates a new stunt jump.\n\nThe radius1 and radius2 might actually not be a radius at all, but that's what it seems to me testing them in-game. But they may be 'angle' floats instead, considering this native is named ADD_STUNT_JUMP_**ANGLED**.\n\nInfo about the specific 'parameter sections':\n\n**x1, y1, z1, x2, y2, z2 and radius1:**\n\nFirst coordinates are for the jump entry area, and the radius that will be checked around that area. So if you're not exactly within the coordinates, but you are within the outter radius limit then it will still register as entering the stunt jump. Note as mentioned above, the radius is just a guess, I'm not really sure about it's exact purpose.\n\n**x3, y3, z3, x4, y4, z4 and radius2:**\n\nNext part is the landing area, again starting with the left bottom (nearest to the stunt jump entry zone) coordinate, and the second one being the top right furthest away part of the landing area. Followed by another (most likely) radius float, this is usually slightly larger than the entry zone 'radius' float value, just because you have quite a lot of places where you can land (I'm guessing).\n\n**camX, camY and camZ:**\n\nThe final coordinate in this native is the Camera position. Rotation and zoom/FOV is managed by the game itself, you just need to provide the camera location.\n\n**unk1, unk2 and unk3:**\n\nNot sure what these are for, but they're always `150, 0, 0` in decompiled scripts.\n\nHere is a list of almost all of the stunt jumps from GTA V (taken from decompiled scripts): https://pastebin.com/EW1jBPkY"},
{"name":"toggleShowOptionalStuntJumpCamera","native":"TOGGLE_SHOW_OPTIONAL_STUNT_JUMP_CAMERA","hash":"0xFB80AB299D2EE1BD","params":[["toggle","BOOL"]],"since":757,"doc":"Toggles some stunt jump stuff."},
{"name":"deleteStuntJump","native":"DELETE_STUNT_JUMP","hash":"0xDC518000E39DAE1F","params":[["p0","int"]]},
{"name":"enableStuntJumpSet","native":"ENABLE_STUNT_JUMP_SET","hash":"0xE369A5783B866016","params":[["p0","int"]]},
{"name":"disableStuntJumpSet","native":"DISABLE_STUNT_JUMP_SET","hash":"0xA5272EBEDD4747F6","params":[["p0","int"]]},
{"name":"setStuntJumpsCanTrigger","native":"SET_STUNT_JUMPS_CAN_TRIGGER","hash":"0xD79185689F8FD5DF","params":[["toggle","BOOL"]]},
{"name":"isStuntJumpInProgress","native":"IS_STUNT_JUMP_IN_PROGRESS","hash":"0x7A3F19700A4D0525","ret":"BOOL"},
{"name":"isStuntJumpMessageShowing","native":"IS_STUNT_JUMP_MESSAGE_SHOWING","hash":"0x2272B0A1343129F4","ret":"BOOL"},
{"name":"getNumSuccessfulStuntJumps","native":"GET_NUM_SUCCESSFUL_STUNT_JUMPS","hash":"0x996DD1E1E02F1008","ret":"int"},
{"name":"getTotalSuccessfulStuntJumps","native":"GET_TOTAL_SUCCESSFUL_STUNT_JUMPS","hash":"0x6856EC3D35C81EA4","ret":"int"},
{"name":"cancelStuntJump","native":"CANCEL_STUNT_JUMP","hash":"0xE6B7B0ACD4E4B75E"},
{"name":"setGamePaused","native":"SET_GAME_PAUSED","hash":"0x577D1284D6873711","params":[["toggle","BOOL"]],"blocked":"saves","doc":"Make sure to call this from the correct thread if you're using multiple threads because all other threads except the one which is calling `setGamePaused` will be paused which means you will lose control and the game remains in paused mode until you exit GTA5.exe"},
{"name":"setThisScriptCanBePaused","native":"SET_THIS_SCRIPT_CAN_BE_PAUSED","hash":"0xAA391C728106F7AF","params":[["toggle","BOOL"]],"blocked":"scripts"},
{"name":"setThisScriptCanRemoveBlipsCreatedByAnyScript","native":"SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT","hash":"0xB98236CAAECEF897","params":[["toggle","BOOL"]],"blocked":"scripts"},
{"name":"hasCheatWithHashBeenActivated","native":"HAS_CHEAT_WITH_HASH_BEEN_ACTIVATED","hash":"0x071E2A839DE82D90","params":[["hash","Hash"],["amount","int"]],"ret":"BOOL","aka":["_HAS_BUTTON_COMBINATION_JUST_BEEN_ENTERED"],"doc":"This native appears on the cheat_controller script and tracks a combination of buttons, which may be used to toggle cheats in-game. Credits to ThreeSocks for the info. The hash contains the combination, while the \"amount\" represents the amount of buttons used in a combination. The following page can be used to make a button combination: gta5offset.com/ts/hash/\n\nINT_SCORES_SCORTED was a hash collision"},
{"name":"hasPcCheatWithHashBeenActivated","native":"HAS_PC_CHEAT_WITH_HASH_BEEN_ACTIVATED","hash":"0x557E43C447E700A8","params":[["hash","Hash"]],"ret":"BOOL","aka":["_HAS_CHEAT_STRING_JUST_BEEN_ENTERED"],"doc":"Get inputted \"Cheat code\", for example:\n\n```\nwhile (TRUE)\n{\n    if (hasPcCheatWithHashBeenActivated(${fugitive}))\n    {\n       // Do something.\n    }\n    SYSTEM::WAIT(0);\n}\n```\n\nCalling this will also set the last saved string hash to zero."},
{"name":"overrideFreezeFlags","native":"OVERRIDE_FREEZE_FLAGS","hash":"0xFA3FFB0EEBC288A3","params":[["p0","BOOL"]],"since":2060},
{"name":"setInstancePriorityMode","native":"SET_INSTANCE_PRIORITY_MODE","hash":"0x9BAE5AD2508DF078","params":[["mode","int"]],"blocked":"saves","aka":["_ENABLE_MP_DLC_MAPS","_USE_FREEMODE_MAP_BEHAVIOR","_LOWER_MAP_PROP_DENSITY"],"doc":"Sets the maximum prop density and changes a loading screen flag from 'loading story mode' to 'loading GTA Online'. It causes a loading screen to show as it reloads map data."},
{"name":"setInstancePriorityHint","native":"SET_INSTANCE_PRIORITY_HINT","hash":"0xC5F0A8EBD3F361CE","params":[["flag","int"]],"aka":["_SET_UNK_MAP_FLAG"]},
{"name":"isFrontendFading","native":"IS_FRONTEND_FADING","hash":"0x7EA2B6AF97ECA6ED","ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"populateNow","native":"POPULATE_NOW","hash":"0x7472BB270D7B4F3E","doc":"spawns a few distant/out-of-sight peds, vehicles, animals etc each time it is called"},
{"name":"getIndexOfCurrentLevel","native":"GET_INDEX_OF_CURRENT_LEVEL","hash":"0xCBAD6729F7B1F4FC","ret":"int"},
{"name":"setGravityLevel","native":"SET_GRAVITY_LEVEL","hash":"0x740E14FAD5842351","params":[["level","int"]],"doc":"level can be from 0 to 3\n0: 9.8 - normal\n1: 2.4 - low\n2: 0.1 - very low\n3: 0.0 - off"},
{"name":"startSaveData","native":"START_SAVE_DATA","hash":"0xA9575F812C6A7997","params":[["p0","Any*"],["p1","Any"],["p2","BOOL"]],"blocked":"memory"},
{"name":"stopSaveData","native":"STOP_SAVE_DATA","hash":"0x74E20C9145FB66FD","blocked":"memory"},
{"name":"getSizeOfSaveData","native":"GET_SIZE_OF_SAVE_DATA","hash":"0xA09F896CE912481F","params":[["p0","BOOL"]],"ret":"int","blocked":"memory"},
{"name":"registerIntToSave","native":"REGISTER_INT_TO_SAVE","hash":"0x34C9EE5986258415","params":[["p0","Any*"],["name","string"]],"blocked":"memory"},
{"name":"registerInt64ToSave","native":"REGISTER_INT64_TO_SAVE","hash":"0xA735353C77334EA0","params":[["p0","Any*"],["name","string"]],"blocked":"memory","aka":["_REGISTER_INT64_TO_SAVE"]},
{"name":"registerEnumToSave","native":"REGISTER_ENUM_TO_SAVE","hash":"0x10C2FA78D0E128A1","params":[["p0","Any*"],["name","string"]],"blocked":"memory"},
{"name":"registerFloatToSave","native":"REGISTER_FLOAT_TO_SAVE","hash":"0x7CAEC29ECB5DFEBB","params":[["p0","Any*"],["name","string"]],"blocked":"memory"},
{"name":"registerBoolToSave","native":"REGISTER_BOOL_TO_SAVE","hash":"0xC8F4131414C835A1","params":[["p0","Any*"],["name","string"]],"blocked":"memory"},
{"name":"registerTextLabelToSave","native":"REGISTER_TEXT_LABEL_TO_SAVE","hash":"0xEDB1232C5BEAE62F","params":[["p0","Any*"],["name","string"]],"blocked":"memory"},
{"name":"registerTextLabel15ToSave","native":"REGISTER_TEXT_LABEL_15_TO_SAVE","hash":"0x6F7794F28C6B2535","params":[["p0","Any*"],["name","string"]],"blocked":"memory","aka":["_REGISTER_TEXT_LABEL_TO_SAVE_2"],"doc":"```\nregisterTextLabel15ToSave(&a_0._f1, \"tlPlateText\");\nregisterTextLabel15ToSave(&a_0._f1C, \"tlPlateText_pending\");\nregisterTextLabel15ToSave(&a_0._f10B, \"tlCarAppPlateText\");\n```"},
{"name":"registerTextLabel23ToSave","native":"REGISTER_TEXT_LABEL_23_TO_SAVE","hash":"0x48F069265A0E4BEC","params":[["p0","Any*"],["name","string"]],"blocked":"memory","doc":"Only found 3 times in decompiled scripts.\n\n```\nregisterTextLabel23ToSave(a_0, \"Movie_Name_For_This_Player\");\nregisterTextLabel23ToSave(&a_0._fB, \"Ringtone_For_This_Player\");\nregisterTextLabel23ToSave(&a_0._f1EC4._f12[v_A/*6*/], &v_13); // where v_13 is \"MPATMLOGSCRS0\" thru \"MPATMLOGSCRS15\"\n```"},
{"name":"registerTextLabel31ToSave","native":"REGISTER_TEXT_LABEL_31_TO_SAVE","hash":"0x8269816F6CFD40F8","params":[["p0","Any*"],["name","string"]],"blocked":"memory","doc":"Only found 2 times in decompiled scripts."},
{"name":"registerTextLabel63ToSave","native":"REGISTER_TEXT_LABEL_63_TO_SAVE","hash":"0xFAA457EF263E8763","params":[["p0","Any*"],["name","string"]],"blocked":"memory","doc":"```\nregisterTextLabel63ToSave(a_0, \"Thumb_label\");\nregisterTextLabel63ToSave(&a_0._f10, \"Photo_label\");\nregisterTextLabel63ToSave(a_0, \"GXTlabel\");\nregisterTextLabel63ToSave(&a_0._f21, \"StringComp\");\nregisterTextLabel63ToSave(&a_0._f43, \"SecondStringComp\");\nregisterTextLabel63ToSave(&a_0._f53, \"ThirdStringComp\");\nregisterTextLabel63ToSave(&a_0._f32, \"SenderStringComp\");\nregisterTextLabel63ToSave(&a_0._f726[v_1A/*16*/], &v_20); // where v_20 is \"LastJobTL_0_1\" thru \"LastJobTL_2_1\", gets saved in a struct called \"LAST_JobGamer_TL\"\nregisterTextLabel63ToSave(&a_0._f4B, \"PAID_PLAYER\");\nregisterTextLabel63ToSave(&a_0._f5B, \"RADIO_STATION\");\n```"},
{"name":"startSaveStructWithSize","native":"START_SAVE_STRUCT_WITH_SIZE","hash":"0xBF737600CDDBEADD","params":[["p0","Any*"],["size","int"],["structName","string"]],"blocked":"memory","aka":["_START_SAVE_STRUCT"]},
{"name":"stopSaveStruct","native":"STOP_SAVE_STRUCT","hash":"0xEB1774DF12BB9F12","blocked":"memory"},
{"name":"startSaveArrayWithSize","native":"START_SAVE_ARRAY_WITH_SIZE","hash":"0x60FE567DF1B1AF9D","params":[["p0","Any*"],["size","int"],["arrayName","string"]],"blocked":"memory","aka":["_START_SAVE_ARRAY"]},
{"name":"stopSaveArray","native":"STOP_SAVE_ARRAY","hash":"0x04456F95153C6BE4","blocked":"memory"},
{"name":"copyScriptStruct","native":"COPY_SCRIPT_STRUCT","hash":"0x213AEB2B90CBA7AC","params":[["dst","Any*"],["src","Any*"],["size","int"]],"blocked":"memory","since":877,"aka":["_COPY_MEMORY"]},
{"name":"enableDispatchService","native":"ENABLE_DISPATCH_SERVICE","hash":"0xDC0F817884CDD856","params":[["dispatchService","int"],["toggle","BOOL"]]},
{"name":"blockDispatchServiceResourceCreation","native":"BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION","hash":"0x9B2BD3773123EA2F","params":[["dispatchService","int"],["toggle","BOOL"]]},
{"name":"getNumberResourcesAllocatedToWantedLevel","native":"GET_NUMBER_RESOURCES_ALLOCATED_TO_WANTED_LEVEL","hash":"0xEB4A0C2D56441717","params":[["dispatchService","int"]],"ret":"int","aka":["_GET_NUMBER_OF_DISPATCHED_UNITS_FOR_PLAYER","_GET_NUM_DISPATCHED_UNITS_FOR_PLAYER"]},
{"name":"createIncident","native":"CREATE_INCIDENT","hash":"0x3F892CAF67444AE7","params":[["dispatchService","int"],["x","float"],["y","float"],["z","float"],["numUnits","int"],["radius","float"],["p7","Any"],["p8","Any"]],"ret":"BOOL","outs":[["outIncidentID","int",6]],"doc":"As for the 'police' incident, it will call police cars to you, but unlike PedsInCavalcades & Merryweather they won't start shooting at you unless you shoot first or shoot at them. The top 2 however seem to cancel theirselves if there is noone dead around you or a fire. I only figured them out as I found out the 3rd param is definately the amountOfPeople and they called incident 3 in scripts with 4 people (which the firetruck has) and incident 5 with 2 people (which the ambulence has). The 4 param I cant say is radius, but for the pedsInCavalcades and Merryweather R* uses 0.0f and for the top 3 (Emergency Services) they use 3.0f.\n\nSide Note: It seems calling the pedsInCavalcades or Merryweather then removing it seems to break you from calling the EmergencyEvents and I also believe pedsInCavalcades. (The V cavalcades of course not IV).\n\nSide Note 2: I say it breaks as if you call this proper,\nif(`createIncident`) etc it will return false if you do as I said above."},
{"name":"createIncidentWithEntity","native":"CREATE_INCIDENT_WITH_ENTITY","hash":"0x05983472F0494E60","params":[["dispatchService","int"],["ped","Ped"],["numUnits","int"],["radius","float"],["p5","Any"],["p6","Any"]],"ret":"BOOL","outs":[["outIncidentID","int",4]],"doc":"As for the 'police' incident, it will call police cars to you, but unlike PedsInCavalcades & Merryweather they won't start shooting at you unless you shoot first or shoot at them. The top 2 however seem to cancel theirselves if there is noone dead around you or a fire. I only figured them out as I found out the 3rd param is definately the amountOfPeople and they called incident 3 in scripts with 4 people (which the firetruck has) and incident 5 with 2 people (which the ambulence has). The 4 param I cant say is radius, but for the pedsInCavalcades and Merryweather R* uses 0.0f and for the top 3 (Emergency Services) they use 3.0f.\n\nSide Note: It seems calling the pedsInCavalcades or Merryweather then removing it seems to break you from calling the EmergencyEvents and I also believe pedsInCavalcades. (The V cavalcades of course not IV).\n\nSide Note 2: I say it breaks as if you call this proper,\nif(`createIncident`) etc it will return false if you do as I said above."},
{"name":"deleteIncident","native":"DELETE_INCIDENT","hash":"0x556C1AA270D5A207","params":[["incidentId","int"]],"doc":"Delete an incident with a given id.\n\n---\nCorrection, I have change this to int, instead of int*\nas it doesn't use a pointer to the createdIncident.\nIf you try it you will crash (or) freeze."},
{"name":"isIncidentValid","native":"IS_INCIDENT_VALID","hash":"0xC8BC6461E629BEAA","params":[["incidentId","int"]],"ret":"BOOL","doc":"Correction, I have change this to int, instead of int*\nas it doesn't use a pointer to the createdIncident.\nIf you try it you will crash (or) freeze."},
{"name":"setIncidentRequestedUnits","native":"SET_INCIDENT_REQUESTED_UNITS","hash":"0xB08B85D860E7BA3C","params":[["incidentId","int"],["dispatchService","int"],["numUnits","int"]]},
{"name":"setIdealSpawnDistanceForIncident","native":"SET_IDEAL_SPAWN_DISTANCE_FOR_INCIDENT","hash":"0xD261BA3E7E998072","params":[["incidentId","int"],["p1","float"]],"aka":["_SET_INCIDENT_UNK"]},
{"name":"findSpawnPointInDirection","native":"FIND_SPAWN_POINT_IN_DIRECTION","hash":"0x6874E2190B0C1972","params":[["posX","float"],["posY","float"],["posZ","float"],["fwdVecX","float"],["fwdVecY","float"],["fwdVecZ","float"],["distance","float"]],"ret":"BOOL","outs":[["spawnPoint","Vector3",7]],"doc":"Finds a position ahead of the player by predicting the players next actions.\nThe positions match path finding node positions.\nWhen roads diverge, the position may rapidly change between two or more positions. This is due to the engine not being certain of which path the player will take."},
{"name":"addPopMultiplierArea","native":"ADD_POP_MULTIPLIER_AREA","hash":"0x67F6413D3220E18D","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p6","float"],["p7","float"],["p8","BOOL"],["p9","BOOL"]],"ret":"int"},
{"name":"doesPopMultiplierAreaExist","native":"DOES_POP_MULTIPLIER_AREA_EXIST","hash":"0x1327E2FE9746BAEE","params":[["id","int"]],"ret":"BOOL"},
{"name":"removePopMultiplierArea","native":"REMOVE_POP_MULTIPLIER_AREA","hash":"0xB129E447A2EDA4BF","params":[["id","int"],["p1","BOOL"]]},
{"name":"isPopMultiplierAreaNetworked","native":"IS_POP_MULTIPLIER_AREA_NETWORKED","hash":"0x1312F4B242609CE3","params":[["id","int"]],"ret":"BOOL","since":1290,"aka":["_IS_POP_MULTIPLIER_AREA_UNK"]},
{"name":"addPopMultiplierSphere","native":"ADD_POP_MULTIPLIER_SPHERE","hash":"0x32C7A7E8C43A1F80","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["pedMultiplier","float"],["vehicleMultiplier","float"],["p6","BOOL"],["p7","BOOL"]],"ret":"int","doc":"This native is adding a zone, where you can change density settings. For example, you can add a zone on 0.0, 0.0, 0.0 with radius 900.0 and vehicleMultiplier 0.0, and you will not see any new population vehicle spawned in a radius of 900.0 from 0.0, 0.0, 0.0. Returns the id. You can have only 15 zones at the same time. You can remove zone using `removePopMultiplierSphere`"},
{"name":"doesPopMultiplierSphereExist","native":"DOES_POP_MULTIPLIER_SPHERE_EXIST","hash":"0x171BAFB3C60389F4","params":[["id","int"]],"ret":"BOOL","since":791},
{"name":"removePopMultiplierSphere","native":"REMOVE_POP_MULTIPLIER_SPHERE","hash":"0xE6869BECDD8F2403","params":[["id","int"],["p1","BOOL"]],"doc":"Removes population multiplier sphere"},
{"name":"enableTennisMode","native":"ENABLE_TENNIS_MODE","hash":"0x28A04B411933F8A6","params":[["ped","Ped"],["toggle","BOOL"],["p2","BOOL"]],"doc":"Makes the ped jump around like they're in a tennis match"},
{"name":"isTennisMode","native":"IS_TENNIS_MODE","hash":"0x5D5479D115290C3F","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"playTennisSwingAnim","native":"PLAY_TENNIS_SWING_ANIM","hash":"0xE266ED23311F24D4","params":[["ped","Ped"],["animDict","string"],["animName","string"],["p3","float"],["p4","float"],["p5","BOOL"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"getTennisSwingAnimComplete","native":"GET_TENNIS_SWING_ANIM_COMPLETE","hash":"0x17DF68D720AA77F8","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getTennisSwingAnimCanBeInterrupted","native":"GET_TENNIS_SWING_ANIM_CAN_BE_INTERRUPTED","hash":"0x19BFED045C647C49","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getTennisSwingAnimSwung","native":"GET_TENNIS_SWING_ANIM_SWUNG","hash":"0xE95B0C7D5BA3B96B","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"playTennisDiveAnim","native":"PLAY_TENNIS_DIVE_ANIM","hash":"0x8FA9C42FC5D7C64B","params":[["ped","Ped"],["p1","int"],["p2","float"],["p3","float"],["p4","float"],["p5","BOOL"]]},
{"name":"setTennisMoveNetworkSignalFloat","native":"SET_TENNIS_MOVE_NETWORK_SIGNAL_FLOAT","hash":"0x54F157E0336A3822","params":[["ped","Ped"],["p1","string"],["p2","float"]],"doc":"From the scripts:\n\n```\nsetTennisMoveNetworkSignalFloat(sub_aa49(a_0), \"ForcedStopDirection\", v_E);\n```\n\nRelated to tennis mode."},
{"name":"resetDispatchSpawnLocation","native":"RESET_DISPATCH_SPAWN_LOCATION","hash":"0x5896F2BD5683A4E1","since":1868,"aka":["_RESET_DISPATCH_SPAWN_LOCATION"]},
{"name":"setDispatchSpawnLocation","native":"SET_DISPATCH_SPAWN_LOCATION","hash":"0xD10F442036302D50","params":[["x","float"],["y","float"],["z","float"]]},
{"name":"resetDispatchIdealSpawnDistance","native":"RESET_DISPATCH_IDEAL_SPAWN_DISTANCE","hash":"0x77A84429DD9F0A15"},
{"name":"setDispatchIdealSpawnDistance","native":"SET_DISPATCH_IDEAL_SPAWN_DISTANCE","hash":"0x6FE601A64180D423","params":[["distance","float"]]},
{"name":"resetDispatchTimeBetweenSpawnAttempts","native":"RESET_DISPATCH_TIME_BETWEEN_SPAWN_ATTEMPTS","hash":"0xEB2DB0CAD13154B3","params":[["p0","Any"]]},
{"name":"setDispatchTimeBetweenSpawnAttempts","native":"SET_DISPATCH_TIME_BETWEEN_SPAWN_ATTEMPTS","hash":"0x44F7CBC1BEB3327D","params":[["p0","Any"],["p1","float"]]},
{"name":"setDispatchTimeBetweenSpawnAttemptsMultiplier","native":"SET_DISPATCH_TIME_BETWEEN_SPAWN_ATTEMPTS_MULTIPLIER","hash":"0x48838ED9937A15D1","params":[["p0","Any"],["p1","float"]]},
{"name":"addDispatchSpawnAngledBlockingArea","native":"ADD_DISPATCH_SPAWN_ANGLED_BLOCKING_AREA","hash":"0x918C7B2D2FF3928B","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"]],"ret":"int","aka":["_ADD_DISPATCH_SPAWN_BLOCKING_ANGLED_AREA"],"doc":"To remove, see: `removeDispatchSpawnBlockingArea`\nSee `isPointInAngledArea` for the definition of an angled area."},
{"name":"addDispatchSpawnSphereBlockingArea","native":"ADD_DISPATCH_SPAWN_SPHERE_BLOCKING_AREA","hash":"0x2D4259F1FEB81DA9","params":[["x1","float"],["y1","float"],["x2","float"],["y2","float"]],"ret":"int","aka":["_ADD_DISPATCH_SPAWN_BLOCKING_AREA"]},
{"name":"removeDispatchSpawnBlockingArea","native":"REMOVE_DISPATCH_SPAWN_BLOCKING_AREA","hash":"0x264AC28B01B353A5","params":[["p0","int"]]},
{"name":"resetDispatchSpawnBlockingAreas","native":"RESET_DISPATCH_SPAWN_BLOCKING_AREAS","hash":"0xAC7BFD5C1D83EA75"},
{"name":"resetWantedResponseNumPedsToSpawn","native":"RESET_WANTED_RESPONSE_NUM_PEDS_TO_SPAWN","hash":"0xD9F692D349249528"},
{"name":"setWantedResponseNumPedsToSpawn","native":"SET_WANTED_RESPONSE_NUM_PEDS_TO_SPAWN","hash":"0xE532EC1A63231B4F","params":[["p0","int"],["p1","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`p0` must be between `0` and `16`, and `p1` between `-1` and `127`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"addTacticalNavMeshPoint","native":"ADD_TACTICAL_NAV_MESH_POINT","hash":"0xB8721407EE9C3FF6","params":[["x","float"],["y","float"],["z","float"]],"aka":["_ADD_TACTICAL_ANALYSIS_POINT"]},
{"name":"clearTacticalNavMeshPoints","native":"CLEAR_TACTICAL_NAV_MESH_POINTS","hash":"0xB3CD58CCA6CDA852","aka":["_CLEAR_TACTICAL_ANALYSIS_POINTS"]},
{"name":"setRiotModeEnabled","native":"SET_RIOT_MODE_ENABLED","hash":"0x2587A48BC88DFADF","params":[["toggle","BOOL"]],"doc":"Activates (usused?) riot mode. All NPCs are being hostile to each other (including player). Also the game will give weapons (pistols, smgs) to random NPCs."},
{"name":"displayOnscreenKeyboardWithLongerInitialString","native":"DISPLAY_ONSCREEN_KEYBOARD_WITH_LONGER_INITIAL_STRING","hash":"0xCA78CFA0366592FE","params":[["p0","int"],["windowTitle","string"],["p2","Any*"],["defaultText","string"],["defaultConcat1","string"],["defaultConcat2","string"],["defaultConcat3","string"],["defaultConcat4","string"],["defaultConcat5","string"],["defaultConcat6","string"],["defaultConcat7","string"],["maxInputLength","int"]],"blocked":"frontend","aka":["_DISPLAY_ONSCREEN_KEYBOARD_2"]},
{"name":"displayOnscreenKeyboard","native":"DISPLAY_ONSCREEN_KEYBOARD","hash":"0x00DC833F2568DBF6","params":[["p0","int"],["windowTitle","string"],["p2","string"],["defaultText","string"],["defaultConcat1","string"],["defaultConcat2","string"],["defaultConcat3","string"],["maxInputLength","int"]],"blocked":"frontend","doc":"note, p0 is set to 6 for PC platform in at least 1 script, or to `GET_CURRENT_LANGUAGE() == 0` otherwise.\n\nNOTE: windowTitle uses text labels, and an invalid value will display nothing.\n\nhttps://gtaforums.com/topic/788343-vrel-script-hook-v/?p=1067380474\n\nwindowTitle's\n---\nCELL_EMAIL_BOD  =   \"Enter your Eyefind message\"\nCELL_EMAIL_BODE =   \"Message too long. Try again\"\nCELL_EMAIL_BODF    =   \"Forbidden message. Try again\"\nCELL_EMAIL_SOD    =   \"Enter your Eyefind subject\"\nCELL_EMAIL_SODE =   \"Subject too long. Try again\"\nCELL_EMAIL_SODF    =   \"Forbidden text. Try again\"\nCELL_EMASH_BOD   =   \"Enter your Eyefind message\"\nCELL_EMASH_BODE =   \"Message too long. Try again\"\nCELL_EMASH_BODF    =   \"Forbidden message. Try again\"\nCELL_EMASH_SOD    =   \"Enter your Eyefind subject\"\nCELL_EMASH_SODE =   \"Subject too long. Try again\"\nCELL_EMASH_SODF    =   \"Forbidden Text. Try again\"\nFMMC_KEY_TIP10   =   \"Enter Synopsis\"\nFMMC_KEY_TIP12  =   \"Enter Custom Team Name\"\nFMMC_KEY_TIP12F =   \"Forbidden Text. Try again\"\nFMMC_KEY_TIP12N  =   \"Custom Team Name\"\nFMMC_KEY_TIP8 =   \"Enter Message\"\nFMMC_KEY_TIP8F   =   \"Forbidden Text. Try again\"\nFMMC_KEY_TIP8FS  =   \"Invalid Message. Try again\"\nFMMC_KEY_TIP8S  =   \"Enter Message\"\nFMMC_KEY_TIP9    =   \"Enter Outfit Name\"\nFMMC_KEY_TIP9F   =   \"Invalid Outfit Name. Try again\"\nFMMC_KEY_TIP9N  =   \"Outfit Name\"\nPM_NAME_CHALL  =   \"Enter Challenge Name\""},
{"name":"updateOnscreenKeyboard","native":"UPDATE_ONSCREEN_KEYBOARD","hash":"0x0CF2B696BBF945AE","ret":"int","blocked":"frontend","doc":"Returns the current status of the onscreen keyboard, and updates the output.\n\nStatus Codes:\n\n-1: Keyboard isn't active\n0: User still editing\n1: User has finished editing\n2: User has canceled editing"},
{"name":"getOnscreenKeyboardResult","native":"GET_ONSCREEN_KEYBOARD_RESULT","hash":"0x8362B09B91893647","ret":"string","blocked":"frontend","doc":"Returns NULL unless `updateOnscreenKeyboard`() returns 1 in the same tick."},
{"name":"cancelOnscreenKeyboard","native":"CANCEL_ONSCREEN_KEYBOARD","hash":"0x58A39BE597CE99CD","blocked":"frontend","since":757,"aka":["_CANCEL_ONSCREEN_KEYBOARD"],"doc":"DO NOT use this as it doesn't clean up the text input box properly and your script will get stuck in the `updateOnscreenKeyboard`() loop.\nUse `forceCloseTextInputBox` instead."},
{"name":"nextOnscreenKeyboardResultWillDisplayUsingTheseFonts","native":"NEXT_ONSCREEN_KEYBOARD_RESULT_WILL_DISPLAY_USING_THESE_FONTS","hash":"0x3ED1438C1F5C6612","params":[["p0","int"]],"blocked":"frontend","doc":"p0 was always 2 in R* scripts.\nCalled before calling `displayOnscreenKeyboard` if the input needs to be saved."},
{"name":"actionManagerEnableAction","native":"ACTION_MANAGER_ENABLE_ACTION","hash":"0xA6A12939F16D85BE","params":[["hash","Hash"],["enable","BOOL"]],"aka":["_REMOVE_STEALTH_KILL"],"doc":"Appears to remove stealth kill action from memory"},
{"name":"getRealWorldTime","native":"GET_REAL_WORLD_TIME","hash":"0x3F60413F5DF65748","ret":"int","since":2612,"doc":"`getGameTimer`() / 1000"},
{"name":"supressRandomEventThisFrame","native":"SUPRESS_RANDOM_EVENT_THIS_FRAME","hash":"0x1EAE0A6E978894A2","params":[["eventType","int"],["suppress","BOOL"]]},
{"name":"setExplosiveAmmoThisFrame","native":"SET_EXPLOSIVE_AMMO_THIS_FRAME","hash":"0xA66C71C98D5F2CFB","params":[["player","Player"]]},
{"name":"setFireAmmoThisFrame","native":"SET_FIRE_AMMO_THIS_FRAME","hash":"0x11879CDD803D30F4","params":[["player","Player"]]},
{"name":"setExplosiveMeleeThisFrame","native":"SET_EXPLOSIVE_MELEE_THIS_FRAME","hash":"0xFF1BED81BFDC0FE0","params":[["player","Player"]]},
{"name":"setSuperJumpThisFrame","native":"SET_SUPER_JUMP_THIS_FRAME","hash":"0x57FFF03E423A4C0B","params":[["player","Player"]]},
{"name":"setBeastJumpThisFrame","native":"SET_BEAST_JUMP_THIS_FRAME","hash":"0x438822C279B73B93","params":[["player","Player"]],"since":573,"aka":["_SET_BEAST_MODE_ACTIVE"]},
{"name":"setForcedJumpThisFrame","native":"SET_FORCED_JUMP_THIS_FRAME","hash":"0xA1183BCFEE0F93D1","params":[["player","Player"]],"since":1180,"aka":["_SET_FORCE_PLAYER_TO_JUMP"]},
{"name":"hasGameInstalledThisSession","native":"HAS_GAME_INSTALLED_THIS_SESSION","hash":"0x6FDDF453C0C756EC","ret":"BOOL"},
{"name":"setTickerJohnmarstonIsDone","native":"SET_TICKER_JOHNMARSTON_IS_DONE","hash":"0xFB00CA71DA386228"},
{"name":"areProfileSettingsValid","native":"ARE_PROFILE_SETTINGS_VALID","hash":"0x5AA3BEFA29F03AD4","ret":"BOOL"},
{"name":"preventArrestStateThisFrame","native":"PREVENT_ARREST_STATE_THIS_FRAME","hash":"0xE3D969D2785FFB5E"},
{"name":"forceGameStatePlaying","native":"FORCE_GAME_STATE_PLAYING","hash":"0xC0AA53F866B3134D","aka":["_RESET_LOCALPLAYER_STATE"],"doc":"Sets the localplayer playerinfo state back to playing (State 0)\n\nStates are:\n-1: \"Invalid\"\n0: \"Playing\"\n1: \"Died\"\n2: \"Arrested\"\n3: \"Failed Mission\"\n4: \"Left Game\"\n5: \"Respawn\"\n6: \"In MP Cutscene\""},
{"name":"scriptRaceInit","native":"SCRIPT_RACE_INIT","hash":"0x0A60017F841A54F2","params":[["p0","int"],["p1","int"],["p2","Any"],["p3","Any"]]},
{"name":"scriptRaceShutdown","native":"SCRIPT_RACE_SHUTDOWN","hash":"0x1FF6BF9A63E5757F"},
{"name":"scriptRacePlayerHitCheckpoint","native":"SCRIPT_RACE_PLAYER_HIT_CHECKPOINT","hash":"0x1BB299305C3E8C13","params":[["player","Player"],["p1","Any"],["p2","Any"],["p3","Any"]]},
{"name":"scriptRaceGetPlayerSplitTime","native":"SCRIPT_RACE_GET_PLAYER_SPLIT_TIME","hash":"0x8EF5573A1F801A5C","params":[["player","Player"]],"ret":"BOOL","outs":[["p1","int",1],["p2","int",2]]},
{"name":"startEndUserBenchmark","native":"START_END_USER_BENCHMARK","hash":"0x92790862E36C2ADA","aka":["_START_BENCHMARK_RECORDING"]},
{"name":"stopEndUserBenchmark","native":"STOP_END_USER_BENCHMARK","hash":"0xC7DB36C24634F52B","aka":["_STOP_BENCHMARK_RECORDING"]},
{"name":"resetEndUserBenchmark","native":"RESET_END_USER_BENCHMARK","hash":"0x437138B6A830166A","aka":["_RESET_BENCHMARK_RECORDING"]},
{"name":"saveEndUserBenchmark","native":"SAVE_END_USER_BENCHMARK","hash":"0x37DEB0AA183FB6D8","blocked":"saves","aka":["_SAVE_BENCHMARK_RECORDING"],"doc":"Saves the benchmark recording to %USERPROFILE%\\Documents\\Rockstar Games\\GTA V\\Benchmarks and submits some metrics."},
{"name":"uiStartedEndUserBenchmark","native":"UI_STARTED_END_USER_BENCHMARK","hash":"0xEA2F2061875EED90","ret":"BOOL","aka":["_UI_IS_SINGLEPLAYER_PAUSE_MENU_ACTIVE"],"doc":"Returns true if the current frontend menu is FE_MENU_VERSION_SP_PAUSE"},
{"name":"landingScreenStartedEndUserBenchmark","native":"LANDING_SCREEN_STARTED_END_USER_BENCHMARK","hash":"0x3BBBD13E5041A79E","ret":"BOOL","aka":["_LANDING_MENU_IS_ACTIVE"],"doc":"Returns true if the current frontend menu is FE_MENU_VERSION_LANDING_MENU"},
{"name":"isCommandlineEndUserBenchmark","native":"IS_COMMANDLINE_END_USER_BENCHMARK","hash":"0xA049A5BE0F04F2F8","ret":"BOOL","aka":["_IS_COMMAND_LINE_BENCHMARK_VALUE_SET"],"doc":"Returns true if command line option '-benchmark' is set."},
{"name":"getBenchmarkIterations","native":"GET_BENCHMARK_ITERATIONS","hash":"0x4750FC27570311EC","ret":"int","aka":["_GET_BENCHMARK_ITERATIONS_FROM_COMMAND_LINE"],"doc":"Returns value of the '-benchmarkIterations' command line option."},
{"name":"getBenchmarkPass","native":"GET_BENCHMARK_PASS","hash":"0x1B2366C3F2A5C8DF","ret":"int","aka":["_GET_BENCHMARK_PASS_FROM_COMMAND_LINE"],"doc":"Returns value of the '-benchmarkPass' command line option."},
{"name":"restartGame","native":"RESTART_GAME","hash":"0xE574A662ACAEFBB1","blocked":"saves","since":372,"aka":["_RESTART_GAME"],"doc":"In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows `Disconnecting from GTA Online` HUD and then quits the game."},
{"name":"quitGame","native":"QUIT_GAME","hash":"0xEB6891F03362FB12","aka":["_FORCE_SOCIAL_CLUB_UPDATE"],"doc":"Exits the game and downloads a fresh social club update on next restart."},
{"name":"hasAsyncInstallFinished","native":"HAS_ASYNC_INSTALL_FINISHED","hash":"0x14832BF2ABA53FC5","ret":"BOOL","aka":["_HAS_ASYNC_INSTALL_FINISHED"],"doc":"Hardcoded to always return true."},
{"name":"cleanupAsyncInstall","native":"CLEANUP_ASYNC_INSTALL","hash":"0xC79AE21974B01FB2","aka":["_CLEANUP_ASYNC_INSTALL"]},
{"name":"plmIsInConstrainedMode","native":"PLM_IS_IN_CONSTRAINED_MODE","hash":"0x684A41975F077262","ret":"BOOL","aka":["_IS_IN_POWER_SAVING_MODE"],"doc":"aka \"constrained\""},
{"name":"plmGetConstrainedDurationMs","native":"PLM_GET_CONSTRAINED_DURATION_MS","hash":"0xABB2FA71C83A1B72","ret":"int","aka":["_GET_POWER_SAVING_MODE_DURATION"],"doc":"Returns duration of how long the game has been in power-saving mode (aka \"constrained\") in milliseconds."},
{"name":"setPlayerIsInAnimalForm","native":"SET_PLAYER_IS_IN_ANIMAL_FORM","hash":"0x4EBB7E87AA0DBED4","params":[["toggle","BOOL"]],"aka":["_SHOW_PED_IN_PAUSE_MENU","_SET_PLAYER_IS_IN_ANIMAL_FORM"],"doc":"If toggle is true, the ped's head is shown in the pause menu\nIf toggle is false, the ped's head is not shown in the pause menu"},
{"name":"getIsPlayerInAnimalForm","native":"GET_IS_PLAYER_IN_ANIMAL_FORM","hash":"0x9689123E3F213AA5","ret":"BOOL","doc":"Although we don't have a jenkins hash for this one, the name is 100% confirmed."},
{"name":"setPlayerIsRepeatingAMission","native":"SET_PLAYER_IS_REPEATING_A_MISSION","hash":"0x9D8D44ADBBA61EF2","params":[["toggle","BOOL"]],"aka":["_SET_PLAYER_ROCKSTAR_EDITOR_DISABLED"]},
{"name":"disableScreenDimmingThisFrame","native":"DISABLE_SCREEN_DIMMING_THIS_FRAME","hash":"0x23227DF0B2115469","doc":"Does nothing (it's a nullsub)."},
{"name":"getCityDensity","native":"GET_CITY_DENSITY","hash":"0xD10282B6E3751BA0","ret":"float"},
{"name":"useActiveCameraForTimeslicingCentre","native":"USE_ACTIVE_CAMERA_FOR_TIMESLICING_CENTRE","hash":"0x693478ACBD7F18E7","since":1103},
{"name":"getScriptRouterContext","native":"GET_SCRIPT_ROUTER_CONTEXT","params":[["contextData","Any*"]],"ret":"BOOL","na":1},
{"name":"setScriptRouterLink","native":"SET_SCRIPT_ROUTER_LINK","params":[["contextData","Any*"]],"ret":"BOOL","na":1},
{"name":"hasPendingScriptRouterLink","native":"HAS_PENDING_SCRIPT_ROUTER_LINK","ret":"BOOL","na":1},
{"name":"clearScriptRouterLink","native":"CLEAR_SCRIPT_ROUTER_LINK","na":1},
{"name":"reportInvalidScriptRouterArgument","native":"REPORT_INVALID_SCRIPT_ROUTER_ARGUMENT","params":[["argument","string"]],"na":1},
{"name":"setActivityScriptRoutingEnabled","native":"SET_ACTIVITY_SCRIPT_ROUTING_ENABLED","params":[["enabled","BOOL"]],"na":1},
{"name":"isSessionInitialized","native":"IS_SESSION_INITIALIZED","ret":"BOOL","na":1},
{"name":"getChosenCriminalCareer","native":"GET_CHOSEN_CRIMINAL_CAREER","ret":"int","na":1},
{"name":"hasFinalizedChosenCriminalCareer","native":"HAS_FINALIZED_CHOSEN_CRIMINAL_CAREER","ret":"BOOL","na":1},
{"name":"getChosenMpCharacterSlot","native":"GET_CHOSEN_MP_CHARACTER_SLOT","ret":"int","na":1},
{"name":"resetChosenMpCharacterSlot","native":"RESET_CHOSEN_MP_CHARACTER_SLOT","na":1},
{"name":"setContentIdIndex","native":"SET_CONTENT_ID_INDEX","hash":"0x4B82FA6F2D624634","params":[["contentId","Hash"],["index","int"]],"since":2612,"aka":["_SET_CONTENT_MAP_INDEX"]},
{"name":"getContentIdIndex","native":"GET_CONTENT_ID_INDEX","hash":"0xECF041186C5A94DC","params":[["contentId","Hash"]],"ret":"int","since":2612,"aka":["_GET_CONTENT_MAP_INDEX"]},
{"name":"setContentPropType","native":"_SET_CONTENT_PROP_TYPE","hash":"0xBA4583AF4C678A9B","params":[["model","Hash"],["type","int"]],"na":1,"since":3095},
{"name":"getContentPropType","native":"_GET_CONTENT_PROP_TYPE","hash":"0x8BAF8AD59F47AAFC","params":[["model","Hash"]],"ret":"int","na":1,"since":3095,"doc":"Returns prop type for given model hash"}
]},
{"id":"MOBILE","title":"Mobile phone","doc":"The in-game phone prop: position, rotation, scale and camera.","natives":[
{"name":"createMobilePhone","native":"CREATE_MOBILE_PHONE","hash":"0xA4E8E696C532FBC7","params":[["phoneType","int"]],"doc":"Creates a mobile phone of the specified type.\n\nPossible phone types:\n\n0 - Default phone / Michael's phone\n1 - Trevor's phone\n2 - Franklin's phone\n3 - Unused police phone\n4 - Prologue phone\n\nHigher values may crash your game."},
{"name":"destroyMobilePhone","native":"DESTROY_MOBILE_PHONE","hash":"0x3BC861DF703E5097","doc":"Destroys the currently active mobile phone."},
{"name":"setMobilePhoneScale","native":"SET_MOBILE_PHONE_SCALE","hash":"0xCBDD322A73D6D932","params":[["scale","float"]],"doc":"The minimum/default is 500.0f. If you plan to make it bigger set it's position as well. Also this seems to need to be called in a loop as when you close the phone the scale is reset. If not in a loop you'd need to call it everytime before you re-open the phone."},
{"name":"setMobilePhoneRotation","native":"SET_MOBILE_PHONE_ROTATION","hash":"0xBB779C0CA917E865","params":[["rotX","float"],["rotY","float"],["rotZ","float"],["p3","Any"]],"doc":"Last parameter is unknown and always zero."},
{"name":"getMobilePhoneRotation","native":"GET_MOBILE_PHONE_ROTATION","hash":"0x1CEFB61F193070AE","params":[["p1","Vehicle"]],"outs":[["rotation","Vector3",0]]},
{"name":"setMobilePhonePosition","native":"SET_MOBILE_PHONE_POSITION","hash":"0x693A5C6D6734085B","params":[["posX","float"],["posY","float"],["posZ","float"]]},
{"name":"getMobilePhonePosition","native":"GET_MOBILE_PHONE_POSITION","hash":"0x584FDFDA48805B86","outs":[["position","Vector3",0]]},
{"name":"scriptIsMovingMobilePhoneOffscreen","native":"SCRIPT_IS_MOVING_MOBILE_PHONE_OFFSCREEN","hash":"0xF511F759238A5122","params":[["toggle","BOOL"]],"doc":"If bool Toggle = true so the mobile is hide to screen.\nIf bool Toggle = false so the mobile is show to screen."},
{"name":"canPhoneBeSeenOnScreen","native":"CAN_PHONE_BE_SEEN_ON_SCREEN","hash":"0xC4E2813898C97A4B","ret":"BOOL","doc":"This one is weird and seems to return a TRUE state regardless of whether the phone is visible on screen or tucked away.\n\nI can confirm the above. This function is hard-coded to always return 1."},
{"name":"setMobilePhoneDofState","native":"SET_MOBILE_PHONE_DOF_STATE","hash":"0x375A706A5C2FD084","params":[["toggle","BOOL"]],"since":372,"aka":["_SET_MOBILE_PHONE_UNK"]},
{"name":"cellSetInput","native":"CELL_SET_INPUT","hash":"0x95C9E72F3D7DEC9B","params":[["direction","int"]],"aka":["_MOVE_FINGER","_CELL_CAM_MOVE_FINGER"],"doc":"For move the finger of player, the value of int goes 1 at 5."},
{"name":"cellHorizontalModeToggle","native":"CELL_HORIZONTAL_MODE_TOGGLE","hash":"0x44E44169EF70138E","params":[["toggle","BOOL"]],"aka":["_SET_PHONE_LEAN","_CELL_CAM_SET_LEAN"],"doc":"if the bool \"Toggle\" is \"true\" so the phone is lean.\nif the bool \"Toggle\" is \"false\" so the phone is not lean."},
{"name":"cellCamActivate","native":"CELL_CAM_ACTIVATE","hash":"0xFDE8F069C542D126","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"cellCamActivateSelfieMode","native":"CELL_CAM_ACTIVATE_SELFIE_MODE","hash":"0x015C49A93E3E086E","params":[["toggle","BOOL"]],"aka":["_DISABLE_PHONE_THIS_FRAME","_CELL_CAM_DISABLE_THIS_FRAME"]},
{"name":"cellCamActivateShallowDofMode","native":"CELL_CAM_ACTIVATE_SHALLOW_DOF_MODE","hash":"0xA2CCBE62CD4C91A4","params":[["toggle","BOOL"]]},
{"name":"cellCamSetSelfieModeSideOffsetScaling","native":"CELL_CAM_SET_SELFIE_MODE_SIDE_OFFSET_SCALING","hash":"0x1B0B4AEED5B9B41C","params":[["p0","float"]]},
{"name":"cellCamSetSelfieModeHorzPanOffset","native":"CELL_CAM_SET_SELFIE_MODE_HORZ_PAN_OFFSET","hash":"0x53F4892D18EC90A4","params":[["horizontalPan","float"]]},
{"name":"cellCamSetSelfieModeVertPanOffset","native":"CELL_CAM_SET_SELFIE_MODE_VERT_PAN_OFFSET","hash":"0x3117D84EFA60F77B","params":[["vertPan","float"]]},
{"name":"cellCamSetSelfieModeRollOffset","native":"CELL_CAM_SET_SELFIE_MODE_ROLL_OFFSET","hash":"0x15E69E2802C24B8D","params":[["roll","float"]]},
{"name":"cellCamSetSelfieModeDistanceScaling","native":"CELL_CAM_SET_SELFIE_MODE_DISTANCE_SCALING","hash":"0xAC2890471901861C","params":[["distanceScaling","float"]]},
{"name":"cellCamSetSelfieModeHeadYawOffset","native":"CELL_CAM_SET_SELFIE_MODE_HEAD_YAW_OFFSET","hash":"0xD6ADE981781FCA09","params":[["yaw","float"]]},
{"name":"cellCamSetSelfieModeHeadRollOffset","native":"CELL_CAM_SET_SELFIE_MODE_HEAD_ROLL_OFFSET","hash":"0xF1E22DC13F5EEBAD","params":[["roll","float"]]},
{"name":"cellCamSetSelfieModeHeadPitchOffset","native":"CELL_CAM_SET_SELFIE_MODE_HEAD_PITCH_OFFSET","hash":"0x466DA42C89865553","params":[["pitch","float"]]},
{"name":"cellCamIsCharVisibleNoFaceCheck","native":"CELL_CAM_IS_CHAR_VISIBLE_NO_FACE_CHECK","hash":"0x439E9BC95B7E7FBE","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"getMobilePhoneRenderId","native":"GET_MOBILE_PHONE_RENDER_ID","hash":"0xB4A53E05F68B6FA1","outs":[["renderId","int",0]]}
]},
{"id":"MONEY","title":"Money","doc":"The game's online economy: earn and spend records, balances.","natives":[
{"name":"networkInitializeCash","native":"NETWORK_INITIALIZE_CASH","hash":"0x3DA5ECD1A56CBA6D","params":[["wallet","int"],["bank","int"]],"blocked":"rockstar"},
{"name":"networkDeleteCharacter","native":"NETWORK_DELETE_CHARACTER","hash":"0x05A50AF38947EB8D","params":[["characterSlot","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","doc":"Note the 2nd parameters are always 1, 0. I have a feeling it deals with your money, wallet, bank. So when you delete the character it of course wipes the wallet cash at that time. So if that was the case, it would be eg, `networkDeleteCharacter`(characterIndex, deleteWalletCash, deleteBankCash);"},
{"name":"networkManualDeleteCharacter","native":"NETWORK_MANUAL_DELETE_CHARACTER","hash":"0x821418C727FCACD7","params":[["characterSlot","int"]],"blocked":"rockstar","since":791,"aka":["_NETWORK_MANUAL_DELETE_CHARACTER"]},
{"name":"networkGetPlayerIsHighEarner","native":"NETWORK_GET_PLAYER_IS_HIGH_EARNER","hash":"0xFB2456B2040A6A67","ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_GET_IS_HIGH_EARNER"]},
{"name":"networkClearCharacterWallet","native":"NETWORK_CLEAR_CHARACTER_WALLET","hash":"0xA921DED15FDF28F5","params":[["characterSlot","int"]],"blocked":"rockstar"},
{"name":"networkGivePlayerJobshareCash","native":"NETWORK_GIVE_PLAYER_JOBSHARE_CASH","hash":"0xFB18DF9CB95E0105","params":[["amount","int"],["gamerHandle","Any*"]],"blocked":"rockstar"},
{"name":"networkReceivePlayerJobshareCash","native":"NETWORK_RECEIVE_PLAYER_JOBSHARE_CASH","hash":"0x56A3B51944C50598","params":[["value","int"],["gamerHandle","Any*"]],"blocked":"rockstar"},
{"name":"networkCanShareJobCash","native":"NETWORK_CAN_SHARE_JOB_CASH","hash":"0x1C2473301B1C66BA","ret":"BOOL","blocked":"rockstar"},
{"name":"networkRefundCash","native":"NETWORK_REFUND_CASH","hash":"0xF9C812CD7C46E817","params":[["index","int"],["context","string"],["reason","string"],["p3","BOOL"]],"blocked":"rockstar","doc":"index\n---\nSee function sub_1005 in am_boat_taxi.ysc\n\ncontext\n---\n\"BACKUP_VAGOS\"\n\"BACKUP_LOST\"\n\"BACKUP_FAMILIES\"\n\"HIRE_MUGGER\"\n\"HIRE_MERCENARY\"\n\"BUY_CARDROPOFF\"\n\"HELI_PICKUP\"\n\"BOAT_PICKUP\"\n\"CLEAR_WANTED\"\n\"HEAD_2_HEAD\"\n\"CHALLENGE\"\n\"SHARE_LAST_JOB\"\n\"DEFAULT\"\n\nreason\n---\n\"NOTREACHTARGET\"\n\"TARGET_ESCAPE\"\n\"DELIVERY_FAIL\"\n\"NOT_USED\"\n\"TEAM_QUIT\"\n\"SERVER_ERROR\"\n\"RECEIVE_LJ_L\"\n\"CHALLENGE_PLAYER_LEFT\"\n\"DEFAULT\"\n\nunk\n---\nUnknown bool value"},
{"name":"networkDeductCash","native":"NETWORK_DEDUCT_CASH","hash":"0x18B7AE224B087E26","params":[["amount","int"],["p1","string"],["p2","string"],["p3","BOOL"],["p4","BOOL"],["p5","BOOL"]],"blocked":"rockstar","aka":["_NETWORK_DEDUCT_CASH"]},
{"name":"networkMoneyCanBet","native":"NETWORK_MONEY_CAN_BET","hash":"0x81404F3DC124FE5B","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"networkCanBet","native":"NETWORK_CAN_BET","hash":"0x3A54E33660DED67F","params":[["amount","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"networkCasinoCanBet","native":"NETWORK_CASINO_CAN_BET","hash":"0x158C16F5E4CF41F8","params":[["hash","Hash"]],"ret":"BOOL","blocked":"rockstar","since":1734,"aka":["_NETWORK_CASINO_CAN_USE_GAMBLING_TYPE"],"doc":"GTAO_CASINO_HOUSE\nGTAO_CASINO_INSIDETRACK\nGTAO_CASINO_LUCKYWHEEL\nGTAO_CASINO_BLACKJACK\nGTAO_CASINO_ROULETTE\nGTAO_CASINO_SLOTS\nGTAO_CASINO_PURCHASE_CHIPS\n\nNETWORK_C*"},
{"name":"networkCasinoCanBetPvc","native":"NETWORK_CASINO_CAN_BET_PVC","hash":"0x394DCDB9E836B7A9","ret":"BOOL","blocked":"rockstar","since":1734,"aka":["_NETWORK_CASINO_CAN_PURCHASE_CHIPS_WITH_PVC"]},
{"name":"networkCasinoCanBetAmount","native":"NETWORK_CASINO_CAN_BET_AMOUNT","hash":"0xF62F6D9528358FE4","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar","since":1734,"aka":["_NETWORK_CASINO_CAN_GAMBLE"]},
{"name":"networkCasinoCanBuyChipsPvc","native":"NETWORK_CASINO_CAN_BUY_CHIPS_PVC","hash":"0x8968D4D8C6C40C11","ret":"BOOL","blocked":"rockstar","since":1734,"aka":["_NETWORK_CASINO_CAN_PURCHASE_CHIPS_WITH_PVC_2"]},
{"name":"networkCasinoBuyChips","native":"NETWORK_CASINO_BUY_CHIPS","hash":"0x3BD101471C7F9EEC","params":[["p0","int"],["p1","int"]],"ret":"BOOL","blocked":"rockstar","since":1734,"aka":["_NETWORK_CASINO_PURCHASE_CHIPS"]},
{"name":"networkCasinoSellChips","native":"NETWORK_CASINO_SELL_CHIPS","hash":"0xED44897CB336F480","params":[["p0","int"],["p1","int"]],"ret":"BOOL","blocked":"rockstar","since":1734,"aka":["_NETWORK_CASINO_SELL_CHIPS"]},
{"name":"networkDeferCashTransactionsUntilShopSave","native":"NETWORK_DEFER_CASH_TRANSACTIONS_UNTIL_SHOP_SAVE","hash":"0xCD0F5B5D932AE473","blocked":"rockstar","doc":"Does nothing (it's a nullsub)."},
{"name":"canPayAmountToBoss","native":"CAN_PAY_AMOUNT_TO_BOSS","hash":"0x9777734DAD16992F","params":[["p0","int"],["p1","int"],["amount","int"]],"ret":"BOOL","outs":[["p3","int",3]],"blocked":"rockstar","since":573,"aka":["_CAN_PAY_GOON"]},
{"name":"networkEarnFromPickup","native":"NETWORK_EARN_FROM_PICKUP","hash":"0xED1517D3AF17C698","params":[["amount","int"]],"blocked":"rockstar"},
{"name":"networkEarnFromCashingOut","native":"NETWORK_EARN_FROM_CASHING_OUT","hash":"0x718FBBF67414FA36","params":[["amount","int"]],"na":1,"since":1290,"aka":["_NETWORK_EARN_FROM_CASHING_OUT"]},
{"name":"networkEarnFromGangattackPickup","native":"NETWORK_EARN_FROM_GANGATTACK_PICKUP","hash":"0xA03D4ACE0A3284CE","params":[["amount","int"]],"blocked":"rockstar"},
{"name":"networkEarnAssassinateTargetKilled","native":"NETWORK_EARN_ASSASSINATE_TARGET_KILLED","hash":"0xFA700D8A9905F78A","params":[["amount","int"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_ASSASSINATE_TARGET_KILLED"]},
{"name":"networkEarnFromRobArmoredCars","native":"NETWORK_EARN_FROM_ROB_ARMORED_CARS","hash":"0xF514621E8EA463D0","params":[["amount","int"]],"blocked":"rockstar","aka":["_NETWORK_EARN_FROM_ARMOUR_TRUCK"],"doc":"For the money bags that drop a max of $40,000. Often called 40k bags.\n\nMost likely NETWORK_EARN_FROM_ROB***"},
{"name":"networkEarnFromCrateDrop","native":"NETWORK_EARN_FROM_CRATE_DROP","hash":"0xB1CC1B9EC3007A2A","params":[["amount","int"]],"blocked":"rockstar"},
{"name":"networkEarnFromBetting","native":"NETWORK_EARN_FROM_BETTING","hash":"0x827A5BA1A44ACA6D","params":[["amount","int"],["p1","string"]],"blocked":"rockstar"},
{"name":"networkEarnFromJob","native":"NETWORK_EARN_FROM_JOB","hash":"0xB2CC4836834E8A98","params":[["amount","int"],["p1","string"]],"blocked":"rockstar"},
{"name":"networkEarnFromJobx2","native":"NETWORK_EARN_FROM_JOBX2","hash":"0xDEBBF584665411D0","params":[["amount","int"],["p1","string"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_JOB_X2"]},
{"name":"networkEarnFromPremiumJob","native":"NETWORK_EARN_FROM_PREMIUM_JOB","hash":"0xC8407624CEF2354B","params":[["amount","int"],["p1","string"]],"blocked":"rockstar","since":791,"aka":["_NETWORK_EARN_FROM_PREMIUM_JOB"]},
{"name":"networkEarnFromBendJob","native":"NETWORK_EARN_FROM_BEND_JOB","hash":"0x61326EE6DF15B0CA","params":[["amount","int"],["heistHash","string"]],"blocked":"rockstar","aka":["NETWORK_EARN_FROM_MISSION_H"]},
{"name":"networkEarnFromChallengeWin","native":"NETWORK_EARN_FROM_CHALLENGE_WIN","hash":"0x2B171E6B2F64D8DF","params":[["p0","Any"],["p1","Any*"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkEarnFromBounty","native":"NETWORK_EARN_FROM_BOUNTY","hash":"0x131BB5DA15453ACF","params":[["amount","int"],["gamerHandle","Any*"],["p2","Any*"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkEarnFromImportExport","native":"NETWORK_EARN_FROM_IMPORT_EXPORT","hash":"0xF92A014A634442D6","params":[["amount","int"],["modelHash","Hash"]],"blocked":"rockstar"},
{"name":"networkEarnFromHoldups","native":"NETWORK_EARN_FROM_HOLDUPS","hash":"0x45B8154E077D9E4D","params":[["amount","int"]],"blocked":"rockstar"},
{"name":"networkEarnFromProperty","native":"NETWORK_EARN_FROM_PROPERTY","hash":"0x849648349D77F5C5","params":[["amount","int"],["propertyName","Hash"]],"blocked":"rockstar"},
{"name":"networkEarnFromAiTargetKill","native":"NETWORK_EARN_FROM_AI_TARGET_KILL","hash":"0x515B4A22E4D3C6D7","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","doc":"DSPORT"},
{"name":"networkEarnFromNotBadsport","native":"NETWORK_EARN_FROM_NOT_BADSPORT","hash":"0x4337511FA8221D36","params":[["amount","int"]],"blocked":"rockstar"},
{"name":"networkEarnFromVehicle","native":"NETWORK_EARN_FROM_VEHICLE","hash":"0xB539BD8A4C1EECF8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"]],"blocked":"rockstar"},
{"name":"networkEarnFromPersonalVehicle","native":"NETWORK_EARN_FROM_PERSONAL_VEHICLE","hash":"0x3F4D00167E41E0AD","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"]],"blocked":"rockstar"},
{"name":"networkEarnFromDailyObjectives","native":"NETWORK_EARN_FROM_DAILY_OBJECTIVES","hash":"0x6EA318C91C1A8786","params":[["amount","int"],["type","string"],["characterSlot","int"]],"blocked":"rockstar","aka":["_NETWORK_EARN_FROM_DAILY_OBJECTIVE"],"doc":"type either Monthly,Weekly,Daily"},
{"name":"networkEarnFromAmbientJob","native":"NETWORK_EARN_FROM_AMBIENT_JOB","hash":"0xFB6DB092FBAE29E6","params":[["p0","int"],["p1","string"],["p2","Any*"]],"blocked":"rockstar","aka":["_NETWORK_EARN_FROM_AMBIENT_JOB"],"doc":"Example for p1: \"AM_DISTRACT_COPS\""},
{"name":"networkEarnFromJobBonus","native":"NETWORK_EARN_FROM_JOB_BONUS","hash":"0x6816FB4416760775","params":[["p0","Any"],["p1","Any*"],["p2","Any*"]],"blocked":"rockstar","aka":["_NETWORK_EARN_FROM_JOB_BONUS"]},
{"name":"networkEarnFromCriminalMastermind","native":"NETWORK_EARN_FROM_CRIMINAL_MASTERMIND","hash":"0xFA009A62990671D4","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"na":1,"since":1290},
{"name":"networkEarnHeistAward","native":"NETWORK_EARN_HEIST_AWARD","hash":"0x9D4FDBB035229669","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_JOB_BONUS_HEIST_AWARD"]},
{"name":"networkEarnFirstTimeBonus","native":"NETWORK_EARN_FIRST_TIME_BONUS","hash":"0x11B0A20C493F7E36","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_JOB_BONUS_FIRST_TIME_BONUS"]},
{"name":"networkEarnGoon","native":"NETWORK_EARN_GOON","hash":"0xCDA1C62BE2777802","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_EARN_GOON"]},
{"name":"networkEarnBoss","native":"NETWORK_EARN_BOSS","hash":"0x08B0CA7A6AB3AC32","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_EARN_BOSS"]},
{"name":"networkEarnAgency","native":"NETWORK_EARN_AGENCY","hash":"0x0CB1BE0633C024A8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_EARN_BOSS_AGENCY"]},
{"name":"networkEarnFromWarehouse","native":"NETWORK_EARN_FROM_WAREHOUSE","hash":"0x3E4ADAFF1830F146","params":[["amount","int"],["id","int"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_EARN_FROM_WAREHOUSE"]},
{"name":"networkEarnFromContraband","native":"NETWORK_EARN_FROM_CONTRABAND","hash":"0xECA658CE2A4E5A72","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_EARN_FROM_CONTRABAND"]},
{"name":"networkEarnFromDestroyingContraband","native":"NETWORK_EARN_FROM_DESTROYING_CONTRABAND","hash":"0x84C0116D012E8FC2","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_EARN_FROM_DESTROYING_CONTRABAND"]},
{"name":"networkEarnFromSmugglerWork","native":"NETWORK_EARN_FROM_SMUGGLER_WORK","hash":"0x6B7E4FB50D5F3D65","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_EARN_FROM_SMUGGLER_WORK"]},
{"name":"networkEarnFromHangarTrade","native":"NETWORK_EARN_FROM_HANGAR_TRADE","hash":"0x31BA138F6304FB9F","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_EARN_FROM_HANGAR_TRADE"]},
{"name":"networkEarnPurchaseClubHouse","native":"NETWORK_EARN_PURCHASE_CLUB_HOUSE","hash":"0x55A1E095DB052FA5","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_EARN_FROM_PURCHASE_CLUBHOUSE"]},
{"name":"networkEarnFromBusinessProduct","native":"NETWORK_EARN_FROM_BUSINESS_PRODUCT","hash":"0x8586789730B10CAF","params":[["amount","int"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_EARN_FROM_BUSINESS_PRODUCT"]},
{"name":"networkEarnFromVehicleExport","native":"NETWORK_EARN_FROM_VEHICLE_EXPORT","hash":"0xEDEAD9A91EC768B3","params":[["amount","int"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_EARN_FROM_VEHICLE_EXPORT"]},
{"name":"networkEarnSmugglerAgency","native":"NETWORK_EARN_SMUGGLER_AGENCY","hash":"0xDEE612F2D71B0308","params":[["amount","int"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_EARN_FROM_SMUGGLING"]},
{"name":"networkEarnBountyHunterReward","native":"NETWORK_EARN_BOUNTY_HUNTER_REWARD","hash":"0xF6B170F9A02E9E87","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_BOUNTY_HUNTER_REWARD"]},
{"name":"networkEarnFromBusinessBattle","native":"NETWORK_EARN_FROM_BUSINESS_BATTLE","hash":"0x42FCE14F50F27291","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_BUSINESS_BATTLE"]},
{"name":"networkEarnFromClubManagementParticipation","native":"NETWORK_EARN_FROM_CLUB_MANAGEMENT_PARTICIPATION","hash":"0xA75EAC69F59E96E7","params":[["p0","Any"],["p1","int"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_CLUB_MANAGEMENT_PARTICIPATION"]},
{"name":"networkEarnFromFmbbPhonecallMission","native":"NETWORK_EARN_FROM_FMBB_PHONECALL_MISSION","hash":"0xC5156361F26E2212","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_FMBB_PHONECALL_MISSION"]},
{"name":"networkEarnFromBusinessHubSell","native":"NETWORK_EARN_FROM_BUSINESS_HUB_SELL","hash":"0x0B39CF0D53F1C883","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_BUSINESS_HUB_SELL"]},
{"name":"networkEarnFromFmbbBossWork","native":"NETWORK_EARN_FROM_FMBB_BOSS_WORK","hash":"0x1FDA0AA679C9919B","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_FMBB_BOSS_WORK"]},
{"name":"networkEarnFmbbWageBonus","native":"NETWORK_EARN_FMBB_WAGE_BONUS","hash":"0xFFFBA1B1F7C0B6F4","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FMBB_WAGE_BONUS"]},
{"name":"networkCanSpendMoney","native":"NETWORK_CAN_SPEND_MONEY","hash":"0xAB3CAA6B422164DA","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"],["p4","Any"],["p5","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"networkCanSpendMoney2","native":"NETWORK_CAN_SPEND_MONEY2","hash":"0x7303E27CC6532080","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"],["p4","Any*"],["p5","Any"],["p6","Any"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_CAN_SPEND_MONEY_2"]},
{"name":"networkBuyItem","native":"NETWORK_BUY_ITEM","hash":"0xF0077C797F66A355","params":[["amount","int"],["item","Hash"],["p2","Any"],["p3","Any"],["p4","BOOL"],["item_name","string"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentTaxi","native":"NETWORK_SPENT_TAXI","hash":"0x17C3A7D31EAE39F9","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["p3","Any"],["p4","Any"]],"blocked":"rockstar"},
{"name":"networkPayEmployeeWage","native":"NETWORK_PAY_EMPLOYEE_WAGE","hash":"0x5FD5ED82CBBE9989","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkPayMatchEntryFee","native":"NETWORK_PAY_MATCH_ENTRY_FEE","hash":"0x9346E14F2AF74D46","params":[["amount","int"],["matchId","string"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentBetting","native":"NETWORK_SPENT_BETTING","hash":"0x1C436FD11FFA692F","params":[["amount","int"],["p1","int"],["matchId","string"],["p3","BOOL"],["p4","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentWager","native":"NETWORK_SPENT_WAGER","hash":"0xD99DB210089617FE","params":[["p0","Any"],["p1","Any"],["amount","int"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_SPENT_WAGER"]},
{"name":"networkSpentInStripclub","native":"NETWORK_SPENT_IN_STRIPCLUB","hash":"0xEE99784E4467689C","params":[["p0","Any"],["p1","BOOL"],["p2","Any"],["p3","BOOL"]],"blocked":"rockstar"},
{"name":"networkBuyHealthcare","native":"NETWORK_BUY_HEALTHCARE","hash":"0xD9B067E55253E3DD","params":[["cost","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkBuyAirstrike","native":"NETWORK_BUY_AIRSTRIKE","hash":"0x763B4BD305338F19","params":[["cost","int"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar","doc":"p1 = 0 (always)\np2 = 1 (always)"},
{"name":"networkBuyBackupGang","native":"NETWORK_BUY_BACKUP_GANG","hash":"0xA3EDDAA42411D3B9","params":[["p0","int"],["p1","int"],["p2","BOOL"],["p3","BOOL"],["npcProvider","int"]],"blocked":"rockstar"},
{"name":"networkBuyHeliStrike","native":"NETWORK_BUY_HELI_STRIKE","hash":"0x81AA4610E3FD3A69","params":[["cost","int"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar","doc":"p1 = 0 (always)\np2 = 1 (always)"},
{"name":"networkSpentAmmoDrop","native":"NETWORK_SPENT_AMMO_DROP","hash":"0xB162DC95C0A3317B","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkBuyBounty","native":"NETWORK_BUY_BOUNTY","hash":"0x7B718E197453F2D9","params":[["amount","int"],["victim","Player"],["p2","BOOL"],["p3","BOOL"],["p4","Any"]],"blocked":"rockstar","doc":"p1 is just an assumption. p2 was false and p3 was true."},
{"name":"networkBuyProperty","native":"NETWORK_BUY_PROPERTY","hash":"0x650A08A280870AF6","params":[["cost","int"],["propertyName","Hash"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar"},
{"name":"networkBuySmokes","native":"NETWORK_BUY_SMOKES","hash":"0x75AF80E61248EEBD","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentHeliPickup","native":"NETWORK_SPENT_HELI_PICKUP","hash":"0x7BF1D73DB2ECA492","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentBoatPickup","native":"NETWORK_SPENT_BOAT_PICKUP","hash":"0x524EE43A37232C00","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentBullShark","native":"NETWORK_SPENT_BULL_SHARK","hash":"0xA6DD8458CE24012C","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentCashDrop","native":"NETWORK_SPENT_CASH_DROP","hash":"0x289016EC778D60E0","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentHireMugger","native":"NETWORK_SPENT_HIRE_MUGGER","hash":"0xE404BFB981665BF0","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar","doc":"Only used once in a script (am_contact_requests)\np1 = 0\np2 = 1"},
{"name":"networkSpentRobbedByMugger","native":"NETWORK_SPENT_ROBBED_BY_MUGGER","hash":"0x995A65F15F581359","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentHireMercenary","native":"NETWORK_SPENT_HIRE_MERCENARY","hash":"0xE7B80E2BF9D80BD6","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentBuyWantedlevel","native":"NETWORK_SPENT_BUY_WANTEDLEVEL","hash":"0xE1B13771A843C4F6","params":[["p0","Any"],["p1","Any*"],["p2","BOOL"],["p3","BOOL"],["p4","Any"]],"blocked":"rockstar"},
{"name":"networkSpentBuyOfftheradar","native":"NETWORK_SPENT_BUY_OFFTHERADAR","hash":"0xA628A745E2275C5D","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentBuyRevealPlayers","native":"NETWORK_SPENT_BUY_REVEAL_PLAYERS","hash":"0x6E176F1B18BC0637","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentCarwash","native":"NETWORK_SPENT_CARWASH","hash":"0xEC03C719DB2F4306","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","BOOL"],["p4","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentCinema","native":"NETWORK_SPENT_CINEMA","hash":"0x6B38ECB05A63A685","params":[["p0","Any"],["p1","Any"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentTelescope","native":"NETWORK_SPENT_TELESCOPE","hash":"0x7FE61782AD94CC09","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentHoldups","native":"NETWORK_SPENT_HOLDUPS","hash":"0xD9B86B9872039763","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentBuyPassiveMode","native":"NETWORK_SPENT_BUY_PASSIVE_MODE","hash":"0x6D3A430D1A809179","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentBankInterest","native":"NETWORK_SPENT_BANK_INTEREST","hash":"0xCA230C9682556CF1","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentProstitutes","native":"NETWORK_SPENT_PROSTITUTES","hash":"0xB21B89501CFAC79E","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentArrestBail","native":"NETWORK_SPENT_ARREST_BAIL","hash":"0x812F5488B1B2A299","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentPayVehicleInsurancePremium","native":"NETWORK_SPENT_PAY_VEHICLE_INSURANCE_PREMIUM","hash":"0x9FF28D88C766E3E8","params":[["amount","int"],["vehicleModel","Hash"],["gamerHandle","Any*"],["notBankrupt","BOOL"],["hasTheMoney","BOOL"]],"blocked":"rockstar","doc":"According to how I understood this in the freemode script alone,\nThe first parameter is determined by a function named, func_5749 within the freemode script which has a list of all the vehicles and a set price to return which some vehicles deals with globals as well. So the first parameter is basically the set in stone insurance cost it's gonna charge you for that specific vehicle model.\n\nThe second parameter whoever put it was right, they call `getEntityModel` with the vehicle as the paremeter.\n\nThe third parameter is the network handle as they call their little struct<13> func or atleast how the script decompiled it to look which in lamens terms just returns the network handle of the previous owner based on `decorGetInt`(vehicle, \"Previous_Owner\").\n\nThe fourth parameter is a bool that returns true/false depending on if your bank balance is greater then 0.\n\nThe fifth and last parameter is a bool that returns true/false depending on if you have the money for the car based on the cost returned by func_5749. In the freemode script eg,\nbool hasTheMoney = MONEY::_GET_BANK_BALANCE() < carCost."},
{"name":"networkSpentCallPlayer","native":"NETWORK_SPENT_CALL_PLAYER","hash":"0xACDE7185B374177C","params":[["p0","Any"],["p1","Any*"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentBounty","native":"NETWORK_SPENT_BOUNTY","hash":"0x29B260B84947DFCC","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentFromRockstar","native":"NETWORK_SPENT_FROM_ROCKSTAR","hash":"0x6A445B64ED7ABEB5","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpendEarnedFromBankAndWallets","native":"NETWORK_SPEND_EARNED_FROM_BANK_AND_WALLETS","hash":"0x9B5016A6433A68C5","params":[["amount","int"]],"ret":"int","blocked":"rockstar","doc":"Hardcoded to return 0."},
{"name":"processCashGift","native":"PROCESS_CASH_GIFT","hash":"0x20194D48EAEC9A41","params":[["p2","string"]],"ret":"string","outs":[["p0","int",0],["p1","int",1]],"blocked":"rockstar","doc":"This isn't a hash collision."},
{"name":"networkSpentMoveSubmarine","native":"NETWORK_SPENT_MOVE_SUBMARINE","hash":"0xCD4D66B43B1DD28D","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_SPENT_ON_MOVE_SUBMARINE"]},
{"name":"networkSpentPlayerHealthcare","native":"NETWORK_SPENT_PLAYER_HEALTHCARE","hash":"0x7C99101F7FCE2EE5","params":[["p0","int"],["p1","int"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar"},
{"name":"networkSpentNoCops","native":"NETWORK_SPENT_NO_COPS","hash":"0xD5BB406F4E04019F","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentCargoSourcing","native":"NETWORK_SPENT_CARGO_SOURCING","hash":"0x948705F6F9C50824","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_SPENT_CARGO_SOURCING"]},
{"name":"networkSpentRequestJob","native":"NETWORK_SPENT_REQUEST_JOB","hash":"0x8204DA7934DF3155","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar"},
{"name":"networkSpentRequestHeist","native":"NETWORK_SPENT_REQUEST_HEIST","hash":"0x9D26502BB97BFE62","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar","aka":["_NETWORK_SPENT_REQUEST_HEIST"]},
{"name":"networkBuyFairgroundRide","native":"NETWORK_BUY_FAIRGROUND_RIDE","hash":"0x8A7B3952DD64D2B5","params":[["amount","int"],["p1","Any"],["p2","BOOL"],["p3","BOOL"],["p4","Any"]],"blocked":"rockstar","doc":"The first parameter is the amount spent which is store in a global when this native is called. The global returns 10. Which is the price for both rides.\n\nThe last 3 parameters are,\n2,0,1 in the am_ferriswheel.c\n1,0,1 in the am_rollercoaster.c"},
{"name":"networkEconomyHasFixedCrazyNumbers","native":"NETWORK_ECONOMY_HAS_FIXED_CRAZY_NUMBERS","hash":"0x7C4FCCD2E4DEB394","ret":"BOOL","blocked":"rockstar"},
{"name":"networkSpentJobSkip","native":"NETWORK_SPENT_JOB_SKIP","hash":"0x28F174A67B8D0C2F","params":[["amount","int"],["matchId","string"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","aka":["_NETWORK_SPENT_JOB_SKIP"]},
{"name":"networkSpentBossGoon","native":"NETWORK_SPENT_BOSS_GOON","hash":"0xFFBE02CD385356BD","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"ret":"BOOL","blocked":"rockstar","since":573,"aka":["_NETWORK_SPENT_BOSS"]},
{"name":"networkSpendGoon","native":"NETWORK_SPEND_GOON","hash":"0x08A1B82B91900682","params":[["p0","int"],["p1","int"],["amount","int"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_SPENT_PAY_GOON","_NETWORK_SPENT_GOON_PAY"]},
{"name":"networkSpendBoss","native":"NETWORK_SPEND_BOSS","hash":"0xDBC966A01C02BCA7","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_SPENT_PAY_BOSS","_NETWORK_SPENT_BOSS_PAY"]},
{"name":"networkSpentMoveYacht","native":"NETWORK_SPENT_MOVE_YACHT","hash":"0xE7DF4E0545DFB56E","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_SPENT_MOVE_YACHT"]},
{"name":"networkSpentRenameOrganization","native":"NETWORK_SPENT_RENAME_ORGANIZATION","hash":"0xFC4EE00A7B3BFB76","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":573,"aka":["_NETWORK_SPENT_RENAME_ORGANIZATION"]},
{"name":"networkBuyContrabandMission","native":"NETWORK_BUY_CONTRABAND_MISSION","hash":"0x30FD873ECE50E9F6","params":[["p0","int"],["p1","int"],["p2","Hash"],["p3","BOOL"],["p4","BOOL"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_BUY_CONTRABAND"]},
{"name":"networkSpentPaServiceHeli","native":"NETWORK_SPENT_PA_SERVICE_HELI","hash":"0x112209CE0290C03A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PA_SERVICE_HELI"]},
{"name":"networkSpentPaServiceVehicle","native":"NETWORK_SPENT_PA_SERVICE_VEHICLE","hash":"0xED5FD7AF10F5E262","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PA_SERVICE_VEHICLE"]},
{"name":"networkSpentPaServiceSnack","native":"NETWORK_SPENT_PA_SERVICE_SNACK","hash":"0x0D30EB83668E63C5","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PA_SERVICE_SNACK"]},
{"name":"networkSpentPaServiceDancer","native":"NETWORK_SPENT_PA_SERVICE_DANCER","hash":"0xB49ECA122467D05F","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PA_SERVICE_DANCER"]},
{"name":"networkSpentPaServiceImpound","native":"NETWORK_SPENT_PA_SERVICE_IMPOUND","hash":"0xE23ADC6FCB1F29AE","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PA_SERVICE_IMPOUND"]},
{"name":"networkSpentPaHeliPickup","native":"NETWORK_SPENT_PA_HELI_PICKUP","hash":"0x0FE8E1FCD2B86B33","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PA_SERVICE_HELI_PICKUP"]},
{"name":"networkSpentPurchaseOfficeProperty","native":"NETWORK_SPENT_PURCHASE_OFFICE_PROPERTY","hash":"0x69EF772B192614C1","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PURCHASE_OFFICE"]},
{"name":"networkSpentUpgradeOfficeProperty","native":"NETWORK_SPENT_UPGRADE_OFFICE_PROPERTY","hash":"0x8E243837643D9583","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_UPGRADE_OFFICE"]},
{"name":"networkSpentPurchaseWarehouseProperty","native":"NETWORK_SPENT_PURCHASE_WAREHOUSE_PROPERTY","hash":"0xBD0EFB25CCA8F97A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_PURCHASE_WAREHOUSE"]},
{"name":"networkSpentUpgradeWarehouseProperty","native":"NETWORK_SPENT_UPGRADE_WAREHOUSE_PROPERTY","hash":"0xA95F667A755725DA","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_UPGRADE_WAREHOUSE"]},
{"name":"networkSpentPurchaseImpexpWarehouseProperty","native":"NETWORK_SPENT_PURCHASE_IMPEXP_WAREHOUSE_PROPERTY","hash":"0x33981D6804E62F49","params":[["amount","int"],["data","Any*"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_SPENT_PURCHASE_IMPORTEXPORT_WAREHOUSE"]},
{"name":"networkSpentUpgradeImpexpWarehouseProperty","native":"NETWORK_SPENT_UPGRADE_IMPEXP_WAREHOUSE_PROPERTY","hash":"0x4128464231E3CA0B","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_SPENT_UPGRADE_IMPORTEXPORT_WAREHOUSE"]},
{"name":"networkSpentTradeImpexpWarehouseProperty","native":"NETWORK_SPENT_TRADE_IMPEXP_WAREHOUSE_PROPERTY","hash":"0x2FAB6614CE22E196","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":944},
{"name":"networkSpentOrderWarehouseVehicle","native":"NETWORK_SPENT_ORDER_WAREHOUSE_VEHICLE","hash":"0x05F04155A226FBBF","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_ORDER_WAREHOUSE_VEHICLE"]},
{"name":"networkSpentOrderBodyguardVehicle","native":"NETWORK_SPENT_ORDER_BODYGUARD_VEHICLE","hash":"0xE8B0B270B6E7C76E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":757,"aka":["_NETWORK_SPENT_ORDER_BODYGUARD_VEHICLE"]},
{"name":"networkSpentJukebox","native":"NETWORK_SPENT_JUKEBOX","hash":"0x5BCDE0F640C773D2","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_SPENT_JUKEBOX"]},
{"name":"networkSpentPurchaseClubHouse","native":"NETWORK_SPENT_PURCHASE_CLUB_HOUSE","hash":"0x998E18CEB44487FC","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_SPENT_PURCHASE_CLUBHOUSE"]},
{"name":"networkSpentUpgradeClubHouse","native":"NETWORK_SPENT_UPGRADE_CLUB_HOUSE","hash":"0xFA07759E6FDDD7CF","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_SPENT_UPGRADE_CLUBHOUSE"]},
{"name":"networkSpentPurchaseBusinessProperty","native":"NETWORK_SPENT_PURCHASE_BUSINESS_PROPERTY","hash":"0x6FD97159FE3C971A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877},
{"name":"networkSpentUpgradeBusinessProperty","native":"NETWORK_SPENT_UPGRADE_BUSINESS_PROPERTY","hash":"0x675D19C6067CAE08","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_SPENT_UPGRADE_BUSINESS_PROPERTY"]},
{"name":"networkSpentTradeBusinessProperty","native":"NETWORK_SPENT_TRADE_BUSINESS_PROPERTY","hash":"0xA51B086B0B2C0F7A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877},
{"name":"networkSpentMcAbility","native":"NETWORK_SPENT_MC_ABILITY","hash":"0xD7CCCBA28C4ECAF0","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_SPENT_BA_SERVICE"]},
{"name":"networkSpentPayBusinessSupplies","native":"NETWORK_SPENT_PAY_BUSINESS_SUPPLIES","hash":"0x0035BB914316F1E3","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":877,"aka":["_NETWORK_SPENT_BUSINESS"]},
{"name":"networkSpentChangeAppearance","native":"NETWORK_SPENT_CHANGE_APPEARANCE","hash":"0x5F456788B05FAEAC","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_SPENT_CHANGE_APPEARANCE"]},
{"name":"networkSpentVehicleExportMods","native":"NETWORK_SPENT_VEHICLE_EXPORT_MODS","hash":"0xA75CCF58A60A5FD1","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","Any"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_SPENT_VEHICLE_EXPORT_MODS"]},
{"name":"networkSpentPurchaseOfficeGarage","native":"NETWORK_SPENT_PURCHASE_OFFICE_GARAGE","hash":"0xB4C2EC463672474E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_SPENT_PURCHASE_OFFICE_GARAGE"]},
{"name":"networkSpentUpgradeOfficeGarage","native":"NETWORK_SPENT_UPGRADE_OFFICE_GARAGE","hash":"0x2AFC2D19B50797F2","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_SPENT_UPGRADE_OFFICE_GARAGE"]},
{"name":"networkSpentImportExportRepair","native":"NETWORK_SPENT_IMPORT_EXPORT_REPAIR","hash":"0xC1952F3773BA18FE","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":944,"aka":["_NETWORK_SPENT_IMPORT_EXPORT_REPAIR"]},
{"name":"networkSpentPurchaseHangar","native":"NETWORK_SPENT_PURCHASE_HANGAR","hash":"0xCCB339CC970452DA","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_SPENT_PURCHASE_HANGAR"]},
{"name":"networkSpentUpgradeHangar","native":"NETWORK_SPENT_UPGRADE_HANGAR","hash":"0x615EB504B0788DAF","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_SPENT_UPGRADE_HANGAR"]},
{"name":"networkSpentHangarUtilityCharges","native":"NETWORK_SPENT_HANGAR_UTILITY_CHARGES","hash":"0xB18AC2ECBB15CB6A","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_SPENT_HANGAR_UTILITY_CHARGES"]},
{"name":"networkSpentHangarStaffCharges","native":"NETWORK_SPENT_HANGAR_STAFF_CHARGES","hash":"0xB1F1346FD57685D7","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_SPENT_HANGAR_STAFF_CHARGES"]},
{"name":"networkSpentBuyTruck","native":"NETWORK_SPENT_BUY_TRUCK","hash":"0xAC272C0AE01B4BD8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1103,"aka":["_NETWORK_SPENT_BUY_TRUCK"]},
{"name":"networkSpentUpgradeTruck","native":"NETWORK_SPENT_UPGRADE_TRUCK","hash":"0x365E877C61D6988B","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1103,"aka":["_NETWORK_SPENT_UPGRADE_TRUCK"]},
{"name":"networkSpentBuyBunker","native":"NETWORK_SPENT_BUY_BUNKER","hash":"0x12D148D26538D0F9","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1103,"aka":["_NETWORK_SPENT_BUY_BUNKER"]},
{"name":"networkSpentUpradeBunker","native":"NETWORK_SPENT_UPRADE_BUNKER","hash":"0x0C82D21A77C22D49","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1103,"aka":["_NETWORK_SPENT_UPGRADE_BUNKER"]},
{"name":"networkEarnFromSellBunker","native":"NETWORK_EARN_FROM_SELL_BUNKER","hash":"0x9251B6ABF2D0A5B4","params":[["amount","int"],["bunkerHash","Hash"]],"blocked":"rockstar","since":1103,"aka":["_NETWORK_EARN_FROM_SELL_BUNKER"]},
{"name":"networkSpentBallisticEquipment","native":"NETWORK_SPENT_BALLISTIC_EQUIPMENT","hash":"0x5D97630A8A0EF123","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1103,"aka":["_NETWORK_SPENT_BALLISTIC_EQUIPMENT"]},
{"name":"networkEarnRdrBonus","native":"NETWORK_EARN_RDR_BONUS","hash":"0x7A5349B773584675","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_RDR_BONUS"]},
{"name":"networkEarnWagePayment","native":"NETWORK_EARN_WAGE_PAYMENT","hash":"0x35F8DA0E8A31EF1B","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_EARN_FROM_WAGE_PAYMENT"]},
{"name":"networkEarnWagePaymentBonus","native":"NETWORK_EARN_WAGE_PAYMENT_BONUS","hash":"0x005ACA7100BD101D","params":[["amount","int"]],"blocked":"rockstar","since":1180,"aka":["_NETWORK_EARN_FROM_WAGE_PAYMENT_BONUS"]},
{"name":"networkSpentBuyBase","native":"NETWORK_SPENT_BUY_BASE","hash":"0x4EA3F425C7744D21","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_BUY_BASE"]},
{"name":"networkSpentUpgradeBase","native":"NETWORK_SPENT_UPGRADE_BASE","hash":"0x3DD3F33A5D55EA6F","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_UPGRADE_BASE"]},
{"name":"networkSpentBuyTiltrotor","native":"NETWORK_SPENT_BUY_TILTROTOR","hash":"0x0CCE73BC7A11E885","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_BUY_TILTROTOR"]},
{"name":"networkSpentUpgradeTiltrotor","native":"NETWORK_SPENT_UPGRADE_TILTROTOR","hash":"0x165E135D6DFA2907","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_UPGRADE_TILTROTOR"]},
{"name":"networkSpentEmployAssassins","native":"NETWORK_SPENT_EMPLOY_ASSASSINS","hash":"0x5BBBD92186E1F1C5","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_EMPLOY_ASSASSINS"]},
{"name":"networkSpendGangopsCannon","native":"NETWORK_SPEND_GANGOPS_CANNON","hash":"0x771ADB0E7635B7BF","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_GANGOPS_CANNON"]},
{"name":"networkSpendGangopsSkipMission","native":"NETWORK_SPEND_GANGOPS_SKIP_MISSION","hash":"0xDA947AE8880D5C18","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_GANGOPS_START_MISSION"]},
{"name":"networkSpendCasinoHeistSkipMission","native":"NETWORK_SPEND_CASINO_HEIST_SKIP_MISSION","hash":"0x487009DD91D93429","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_SPENT_CASINO_HEIST_SKIP_MISSION"]},
{"name":"networkEarnSellBase","native":"NETWORK_EARN_SELL_BASE","hash":"0x0E1E2FF3F4EC11AA","params":[["amount","int"],["baseNameHash","Hash"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_SELL_BASE"]},
{"name":"networkEarnTargetRefund","native":"NETWORK_EARN_TARGET_REFUND","hash":"0x5B669CF2299A271F","params":[["amount","int"],["p1","int"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_TARGET_REFUND"]},
{"name":"networkEarnGangopsWages","native":"NETWORK_EARN_GANGOPS_WAGES","hash":"0x2DCB19ABAB0380A8","params":[["amount","int"],["p1","int"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_GANGOPS_WAGES"]},
{"name":"networkEarnGangopsWagesBonus","native":"NETWORK_EARN_GANGOPS_WAGES_BONUS","hash":"0x15BB2A5C757EB91F","params":[["amount","int"],["p1","int"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_GANGOPS_WAGES_BONUS"]},
{"name":"networkEarnDarChallenge","native":"NETWORK_EARN_DAR_CHALLENGE","hash":"0xCAC672087B4A24AB","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_DAR_CHALLENGE"]},
{"name":"networkEarnDoomsdayFinaleBonus","native":"NETWORK_EARN_DOOMSDAY_FINALE_BONUS","hash":"0x128A747F4A230952","params":[["amount","int"],["vehicleHash","Hash"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_DOOMSDAY_FINALE_BONUS"]},
{"name":"networkEarnGangopsAward","native":"NETWORK_EARN_GANGOPS_AWARD","hash":"0xA9A31475F530DFDA","params":[["amount","int"],["p1","string"],["p2","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_GANGOPS_AWARDS"]},
{"name":"networkEarnGangopsElite","native":"NETWORK_EARN_GANGOPS_ELITE","hash":"0x2597A0D4A4FC2C77","params":[["amount","int"],["p1","string"],["actIndex","int"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_GANGOPS_ELITE"]},
{"name":"networkServiceEarnGangopsRivalDelivery","native":"NETWORK_SERVICE_EARN_GANGOPS_RIVAL_DELIVERY","hash":"0x1B882107C23A9022","params":[["earnedMoney","int"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_RIVAL_DELIVERY_COMPLETED"]},
{"name":"networkSpendGangopsStartStrand","native":"NETWORK_SPEND_GANGOPS_START_STRAND","hash":"0xA19EC0786E326E06","params":[["type","int"],["amount","int"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_GANGOPS_START_STRAND"]},
{"name":"networkSpendGangopsTripSkip","native":"NETWORK_SPEND_GANGOPS_TRIP_SKIP","hash":"0x5ECE6FD7B4EC8D6A","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_GANGOPS_TRIP_SKIP"]},
{"name":"networkEarnGangopsPrepParticipation","native":"NETWORK_EARN_GANGOPS_PREP_PARTICIPATION","hash":"0xED26584F6BDCBBFD","params":[["amount","int"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_GANGOPS_JOBS_PREP_PARTICIPATION"]},
{"name":"networkEarnGangopsSetup","native":"NETWORK_EARN_GANGOPS_SETUP","hash":"0xA9160796D47A2CF8","params":[["amount","int"],["p1","string"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_GANGOPS_JOBS_SETUP"]},
{"name":"networkEarnGangopsFinale","native":"NETWORK_EARN_GANGOPS_FINALE","hash":"0x1C121FC9545E0D52","params":[["amount","int"],["p1","string"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_EARN_FROM_GANGOPS_JOBS_FINALE"]},
{"name":"networkSpendGangopsRepairCost","native":"NETWORK_SPEND_GANGOPS_REPAIR_COST","hash":"0x2A7CEC72C3443BCC","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1290,"aka":["_NETWORK_SPENT_GANGOPS_REPAIR_COST"]},
{"name":"networkEarnNightclub","native":"NETWORK_EARN_NIGHTCLUB","hash":"0xE0F82D68C7039158","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_NIGHTCLUB_INCOME"]},
{"name":"networkEarnNightclubDancing","native":"NETWORK_EARN_NIGHTCLUB_DANCING","hash":"0xB4DEAE67F35E2ACD","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_NIGHTCLUB_DANCING"]},
{"name":"networkEarnBbEventBonus","native":"NETWORK_EARN_BB_EVENT_BONUS","hash":"0xFDD8D2440DAF1590","params":[["amount","int"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_BB_EVENT_BONUS"]},
{"name":"networkSpentPurchaseHackerTruck","native":"NETWORK_SPENT_PURCHASE_HACKER_TRUCK","hash":"0x2A93C46AAB1EACC9","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_PURCHASE_HACKER"]},
{"name":"networkSpentUpgradeHackerTruck","native":"NETWORK_SPENT_UPGRADE_HACKER_TRUCK","hash":"0x226C284C830D0CA8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_UPGRADE_HACKER"]},
{"name":"networkEarnHackerTruck","native":"NETWORK_EARN_HACKER_TRUCK","hash":"0xE8815FE993896AD3","params":[["p0","Any"],["amount","int"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_HACKER_TRUCK_MISSION"]},
{"name":"networkSpentPurchaseNightclubAndWarehouse","native":"NETWORK_SPENT_PURCHASE_NIGHTCLUB_AND_WAREHOUSE","hash":"0xED76D195E6E3BF7F","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_PURCHASE_NIGHTCLUB"]},
{"name":"networkSpentUpgradeNightclubAndWarehouse","native":"NETWORK_SPENT_UPGRADE_NIGHTCLUB_AND_WAREHOUSE","hash":"0x1DC9B749E7AE282B","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_UPGRADE_NIGHTCLUB"]},
{"name":"networkEarnNightclubAndWarehouse","native":"NETWORK_EARN_NIGHTCLUB_AND_WAREHOUSE","hash":"0xC6E74CF8C884C880","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_EARN_FROM_NIGHTCLUB_LOCATION"]},
{"name":"networkSpendNightclubAndWarehouse","native":"NETWORK_SPEND_NIGHTCLUB_AND_WAREHOUSE","hash":"0x65482BFD0923C8A1","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_NIGHTCLUB_BATHROOM_ATTENDANT"]},
{"name":"networkSpentRdrHatchetBonus","native":"NETWORK_SPENT_RDR_HATCHET_BONUS","hash":"0xE284D46FFDB82E36","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_RDRHATCHET_BONUS"]},
{"name":"networkSpentNightclubEntryFee","native":"NETWORK_SPENT_NIGHTCLUB_ENTRY_FEE","hash":"0x876056684281655D","params":[["player","Player"],["amount","int"],["p1","Any"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_NIGHTCLUB_ENTRY_FEE"]},
{"name":"networkSpendNightclubBarDrink","native":"NETWORK_SPEND_NIGHTCLUB_BAR_DRINK","hash":"0xDD21B016E4289465","params":[["amount","int"],["p1","Any"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_NIGHTCLUB_BAR_DRINK"]},
{"name":"networkSpendBountyHunterMission","native":"NETWORK_SPEND_BOUNTY_HUNTER_MISSION","hash":"0x1BEA0CD93470BB1F","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_BOUNTY_HUNTER_MISSION"]},
{"name":"networkSpentRehireDj","native":"NETWORK_SPENT_REHIRE_DJ","hash":"0xF6C8A544E4CF14FC","params":[["amount","int"],["p1","Any"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","since":1493,"aka":["_NETWORK_SPENT_REHIRE_DJ"]},
{"name":"networkSpentArenaJoinSpectator","native":"NETWORK_SPENT_ARENA_JOIN_SPECTATOR","hash":"0x14EAEA58F93B55AF","params":[["amount","int"],["p1","Any"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_SPENT_ARENA_JOIN_SPECTATOR"]},
{"name":"networkEarnArenaSkillLevelProgression","native":"NETWORK_EARN_ARENA_SKILL_LEVEL_PROGRESSION","hash":"0xE08256F972C7BB2C","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_ARENA_SKILL_LEVEL_PROGRESSION"]},
{"name":"networkEarnArenaCareerProgression","native":"NETWORK_EARN_ARENA_CAREER_PROGRESSION","hash":"0x0F99F70C61F14619","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_ARENA_CAREER_PROGRESSION"]},
{"name":"networkSpendMakeItRain","native":"NETWORK_SPEND_MAKE_IT_RAIN","hash":"0xE5F5A060439C2F5D","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_SPENT_MAKE_IT_RAIN"]},
{"name":"networkSpendBuyArena","native":"NETWORK_SPEND_BUY_ARENA","hash":"0x40D5DA9550B7CB46","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["p3","string"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_SPENT_BUY_ARENA"]},
{"name":"networkSpendUpgradeArena","native":"NETWORK_SPEND_UPGRADE_ARENA","hash":"0x037ABB06825D7AB1","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["p3","string"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_SPENT_UPGRADE_ARENA"]},
{"name":"networkSpendArenaSpectatorBox","native":"NETWORK_SPEND_ARENA_SPECTATOR_BOX","hash":"0x7049BF858601DC0F","params":[["amount","int"],["type","int"],["p2","BOOL"],["p3","BOOL"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_SPENT_ARENA_SPECTATOR_BOX"],"doc":"type either, 1 for cam spectate, 2 for drone"},
{"name":"networkSpendSpinTheWheelPayment","native":"NETWORK_SPEND_SPIN_THE_WHEEL_PAYMENT","hash":"0x9A5BD1D0000B339C","params":[["amount","int"],["p1","Any"],["p2","BOOL"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_SPENT_SPIN_THE_WHEEL_PAYMENT"]},
{"name":"networkEarnSpinTheWheelCash","native":"NETWORK_EARN_SPIN_THE_WHEEL_CASH","hash":"0x676C48776CACBB5A","params":[["amount","int"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_SPIN_THE_WHEEL_CASH"]},
{"name":"networkSpendArenaPremium","native":"NETWORK_SPEND_ARENA_PREMIUM","hash":"0x619496D837EFD920","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_SPENT_ARENA_PREMIUM"]},
{"name":"networkEarnArenaWar","native":"NETWORK_EARN_ARENA_WAR","hash":"0x631F1CB8FB4130AA","params":[["amount","int"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_ARENA_WAR"]},
{"name":"networkEarnArenaWarAssassinateTarget","native":"NETWORK_EARN_ARENA_WAR_ASSASSINATE_TARGET","hash":"0x5E7AE8AABE8B7C0D","params":[["amount","int"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_ASSASSINATE_TARGET_KILLED_2"]},
{"name":"networkEarnArenaWarEventCargo","native":"NETWORK_EARN_ARENA_WAR_EVENT_CARGO","hash":"0xA82959062361B259","params":[["amount","int"]],"blocked":"rockstar","since":1604,"aka":["_NETWORK_EARN_FROM_BB_EVENT_CARGO"]},
{"name":"networkEarnRcTimeTrial","native":"NETWORK_EARN_RC_TIME_TRIAL","hash":"0xDFF49EE984E7AAE8","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_RC_TIME_TRIAL"]},
{"name":"networkEarnDailyObjectiveEvent","native":"NETWORK_EARN_DAILY_OBJECTIVE_EVENT","hash":"0x5128DF14A5BB86FC","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_DAILY_OBJECTIVE_EVENT"]},
{"name":"networkSpendCasinoMembership","native":"NETWORK_SPEND_CASINO_MEMBERSHIP","hash":"0xFBBE0570EDF39D46","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["p3","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_SPENT_CASINO_MEMBERSHIP"]},
{"name":"networkSpendBuyCasino","native":"NETWORK_SPEND_BUY_CASINO","hash":"0x34A6FC4D06C4DA0F","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["data","Any*"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_SPENT_BUY_CASINO"]},
{"name":"networkSpendUpgradeCasino","native":"NETWORK_SPEND_UPGRADE_CASINO","hash":"0x4740D62BC1B4EBEA","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["data","Any*"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_SPENT_UPGRADE_CASINO"]},
{"name":"networkSpendCasinoGeneric","native":"NETWORK_SPEND_CASINO_GENERIC","hash":"0x88BF9B612B84D3C3","params":[["amount","int"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_SPENT_CASINO_GENERIC"]},
{"name":"networkEarnCasinoTimeTrialWin","native":"NETWORK_EARN_CASINO_TIME_TRIAL_WIN","hash":"0x0819DB99FD2FBBD8","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_TIME_TRIAL_WIN"]},
{"name":"networkEarnCollectablesActionFigures","native":"NETWORK_EARN_COLLECTABLES_ACTION_FIGURES","hash":"0x5517F90043466049","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_COLLECTABLES_ACTION_FIGURES"]},
{"name":"networkEarnCasinoCollectableCompletedCollection","native":"NETWORK_EARN_CASINO_COLLECTABLE_COMPLETED_COLLECTION","hash":"0x83AD64F53F4E9483","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_COMPLETE_COLLECTION"]},
{"name":"networkEarnSellPrizeVehicle","native":"NETWORK_EARN_SELL_PRIZE_VEHICLE","hash":"0x8BCB27A057DF7B7F","params":[["amount","int"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_SELLING_VEHICLE"]},
{"name":"networkEarnCasinoMissionReward","native":"NETWORK_EARN_CASINO_MISSION_REWARD","hash":"0x566FD402B25787DE","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_CASINO_MISSION_REWARD"]},
{"name":"networkEarnCasinoStoryMissionReward","native":"NETWORK_EARN_CASINO_STORY_MISSION_REWARD","hash":"0xAC95ED552157E092","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_CASINO_STORY_MISSION_REWARD"]},
{"name":"networkEarnCasinoMissionParticipation","native":"NETWORK_EARN_CASINO_MISSION_PARTICIPATION","hash":"0x09E8F18641BE2575","params":[["amount","int"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_CASINO_MISSION_PARTICIPATION"]},
{"name":"networkEarnCasinoAward","native":"NETWORK_EARN_CASINO_AWARD","hash":"0x973A9781A34F8DEB","params":[["amount","int"],["hash","Hash"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_CASINO_AWARD"]},
{"name":"networkSpendBuyArcade","native":"NETWORK_SPEND_BUY_ARCADE","hash":"0x870289A558348378","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_SPENT_BUY_ARCADE"]},
{"name":"networkSpendUpgradeArcade","native":"NETWORK_SPEND_UPGRADE_ARCADE","hash":"0x5574637681911FDA","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_SPENT_UPGRADE_ARCADE"]},
{"name":"networkSpendCasinoHeist","native":"NETWORK_SPEND_CASINO_HEIST","hash":"0xD30E8392F407C328","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","Any"],["p10","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_SPENT_CASINO_HEIST"]},
{"name":"networkSpendArcadeMgmt","native":"NETWORK_SPEND_ARCADE_MGMT","hash":"0xB5B58E24868CB09E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_SPENT_ARCADE_MGMT_CABINET"]},
{"name":"networkSpendPlayArcade","native":"NETWORK_SPEND_PLAY_ARCADE","hash":"0xEAD3D81F2C3A1458","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_SPENT_ARCADE_GAME","_NETWORK_SPENT_PLAY_ARCADE_CABINET"]},
{"name":"networkSpendArcade","native":"NETWORK_SPEND_ARCADE","hash":"0x43AA7FAC4E6D6687","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_SPENT_ARCADE_GENERIC"]},
{"name":"networkEarnCasinoHeist","native":"NETWORK_EARN_CASINO_HEIST","hash":"0x72E7C7B9615FA3C3","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_EARN_CASINO_HEIST"]},
{"name":"networkEarnUpgradeArcade","native":"NETWORK_EARN_UPGRADE_ARCADE","hash":"0x4C3B75694F7E0D9C","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_EARN_FROM_UPGRADE_ARCADE_LOCATION"]},
{"name":"networkEarnArcade","native":"NETWORK_EARN_ARCADE","hash":"0xD29334ED1A256DBF","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_EARN_FROM_ARCADE","_NETWORK_EARN_FROM_ARCADE_AWARD"]},
{"name":"networkEarnCollectables","native":"NETWORK_EARN_COLLECTABLES","hash":"0xA95CFB4E02390842","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_EARN_FROM_ARCADE_COLLECTABLES"]},
{"name":"networkEarnChallenge","native":"NETWORK_EARN_CHALLENGE","hash":"0x0DD362F14F18942A","params":[["amount","int"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_EARN_FROM_ARCADE_KILLS_CHALLENGE"]},
{"name":"networkEarnCasinoHeistAwards","native":"NETWORK_EARN_CASINO_HEIST_AWARDS","hash":"0x3EC7471E6909798A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":1868,"aka":["_NETWORK_EARN_CASINO_HEIST_BONUS"]},
{"name":"networkEarnCollectableItem","native":"NETWORK_EARN_COLLECTABLE_ITEM","hash":"0x84FF63BD4966F33D","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":1734,"aka":["_NETWORK_EARN_FROM_COLLECTION_ITEM"]},
{"name":"networkEarnCollectableCompletedCollection","native":"NETWORK_EARN_COLLECTABLE_COMPLETED_COLLECTION","hash":"0x5C9B198AF5A54FA6","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":2060,"aka":["_NETWORK_EARN_COLLECTABLE_COMPLETED_COLLECTION"]},
{"name":"networkEarnYatchMission","native":"NETWORK_EARN_YATCH_MISSION","hash":"0xDE68E30D89F97132","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":2060,"aka":["_NETWORK_EARN_FROM_YACHT_MISSION"]},
{"name":"networkEarnDispatchCall","native":"NETWORK_EARN_DISPATCH_CALL","hash":"0xE2E244AB823B4483","params":[["amount","int"],["p1","Any"]],"blocked":"rockstar","since":2060,"aka":["_NETWORK_EARN_FROM_YACHT_MISSION_2"]},
{"name":"networkSpendBeachParty","native":"NETWORK_SPEND_BEACH_PARTY","hash":"0x54ABA22FA6371249","params":[["p0","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_SPENT_BEACH_PARTY_GENERIC"]},
{"name":"networkSpendSubmarine","native":"NETWORK_SPEND_SUBMARINE","hash":"0x6C8BC1488527AAAB","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_SPENT_SUBMARINE"]},
{"name":"networkSpendCasinoClub","native":"NETWORK_SPEND_CASINO_CLUB","hash":"0xC991C255AA6D90B2","params":[["amount1","int"],["p1","Any"],["p2","BOOL"],["p3","Any"],["p4","int"],["p5","int"],["p6","int"],["amount2","int"],["p8","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_SPENT_CASINO_CLUB_GENERIC"]},
{"name":"networkSpendBuySub","native":"NETWORK_SPEND_BUY_SUB","hash":"0x90CD7C6871FBF1B4","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_SPENT_BUY_SUB"]},
{"name":"networkSpendUpgradeSub","native":"NETWORK_SPEND_UPGRADE_SUB","hash":"0x89049A84065CE68E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_SPENT_UPGRADE_SUB"]},
{"name":"networkSpendIslandHeist","native":"NETWORK_SPEND_ISLAND_HEIST","hash":"0xE86689E5F82DE429","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_SPENT_ISLAND_HEIST"]},
{"name":"networkEarnIslandHeist","native":"NETWORK_EARN_ISLAND_HEIST","hash":"0xD21D111C46BA9F15","params":[["amount1","int"],["p1","Any"],["p2","Any"],["p3","Any"],["amount2","int"],["p5","int"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_EARN_ISLAND_HEIST"]},
{"name":"networkEarnBeachPartyLostFound","native":"NETWORK_EARN_BEACH_PARTY_LOST_FOUND","hash":"0xA51338E0DCCD4065","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_EARN_FROM_BEACH_PARTY_LOST_FOUND"]},
{"name":"networkEarnFromIslandHeistDjMission","native":"NETWORK_EARN_FROM_ISLAND_HEIST_DJ_MISSION","hash":"0xE2BB399D90942091","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2189,"aka":["_NETWORK_EARN_FROM_ISLAND_HEIST_DJMISSION"]},
{"name":"networkSpendCarClubMembership","native":"NETWORK_SPEND_CAR_CLUB_MEMBERSHIP","hash":"0x1464E17207CD36E2","params":[["amount1","int"],["p1","Any"],["p2","Any"],["amount2","int"],["p4","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_CARCLUB_MEMBERSHIP"]},
{"name":"networkSpendCarClubBar","native":"NETWORK_SPEND_CAR_CLUB_BAR","hash":"0x925227803A0EAA1B","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_CARCLUB"]},
{"name":"networkSpendAutoshopModify","native":"NETWORK_SPEND_AUTOSHOP_MODIFY","hash":"0x9BEA350D7C48061B","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_AUTOSHOP_MODIFICATIONS"]},
{"name":"networkSpendCarClubTakeover","native":"NETWORK_SPEND_CAR_CLUB_TAKEOVER","hash":"0xD1E46824E6FB92B5","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_CARCLUB_TAKEOVER"]},
{"name":"networkSpendBuyAutoshop","native":"NETWORK_SPEND_BUY_AUTOSHOP","hash":"0xEEB7E5D1FEB20869","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_BUY_AUTOSHOP"]},
{"name":"networkSpendUpgradeAutoshop","native":"NETWORK_SPEND_UPGRADE_AUTOSHOP","hash":"0xDD829AA198FDC46C","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_UPGRADE_AUTOSHOP"]},
{"name":"networkEarnAutoshopBusiness","native":"NETWORK_EARN_AUTOSHOP_BUSINESS","hash":"0x36A7FD5A7194B03E","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_AUTOSHOP_BUSINESS"]},
{"name":"networkEarnAutoshopIncome","native":"NETWORK_EARN_AUTOSHOP_INCOME","hash":"0xC66D1CF99ED7FE25","params":[["p0","Any"],["p1","int"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_AUTOSHOP_INCOME"]},
{"name":"networkEarnCarclubMembership","native":"NETWORK_EARN_CARCLUB_MEMBERSHIP","hash":"0xBC6227792A188E2E","params":[["p0","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_CARCLUB_MEMBERSHIP"]},
{"name":"networkEarnDailyVehicle","native":"NETWORK_EARN_DAILY_VEHICLE","hash":"0x533073E8A596008C","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_VEHICLE_AUTOSHOP"]},
{"name":"networkEarnDailyVehicleBonus","native":"NETWORK_EARN_DAILY_VEHICLE_BONUS","hash":"0xFE65AFE7308E32B2","params":[["p0","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_VEHICLE_AUTOSHOP_BONUS"]},
{"name":"networkEarnTunerAward","native":"NETWORK_EARN_TUNER_AWARD","hash":"0xB846F547D3792DF6","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_TUNER_AWARD"]},
{"name":"networkEarnTunerRobbery","native":"NETWORK_EARN_TUNER_ROBBERY","hash":"0xBCB266247193AC61","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_TUNER_FINALE"]},
{"name":"networkEarnUpgradeAutoshop","native":"NETWORK_EARN_UPGRADE_AUTOSHOP","hash":"0xC10322A8D3E061EE","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_EARN_FROM_UPGRADE_AUTOSHOP_LOCATION"]},
{"name":"networkSpendInteractionMenuAbility","native":"NETWORK_SPEND_INTERACTION_MENU_ABILITY","hash":"0x93AA4165CB67E925","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_INTERACTION_MENU_ABILITY"]},
{"name":"networkSpendSetCommonFields","native":"NETWORK_SPEND_SET_COMMON_FIELDS","hash":"0xB9F7A469460E7A4A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","BOOL"]],"blocked":"rockstar","since":2372,"aka":["_NETWORK_SPENT_FROM_BANK"]},
{"name":"networkSpendSetDiscount","native":"NETWORK_SPEND_SET_DISCOUNT","hash":"0x7E2F4E8F44CAF4E0","params":[["p0","BOOL"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_SPENT_SALES_DISPLAY"]},
{"name":"networkSpendBuyAgency","native":"NETWORK_SPEND_BUY_AGENCY","hash":"0xEA8CD3C9B3C35884","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_BUY_AGENCY"]},
{"name":"networkSpendUpgradeAgency","native":"NETWORK_SPEND_UPGRADE_AGENCY","hash":"0x6CCA64840589A3B6","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_UPGRADE_AGENCY"]},
{"name":"networkSpendAgency","native":"NETWORK_SPEND_AGENCY","hash":"0x1B2120405080125C","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_AGENCY_CONCIERGE"]},
{"name":"networkSpendHidden","native":"NETWORK_SPEND_HIDDEN","hash":"0xBF8793B91EA094A7","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_HIDDEN_CONTACT_SERVICE"]},
{"name":"networkSpendSourceBike","native":"NETWORK_SPEND_SOURCE_BIKE","hash":"0xD9DF467CBE4398C8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_SOURCE_BIKE_CONTACT_SERVICE"]},
{"name":"networkSpendCompSuv","native":"NETWORK_SPEND_COMP_SUV","hash":"0xD86581F9E7CDA383","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_COMPANY_SUV_CONTACT_SERVICE"]},
{"name":"networkSpendSuvFstTrvl","native":"NETWORK_SPEND_SUV_FST_TRVL","hash":"0x61A2DF64ED2D396E","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_SUV_FAST_TRAVEL"]},
{"name":"networkSpendSupply","native":"NETWORK_SPEND_SUPPLY","hash":"0xEBD482B82ACB8BAD","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_SUPPLY_CONTACT_SERVICE"]},
{"name":"networkSpendBikeShop","native":"NETWORK_SPEND_BIKE_SHOP","hash":"0x923AEA8E78F8DF0B","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_SPENT_BIKE_SHOP_MODIFY"]},
{"name":"networkSpendVehicleRequested","native":"NETWORK_SPEND_VEHICLE_REQUESTED","hash":"0x02D24A35A9CC3503","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_SPENT_VEHICLE_REQUESTED"]},
{"name":"networkSpendGunrunning","native":"NETWORK_SPEND_GUNRUNNING","hash":"0x2CEB0E0BC2A77C05","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_SPENT_GUNRUNNING_CONTACT_SERVICE"]},
{"name":"networkEarnAgencySafe","native":"NETWORK_EARN_AGENCY_SAFE","hash":"0x663B4B9D11742A12","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AGENCY_INCOME"]},
{"name":"networkEarnAwardContract","native":"NETWORK_EARN_AWARD_CONTRACT","hash":"0x146D4EB6D22A403F","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AWARD_SECURITY_CONTRACT"]},
{"name":"networkEarnAgencyContract","native":"NETWORK_EARN_AGENCY_CONTRACT","hash":"0x38482AD49CB905C7","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AGENCY_SECURITY_CONTRACT"]},
{"name":"networkEarnAwardPhone","native":"NETWORK_EARN_AWARD_PHONE","hash":"0x7397A115030F1BE3","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AWARD_PHONE_HIT"]},
{"name":"networkEarnAgencyPhone","native":"NETWORK_EARN_AGENCY_PHONE","hash":"0xE29F3D5FA63B1B82","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AGENCY_PHONE_HIT"]},
{"name":"networkEarnAwardFixerMission","native":"NETWORK_EARN_AWARD_FIXER_MISSION","hash":"0x88D6C327D6C57C45","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AWARD_AGENCY_STORY"]},
{"name":"networkEarnFixerPrep","native":"NETWORK_EARN_FIXER_PREP","hash":"0x6283E5DE4C4460C6","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AGENCY_STORY_PREP"]},
{"name":"networkEarnFixerFinale","native":"NETWORK_EARN_FIXER_FINALE","hash":"0xBA154373C5FE51E8","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AGENCY_STORY_FINALE"]},
{"name":"networkEarnFixerAgencyShortTrip","native":"NETWORK_EARN_FIXER_AGENCY_SHORT_TRIP","hash":"0xF4A8E57460BF2037","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AGENCY_SHORT_TRIP"]},
{"name":"networkEarnAwardShortTrip","native":"NETWORK_EARN_AWARD_SHORT_TRIP","hash":"0x5B4DBDED84D6A420","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_AWARD_SHORT_TRIP"]},
{"name":"networkEarnFixerRivalDelivery","native":"NETWORK_EARN_FIXER_RIVAL_DELIVERY","hash":"0x235D41210B3A1A5E","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_RIVAL_DELIVERY_SECURITY_CONTRACT"]},
{"name":"networkEarnUpgradeAgency","native":"NETWORK_EARN_UPGRADE_AGENCY","hash":"0xD07C7C3F1995108C","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_EARN_FROM_UPGRADE_AGENCY_LOCATION"]},
{"name":"networkSpendApartmentUtilities","native":"NETWORK_SPEND_APARTMENT_UTILITIES","hash":"0x1254B5B3925EFD3D","params":[["amount","int"],["p1","BOOL"],["p2","BOOL"],["data","Any*"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_AGGREGATED_UTILITY_BILLS"]},
{"name":"networkSpendBusinessPropertyFees","native":"NETWORK_SPEND_BUSINESS_PROPERTY_FEES","hash":"0x92D1CFDA1227FF1C","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_NETWORK_SPENT_BUSINESS_EXPENSES"]},
{"name":"networkEarnSightseeingReward","native":"NETWORK_EARN_SIGHTSEEING_REWARD","hash":"0x45087AE480B233AC","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_EARN_FROM_SIGHTSEEING"]},
{"name":"networkEarnBikerShop","native":"NETWORK_EARN_BIKER_SHOP","hash":"0x2C5809EB9DF57257","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_EARN_FROM_BIKE_SHOP_BUSINESS"]},
{"name":"networkEarnBiker","native":"NETWORK_EARN_BIKER","hash":"0x71BEC32FA466E105","params":[["p0","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_EARN_FROM_BIKER_INCOME"]},
{"name":"networkYohanSourceGoods","native":"NETWORK_YOHAN_SOURCE_GOODS","hash":"0x59498BC8B1C8B15C","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2699,"aka":["_NETWORK_EARN_FROM_BUSINESS_HUB_SOURCE"]},
{"name":"networkSpendBuyMfgarage","native":"_NETWORK_SPEND_BUY_MFGARAGE","hash":"0xA2ED36DCF0FCA413","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendUpgradeMfgarage","native":"_NETWORK_SPEND_UPGRADE_MFGARAGE","hash":"0xCF8F346DDDC66643","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendBuySupplies","native":"_NETWORK_SPEND_BUY_SUPPLIES","hash":"0xB48185C0CA67B16B","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"],["p3","int"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendBuyAcidLab","native":"_NETWORK_SPEND_BUY_ACID_LAB","hash":"0xF1E26A7924327152","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendUpgradeAcidLabEquipment","native":"_NETWORK_SPEND_UPGRADE_ACID_LAB_EQUIPMENT","hash":"0x110EE9D486C23126","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendUpgradeAcidLabArmor","native":"_NETWORK_SPEND_UPGRADE_ACID_LAB_ARMOR","hash":"0xA7D541C9ACD63133","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"],["p3","int"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendUpgradeAcidLabScoop","native":"_NETWORK_SPEND_UPGRADE_ACID_LAB_SCOOP","hash":"0x2940558E05BCC2EC","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"],["p3","int"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendUpgradeAcidLabMines","native":"_NETWORK_SPEND_UPGRADE_ACID_LAB_MINES","hash":"0x4B99AB08C92C54E4","params":[["p0","int"],["p1","BOOL"],["p2","BOOL"],["p3","int"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendRenameAcidLab","native":"_NETWORK_SPEND_RENAME_ACID_LAB","hash":"0x842B1C5AF61ACDE9","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkSpendRenameAcidProduct","native":"_NETWORK_SPEND_RENAME_ACID_PRODUCT","hash":"0x446798F7495DD7D8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnAwardJuggaloMission","native":"_NETWORK_EARN_AWARD_JUGGALO_MISSION","hash":"0xDDF047577F1A02A7","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnAwardAcidLab","native":"_NETWORK_EARN_AWARD_ACID_LAB","hash":"0xD1A8165767AD2D23","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnAwardDailyStash","native":"_NETWORK_EARN_AWARD_DAILY_STASH","hash":"0xC30650FA74A19D02","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnAwardDeadDrop","native":"_NETWORK_EARN_AWARD_DEAD_DROP","hash":"0xD01EBAEA1F905EF6","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnAwardRandomEvent","native":"_NETWORK_EARN_AWARD_RANDOM_EVENT","hash":"0xBEAFBB1B98B7EF55","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnAwardTaxi","native":"_NETWORK_EARN_AWARD_TAXI","hash":"0xA914768AD35CD3A5","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnStreetDealer","native":"_NETWORK_EARN_STREET_DEALER","hash":"0xA81017EE1324FDFE","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnSellAcid","native":"_NETWORK_EARN_SELL_ACID","hash":"0x79B656937DF6DF5D","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnSetupParticipationAcidLab","native":"_NETWORK_EARN_SETUP_PARTICIPATION_ACID_LAB","hash":"0xE3942D59E8A7F70D","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnSourceParticipationAcidLab","native":"_NETWORK_EARN_SOURCE_PARTICIPATION_ACID_LAB","hash":"0x136F11B5DF1B304D","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnSellParticipationAcidLab","native":"_NETWORK_EARN_SELL_PARTICIPATION_ACID_LAB","hash":"0xCA3EF9B09A8D76B4","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnJuggaloStoryMission","native":"_NETWORK_EARN_JUGGALO_STORY_MISSION","hash":"0xE01D10BA8CD53621","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnJuggaloStoryMissionParticipation","native":"_NETWORK_EARN_JUGGALO_STORY_MISSION_PARTICIPATION","hash":"0x40FF6CCCC476185C","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnFooliganJob","native":"_NETWORK_EARN_FOOLIGAN_JOB","hash":"0xCE4452AE85F5E252","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802,"doc":"JUGGALO_PHONE_MISSION..."},
{"name":"networkEarnFooliganJobParticipation","native":"_NETWORK_EARN_FOOLIGAN_JOB_PARTICIPATION","hash":"0xC376B92D0E060970","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802,"doc":"JUGGALO_PHONE_MISSION_PARTICIPATION..."},
{"name":"networkEarnTaxiJob","native":"_NETWORK_EARN_TAXI_JOB","hash":"0x991E1588FAD9019D","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnDailyStashHouseCompleted","native":"_NETWORK_EARN_DAILY_STASH_HOUSE_COMPLETED","hash":"0xCABC9874AFA70D6D","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnDailyStashHouseParticipation","native":"_NETWORK_EARN_DAILY_STASH_HOUSE_PARTICIPATION","hash":"0x9C0C6BD0F94CE391","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":2802},
{"name":"networkEarnAvenger","native":"_NETWORK_EARN_AVENGER","hash":"0x55F006B9D4A46C1D","params":[["amount","int"],["p1","int"]],"na":1,"since":2944,"doc":"Used for SERVICE_EARN_AVENGER_OPERATIONS & SERVICE_EARN_AVENGER_OPS_BONUS"},
{"name":"networkEarnSmugglerOps","native":"_NETWORK_EARN_SMUGGLER_OPS","hash":"0xDEA273D5F8A9661A","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"na":1,"since":2944},
{"name":"networkEarnBonusObjective","native":"_NETWORK_EARN_BONUS_OBJECTIVE","hash":"0xDCEF983C24191997","params":[["amount","int"],["p1","Any"],["p2","Any"]],"na":1,"since":2944},
{"name":"networkEarnProgressHub","native":"_NETWORK_EARN_PROGRESS_HUB","hash":"0xF8332B06F0EECC9C","params":[["p0","Any"],["p1","Any"]],"na":1,"since":2944},
{"name":"networkSpentAirFreight","native":"_NETWORK_SPENT_AIR_FREIGHT","hash":"0x8C7E8D6F96C9E948","params":[["hangarCargoSourcingPrice","int"],["fromBank","BOOL"],["fromBankAndWallet","BOOL"],["cost","int"],["warehouseId","int"],["warehouseSlot","int"]],"na":1,"since":2944},
{"name":"networkSpentSkipCargoSourceSetup","native":"_NETWORK_SPENT_SKIP_CARGO_SOURCE_SETUP","hash":"0xED1B407BADA42CEC","params":[["amount","int"],["fromBank","BOOL"],["fromBankAndWallet","BOOL"],["cost","int"]],"na":1,"since":2944},
{"name":"networkSpentStealthModule","native":"_NETWORK_SPENT_STEALTH_MODULE","hash":"0x95CE79A6939C537A","params":[["amount","int"],["fromBank","BOOL"],["fromBankAndWallet","BOOL"],["p3","Hash"]],"na":1,"since":2944,"doc":"Hash p3 = STEALTH_MODULE"},
{"name":"networkSpentMissileJammer","native":"_NETWORK_SPENT_MISSILE_JAMMER","hash":"0xD687100F616163F4","params":[["amount","int"],["fromBank","BOOL"],["fromBankAndWallet","BOOL"],["p3","Hash"]],"na":1,"since":2944,"doc":"Hash p3 = MISSILE_JAMMER"},
{"name":"networkSpentGeneric","native":"_NETWORK_SPENT_GENERIC","hash":"0x2803B027479FB640","params":[["price","int"],["p1","BOOL"],["p2","BOOL"],["stat","Hash"],["spent","Hash"],["p5","string"],["p6","string"],["data","Any*"]],"na":1,"since":3095},
{"name":"networkEarnGeneric","native":"_NETWORK_EARN_GENERIC","hash":"0xBF7B5BB7ED890380","params":[["amount","int"],["earn","Hash"],["p2","string"],["p3","string"],["data","Any*"]],"na":1,"since":3095,"doc":"_NETWORK_EARN_G*"},
{"name":"networkClearTransactionTelemetryNonce","native":"_NETWORK_CLEAR_TRANSACTION_TELEMETRY_NONCE","hash":"0xE03B9F95556E48E9","na":1,"since":3095},
{"name":"networkGetVcBankBalance","native":"NETWORK_GET_VC_BANK_BALANCE","hash":"0x76EF28DA05EA395A","ret":"int","blocked":"rockstar"},
{"name":"networkGetVcWalletBalance","native":"NETWORK_GET_VC_WALLET_BALANCE","hash":"0xA40F9C2623F6A8B5","params":[["characterSlot","int"]],"ret":"int","blocked":"rockstar"},
{"name":"networkGetVcBalance","native":"NETWORK_GET_VC_BALANCE","hash":"0x5CBAD97E059E1B94","ret":"int","blocked":"rockstar"},
{"name":"networkGetEvcBalance","native":"NETWORK_GET_EVC_BALANCE","hash":"0x5D1E75F91C07DEE5","ret":"int","blocked":"rockstar"},
{"name":"networkGetPvcBalance","native":"NETWORK_GET_PVC_BALANCE","hash":"0x4F54F3B6C202FB4E","ret":"int","blocked":"rockstar"},
{"name":"networkGetStringWalletBalance","native":"NETWORK_GET_STRING_WALLET_BALANCE","hash":"0xF9B10B529DCFB33B","params":[["characterSlot","int"]],"ret":"string","blocked":"rockstar"},
{"name":"networkGetStringBankBalance","native":"NETWORK_GET_STRING_BANK_BALANCE","hash":"0xA6FA3979BED01B81","ret":"string","blocked":"rockstar","aka":["_NETWORK_GET_BANK_BALANCE_STRING"]},
{"name":"networkGetStringBankWalletBalance","native":"NETWORK_GET_STRING_BANK_WALLET_BALANCE","hash":"0x700AF71AE615E6DD","params":[["character","int"]],"ret":"string","blocked":"rockstar"},
{"name":"networkGetCanSpendFromWallet","native":"NETWORK_GET_CAN_SPEND_FROM_WALLET","hash":"0xED5AB8860415BABA","params":[["amount","int"],["characterSlot","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_GET_VC_WALLET_BALANCE_IS_NOT_LESS_THAN"],"doc":"Returns true if wallet balance >= amount."},
{"name":"networkGetCanSpendFromBank","native":"NETWORK_GET_CAN_SPEND_FROM_BANK","hash":"0xA31FD6A0865B6D14","params":[["amount","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_GET_VC_BANK_BALANCE_IS_NOT_LESS_THAN"],"doc":"Returns true if bank balance >= amount."},
{"name":"networkGetCanSpendFromBankAndWallet","native":"NETWORK_GET_CAN_SPEND_FROM_BANK_AND_WALLET","hash":"0xDC18531D7019A535","params":[["amount","int"],["characterSlot","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_GET_VC_BANK_WALLET_BALANCE_IS_NOT_LESS_THAN"],"doc":"Returns true if bank balance + wallet balance >= amount."},
{"name":"networkGetPvcTransferBalance","native":"NETWORK_GET_PVC_TRANSFER_BALANCE","hash":"0x13A8DE2FD77D04F3","ret":"int","blocked":"rockstar","aka":["_NETWORK_GET_REMAINING_VC_DAILY_TRANSFERS"],"doc":"Retturns the same value as `networkGetRemainingTransferBalance`."},
{"name":"networkGetCanTransferCash","native":"NETWORK_GET_CAN_TRANSFER_CASH","hash":"0x08E8EEADFD0DC4A0","params":[["amount","int"]],"ret":"BOOL","blocked":"rockstar","doc":"Returns false if amount > wallet balance or daily transfer limit has been hit."},
{"name":"networkCanReceivePlayerCash","native":"NETWORK_CAN_RECEIVE_PLAYER_CASH","hash":"0x5D17BE59D2123284","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"networkGetRemainingTransferBalance","native":"NETWORK_GET_REMAINING_TRANSFER_BALANCE","hash":"0xEA560AC9EEB1E19B","ret":"int","blocked":"rockstar","aka":["_NETWORK_GET_REMAINING_VC_DAILY_TRANSFERS_2"],"doc":"Returns the same value as `networkGetPvcTransferBalance`."},
{"name":"withdrawVc","native":"WITHDRAW_VC","hash":"0xF70EFA14FE091429","params":[["amount","int"]],"ret":"int","blocked":"rockstar","doc":"Does nothing and always returns 0."},
{"name":"depositVc","native":"DEPOSIT_VC","hash":"0xE260E0BB9CD995AC","params":[["amount","int"]],"ret":"BOOL","blocked":"rockstar","doc":"Does nothing and always returns false."},
{"name":"hasVcWithdrawalCompleted","native":"HAS_VC_WITHDRAWAL_COMPLETED","hash":"0xE154B48B68EF72BC","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar","doc":"This function is hard-coded to always return 1."},
{"name":"wasVcWithdrawalSuccessful","native":"WAS_VC_WITHDRAWAL_SUCCESSFUL","hash":"0x6FCF8DDEA146C45B","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar","doc":"This function is hard-coded to always return 1."},
{"name":"networkGetMpWindfallAvailable","native":"NETWORK_GET_MP_WINDFALL_AVAILABLE","ret":"BOOL","na":1}
]},
{"id":"NETSHOPPING","title":"Net shopping","doc":"The game's online catalog, baskets and transactions.","natives":[
{"name":"netGameserverUseServerTransactions","native":"NET_GAMESERVER_USE_SERVER_TRANSACTIONS","hash":"0x7D2708796355B20B","ret":"BOOL","blocked":"rockstar","since":1290,"aka":["_NET_GAMESERVER_USE_SERVER_TRANSACTIONS"]},
{"name":"netGameserverCatalogItemIsValid","native":"NET_GAMESERVER_CATALOG_ITEM_IS_VALID","hash":"0xBD4D7EAF8A30F637","params":[["name","string"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_IS_ITEM_UNLOCKED","_NETWORK_SHOP_DOES_ITEM_EXIST","_NET_GAMESERVER_CATALOG_ITEM_EXISTS"]},
{"name":"netGameserverCatalogItemKeyIsValid","native":"NET_GAMESERVER_CATALOG_ITEM_KEY_IS_VALID","hash":"0x247F0F73A182EA0B","params":[["hash","Hash"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_IS_ITEM_UNLOCKED_HASH","_NETWORK_SHOP_DOES_ITEM_EXIST_HASH","_NET_GAMESERVER_CATALOG_ITEM_EXISTS_HASH"]},
{"name":"netGameserverGetPrice","native":"NET_GAMESERVER_GET_PRICE","hash":"0xC27009422FCCA88D","params":[["itemHash","Hash"],["categoryHash","Hash"],["p2","BOOL"]],"ret":"int","blocked":"rockstar","aka":["_NETWORK_SHOP_GET_PRICE"],"doc":"bool is always true in game scripts"},
{"name":"netGameserverCatalogIsValid","native":"NET_GAMESERVER_CATALOG_IS_VALID","hash":"0x3C4487461E9B0DCB","ret":"BOOL","blocked":"rockstar","aka":["_NET_GAMESERVER_CATALOG_IS_READY"]},
{"name":"netGameserverIsCatalogCurrent","native":"NET_GAMESERVER_IS_CATALOG_CURRENT","hash":"0x2B949A1E6AEC8F6A","ret":"BOOL","blocked":"rockstar","aka":["_NET_GAMESERVER_IS_CATALOG_VALID"]},
{"name":"netGameserverGetCatalogCloudCrc","native":"NET_GAMESERVER_GET_CATALOG_CLOUD_CRC","hash":"0x85F6C9ABA1DE2BCF","ret":"Hash","blocked":"rockstar","aka":["_NET_GAMESERVER_GET_CATALOG_CRC"]},
{"name":"netGameserverRefreshServerCatalog","native":"NET_GAMESERVER_REFRESH_SERVER_CATALOG","hash":"0x357B152EF96C30B6","ret":"BOOL","blocked":"rockstar"},
{"name":"netGameserverRetrieveCatalogRefreshStatus","native":"NET_GAMESERVER_RETRIEVE_CATALOG_REFRESH_STATUS","hash":"0xCF38DAFBB49EDE5E","ret":"BOOL","outs":[["state","int",0]],"blocked":"rockstar","aka":["_NET_GAMESERVER_GET_CATALOG_STATE"]},
{"name":"netGameserverInitSession","native":"NET_GAMESERVER_INIT_SESSION","hash":"0xE3E5A7C64CA2C6ED","ret":"BOOL","blocked":"rockstar"},
{"name":"netGameserverRetrieveInitSessionStatus","native":"NET_GAMESERVER_RETRIEVE_INIT_SESSION_STATUS","hash":"0x0395CB47B022E62C","ret":"BOOL","outs":[["p0","int",0]],"blocked":"rockstar"},
{"name":"netGameserverStartSession","native":"NET_GAMESERVER_START_SESSION","hash":"0xA135AC892A58FC07","params":[["charSlot","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_START_SESSION"]},
{"name":"netGameserverStartSessionPending","native":"NET_GAMESERVER_START_SESSION_PENDING","hash":"0x72EB7BA9B69BF6AB","ret":"BOOL","blocked":"rockstar"},
{"name":"netGameserverRetrieveStartSessionStatus","native":"NET_GAMESERVER_RETRIEVE_START_SESSION_STATUS","hash":"0x170910093218C8B9","ret":"BOOL","outs":[["p0","int",0]],"blocked":"rockstar"},
{"name":"netGameserverRetrieveSessionErrorCode","native":"NET_GAMESERVER_RETRIEVE_SESSION_ERROR_CODE","hash":"0xC13C38E47EA5DF31","ret":"BOOL","outs":[["p0","int",0]],"blocked":"rockstar"},
{"name":"netGameserverIsSessionValid","native":"NET_GAMESERVER_IS_SESSION_VALID","hash":"0xB24F0944DA203D9E","params":[["charSlot","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_GET_TRANSACTIONS_ENABLED_FOR_CHARACTER"]},
{"name":"netGameserverClearSession","native":"NET_GAMESERVER_CLEAR_SESSION","hash":"0x74A0FD0688F1EE45","params":[["p0","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"netGameserverSessionApplyReceivedData","native":"NET_GAMESERVER_SESSION_APPLY_RECEIVED_DATA","hash":"0x2F41D51BA3BCD1F1","params":[["charSlot","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_SESSION_APPLY_RECEIVED_DATA"]},
{"name":"netGameserverIsSessionRefreshPending","native":"NET_GAMESERVER_IS_SESSION_REFRESH_PENDING","hash":"0x810E8431C0614BF9","ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_GET_TRANSACTIONS_DISABLED"]},
{"name":"netGameserverFlagForSessionRestart","native":"_NET_GAMESERVER_FLAG_FOR_SESSION_RESTART","ret":"BOOL","na":1},
{"name":"netGameserverStartSessionRestart","native":"NET_GAMESERVER_START_SESSION_RESTART","hash":"0x35A1B3E1D1315CFA","params":[["inventory","BOOL"],["playerbalance","BOOL"]],"ret":"BOOL","blocked":"rockstar","aka":["_NET_GAMESERVER_UPDATE_BALANCE"],"doc":"Note: only one of the arguments can be set to true at a time"},
{"name":"netGameserverTransactionInProgress","native":"NET_GAMESERVER_TRANSACTION_IN_PROGRESS","hash":"0x613F125BA3BD2EB9","ret":"BOOL","blocked":"rockstar","since":372},
{"name":"netGameserverGetSessionStateAndStatus","native":"NET_GAMESERVER_GET_SESSION_STATE_AND_STATUS","hash":"0x897433D292B44130","ret":"BOOL","outs":[["p0","int",0],["p1","BOOL",1]],"blocked":"rockstar","aka":["_NET_GAMESERVER_GET_TRANSACTION_MANAGER_DATA"]},
{"name":"netGameserverBasketStart","native":"NET_GAMESERVER_BASKET_START","hash":"0x279F08B1A4B29B7E","params":[["categoryHash","Hash"],["actionHash","Hash"],["flags","int"]],"ret":"BOOL","outs":[["transactionId","int",0]],"blocked":"rockstar","aka":["_NETWORK_SHOP_BASKET_START"]},
{"name":"netGameserverBasketEnd","native":"NET_GAMESERVER_BASKET_END","hash":"0xFA336E7F40C0A0D0","ret":"BOOL","blocked":"rockstar","since":372,"aka":["_NET_GAMESERVER_BASKET_DELETE"]},
{"name":"netGameserverBasketIsActive","native":"NET_GAMESERVER_BASKET_IS_ACTIVE","hash":"0xA65568121DF2EA26","ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_BASKET_END","NET_GAMESERVER_BASKET_END"]},
{"name":"netGameserverBasketAddItem","native":"NET_GAMESERVER_BASKET_ADD_ITEM","hash":"0xF30980718C8ED876","params":[["itemData","Any*"],["quantity","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_BASKET_ADD_ITEM"]},
{"name":"netGameserverBasketIsFull","native":"NET_GAMESERVER_BASKET_IS_FULL","hash":"0x27F76CC6C55AD30E","ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_BASKET_IS_FULL"]},
{"name":"netGameserverBasketApplyServerData","native":"NET_GAMESERVER_BASKET_APPLY_SERVER_DATA","hash":"0xE1A0450ED46A7812","params":[["p0","Any"],["p1","Any*"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_BASKET_APPLY_SERVER_DATA"]},
{"name":"netGameserverCheckoutStart","native":"NET_GAMESERVER_CHECKOUT_START","hash":"0x39BE7CEA8D9CC8E6","params":[["transactionId","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_CHECKOUT_START"]},
{"name":"netGameserverCheckoutPending","native":"NET_GAMESERVER_CHECKOUT_PENDING","hash":"0x4B64CD6D18474126","params":[["transactionId","int"]],"ret":"BOOL","na":1,"since":3570},
{"name":"netGameserverBeginService","native":"NET_GAMESERVER_BEGIN_SERVICE","hash":"0x3C5FD37B5499582E","params":[["categoryHash","Hash"],["itemHash","Hash"],["actionTypeHash","Hash"],["value","int"],["flags","int"]],"ret":"BOOL","outs":[["transactionId","int",0]],"blocked":"rockstar","aka":["_NETWORK_SHOP_BEGIN_SERVICE"]},
{"name":"netGameserverEndService","native":"NET_GAMESERVER_END_SERVICE","hash":"0xE2A99A9B524BEFFF","params":[["transactionId","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_END_SERVICE","_NETWORK_SHOP_TERMINATE_SERVICE"]},
{"name":"netGameserverDeleteCharacter","native":"NET_GAMESERVER_DELETE_CHARACTER","hash":"0x51F1A8E48C3D2F6D","params":[["slot","int"],["transfer","BOOL"],["reason","Hash"]],"ret":"BOOL","blocked":"rockstar","aka":["_NET_GAMESERVER_DELETE_CHARACTER_SLOT"]},
{"name":"netGameserverDeleteCharacterGetStatus","native":"NET_GAMESERVER_DELETE_CHARACTER_GET_STATUS","hash":"0x0A6D923DFFC9BD89","ret":"int","blocked":"rockstar","aka":["_NET_GAMESERVER_DELETE_CHARACTER_SLOT_GET_STATUS"]},
{"name":"netGameserverDeleteSetTelemetryNonceSeed","native":"NET_GAMESERVER_DELETE_SET_TELEMETRY_NONCE_SEED","hash":"0x112CEF1615A1139F","ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_DELETE_SET_TELEMETRY_NONCE_SEED"]},
{"name":"netGameserverTransferBankToWallet","native":"NET_GAMESERVER_TRANSFER_BANK_TO_WALLET","hash":"0xD47A2C1BA117471D","params":[["charSlot","int"],["amount","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_TRANSFER_BANK_TO_WALLET","_NET_GAMESERVER_TRANSFER_BANK_TO_WALLET"]},
{"name":"netGameserverTransferWalletToBank","native":"NET_GAMESERVER_TRANSFER_WALLET_TO_BANK","hash":"0xC2F7FE5309181C7D","params":[["charSlot","int"],["amount","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_TRANSFER_WALLET_TO_BANK","_NET_GAMESERVER_TRANSFER_WALLET_TO_BANK"]},
{"name":"netGameserverTransferBankToWalletGetStatus","native":"NET_GAMESERVER_TRANSFER_BANK_TO_WALLET_GET_STATUS","hash":"0x23789E777D14CE44","ret":"int","blocked":"rockstar","aka":["_NET_GAMESERVER_TRANSFER_CASH_GET_STATUS"],"doc":"Same as `netGameserverTransferWalletToBankGetStatus`"},
{"name":"netGameserverTransferWalletToBankGetStatus","native":"NET_GAMESERVER_TRANSFER_WALLET_TO_BANK_GET_STATUS","hash":"0x350AA5EBC03D3BD2","ret":"int","blocked":"rockstar","aka":["_NET_GAMESERVER_TRANSFER_CASH_GET_STATUS_2"],"doc":"Same as `netGameserverTransferBankToWalletGetStatus`"},
{"name":"netGameserverTransferCashSetTelemetryNonceSeed","native":"NET_GAMESERVER_TRANSFER_CASH_SET_TELEMETRY_NONCE_SEED","hash":"0x498C1E05CE5F7877","ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_CASH_TRANSFER_SET_TELEMETRY_NONCE_SEED","_NET_GAMESERVER_TRANSFER_CASH_SET_TELEMETRY_NONCE_SEED"]},
{"name":"netGameserverSetTelemetryNonceSeed","native":"NET_GAMESERVER_SET_TELEMETRY_NONCE_SEED","hash":"0x9507D4271988E1AE","params":[["p0","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_NETWORK_SHOP_SET_TELEMETRY_NONCE_SEED"]}
]},
{"id":"NETWORK","title":"Network","doc":"The game's own network layer: sessions, players, network ids, entity control, cloud content.","natives":[
{"name":"getOnlineVersion","native":"GET_ONLINE_VERSION","hash":"0xFCA9373EF340AC0A","ret":"string","aka":["_GET_GAME_VERSION","_GET_ONLINE_VERSION"],"doc":"Online version is defined here: update\\update.rpf\\common\\data\\version.txt\n\nExample:\n\n[ONLINE_VERSION_NUMBER]\n1.33\n\n`getOnlineVersion`() will return \"1.33\""},
{"name":"networkIsSignedIn","native":"NETWORK_IS_SIGNED_IN","hash":"0x054354A99211EB96","ret":"BOOL","doc":"Returns whether the player is signed into Social Club."},
{"name":"networkIsSignedOnline","native":"NETWORK_IS_SIGNED_ONLINE","hash":"0x1077788E268557C2","ret":"BOOL","doc":"Returns whether the game is not in offline mode.\n\nseemed not to work for some ppl"},
{"name":"networkIsNpAvailable","native":"NETWORK_IS_NP_AVAILABLE","hash":"0xBD545D44CCE70597","ret":"BOOL","doc":"This function is hard-coded to always return 1."},
{"name":"networkIsNpPending","native":"NETWORK_IS_NP_PENDING","hash":"0xEBCAB9E5048434F4","ret":"BOOL","doc":"This function is hard-coded to always return 1."},
{"name":"networkGetNpUnavailableReason","native":"NETWORK_GET_NP_UNAVAILABLE_REASON","hash":"0x74FB3E29E6D10FA9","ret":"int","doc":"Hardcoded to return zero."},
{"name":"networkIsConnetedToNpPresence","native":"NETWORK_IS_CONNETED_TO_NP_PRESENCE","hash":"0x7808619F31FF22DB","ret":"BOOL","doc":"This function is hard-coded to always return 1."},
{"name":"networkIsLoggedInToPsn","native":"NETWORK_IS_LOGGED_IN_TO_PSN","hash":"0xA0FA4EC6A05DA44E","ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"networkHasValidRosCredentials","native":"NETWORK_HAS_VALID_ROS_CREDENTIALS","hash":"0x85443FF4C328F53B","ret":"BOOL","aka":["_NETWORK_ARE_ROS_AVAILABLE","NETWORK_HAVE_JUST_UPLOAD_LATER"],"doc":"Returns whether the signed-in user has valid Rockstar Online Services (ROS) credentials."},
{"name":"networkIsRefreshingRosCredentials","native":"NETWORK_IS_REFRESHING_ROS_CREDENTIALS","hash":"0x8D11E61A4ABF49CC","ret":"BOOL"},
{"name":"networkIsCloudAvailable","native":"NETWORK_IS_CLOUD_AVAILABLE","hash":"0x9A4CF4F48AD77302","ret":"BOOL"},
{"name":"networkHasSocialClubAccount","native":"NETWORK_HAS_SOCIAL_CLUB_ACCOUNT","hash":"0x67A5589628E0CFF6","ret":"BOOL"},
{"name":"networkAreSocialClubPoliciesCurrent","native":"NETWORK_ARE_SOCIAL_CLUB_POLICIES_CURRENT","hash":"0xBA9775570DB788CF","ret":"BOOL"},
{"name":"networkIsHost","native":"NETWORK_IS_HOST","hash":"0x8DB296B814EDDA07","ret":"BOOL","doc":"If you are host, returns true else returns false."},
{"name":"networkGetHostPlayerIndex","native":"NETWORK_GET_HOST_PLAYER_INDEX","hash":"0x8251FB94DC4FDFC8","ret":"Player","since":2612,"aka":["_NETWORK_GET_HOST"]},
{"name":"networkWasGameSuspended","native":"NETWORK_WAS_GAME_SUSPENDED","hash":"0x4237E822315D8BA9","ret":"BOOL"},
{"name":"networkHaveOnlinePrivileges","native":"NETWORK_HAVE_ONLINE_PRIVILEGES","hash":"0x25CB5A9F37BFD063","ret":"BOOL"},
{"name":"networkMultiplayerCrossplayNotAllowed","native":"_NETWORK_MULTIPLAYER_CROSSPLAY_NOT_ALLOWED","hash":"0xA6BC0D9BCF9662FA","ret":"BOOL","na":1,"since":3504,"doc":"For the XboxPC version this returns true if XPRIVILEGE_MULTIPLAYER_SESSIONS is granted but XPRIVILEGE_CROSS_PLAY is NOT granted.\nFor more information, see https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/live/features/identity/privileges/concepts/live-user-privileges-client#privilege-ids-to-check\n\nAlways returns false for non-XboxPC versions."},
{"name":"networkHasAgeRestrictions","native":"NETWORK_HAS_AGE_RESTRICTIONS","hash":"0x1353F87E89946207","ret":"BOOL","aka":["_NETWORK_HAS_AGE_RESTRICTED_PROFILE"]},
{"name":"networkHaveUserContentPrivileges","native":"NETWORK_HAVE_USER_CONTENT_PRIVILEGES","hash":"0x72D918C99BCACC54","params":[["p0","int"]],"ret":"BOOL"},
{"name":"networkHaveCommunicationPrivileges","native":"NETWORK_HAVE_COMMUNICATION_PRIVILEGES","hash":"0xAEEF48CDF5B6CE7C","params":[["p0","int"],["player","Player"]],"ret":"BOOL"},
{"name":"networkHavePlatformCommunicationPrivileges","native":"_NETWORK_HAVE_PLATFORM_COMMUNICATION_PRIVILEGES","hash":"0xE1E02509169C124E","ret":"BOOL","na":1,"since":3095,"doc":"Appears to be PlayStation-specific. Always returns true on other platforms if signed in with the primary user profile"},
{"name":"networkCheckOnlinePrivileges","native":"NETWORK_CHECK_ONLINE_PRIVILEGES","hash":"0x78321BEA235FD8CD","params":[["p0","Any"],["p1","BOOL"]],"ret":"BOOL"},
{"name":"networkCheckUserContentPrivileges","native":"NETWORK_CHECK_USER_CONTENT_PRIVILEGES","hash":"0x595F028698072DD9","params":[["p0","int"],["p1","int"],["p2","BOOL"]],"ret":"BOOL"},
{"name":"networkCheckCommunicationPrivileges","native":"NETWORK_CHECK_COMMUNICATION_PRIVILEGES","hash":"0x83F28CE49FBBFFBA","params":[["p0","int"],["p1","int"],["p2","BOOL"]],"ret":"BOOL"},
{"name":"networkCheckTextCommunicationPrivileges","native":"NETWORK_CHECK_TEXT_COMMUNICATION_PRIVILEGES","hash":"0x07EAB372C8841D99","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"BOOL","since":1011},
{"name":"networkIsUsingOnlinePromotion","native":"NETWORK_IS_USING_ONLINE_PROMOTION","hash":"0x906CA41A4B74ECA4","ret":"BOOL","since":1493},
{"name":"networkShouldShowPromotionAlertScreen","native":"NETWORK_SHOULD_SHOW_PROMOTION_ALERT_SCREEN","hash":"0x023ACAB2DC9DC4A4","ret":"BOOL","since":1493},
{"name":"networkHasSocialNetworkingSharingPriv","native":"NETWORK_HAS_SOCIAL_NETWORKING_SHARING_PRIV","hash":"0x76BF03FADBF154F5","ret":"BOOL"},
{"name":"networkGetAgeGroup","native":"NETWORK_GET_AGE_GROUP","hash":"0x9614B71F8ADB982B","ret":"int"},
{"name":"networkCheckPrivileges","native":"NETWORK_CHECK_PRIVILEGES","hash":"0x0CF6CC51AA18F0F8","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"BOOL","since":1180},
{"name":"networkIsPrivilegeCheckInProgress","native":"NETWORK_IS_PRIVILEGE_CHECK_IN_PROGRESS","hash":"0x64E5C4CC82847B73","ret":"BOOL","since":1734,"doc":"Hardcoded to return false."},
{"name":"networkSetPrivilegeCheckResultNotNeeded","native":"NETWORK_SET_PRIVILEGE_CHECK_RESULT_NOT_NEEDED","hash":"0x1F7BC3539F9E0224","since":1180},
{"name":"networkResolvePrivilegeUserContent","native":"NETWORK_RESOLVE_PRIVILEGE_USER_CONTENT","hash":"0xDE9225854F37BF72","ret":"BOOL","since":2612,"doc":"Hardcoded to return true."},
{"name":"networkHavePlatformSubscription","native":"NETWORK_HAVE_PLATFORM_SUBSCRIPTION","hash":"0x5EA784D197556507","ret":"BOOL","aka":["_NETWORK_HAVE_ONLINE_PRIVILEGE_2"]},
{"name":"networkIsPlatformSubscriptionCheckPending","native":"NETWORK_IS_PLATFORM_SUBSCRIPTION_CHECK_PENDING","hash":"0xA8ACB6459542A8C8","ret":"BOOL"},
{"name":"networkShowAccountUpgradeUi","native":"NETWORK_SHOW_ACCOUNT_UPGRADE_UI","hash":"0x83FE8D7229593017"},
{"name":"networkIsShowingSystemUiOrRecentlyRequestedUpsell","native":"NETWORK_IS_SHOWING_SYSTEM_UI_OR_RECENTLY_REQUESTED_UPSELL","hash":"0x7788DFE15016A182","ret":"BOOL","since":2612},
{"name":"networkNeedToStartNewGameButBlocked","native":"NETWORK_NEED_TO_START_NEW_GAME_BUT_BLOCKED","hash":"0x53C10C8BD774F2C9","ret":"BOOL","since":1011},
{"name":"networkCanBail","native":"NETWORK_CAN_BAIL","hash":"0x580CE4438479CC61","ret":"BOOL"},
{"name":"networkBail","native":"NETWORK_BAIL","hash":"0x95914459A87EBA28","params":[["p0","int"],["p1","int"],["p2","int"]],"blocked":"online"},
{"name":"networkOnReturnToSinglePlayer","native":"NETWORK_ON_RETURN_TO_SINGLE_PLAYER","hash":"0x283B6062A2C01E9B"},
{"name":"networkTransitionStart","native":"NETWORK_TRANSITION_START","hash":"0x8B4FFC790CA131EF","params":[["p0","int"],["p1","Any"],["p2","Any"],["p3","Any"]],"ret":"BOOL","blocked":"online","since":617},
{"name":"networkTransitionAddStage","native":"NETWORK_TRANSITION_ADD_STAGE","hash":"0xC3BFED92026A2AAD","params":[["hash","Hash"],["p1","int"],["p2","int"],["state","int"],["p4","int"]],"ret":"BOOL","blocked":"online","since":617,"aka":["_NETWORK_TRANSITION_TRACK"]},
{"name":"networkTransitionFinish","native":"NETWORK_TRANSITION_FINISH","hash":"0x04918A41BC9B8157","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"online","since":617},
{"name":"networkCanAccessMultiplayer","native":"NETWORK_CAN_ACCESS_MULTIPLAYER","hash":"0xAF50DA1A3F8B1BA4","ret":"BOOL","outs":[["loadingState","int",0]],"doc":"11 - Need to download tunables.\n12 - Need to download background script.\n\nReturns 1 if the multiplayer is loaded, otherwhise 0."},
{"name":"networkCheckCanAccessAndAlert","native":"NETWORK_CHECK_CAN_ACCESS_AND_ALERT","hash":"0x6FA9825D0B5A721B","ret":"BOOL","na":1,"since":3570},
{"name":"networkGetAccessCodeLabelHeading","native":"_NETWORK_GET_ACCESS_CODE_LABEL_HEADING","hash":"0x967E6FB554E1B6DE","params":[["accessCode","int"]],"ret":"string","na":1,"since":3570},
{"name":"networkGetAccessCodeLabelBody","native":"_NETWORK_GET_ACCESS_CODE_LABEL_BODY","hash":"0x214CA1730793EBA8","params":[["accessCode","int"]],"ret":"string","na":1,"since":3570},
{"name":"networkIsMultiplayerDisabled","native":"NETWORK_IS_MULTIPLAYER_DISABLED","hash":"0x9747292807126EDA","ret":"BOOL"},
{"name":"networkCanEnterMultiplayer","native":"NETWORK_CAN_ENTER_MULTIPLAYER","hash":"0x7E782A910C362C25","ret":"BOOL"},
{"name":"networkSessionDoFreeroamQuickmatch","native":"NETWORK_SESSION_DO_FREEROAM_QUICKMATCH","hash":"0x330ED4D05491934F","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"networkSessionDoFriendMatchmaking","native":"NETWORK_SESSION_DO_FRIEND_MATCHMAKING","hash":"0x2CFC76E0D087C994","params":[["p0","int"],["p1","int"],["p2","int"]],"ret":"BOOL","blocked":"online","aka":["NETWORK_SESSION_FRIEND_MATCHMAKING"]},
{"name":"networkSessionDoCrewMatchmaking","native":"NETWORK_SESSION_DO_CREW_MATCHMAKING","hash":"0x94BC51E9449D917F","params":[["crewId","int"],["p1","int"],["p2","int"],["maxPlayers","int"]],"ret":"BOOL","blocked":"online","aka":["NETWORK_SESSION_CREW_MATCHMAKING"],"doc":"p4 seems to be unused in 1.60/build 2628"},
{"name":"networkSessionDoActivityQuickmatch","native":"NETWORK_SESSION_DO_ACTIVITY_QUICKMATCH","hash":"0xBE3E347A87ACEB82","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"ret":"BOOL","blocked":"online","aka":["NETWORK_SESSION_ACTIVITY_QUICKMATCH"]},
{"name":"networkSessionHost","native":"NETWORK_SESSION_HOST","hash":"0x6F3D4ED9BEE4E61D","params":[["p0","int"],["maxPlayers","int"],["p2","BOOL"]],"ret":"BOOL","blocked":"online","doc":"Does nothing in online but in offline it will cause the screen to fade to black. Nothing happens past then, the screen will sit at black until you restart GTA. Other stuff must be needed to actually host a session."},
{"name":"networkSessionHostClosed","native":"NETWORK_SESSION_HOST_CLOSED","hash":"0xED34C0C02C098BB7","params":[["p0","int"],["maxPlayers","int"]],"ret":"BOOL","blocked":"online"},
{"name":"networkSessionHostFriendsOnly","native":"NETWORK_SESSION_HOST_FRIENDS_ONLY","hash":"0xB9CFD27A5D578D83","params":[["p0","int"],["maxPlayers","int"]],"ret":"BOOL","blocked":"online","doc":"Does nothing in online but in offline it will cause the screen to fade to black. Nothing happens past then, the screen will sit at black until you restart GTA. Other stuff must be needed to actually host a session."},
{"name":"networkSessionIsClosedFriends","native":"NETWORK_SESSION_IS_CLOSED_FRIENDS","hash":"0xFBCFA2EA2E206890","ret":"BOOL","blocked":"online"},
{"name":"networkSessionIsClosedCrew","native":"NETWORK_SESSION_IS_CLOSED_CREW","hash":"0x74732C6CA90DA2B4","ret":"BOOL","blocked":"online"},
{"name":"networkSessionIsSolo","native":"NETWORK_SESSION_IS_SOLO","hash":"0xF3929C2379B60CCE","ret":"BOOL","blocked":"online"},
{"name":"networkSessionIsPrivate","native":"NETWORK_SESSION_IS_PRIVATE","hash":"0xCEF70AA5B3F89BA1","ret":"BOOL","blocked":"online"},
{"name":"networkSessionLeaveIncludingReason","native":"_NETWORK_SESSION_LEAVE_INCLUDING_REASON","hash":"0xE0128328CF1FD9F4","params":[["leaveFlags","int"],["leaveReason","int"]],"ret":"BOOL","na":1,"since":3095},
{"name":"networkSessionLeave","native":"NETWORK_SESSION_LEAVE","hash":"0xB9351A07A0D458B1","params":[["p0","Any"]],"ret":"BOOL","blocked":"online","since":2060},
{"name":"networkSessionKickPlayer","native":"NETWORK_SESSION_KICK_PLAYER","hash":"0xFA8904DC5F304220","params":[["player","Player"]],"blocked":"online","doc":"Only works as host."},
{"name":"networkSessionGetKickVote","native":"NETWORK_SESSION_GET_KICK_VOTE","hash":"0xD6D09A6F32F49EF1","params":[["player","Player"]],"ret":"BOOL","blocked":"online","aka":["_NETWORK_SESSION_ARE_PLAYERS_VOTING_TO_KICK","_NETWORK_SESSION_IS_PLAYER_VOTED_TO_KICK"]},
{"name":"networkSessionReserveSlotsTransition","native":"NETWORK_SESSION_RESERVE_SLOTS_TRANSITION","hash":"0x041C7F2A6C9894E6","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"online","since":463},
{"name":"networkJoinPreviouslyFailedSession","native":"NETWORK_JOIN_PREVIOUSLY_FAILED_SESSION","hash":"0x59DF79317F85A7E0","ret":"BOOL"},
{"name":"networkJoinPreviouslyFailedTransition","native":"NETWORK_JOIN_PREVIOUSLY_FAILED_TRANSITION","hash":"0xFFE1E5B792D92B34","ret":"BOOL"},
{"name":"networkSessionSetMatchmakingGroup","native":"NETWORK_SESSION_SET_MATCHMAKING_GROUP","hash":"0x49EC8030F5015F8B","params":[["matchmakingGroup","int"]],"blocked":"online","aka":["_NETWORK_SCTV_SLOTS"]},
{"name":"networkSessionSetMatchmakingGroupMax","native":"NETWORK_SESSION_SET_MATCHMAKING_GROUP_MAX","hash":"0x8B6A4DD0AF9CE215","params":[["playerType","int"],["playerCount","int"]],"blocked":"online","aka":["_NETWORK_SESSION_SET_MAX_PLAYERS"],"doc":"playerType is an unsigned int from 0 to 4\n0 = regular joiner\n4 = spectator"},
{"name":"networkSessionGetMatchmakingGroupFree","native":"NETWORK_SESSION_GET_MATCHMAKING_GROUP_FREE","hash":"0x56CE820830EF040B","params":[["p0","int"]],"ret":"int","blocked":"online","aka":["_NETWORK_SESSION_GET_UNK"]},
{"name":"networkSessionAddActiveMatchmakingGroup","native":"NETWORK_SESSION_ADD_ACTIVE_MATCHMAKING_GROUP","hash":"0xCAE55F48D3D7875C","params":[["groupId","int"]],"blocked":"online","doc":"groupId range: [0, 4]"},
{"name":"networkSessionSetUniqueCrewLimit","native":"NETWORK_SESSION_SET_UNIQUE_CREW_LIMIT","hash":"0xF49ABC20D8552257","params":[["p0","Any"]],"blocked":"online"},
{"name":"networkSessionGetUniqueCrewLimit","native":"NETWORK_SESSION_GET_UNIQUE_CREW_LIMIT","hash":"0xCDC936BF35EDCB73","ret":"int","na":1,"since":3095},
{"name":"networkSessionSetUniqueCrewLimitTransition","native":"NETWORK_SESSION_SET_UNIQUE_CREW_LIMIT_TRANSITION","hash":"0x4811BBAC21C5FCD5","params":[["p0","Any"]],"blocked":"online"},
{"name":"networkSessionSetUniqueCrewOnlyCrewsTransition","native":"NETWORK_SESSION_SET_UNIQUE_CREW_ONLY_CREWS_TRANSITION","hash":"0x5539C3EBF104A53A","params":[["p0","BOOL"]],"blocked":"online"},
{"name":"networkSessionSetCrewLimitMaxMembersTransition","native":"NETWORK_SESSION_SET_CREW_LIMIT_MAX_MEMBERS_TRANSITION","hash":"0x702BC4D605522539","params":[["p0","Any"]],"blocked":"online"},
{"name":"networkSessionSetMatchmakingPropertyId","native":"NETWORK_SESSION_SET_MATCHMAKING_PROPERTY_ID","hash":"0x3F52E880AAF6C8CA","params":[["p0","BOOL"]],"blocked":"online"},
{"name":"networkSessionSetMatchmakingMentalState","native":"NETWORK_SESSION_SET_MATCHMAKING_MENTAL_STATE","hash":"0xF1EEA2DDA9FFA69D","params":[["p0","int"]],"blocked":"online","doc":"p0 in the decompiled scripts is always the stat mesh_texblend * 0.07 to int"},
{"name":"networkSessionSetNumBosses","native":"NETWORK_SESSION_SET_NUM_BOSSES","hash":"0x59D421683D31835A","params":[["num","int"]],"blocked":"online","since":573},
{"name":"networkSessionSetScriptValidateJoin","native":"NETWORK_SESSION_SET_SCRIPT_VALIDATE_JOIN","hash":"0x1153FA02A659051C","blocked":"online"},
{"name":"networkSessionValidateJoin","native":"NETWORK_SESSION_VALIDATE_JOIN","hash":"0xC19F6C8E7865A6FF","params":[["p0","BOOL"]],"blocked":"online","aka":["_NETWORK_SESSION_HOSTED"]},
{"name":"networkAddFollowers","native":"NETWORK_ADD_FOLLOWERS","hash":"0x236406F60CF216D6","params":[["p0","Any*","A structure the game reads through this pointer."],["p1","int"]],"blocked":"memory","doc":".."},
{"name":"networkClearFollowers","native":"NETWORK_CLEAR_FOLLOWERS","hash":"0x058F43EC59A8631A"},
{"name":"networkGetGlobalMultiplayerClock","native":"NETWORK_GET_GLOBAL_MULTIPLAYER_CLOCK","hash":"0x6D03BFBD643B2A02","outs":[["hours","int",0],["minutes","int",1],["seconds","int",2]],"aka":["_NETWORK_GET_SERVER_TIME"]},
{"name":"networkSessionSetGamemode","native":"NETWORK_SESSION_SET_GAMEMODE","hash":"0x600F8CB31C7AAB6E","params":[["p0","Any"]],"blocked":"online"},
{"name":"networkSessionGetHostAimPreference","native":"NETWORK_SESSION_GET_HOST_AIM_PREFERENCE","hash":"0xDFFA5BE8381C3314","ret":"int","blocked":"online","since":463,"aka":["_NETWORK_GET_TARGETING_MODE"]},
{"name":"networkFindGamersInCrew","native":"NETWORK_FIND_GAMERS_IN_CREW","hash":"0xE532D6811B3A4D2A","params":[["crewId","int"]],"ret":"BOOL","aka":["NETWORK_X_AFFECTS_GAMERS"]},
{"name":"networkFindMatchedGamers","native":"NETWORK_FIND_MATCHED_GAMERS","hash":"0xF7B2CFDE5C9F700D","params":[["attribute","int"],["fallbackLimit","float"],["lowerLimit","float"],["upperLimit","float"]],"ret":"BOOL","doc":"Uses attributes to find players with similar stats. Upper/Lower limit must be above zero or the fallback limit +/-0.1 is used.\nThere can be up to 15 attributes, they are as follows:\n\n0 = Races\n1 = Parachuting\n2 = Horde\n3 = Darts\n4 = Arm Wrestling\n5 = Tennis\n6 = Golf\n7 = Shooting Range\n8 = Deathmatch\n9 = MPPLY_MCMWIN/MPPLY_CRMISSION"},
{"name":"networkIsFindingGamers","native":"NETWORK_IS_FINDING_GAMERS","hash":"0xDDDF64C91BFCF0AA","ret":"BOOL"},
{"name":"networkDidFindGamersSucceed","native":"NETWORK_DID_FIND_GAMERS_SUCCEED","hash":"0xF9B83B77929D8863","ret":"BOOL"},
{"name":"networkGetNumFoundGamers","native":"NETWORK_GET_NUM_FOUND_GAMERS","hash":"0xA1B043EE79A916FB","ret":"int"},
{"name":"networkGetFoundGamer","native":"NETWORK_GET_FOUND_GAMER","hash":"0x9DCFF2AFB68B3476","params":[["p0","Any*"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClearFoundGamers","native":"NETWORK_CLEAR_FOUND_GAMERS","hash":"0x6D14CCEE1B40381A"},
{"name":"networkQueueGamerForStatus","native":"NETWORK_QUEUE_GAMER_FOR_STATUS","hash":"0x85A0EF54A500882C","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory","aka":["_NETWORK_GET_GAMER_STATUS"]},
{"name":"networkGetGamerStatusFromQueue","native":"NETWORK_GET_GAMER_STATUS_FROM_QUEUE","hash":"0x2CC848A861D01493","ret":"BOOL"},
{"name":"networkIsGettingGamerStatus","native":"NETWORK_IS_GETTING_GAMER_STATUS","hash":"0x94A8394D150B013A","ret":"BOOL"},
{"name":"networkDidGetGamerStatusSucceed","native":"NETWORK_DID_GET_GAMER_STATUS_SUCCEED","hash":"0x5AE17C6B0134B7F1","ret":"BOOL"},
{"name":"networkGetGamerStatusResult","native":"NETWORK_GET_GAMER_STATUS_RESULT","hash":"0x02A8BEC6FD9AF660","params":[["p0","Any*"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClearGetGamerStatus","native":"NETWORK_CLEAR_GET_GAMER_STATUS","hash":"0x86E0660E4F5C956D"},
{"name":"networkSessionJoinInvite","native":"NETWORK_SESSION_JOIN_INVITE","hash":"0xC6F8AB8A4189CF3A","blocked":"online","aka":["NETWORK_IS_PLAYER_ANIMATION_DRAWING_SYNCHRONIZED"]},
{"name":"networkSessionCancelInvite","native":"NETWORK_SESSION_CANCEL_INVITE","hash":"0x2FBF47B1B36D36F9","blocked":"online"},
{"name":"networkSessionForceCancelInvite","native":"NETWORK_SESSION_FORCE_CANCEL_INVITE","hash":"0xA29177F7703B5644","blocked":"online"},
{"name":"networkHasPendingInvite","native":"NETWORK_HAS_PENDING_INVITE","hash":"0xAC8C7B9B88C4A668","ret":"BOOL"},
{"name":"networkHasConfirmedInvite","native":"NETWORK_HAS_CONFIRMED_INVITE","hash":"0xC42DD763159F3461","ret":"BOOL"},
{"name":"networkRequestInviteConfirmedEvent","native":"NETWORK_REQUEST_INVITE_CONFIRMED_EVENT","hash":"0x62A0296C1BB1CEB3","ret":"BOOL","aka":["_NETWORK_ACCEPT_INVITE"]},
{"name":"networkSessionWasInvited","native":"NETWORK_SESSION_WAS_INVITED","hash":"0x23DFB504655D0CE4","ret":"BOOL","blocked":"online"},
{"name":"networkSessionGetInviter","native":"NETWORK_SESSION_GET_INVITER","hash":"0xE57397B4A3429DD0","params":[["gamerHandle","Any*"]],"blocked":"online"},
{"name":"networkSessionIsAwaitingInviteResponse","native":"NETWORK_SESSION_IS_AWAITING_INVITE_RESPONSE","hash":"0xD313DE83394AF134","ret":"BOOL","blocked":"online","doc":"Seems to be true while \"Getting GTA Online session details\" shows up."},
{"name":"networkSessionIsDisplayingInviteConfirmation","native":"NETWORK_SESSION_IS_DISPLAYING_INVITE_CONFIRMATION","hash":"0xBDB6F89C729CF388","ret":"BOOL","blocked":"online"},
{"name":"networkSuppressInvite","native":"NETWORK_SUPPRESS_INVITE","hash":"0xA0682D67EF1FBA3D","params":[["toggle","BOOL"]]},
{"name":"networkBlockInvites","native":"NETWORK_BLOCK_INVITES","hash":"0x34F9E9049454A7A0","params":[["toggle","BOOL"]],"blocked":"online"},
{"name":"networkBlockJoinQueueInvites","native":"NETWORK_BLOCK_JOIN_QUEUE_INVITES","hash":"0xCFEB8AF24FC1D0BB","params":[["toggle","BOOL"]],"blocked":"online","aka":["_NETWORK_BLOCK_INVITES_2"]},
{"name":"networkSetCanReceiveRsInvites","native":"NETWORK_SET_CAN_RECEIVE_RS_INVITES","hash":"0x68980414688F7F9D","params":[["p0","BOOL"]],"since":2612},
{"name":"networkStoreInviteThroughRestart","native":"NETWORK_STORE_INVITE_THROUGH_RESTART","hash":"0xF814FEC6A19FD6E0"},
{"name":"networkAllowInviteProcessInPlayerSwitch","native":"NETWORK_ALLOW_INVITE_PROCESS_IN_PLAYER_SWITCH","hash":"0x6B07B9CE4D390375","params":[["p0","BOOL"]],"aka":["_NETWORK_BLOCK_KICKED_PLAYERS"]},
{"name":"networkSetScriptReadyForEvents","native":"NETWORK_SET_SCRIPT_READY_FOR_EVENTS","hash":"0x7AC752103856FB20","params":[["toggle","BOOL"]]},
{"name":"networkIsOfflineInvitePending","native":"NETWORK_IS_OFFLINE_INVITE_PENDING","hash":"0x74698374C45701D2","ret":"BOOL"},
{"name":"networkClearOfflineInvitePending","native":"NETWORK_CLEAR_OFFLINE_INVITE_PENDING","hash":"0x140E6A44870A11CE"},
{"name":"networkInviteGetJoinFailReason","native":"_NETWORK_INVITE_GET_JOIN_FAIL_REASON","hash":"0x7B335F84501145BB","ret":"string","na":1,"since":3179,"doc":"Retrieves the failed invite join alert reason"},
{"name":"networkInviteClearJoinFailReason","native":"_NETWORK_INVITE_CLEAR_JOIN_FAIL_REASON","hash":"0x8EF5F5811A940F82","na":1,"since":3179,"doc":"Clears the failed invite join alert reason"},
{"name":"networkSessionHostSinglePlayer","native":"NETWORK_SESSION_HOST_SINGLE_PLAYER","hash":"0xC74C33FCA52856D5","params":[["p0","int"]],"blocked":"online","doc":"Loads up the map that is loaded when beeing in mission creator\nPlayer gets placed in a mix between online/offline mode\np0 is always 2 in R* scripts.\n\nAppears to be patched in gtav b757 (game gets terminated) alonside with most other network natives to prevent online modding ~ghost30812"},
{"name":"networkSessionLeaveSinglePlayer","native":"NETWORK_SESSION_LEAVE_SINGLE_PLAYER","hash":"0x3442775428FD2DAA","blocked":"online"},
{"name":"networkIsGameInProgress","native":"NETWORK_IS_GAME_IN_PROGRESS","hash":"0x10FAB35428CCC9D7","ret":"BOOL"},
{"name":"networkIsSessionActive","native":"NETWORK_IS_SESSION_ACTIVE","hash":"0xD83C2B94E7508980","ret":"BOOL"},
{"name":"networkIsInSession","native":"NETWORK_IS_IN_SESSION","hash":"0xCA97246103B63917","ret":"BOOL"},
{"name":"networkIsAmericasVersion","native":"_NETWORK_IS_AMERICAS_VERSION","ret":"BOOL","na":1},
{"name":"networkIsSessionStarted","native":"NETWORK_IS_SESSION_STARTED","hash":"0x9DE624D2FC4B603F","ret":"BOOL","doc":"This checks if player is playing on gta online or not."},
{"name":"networkIsSessionBusy","native":"NETWORK_IS_SESSION_BUSY","hash":"0xF4435D66A8E2905E","ret":"BOOL"},
{"name":"networkCanSessionEnd","native":"NETWORK_CAN_SESSION_END","hash":"0x4EEBC3694E49C572","ret":"BOOL"},
{"name":"networkGetGameMode","native":"NETWORK_GET_GAME_MODE","hash":"0x4C9034162368E206","ret":"int","since":2060},
{"name":"networkSessionMarkVisible","native":"NETWORK_SESSION_MARK_VISIBLE","hash":"0x271CC6AB59EBF9A5","params":[["toggle","BOOL"]],"blocked":"online"},
{"name":"networkSessionIsVisible","native":"NETWORK_SESSION_IS_VISIBLE","hash":"0xBA416D68C631496A","ret":"BOOL","blocked":"online"},
{"name":"networkSessionBlockJoinRequests","native":"NETWORK_SESSION_BLOCK_JOIN_REQUESTS","hash":"0xA73667484D7037C3","params":[["toggle","BOOL"]],"blocked":"online"},
{"name":"networkSessionChangeSlots","native":"NETWORK_SESSION_CHANGE_SLOTS","hash":"0xB4AB419E0D86ACAE","params":[["slots","int"],["p1","BOOL"]],"blocked":"online"},
{"name":"networkSessionGetPrivateSlots","native":"NETWORK_SESSION_GET_PRIVATE_SLOTS","hash":"0x53AFD64C6758F2F9","ret":"int","blocked":"online"},
{"name":"networkSessionVoiceHost","native":"NETWORK_SESSION_VOICE_HOST","hash":"0x9C1556705F864230","ret":"BOOL","blocked":"online"},
{"name":"networkSessionVoiceLeave","native":"NETWORK_SESSION_VOICE_LEAVE","hash":"0x6793E42BE02B575D","ret":"BOOL","blocked":"online"},
{"name":"networkSessionVoiceConnectToPlayer","native":"NETWORK_SESSION_VOICE_CONNECT_TO_PLAYER","hash":"0xABD5E88B8A2D3DB2","params":[["gamerHandle","Any*"]],"blocked":"online","aka":["_NETWORK_VOICE_CONNECT_TO_PLAYER"]},
{"name":"networkSessionVoiceRespondToRequest","native":"NETWORK_SESSION_VOICE_RESPOND_TO_REQUEST","hash":"0x7F8413B7FC2AA6B9","params":[["p0","BOOL"],["p1","int"]],"blocked":"online","aka":["NETWORK_SET_KEEP_FOCUSPOINT"]},
{"name":"networkSessionVoiceSetTimeout","native":"NETWORK_SESSION_VOICE_SET_TIMEOUT","hash":"0x5B8ED3DB018927B1","params":[["timeout","int"]],"blocked":"online"},
{"name":"networkSessionIsInVoiceSession","native":"NETWORK_SESSION_IS_IN_VOICE_SESSION","hash":"0x855BC38818F6F684","ret":"BOOL","blocked":"online"},
{"name":"networkSessionIsVoiceSessionActive","native":"NETWORK_SESSION_IS_VOICE_SESSION_ACTIVE","hash":"0xB5D3453C98456528","ret":"BOOL","blocked":"online"},
{"name":"networkSessionIsVoiceSessionBusy","native":"NETWORK_SESSION_IS_VOICE_SESSION_BUSY","hash":"0xEF0912DDF7C4CB4B","ret":"BOOL","blocked":"online"},
{"name":"networkSendTextMessage","native":"NETWORK_SEND_TEXT_MESSAGE","hash":"0x3A214F2EC889B100","params":[["message","string"],["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","doc":"Message is limited to 64 characters."},
{"name":"networkSetActivitySpectator","native":"NETWORK_SET_ACTIVITY_SPECTATOR","hash":"0x75138790B4359A74","params":[["toggle","BOOL"]]},
{"name":"networkIsActivitySpectator","native":"NETWORK_IS_ACTIVITY_SPECTATOR","hash":"0x12103B9E0C9F92FB","ret":"BOOL"},
{"name":"networkSetActivityPlayerMax","native":"NETWORK_SET_ACTIVITY_PLAYER_MAX","hash":"0x0E4F77F7B9D74D84","params":[["p0","Any"]],"since":573},
{"name":"networkSetActivitySpectatorMax","native":"NETWORK_SET_ACTIVITY_SPECTATOR_MAX","hash":"0x9D277B76D1D12222","params":[["maxSpectators","int"]]},
{"name":"networkGetActivityPlayerNum","native":"NETWORK_GET_ACTIVITY_PLAYER_NUM","hash":"0x73E2B500410DA5A2","params":[["p0","BOOL"]],"ret":"int"},
{"name":"networkIsActivitySpectatorFromHandle","native":"NETWORK_IS_ACTIVITY_SPECTATOR_FROM_HANDLE","hash":"0x2763BBAA72A7BCB9","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkHostTransition","native":"NETWORK_HOST_TRANSITION","hash":"0xA60BB5CE242BB254","params":[["p0","int","Unknown int"],["p1","int","Unknown int"],["p2","int","Unknown int"],["p3","int","Unknown int"],["p4","Any","Unknown always 0 in decompiled scripts"],["p5","BOOL","BOOL purpose unknown, both 0 and 1 are used in decompiled scripts."],["p6","BOOL","BOOL purpose unknown, both 0 and 1 are used in decompiled scripts."],["p7","int","Unknown int, it's an int according to decompiled scripts, however the value is always 0 or 1."],["p8","Any","Unknown int, it's an int according to decompiled scripts, however the value is always 0 or 1."],["p9","int","Unknown int, sometimes 0, but also 32768 or 16384 appear in decompiled scripst, maybe a flag of some sort?"]],"ret":"BOOL","doc":"From what I can tell it looks like it does the following:\nCreates/hosts a new transition to another online session, using this in FiveM will result in other players being disconencted from the server/preventing them from joining. This is most likely because I entered the wrong session parameters since they're pretty much all unknown right now.\nYou also need to use `NetworkJoinTransition(Player player)` and `NetworkLaunchTransition()`."},
{"name":"networkDoTransitionQuickmatch","native":"NETWORK_DO_TRANSITION_QUICKMATCH","hash":"0x71FB0EBCD4915D56","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"networkDoTransitionQuickmatchAsync","native":"NETWORK_DO_TRANSITION_QUICKMATCH_ASYNC","hash":"0xA091A5E44F0072E5","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"networkDoTransitionQuickmatchWithGroup","native":"NETWORK_DO_TRANSITION_QUICKMATCH_WITH_GROUP","hash":"0x9C4AB58491FDC98A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any*"],["p5","Any"],["p6","Any"],["p7","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"networkJoinGroupActivity","native":"NETWORK_JOIN_GROUP_ACTIVITY","hash":"0xA06509A691D12BE4","ret":"BOOL"},
{"name":"networkClearGroupActivity","native":"NETWORK_CLEAR_GROUP_ACTIVITY","hash":"0x1888694923EF4591","since":393},
{"name":"networkRetainActivityGroup","native":"NETWORK_RETAIN_ACTIVITY_GROUP","hash":"0xB13E88E655E5A3BC"},
{"name":"networkIsTransitionClosedFriends","native":"NETWORK_IS_TRANSITION_CLOSED_FRIENDS","hash":"0x6512765E3BE78C50","ret":"BOOL"},
{"name":"networkIsTransitionClosedCrew","native":"NETWORK_IS_TRANSITION_CLOSED_CREW","hash":"0x0DBD5D7E3C5BEC3B","ret":"BOOL"},
{"name":"networkIsTransitionSolo","native":"NETWORK_IS_TRANSITION_SOLO","hash":"0x5DC577201723960A","ret":"BOOL"},
{"name":"networkIsTransitionPrivate","native":"NETWORK_IS_TRANSITION_PRIVATE","hash":"0x5A6AA44FF8E931E6","ret":"BOOL"},
{"name":"networkGetNumTransitionNonAsyncGamers","native":"NETWORK_GET_NUM_TRANSITION_NON_ASYNC_GAMERS","hash":"0x617F49C2668E6155","ret":"int","since":757},
{"name":"networkMarkAsPreferredActivity","native":"NETWORK_MARK_AS_PREFERRED_ACTIVITY","hash":"0x261E97AD7BCF3D40","params":[["p0","BOOL"]]},
{"name":"networkMarkAsWaitingAsync","native":"NETWORK_MARK_AS_WAITING_ASYNC","hash":"0x39917E1B4CB0F911","params":[["p0","BOOL"]]},
{"name":"networkSetInProgressFinishTime","native":"NETWORK_SET_IN_PROGRESS_FINISH_TIME","hash":"0x2CE9D95E4051AECD","params":[["p0","Any"]],"since":678},
{"name":"networkSetTransitionCreatorHandle","native":"NETWORK_SET_TRANSITION_CREATOR_HANDLE","hash":"0xEF26739BCD9907D5","params":[["p0","Any*"]],"blocked":"memory"},
{"name":"networkClearTransitionCreatorHandle","native":"NETWORK_CLEAR_TRANSITION_CREATOR_HANDLE","hash":"0xFB3272229A82C759"},
{"name":"networkInviteGamersToTransition","native":"NETWORK_INVITE_GAMERS_TO_TRANSITION","hash":"0x4A595C32F77DFF76","params":[["p0","Any*"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkSetGamerInvitedToTransition","native":"NETWORK_SET_GAMER_INVITED_TO_TRANSITION","hash":"0xCA2C8073411ECDB6","params":[["gamerHandle","Any*"]],"blocked":"memory"},
{"name":"networkLeaveTransition","native":"NETWORK_LEAVE_TRANSITION","hash":"0xD23A1A815D21DB19","ret":"BOOL"},
{"name":"networkLaunchTransition","native":"NETWORK_LAUNCH_TRANSITION","hash":"0x2DCF46CB1A4F0884","ret":"BOOL","blocked":"saves"},
{"name":"networkSetDoNotLaunchFromJoinAsMigratedHost","native":"NETWORK_SET_DO_NOT_LAUNCH_FROM_JOIN_AS_MIGRATED_HOST","hash":"0xA2E9C1AB8A92E8CD","params":[["toggle","BOOL"]],"doc":"Appears to set whether a transition should be started when the session is migrating."},
{"name":"networkCancelTransitionMatchmaking","native":"NETWORK_CANCEL_TRANSITION_MATCHMAKING","hash":"0x023782EFC70585EE","since":2699,"aka":["_NETWORK_BAIL_TRANSITION_QUICKMATCH"]},
{"name":"networkBailTransition","native":"NETWORK_BAIL_TRANSITION","hash":"0xEAA572036990CD1B","params":[["p0","int"],["p1","int"],["p2","int"]],"blocked":"online"},
{"name":"networkDoTransitionToGame","native":"NETWORK_DO_TRANSITION_TO_GAME","hash":"0x3E9BB38102A589B0","params":[["p0","BOOL"],["maxPlayers","int"]],"ret":"BOOL","blocked":"online"},
{"name":"networkDoTransitionToNewGame","native":"NETWORK_DO_TRANSITION_TO_NEW_GAME","hash":"0x4665F51EFED00034","params":[["p0","BOOL"],["maxPlayers","int"],["p2","BOOL"]],"ret":"BOOL","blocked":"online"},
{"name":"networkDoTransitionToFreemode","native":"NETWORK_DO_TRANSITION_TO_FREEMODE","hash":"0x3AAD8B2FCA1E289F","params":[["p0","Any*"],["p1","Any"],["p2","BOOL"],["players","int"],["p4","BOOL"]],"ret":"BOOL","blocked":"online","doc":"p2 is true 3/4 of the occurrences I found.\n'players' is the number of players for a session. On PS3/360 it's always 18. On PC it's 32."},
{"name":"networkDoTransitionToNewFreemode","native":"NETWORK_DO_TRANSITION_TO_NEW_FREEMODE","hash":"0x9E80A5BA8109F974","params":[["p0","Any*"],["p1","Any"],["players","int"],["p3","BOOL"],["p4","BOOL"],["p5","BOOL"]],"ret":"BOOL","blocked":"online"},
{"name":"networkIsTransitionToGame","native":"NETWORK_IS_TRANSITION_TO_GAME","hash":"0x9D7696D8F4FA6CB7","ret":"BOOL"},
{"name":"networkGetTransitionMembers","native":"NETWORK_GET_TRANSITION_MEMBERS","hash":"0x73B000F7FBC55829","params":[["data","Any*"],["dataCount","int"]],"ret":"int","blocked":"memory","doc":"Returns count."},
{"name":"networkApplyTransitionParameter","native":"NETWORK_APPLY_TRANSITION_PARAMETER","hash":"0x521638ADA1BA0D18","params":[["p0","int"],["p1","int"]]},
{"name":"networkApplyTransitionParameterString","native":"NETWORK_APPLY_TRANSITION_PARAMETER_STRING","hash":"0xEBEFC2E77084F599","params":[["p0","int"],["string","string"],["p2","BOOL"]]},
{"name":"networkSendTransitionGamerInstruction","native":"NETWORK_SEND_TRANSITION_GAMER_INSTRUCTION","hash":"0x31D1D2B858D25E6B","params":[["gamerHandle","Any*"],["p1","string"],["p2","int"],["p3","int"],["p4","BOOL"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkMarkTransitionGamerAsFullyJoined","native":"NETWORK_MARK_TRANSITION_GAMER_AS_FULLY_JOINED","hash":"0x5728BB6D63E3FF1D","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsTransitionHost","native":"NETWORK_IS_TRANSITION_HOST","hash":"0x0B824797C9BF2159","ret":"BOOL"},
{"name":"networkIsTransitionHostFromHandle","native":"NETWORK_IS_TRANSITION_HOST_FROM_HANDLE","hash":"0x6B5C83BA3EFE6A10","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkGetTransitionHost","native":"NETWORK_GET_TRANSITION_HOST","hash":"0x65042B9774C4435E","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsInTransition","native":"NETWORK_IS_IN_TRANSITION","hash":"0x68049AEFF83D8F0A","ret":"BOOL"},
{"name":"networkIsTransitionStarted","native":"NETWORK_IS_TRANSITION_STARTED","hash":"0x53FA83401D9C07FE","ret":"BOOL"},
{"name":"networkIsTransitionBusy","native":"NETWORK_IS_TRANSITION_BUSY","hash":"0x520F3282A53D26B7","ret":"BOOL"},
{"name":"networkIsTransitionMatchmaking","native":"NETWORK_IS_TRANSITION_MATCHMAKING","hash":"0x292564C735375EDF","ret":"BOOL"},
{"name":"networkIsTransitionLeavePostponed","native":"NETWORK_IS_TRANSITION_LEAVE_POSTPONED","hash":"0xC571D0E77D8BBC29","ret":"BOOL"},
{"name":"networkTransitionSetInProgress","native":"NETWORK_TRANSITION_SET_IN_PROGRESS","hash":"0x1398582B7F72B3ED","params":[["p0","Any"]],"blocked":"online","since":505},
{"name":"networkTransitionSetContentCreator","native":"NETWORK_TRANSITION_SET_CONTENT_CREATOR","hash":"0x1F8E00FB18239600","params":[["p0","Any"]],"blocked":"online","since":573},
{"name":"networkTransitionSetActivityIsland","native":"NETWORK_TRANSITION_SET_ACTIVITY_ISLAND","hash":"0xF6F4383B7C92F11A","params":[["p0","Any"]],"blocked":"online","since":573},
{"name":"networkOpenTransitionMatchmaking","native":"NETWORK_OPEN_TRANSITION_MATCHMAKING","hash":"0x2B3A8F7CA3A38FDE"},
{"name":"networkCloseTransitionMatchmaking","native":"NETWORK_CLOSE_TRANSITION_MATCHMAKING","hash":"0x43F4DBA69710E01E"},
{"name":"networkIsTransitionOpenToMatchmaking","native":"NETWORK_IS_TRANSITION_OPEN_TO_MATCHMAKING","hash":"0x37A4494483B9F5C9","ret":"BOOL"},
{"name":"networkSetTransitionVisibilityLock","native":"NETWORK_SET_TRANSITION_VISIBILITY_LOCK","hash":"0x0C978FDA19692C2C","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"networkIsTransitionVisibilityLocked","native":"NETWORK_IS_TRANSITION_VISIBILITY_LOCKED","hash":"0xD0A484CB2F829FBE","ret":"BOOL"},
{"name":"networkSetTransitionActivityId","native":"NETWORK_SET_TRANSITION_ACTIVITY_ID","hash":"0x30DE938B516F0AD2","params":[["p0","Any"]]},
{"name":"networkChangeTransitionSlots","native":"NETWORK_CHANGE_TRANSITION_SLOTS","hash":"0xEEEDA5E6D7080987","params":[["p0","Any"],["p1","BOOL"]],"blocked":"online"},
{"name":"networkTransitionBlockJoinRequests","native":"NETWORK_TRANSITION_BLOCK_JOIN_REQUESTS","hash":"0x973D76AA760A6CB6","params":[["p0","BOOL"]],"blocked":"online"},
{"name":"networkHasPlayerStartedTransition","native":"NETWORK_HAS_PLAYER_STARTED_TRANSITION","hash":"0x9AC9CCBFA8C29795","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkAreTransitionDetailsValid","native":"NETWORK_ARE_TRANSITION_DETAILS_VALID","hash":"0x2615AA2A695930C1","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"networkJoinTransition","native":"NETWORK_JOIN_TRANSITION","hash":"0x9D060B08CD63321A","params":[["player","Player"]],"ret":"BOOL","doc":"```\nint handle[76];\n          networkHandleFromFriend(iSelectedPlayer, &handle[0], 13);\n          Player uVar2 = networkGetPlayerFromGamerHandle(&handle[0]);\n          networkJoinTransition(uVar2);\n```\n\nnothing doin."},
{"name":"networkHasInvitedGamerToTransition","native":"NETWORK_HAS_INVITED_GAMER_TO_TRANSITION","hash":"0x7284A47B3540E6CF","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkHasTransitionInviteBeenAcked","native":"NETWORK_HAS_TRANSITION_INVITE_BEEN_ACKED","hash":"0x3F9990BF5F22759C","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsActivitySession","native":"NETWORK_IS_ACTIVITY_SESSION","hash":"0x05095437424397FA","ret":"BOOL"},
{"name":"networkDisableRealtimeMultiplayer","native":"NETWORK_DISABLE_REALTIME_MULTIPLAYER","hash":"0x236905C700FDB54D","since":2612},
{"name":"networkOverrideRealtimeMultiplayerControlDisable","native":"NETWORK_OVERRIDE_REALTIME_MULTIPLAYER_CONTROL_DISABLE","na":1},
{"name":"networkDisableRealtimeMultiplayerSpectator","native":"NETWORK_DISABLE_REALTIME_MULTIPLAYER_SPECTATOR","na":1},
{"name":"networkSetPresenceSessionInvitesBlocked","native":"NETWORK_SET_PRESENCE_SESSION_INVITES_BLOCKED","hash":"0x4A9FDE3A5A6D0437","params":[["toggle","BOOL"]],"doc":"Does nothing. It's just a nullsub."},
{"name":"networkSendInviteViaPresence","native":"NETWORK_SEND_INVITE_VIA_PRESENCE","hash":"0xC3C7A6AFDB244624","params":[["gamerHandle","Any*"],["p1","string"],["dataCount","int"],["p3","int"]],"ret":"BOOL","blocked":"memory","aka":["_NETWORK_SEND_PRESENCE_INVITE"]},
{"name":"networkSendTransitionInviteViaPresence","native":"NETWORK_SEND_TRANSITION_INVITE_VIA_PRESENCE","hash":"0xC116FF9B4D488291","params":[["gamerHandle","Any*"],["p1","string"],["dataCount","int"],["p3","int"]],"ret":"BOOL","blocked":"memory","aka":["_NETWORK_SEND_PRESENCE_TRANSITION_INVITE"]},
{"name":"networkSendImportantTransitionInviteViaPresence","native":"NETWORK_SEND_IMPORTANT_TRANSITION_INVITE_VIA_PRESENCE","hash":"0x1171A97A3D3981B6","params":[["gamerHandle","Any*"],["p1","string"],["dataCount","int"],["p3","int"]],"ret":"BOOL","blocked":"memory","aka":["_NETWORK_SEND_PRESENCE_TRANSITION_INVITE"]},
{"name":"networkGetPresenceInviteIndexById","native":"NETWORK_GET_PRESENCE_INVITE_INDEX_BY_ID","hash":"0x742B58F723233ED9","params":[["p0","int"]],"ret":"int"},
{"name":"networkGetNumPresenceInvites","native":"NETWORK_GET_NUM_PRESENCE_INVITES","hash":"0xCEFA968912D0F78D","ret":"int"},
{"name":"networkAcceptPresenceInvite","native":"NETWORK_ACCEPT_PRESENCE_INVITE","hash":"0xFA91550DF9318B22","params":[["p0","int"]],"ret":"BOOL"},
{"name":"networkRemovePresenceInvite","native":"NETWORK_REMOVE_PRESENCE_INVITE","hash":"0xF0210268DB0974B1","params":[["p0","int"]],"ret":"BOOL"},
{"name":"networkGetPresenceInviteId","native":"NETWORK_GET_PRESENCE_INVITE_ID","hash":"0xDFF09646E12EC386","params":[["p0","int"]],"ret":"int"},
{"name":"networkGetPresenceInviteInviter","native":"NETWORK_GET_PRESENCE_INVITE_INVITER","hash":"0x4962CC4AA2F345B7","params":[["p0","int"]],"ret":"string"},
{"name":"networkGetPresenceInviteHandle","native":"NETWORK_GET_PRESENCE_INVITE_HANDLE","hash":"0x38D5B0FEBB086F75","params":[["p0","Any"],["p1","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkGetPresenceInviteSessionId","native":"NETWORK_GET_PRESENCE_INVITE_SESSION_ID","hash":"0x26E1CD96B0903D60","params":[["p0","Any"]],"ret":"int"},
{"name":"networkGetPresenceInviteContentId","native":"NETWORK_GET_PRESENCE_INVITE_CONTENT_ID","hash":"0x24409FC4C55CB22D","params":[["p0","int"]],"ret":"string"},
{"name":"networkGetPresenceInvitePlaylistLength","native":"NETWORK_GET_PRESENCE_INVITE_PLAYLIST_LENGTH","hash":"0xD39B3FFF8FFDD5BF","params":[["p0","int"]],"ret":"int"},
{"name":"networkGetPresenceInvitePlaylistCurrent","native":"NETWORK_GET_PRESENCE_INVITE_PLAYLIST_CURRENT","hash":"0x728C4CC7920CD102","params":[["p0","int"]],"ret":"int"},
{"name":"networkGetPresenceInviteFromAdmin","native":"NETWORK_GET_PRESENCE_INVITE_FROM_ADMIN","hash":"0x3DBF2DF0AEB7D289","params":[["p0","int"]],"ret":"BOOL"},
{"name":"networkGetPresenceInviteIsTournament","native":"NETWORK_GET_PRESENCE_INVITE_IS_TOURNAMENT","hash":"0x8806CEBFABD3CE05","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"networkHasFollowInvite","native":"NETWORK_HAS_FOLLOW_INVITE","hash":"0x76D9B976C4C09FDE","ret":"BOOL"},
{"name":"networkActionFollowInvite","native":"NETWORK_ACTION_FOLLOW_INVITE","hash":"0xC88156EBB786F8D5","ret":"BOOL"},
{"name":"networkClearFollowInvite","native":"NETWORK_CLEAR_FOLLOW_INVITE","hash":"0x439BFDE3CD0610F6","ret":"BOOL"},
{"name":"networkRemoveAndCancelAllInvites","native":"NETWORK_REMOVE_AND_CANCEL_ALL_INVITES","hash":"0xEBF8284D8CADEB53"},
{"name":"networkRemoveTransitionInvite","native":"NETWORK_REMOVE_TRANSITION_INVITE","hash":"0x7524B431B2E6F7EE","params":[["p0","Any*"]],"blocked":"memory"},
{"name":"networkRemoveAllTransitionInvite","native":"NETWORK_REMOVE_ALL_TRANSITION_INVITE","hash":"0x726E0375C7A26368"},
{"name":"networkRemoveAndCancelAllTransitionInvites","native":"NETWORK_REMOVE_AND_CANCEL_ALL_TRANSITION_INVITES","hash":"0xF083835B70BA9BFE"},
{"name":"networkInviteGamers","native":"NETWORK_INVITE_GAMERS","hash":"0x9D80CD1D0E6327DE","params":[["p0","Any*"],["p1","Any"],["p2","Any*"],["p3","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkHasInvitedGamer","native":"NETWORK_HAS_INVITED_GAMER","hash":"0x4D86CD31E8976ECE","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkHasMadeInviteDecision","native":"NETWORK_HAS_MADE_INVITE_DECISION","hash":"0x71DC455F5CD1C2B1","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","since":505,"aka":["NETWORK_HAS_INVITE_BEEN_ACKED"]},
{"name":"networkGetInviteReplyStatus","native":"NETWORK_GET_INVITE_REPLY_STATUS","hash":"0x3855FB5EB2C5E8B2","params":[["p0","Any"]],"ret":"int","since":505},
{"name":"networkGetCurrentlySelectedGamerHandleFromInviteMenu","native":"NETWORK_GET_CURRENTLY_SELECTED_GAMER_HANDLE_FROM_INVITE_MENU","hash":"0x74881E6BCAE2327C","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkSetCurrentlySelectedGamerHandleFromInviteMenu","native":"NETWORK_SET_CURRENTLY_SELECTED_GAMER_HANDLE_FROM_INVITE_MENU","hash":"0x7206F674F2A3B1BB","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkSetInviteOnCallForInviteMenu","native":"NETWORK_SET_INVITE_ON_CALL_FOR_INVITE_MENU","hash":"0x66F010A4B031A331","params":[["p0","Any*"]],"blocked":"memory"},
{"name":"networkCheckDataManagerSucceededForHandle","native":"NETWORK_CHECK_DATA_MANAGER_SUCCEEDED_FOR_HANDLE","hash":"0x44B37CDCAE765AAE","params":[["p0","int"],["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkCheckDataManagerForHandle","native":"NETWORK_CHECK_DATA_MANAGER_FOR_HANDLE","hash":"0x4AD490AE1536933B","params":[["p0","Any"],["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","since":372},
{"name":"networkSetInviteFailedMessageForInviteMenu","native":"NETWORK_SET_INVITE_FAILED_MESSAGE_FOR_INVITE_MENU","hash":"0x0D77A82DC2D0DA59","params":[["p0","Any*"],["p1","Any*"]],"blocked":"memory"},
{"name":"filloutPmPlayerList","native":"FILLOUT_PM_PLAYER_LIST","hash":"0xCBBD7C4991B64809","params":[["gamerHandle","Any*"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"filloutPmPlayerListWithNames","native":"FILLOUT_PM_PLAYER_LIST_WITH_NAMES","hash":"0x716B6DB9D1886106","params":[["p0","Any*"],["p1","Any*"],["p2","Any"],["p3","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"refreshPlayerListStats","native":"REFRESH_PLAYER_LIST_STATS","hash":"0xE26CCFF8094D8C74","params":[["p0","int"]],"ret":"BOOL","aka":["USING_NETWORK_WEAPONTYPE"]},
{"name":"networkSetCurrentDataManagerHandle","native":"NETWORK_SET_CURRENT_DATA_MANAGER_HANDLE","hash":"0x796A87B3B68D1F3D","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory","aka":["_NETWORK_CHECK_DATA_MANAGER_FOR_HANDLE"]},
{"name":"networkIsInPlatformParty","native":"NETWORK_IS_IN_PLATFORM_PARTY","hash":"0x2FC5650B0271CB57","ret":"BOOL","doc":"Hardcoded to return false."},
{"name":"networkGetPlatformPartyMemberCount","native":"NETWORK_GET_PLATFORM_PARTY_MEMBER_COUNT","hash":"0x01ABCE5E7CBDA196","ret":"int","aka":["_NETWORK_GET_PLATFORM_PARTY_UNK"]},
{"name":"networkGetPlatformPartyMembers","native":"NETWORK_GET_PLATFORM_PARTY_MEMBERS","hash":"0x120364DE2845DAF8","params":[["data","Any*"],["dataSize","int"]],"ret":"int","blocked":"memory"},
{"name":"networkIsInPlatformPartyChat","native":"NETWORK_IS_IN_PLATFORM_PARTY_CHAT","hash":"0xFD8B834A8BA05048","ret":"BOOL","doc":"Hardcoded to return false."},
{"name":"networkIsChattingInPlatformParty","native":"NETWORK_IS_CHATTING_IN_PLATFORM_PARTY","hash":"0x8DE9945BCC9AEC52","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","doc":"This would be nice to see if someone is in party chat, but 2 sad notes.\n1) It only becomes true if said person is speaking in that party at the time.\n2) It will never, become true unless you are in that party with said person."},
{"name":"networkCanQueueForPreviousSessionJoin","native":"NETWORK_CAN_QUEUE_FOR_PREVIOUS_SESSION_JOIN","hash":"0x2BF66D2E7414F686","ret":"BOOL"},
{"name":"networkIsQueuingForSessionJoin","native":"NETWORK_IS_QUEUING_FOR_SESSION_JOIN","hash":"0x14922ED3E38761F0","ret":"BOOL"},
{"name":"networkClearQueuedJoinRequest","native":"NETWORK_CLEAR_QUEUED_JOIN_REQUEST","hash":"0x6CE50E47F5543D0C","since":573},
{"name":"networkSendQueuedJoinRequest","native":"NETWORK_SEND_QUEUED_JOIN_REQUEST","hash":"0xFA2888E3833C8E96"},
{"name":"networkRemoveAllQueuedJoinRequests","native":"NETWORK_REMOVE_ALL_QUEUED_JOIN_REQUESTS","hash":"0x25D990F8E0E3F13C"},
{"name":"networkSeedRandomNumberGenerator","native":"NETWORK_SEED_RANDOM_NUMBER_GENERATOR","hash":"0xF1B84178F8674195","params":[["seed","int"]]},
{"name":"networkGetRandomInt","native":"NETWORK_GET_RANDOM_INT","hash":"0x599E4FA1F87EB5FF","ret":"int"},
{"name":"networkGetRandomIntRanged","native":"NETWORK_GET_RANDOM_INT_RANGED","hash":"0xE30CF56F1EFA5F43","params":[["rangeStart","int"],["rangeEnd","int"]],"ret":"int","aka":["_NETWORK_GET_RANDOM_INT_IN_RANGE"],"doc":"Same as `getRandomIntInRange`"},
{"name":"networkGetRandomFloatRanged","native":"_NETWORK_GET_RANDOM_FLOAT_RANGED","hash":"0x04BD27B5ACB67067","params":[["rangeStart","float"],["rangeEnd","float"]],"ret":"float","since":2802},
{"name":"networkPlayerIsCheater","native":"NETWORK_PLAYER_IS_CHEATER","hash":"0x655B91F1495A9090","ret":"BOOL"},
{"name":"networkPlayerGetCheaterReason","native":"NETWORK_PLAYER_GET_CHEATER_REASON","hash":"0x172F75B6EE2233BA","ret":"int","aka":["_NETWORK_PLAYER_IS_UNK"]},
{"name":"networkPlayerIsBadsport","native":"NETWORK_PLAYER_IS_BADSPORT","hash":"0x19D8DA0E5A68045A","ret":"BOOL"},
{"name":"remoteCheaterPlayerDetected","native":"REMOTE_CHEATER_PLAYER_DETECTED","hash":"0x472841A026D26D8B","params":[["player","Player"],["a","int"],["b","int"]],"ret":"BOOL","since":1103,"aka":["_REMOTE_CHEAT_DETECTED"]},
{"name":"badSportPlayerLeftDetected","native":"BAD_SPORT_PLAYER_LEFT_DETECTED","hash":"0xEC5E3AF5289DCA81","params":[["gamerHandle","Any*"],["event","int"],["amountReceived","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkAddInvalidObjectModel","native":"NETWORK_ADD_INVALID_OBJECT_MODEL","hash":"0x7F562DBC212E81F9","params":[["modelHash","Hash"],["p1","Any"]],"since":2545,"aka":["_NETWORK_ADD_INVALID_MODEL"]},
{"name":"networkRemoveInvalidObjectModel","native":"NETWORK_REMOVE_INVALID_OBJECT_MODEL","hash":"0x791EDB5803B2F468","params":[["modelHash","Hash"]],"since":2545,"aka":["_NETWORK_REMOVE_INVALID_MODEL"]},
{"name":"networkClearInvalidObjectModels","native":"NETWORK_CLEAR_INVALID_OBJECT_MODELS","hash":"0x03B2F03A53D85E41","since":2545,"aka":["_NETWORK_CLEAR_INVALID_MODELS"]},
{"name":"networkApplyPedScarData","native":"NETWORK_APPLY_PED_SCAR_DATA","hash":"0xE66C690248F11150","params":[["ped","Ped"],["p1","int"]]},
{"name":"networkSetThisScriptIsNetworkScript","native":"NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT","hash":"0x1CA59E306ECB80A5","params":[["maxNumMissionParticipants","int"],["p1","BOOL"],["instanceId","int"]],"blocked":"scripts"},
{"name":"networkTryToSetThisScriptIsNetworkScript","native":"NETWORK_TRY_TO_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT","hash":"0xD1110739EEADB592","params":[["p0","Any"],["p1","BOOL"],["p2","Any"]],"ret":"BOOL","blocked":"scripts","aka":["_NETWORK_SET_THIS_SCRIPT_MARKED","_NETWORK_IS_THIS_SCRIPT_MARKED"]},
{"name":"networkGetThisScriptIsNetworkScript","native":"NETWORK_GET_THIS_SCRIPT_IS_NETWORK_SCRIPT","hash":"0x2910669969E9535E","ret":"BOOL"},
{"name":"networkGetMaxNumParticipants","native":"NETWORK_GET_MAX_NUM_PARTICIPANTS","hash":"0xA6C90FBC38E395EE","ret":"int","aka":["_NETWORK_GET_NUM_PARTICIPANTS_HOST"]},
{"name":"networkGetNumParticipants","native":"NETWORK_GET_NUM_PARTICIPANTS","hash":"0x18D0456E86604654","ret":"int"},
{"name":"networkGetScriptStatus","native":"NETWORK_GET_SCRIPT_STATUS","hash":"0x57D158647A6BFABF","ret":"int"},
{"name":"networkRegisterHostBroadcastVariables","native":"NETWORK_REGISTER_HOST_BROADCAST_VARIABLES","hash":"0x3E9B2F01C50DF595","params":[["vars","Any*","A structure the game reads through this pointer."],["numVars","int"],["debugName","string"]],"blocked":"memory"},
{"name":"networkRegisterPlayerBroadcastVariables","native":"NETWORK_REGISTER_PLAYER_BROADCAST_VARIABLES","hash":"0x3364AA97340CA215","params":[["vars","Any*","A structure the game reads through this pointer."],["numVars","int"],["debugName","string"]],"blocked":"memory"},
{"name":"networkRegisterHighFrequencyHostBroadcastVariables","native":"NETWORK_REGISTER_HIGH_FREQUENCY_HOST_BROADCAST_VARIABLES","hash":"0xEA8C0DDB10E2822A","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"memory","since":1868},
{"name":"networkRegisterHighFrequencyPlayerBroadcastVariables","native":"NETWORK_REGISTER_HIGH_FREQUENCY_PLAYER_BROADCAST_VARIABLES","hash":"0xD6D7478CA62B8D41","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"memory","since":1868},
{"name":"networkFinishBroadcastingData","native":"NETWORK_FINISH_BROADCASTING_DATA","hash":"0x64F62AFB081E260D"},
{"name":"networkGetHostBroadcastDataSizeUnsynced","native":"_NETWORK_GET_HOST_BROADCAST_DATA_SIZE_UNSYNCED","hash":"0x72C8588ABE22C972","params":[["scriptNameHash","Hash"],["instance","int"],["positionHash","Hash"],["handlerNum","int"]],"ret":"int","na":1,"since":3586},
{"name":"networkGetPlayerBroadcastDataSizeUnsynced","native":"_NETWORK_GET_PLAYER_BROADCAST_DATA_SIZE_UNSYNCED","hash":"0xB99CD664FD4720A1","params":[["scriptNameHash","Hash"],["instance","int"],["positionHash","Hash"],["handlerNum","int"]],"ret":"int","na":1,"since":3586},
{"name":"networkGetBroadcastDataHostUpdateSize","native":"_NETWORK_GET_BROADCAST_DATA_HOST_UPDATE_SIZE","hash":"0xE448693B3EA3B92C","params":[["scriptNameHash","Hash"],["instance","int"],["positionHash","Hash"],["handlerNum","int"]],"ret":"int","na":1,"since":3586},
{"name":"networkGetBroadcastDataPlayerUpdateSize","native":"_NETWORK_GET_BROADCAST_DATA_PLAYER_UPDATE_SIZE","hash":"0xAC3F722321800755","params":[["scriptNameHash","Hash"],["instance","int"],["positionHash","Hash"],["handlerNum","int"]],"ret":"int","na":1,"since":3586},
{"name":"networkHasReceivedHostBroadcastData","native":"NETWORK_HAS_RECEIVED_HOST_BROADCAST_DATA","hash":"0x5D10B3795F3FC886","ret":"BOOL"},
{"name":"networkGetPlayerIndex","native":"NETWORK_GET_PLAYER_INDEX","hash":"0x24FB80D107371267","params":[["player","Player"]],"ret":"Player"},
{"name":"networkGetParticipantIndex","native":"NETWORK_GET_PARTICIPANT_INDEX","hash":"0x1B84DF6AF2A46938","params":[["index","int"]],"ret":"int"},
{"name":"networkGetPlayerIndexFromPed","native":"NETWORK_GET_PLAYER_INDEX_FROM_PED","hash":"0x6C0E2E0125610278","params":[["ped","Ped"]],"ret":"Player","doc":"Returns the Player associated to a given Ped when in an online session."},
{"name":"networkGetNumConnectedPlayers","native":"NETWORK_GET_NUM_CONNECTED_PLAYERS","hash":"0xA4A79DD2D9600654","ret":"int","doc":"Returns the amount of players connected in the current session. Only works when connected to a session/server."},
{"name":"networkIsPlayerConnected","native":"NETWORK_IS_PLAYER_CONNECTED","hash":"0x93DC1BE4E1ABE9D1","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkGetTotalNumPlayers","native":"NETWORK_GET_TOTAL_NUM_PLAYERS","hash":"0xCF61D4B4702EE9EB","ret":"int"},
{"name":"networkIsParticipantActive","native":"NETWORK_IS_PARTICIPANT_ACTIVE","hash":"0x6FF8FF40B6357D45","params":[["p0","int"]],"ret":"BOOL"},
{"name":"networkIsPlayerActive","native":"NETWORK_IS_PLAYER_ACTIVE","hash":"0xB8DFD30D6973E135","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkIsPlayerAParticipant","native":"NETWORK_IS_PLAYER_A_PARTICIPANT","hash":"0x3CA58F6CB7CBD784","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkIsHostOfThisScript","native":"NETWORK_IS_HOST_OF_THIS_SCRIPT","hash":"0x83CD99A1E6061AB5","ret":"BOOL"},
{"name":"networkGetHostOfThisScript","native":"NETWORK_GET_HOST_OF_THIS_SCRIPT","hash":"0xC7B4D79B01FA7A5C","ret":"Player"},
{"name":"networkGetHostOfScript","native":"NETWORK_GET_HOST_OF_SCRIPT","hash":"0x1D6A14F1F9A736FC","params":[["scriptName","string"],["instance_id","int"],["position_hash","int"]],"ret":"Player","doc":"scriptName examples:\n\"freemode\", \"AM_CR_SecurityVan\", ...\n\nMost of the time, these values are used:\ninstance_id = -1\nposition_hash = 0"},
{"name":"networkSetMissionFinished","native":"NETWORK_SET_MISSION_FINISHED","hash":"0x3B3D11CD9FFCDFC9","blocked":"scripts"},
{"name":"networkIsScriptActive","native":"NETWORK_IS_SCRIPT_ACTIVE","hash":"0x9D40DF90FAD26098","params":[["scriptName","string"],["instance_id","int"],["p2","BOOL"],["position_hash","int"]],"ret":"BOOL"},
{"name":"networkIsScriptActiveByHash","native":"NETWORK_IS_SCRIPT_ACTIVE_BY_HASH","hash":"0xDA7DE67F5FE5EE13","params":[["scriptHash","Hash"],["p1","int"],["p2","BOOL"],["p3","int"]],"ret":"BOOL","na":1,"since":2245},
{"name":"networkIsThreadANetworkScript","native":"NETWORK_IS_THREAD_A_NETWORK_SCRIPT","hash":"0x560B423D73015E77","params":[["threadId","int"]],"ret":"BOOL","since":1604,"aka":["_NETWORK_IS_THREAD_ACTIVE"]},
{"name":"networkGetNumScriptParticipants","native":"NETWORK_GET_NUM_SCRIPT_PARTICIPANTS","hash":"0x3658E8CD94FC121A","params":[["scriptName","string"],["instance_id","int"],["position_hash","int"]],"ret":"int"},
{"name":"networkGetInstanceIdOfThisScript","native":"NETWORK_GET_INSTANCE_ID_OF_THIS_SCRIPT","hash":"0x638A3A81733086DB","ret":"int"},
{"name":"networkGetPositionHashOfThisScript","native":"NETWORK_GET_POSITION_HASH_OF_THIS_SCRIPT","hash":"0x257ED0FADF750BCF","ret":"Hash","since":2372,"aka":["_NETWORK_GET_POSITION_HASH_OF_THIS_SCRIPT"]},
{"name":"networkIsPlayerAParticipantOnScript","native":"NETWORK_IS_PLAYER_A_PARTICIPANT_ON_SCRIPT","hash":"0x1AD5B71586B94820","params":[["player","Player"],["script","string"],["instance_id","int"]],"ret":"BOOL"},
{"name":"networkPreventScriptHostMigration","native":"NETWORK_PREVENT_SCRIPT_HOST_MIGRATION","hash":"0x2302C0264EA58D31"},
{"name":"networkRequestToBeHostOfThisScript","native":"NETWORK_REQUEST_TO_BE_HOST_OF_THIS_SCRIPT","hash":"0x741A3D8380319A81"},
{"name":"participantId","native":"PARTICIPANT_ID","hash":"0x90986E8876CE0A83","ret":"Player","doc":"Return the local Participant ID"},
{"name":"participantIdToInt","native":"PARTICIPANT_ID_TO_INT","hash":"0x57A3BDDAD8E5AA0A","ret":"int","doc":"Return the local Participant ID.\n\nThis native is exactly the same as '`participantId`' native."},
{"name":"networkGetKillerOfPlayer","native":"NETWORK_GET_KILLER_OF_PLAYER","hash":"0x2DA41ED6E1FCD7A5","params":[["player","Player"]],"ret":"Player","outs":[["weaponHash","Hash",1]],"since":463,"aka":["_NETWORK_GET_PLAYER_KILLER_OF_PLAYER"]},
{"name":"networkGetDestroyerOfNetworkId","native":"NETWORK_GET_DESTROYER_OF_NETWORK_ID","hash":"0x7A1ADEEF01740A24","params":[["netId","int"]],"ret":"Player","outs":[["weaponHash","Hash",1]]},
{"name":"networkGetDestroyerOfEntity","native":"NETWORK_GET_DESTROYER_OF_ENTITY","hash":"0xC434133D9BA52777","params":[["entity","Entity"]],"ret":"Player","outs":[["weaponHash","Hash",1]],"since":463,"aka":["_NETWORK_GET_DESTROYER_OF_ENTITY"]},
{"name":"networkGetAssistedKillOfEntity","native":"NETWORK_GET_ASSISTED_KILL_OF_ENTITY","hash":"0x83660B734994124D","params":[["player","Player"],["entity","Entity"]],"ret":"BOOL","outs":[["p2","int",2]],"since":463,"aka":["_NETWORK_GET_ASSISTED_DAMAGE_OF_DEAD_ENTITY"],"doc":"`networkGetAssistedDamageOfEntity` that ensures the entity is dead (`isEntityDead`)"},
{"name":"networkGetAssistedDamageOfEntity","native":"NETWORK_GET_ASSISTED_DAMAGE_OF_ENTITY","hash":"0x4CACA84440FA26F6","params":[["player","Player"],["entity","Entity"]],"ret":"BOOL","outs":[["p2","int",2]],"aka":["_NETWORK_GET_DESROYER_OF_ENTITY","_NETWORK_GET_DESTROYER_OF_ENTITY"]},
{"name":"networkGetEntityKillerOfPlayer","native":"NETWORK_GET_ENTITY_KILLER_OF_PLAYER","hash":"0x42B2DAA6B596F5F8","params":[["player","Player"]],"ret":"Entity","outs":[["weaponHash","Hash",1]]},
{"name":"networkSetCurrentPublicContentId","native":"NETWORK_SET_CURRENT_PUBLIC_CONTENT_ID","hash":"0x2C863ACDCD12B3DB","params":[["missionId","string"]],"since":2699,"aka":["_NETWORK_SET_CURRENT_MISSION_ID"]},
{"name":"networkSetCurrentChatOption","native":"NETWORK_SET_CURRENT_CHAT_OPTION","hash":"0x3DAD00265FBF356B","params":[["newChatOption","int"]],"since":2802},
{"name":"networkSetCurrentSpawnLocationOption","native":"NETWORK_SET_CURRENT_SPAWN_LOCATION_OPTION","hash":"0xAA6D5451DC3448B6","params":[["mpSettingSpawn","Hash"]],"since":2699,"aka":["_NETWORK_SET_CURRENT_SPAWN_SETTING"]},
{"name":"networkSetVehicleDrivenInTestDrive","native":"NETWORK_SET_VEHICLE_DRIVEN_IN_TEST_DRIVE","hash":"0x8C70252FC40F320B","params":[["toggle","BOOL"]],"since":2699,"aka":["_NETWORK_SET_VEHICLE_TEST_DRIVE"],"doc":"Used by MetricVEHICLE_DIST_DRIVEN"},
{"name":"networkSetVehicleDrivenLocation","native":"NETWORK_SET_VEHICLE_DRIVEN_LOCATION","hash":"0xA0CE91E47531D3BB","params":[["location","Hash"]],"na":1,"since":2944,"doc":"Sets 'loc' variable used in MetricVEHICLE_DIST_DRIVEN"},
{"name":"networkResurrectLocalPlayer","native":"NETWORK_RESURRECT_LOCAL_PLAYER","hash":"0xEA23C49EAA83ACFB","params":[["x","float"],["y","float"],["z","float"],["heading","float"],["p4","BOOL"],["changetime","BOOL"],["p6","BOOL"],["p7","int"],["p8","int"]]},
{"name":"networkSetLocalPlayerInvincibleTime","native":"NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME","hash":"0x2D95C7E2D7E07307","params":[["time","int"]]},
{"name":"networkIsLocalPlayerInvincible","native":"NETWORK_IS_LOCAL_PLAYER_INVINCIBLE","hash":"0x8A8694B48715B000","ret":"BOOL"},
{"name":"networkDisableInvincibleFlashing","native":"NETWORK_DISABLE_INVINCIBLE_FLASHING","hash":"0x9DD368BF06983221","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"networkPatchPostCutsceneHs4fTunEnt","native":"NETWORK_PATCH_POST_CUTSCENE_HS4F_TUN_ENT","hash":"0xF0BC9BCD24A511D5","params":[["ped","Ped"]],"since":2372,"aka":["_NETWORK_PED_FORCE_GAME_STATE_UPDATE"]},
{"name":"networkSetLocalPlayerSyncLookAt","native":"NETWORK_SET_LOCAL_PLAYER_SYNC_LOOK_AT","hash":"0x524FF0AEFF9C3973","params":[["toggle","BOOL"]]},
{"name":"networkHasEntityBeenRegisteredWithThisThread","native":"NETWORK_HAS_ENTITY_BEEN_REGISTERED_WITH_THIS_THREAD","hash":"0xB07D3185E11657A5","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"networkGetNetworkIdFromEntity","native":"NETWORK_GET_NETWORK_ID_FROM_ENTITY","hash":"0xA11700682F3AD45C","params":[["entity","Entity"]],"ret":"int"},
{"name":"networkGetEntityFromNetworkId","native":"NETWORK_GET_ENTITY_FROM_NETWORK_ID","hash":"0xCE4E5D9B0A4FF560","params":[["netId","int"]],"ret":"Entity"},
{"name":"networkGetEntityIsNetworked","native":"NETWORK_GET_ENTITY_IS_NETWORKED","hash":"0xC7827959479DCC78","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"networkGetEntityIsLocal","native":"NETWORK_GET_ENTITY_IS_LOCAL","hash":"0x0991549DE4D64762","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"networkRegisterEntityAsNetworked","native":"NETWORK_REGISTER_ENTITY_AS_NETWORKED","hash":"0x06FAACD625D80CAA","params":[["entity","Entity"]],"blocked":"online"},
{"name":"networkUnregisterNetworkedEntity","native":"NETWORK_UNREGISTER_NETWORKED_ENTITY","hash":"0x7368E683BB9038D6","params":[["entity","Entity"]],"blocked":"online"},
{"name":"networkDoesNetworkIdExist","native":"NETWORK_DOES_NETWORK_ID_EXIST","hash":"0x38CE16C96BD11344","params":[["netId","int"]],"ret":"BOOL"},
{"name":"networkDoesEntityExistWithNetworkId","native":"NETWORK_DOES_ENTITY_EXIST_WITH_NETWORK_ID","hash":"0x18A47D074708FD68","params":[["netId","int"]],"ret":"BOOL"},
{"name":"networkRequestControlOfNetworkId","native":"NETWORK_REQUEST_CONTROL_OF_NETWORK_ID","hash":"0xA670B3662FAFFBD0","params":[["netId","int"]],"ret":"BOOL","blocked":"online"},
{"name":"networkHasControlOfNetworkId","native":"NETWORK_HAS_CONTROL_OF_NETWORK_ID","hash":"0x4D36070FE0215186","params":[["netId","int"]],"ret":"BOOL"},
{"name":"networkIsNetworkIdRemotelyControlled","native":"NETWORK_IS_NETWORK_ID_REMOTELY_CONTROLLED","hash":"0x7242F8B741CE1086","params":[["netId","int"]],"ret":"BOOL","since":678,"aka":["_NETWORK_IS_NETWORK_ID_A_CLONE"],"doc":"Returns true if the specified network id is controlled by someone else."},
{"name":"networkRequestControlOfEntity","native":"NETWORK_REQUEST_CONTROL_OF_ENTITY","hash":"0xB69317BF5E782347","params":[["entity","Entity"]],"ret":"BOOL","blocked":"online"},
{"name":"networkRequestControlOfDoor","native":"NETWORK_REQUEST_CONTROL_OF_DOOR","hash":"0x870DDFD5A4A796E4","params":[["doorID","int"]],"ret":"BOOL","blocked":"online"},
{"name":"networkHasControlOfEntity","native":"NETWORK_HAS_CONTROL_OF_ENTITY","hash":"0x01BF60A500E28887","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"networkHasControlOfPickup","native":"NETWORK_HAS_CONTROL_OF_PICKUP","hash":"0x5BC9495F0B3B6FA6","params":[["pickup","Pickup"]],"ret":"BOOL"},
{"name":"networkHasControlOfDoor","native":"NETWORK_HAS_CONTROL_OF_DOOR","hash":"0xCB3C68ADB06195DF","params":[["doorHash","Hash"]],"ret":"BOOL"},
{"name":"networkIsDoorNetworked","native":"NETWORK_IS_DOOR_NETWORKED","hash":"0xC01E93FAC20C3346","params":[["doorHash","Hash"]],"ret":"BOOL","aka":["_NETWORK_HAS_CONTROL_OF_PAVEMENT_STATS"]},
{"name":"vehToNet","native":"VEH_TO_NET","hash":"0xB4C94523F023419C","params":[["vehicle","Vehicle"]],"ret":"int","doc":"calls from vehicle to net."},
{"name":"pedToNet","native":"PED_TO_NET","hash":"0x0EDEC3C276198689","params":[["ped","Ped"]],"ret":"int","doc":"gets the network id of a ped"},
{"name":"objToNet","native":"OBJ_TO_NET","hash":"0x99BFDC94A603E541","params":[["object","Object"]],"ret":"int","doc":"Lets objects spawn online simply do it like this:\n\n```\nint createdObject = objToNet(createObjectNoOffset(oball, pCoords.x, pCoords.y, pCoords.z, 1, 0, 0));\n```"},
{"name":"netToVeh","native":"NET_TO_VEH","hash":"0x367B936610BA360C","params":[["netHandle","int"]],"ret":"Vehicle"},
{"name":"netToPed","native":"NET_TO_PED","hash":"0xBDCD95FC216A8B3E","params":[["netHandle","int"]],"ret":"Ped","doc":"gets the ped id of a network id"},
{"name":"netToObj","native":"NET_TO_OBJ","hash":"0xD8515F5FEA14CB3F","params":[["netHandle","int"]],"ret":"Object","doc":"gets the object id of a network id"},
{"name":"netToEnt","native":"NET_TO_ENT","hash":"0xBFFEAB45A9A9094A","params":[["netHandle","int"]],"ret":"Entity","doc":"gets the entity id of a network id"},
{"name":"networkGetLocalHandle","native":"NETWORK_GET_LOCAL_HANDLE","hash":"0xE86051786B66CD8E","params":[["gamerHandle","Any*"],["gamerHandleSize","int"]],"blocked":"memory"},
{"name":"networkHandleFromUserId","native":"NETWORK_HANDLE_FROM_USER_ID","hash":"0xDCD51DD8F87AEC5C","params":[["userId","string"],["gamerHandle","Any*"],["gamerHandleSize","int"]],"blocked":"memory"},
{"name":"networkHandleFromMemberId","native":"NETWORK_HANDLE_FROM_MEMBER_ID","hash":"0xA0FD21BED61E5C4C","params":[["memberId","string"],["gamerHandle","Any*"],["gamerHandleSize","int"]],"blocked":"memory"},
{"name":"networkHandleFromPlayer","native":"NETWORK_HANDLE_FROM_PLAYER","hash":"0x388EB2B86C73B6B3","params":[["player","Player"],["gamerHandle","Any*"],["gamerHandleSize","int"]],"blocked":"memory"},
{"name":"networkHashFromPlayerHandle","native":"NETWORK_HASH_FROM_PLAYER_HANDLE","hash":"0xBC1D768F2F5D6C05","params":[["player","Player"]],"ret":"Hash","aka":["_NETWORK_HASH_FROM_PLAYER_HANDLE"]},
{"name":"networkHashFromGamerHandle","native":"NETWORK_HASH_FROM_GAMER_HANDLE","hash":"0x58575AC3CF2CA8EC","params":[["gamerHandle","Any*"]],"ret":"Hash","blocked":"memory","aka":["_NETWORK_HASH_FROM_GAMER_HANDLE"]},
{"name":"networkHandleFromFriend","native":"NETWORK_HANDLE_FROM_FRIEND","hash":"0xD45CB817D7E177D2","params":[["friendIndex","int"],["gamerHandle","Any*"],["gamerHandleSize","int"]],"blocked":"memory"},
{"name":"networkGamertagFromHandleStart","native":"NETWORK_GAMERTAG_FROM_HANDLE_START","hash":"0x9F0C0A981D73FA56","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkGamertagFromHandlePending","native":"NETWORK_GAMERTAG_FROM_HANDLE_PENDING","hash":"0xB071E27958EF4CF0","ret":"BOOL"},
{"name":"networkGamertagFromHandleSucceeded","native":"NETWORK_GAMERTAG_FROM_HANDLE_SUCCEEDED","hash":"0xFD00798DBA7523DD","ret":"BOOL"},
{"name":"networkGetGamertagFromHandle","native":"NETWORK_GET_GAMERTAG_FROM_HANDLE","hash":"0x426141162EBE5CDB","params":[["gamerHandle","Any*"]],"ret":"string","blocked":"memory"},
{"name":"networkDisplaynamesFromHandlesStart","native":"NETWORK_DISPLAYNAMES_FROM_HANDLES_START","hash":"0xD66C9E72B3CC4982","params":[["p0","Any*"],["p1","Any"]],"ret":"int","blocked":"memory","doc":"Hardcoded to return -1."},
{"name":"networkGetDisplaynamesFromHandles","native":"NETWORK_GET_DISPLAYNAMES_FROM_HANDLES","hash":"0x58CC181719256197","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"int","doc":"This function is hard-coded to always return 0."},
{"name":"networkAreHandlesTheSame","native":"NETWORK_ARE_HANDLES_THE_SAME","hash":"0x57DBA049E110F217","params":[["gamerHandle1","Any*"],["gamerHandle2","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsHandleValid","native":"NETWORK_IS_HANDLE_VALID","hash":"0x6F79B93B0A8E4133","params":[["gamerHandle","Any*"],["gamerHandleSize","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkGetPlayerFromGamerHandle","native":"NETWORK_GET_PLAYER_FROM_GAMER_HANDLE","hash":"0xCE5F689CF5A0A49D","params":[["gamerHandle","Any*"]],"ret":"Player","blocked":"memory"},
{"name":"networkMemberIdFromGamerHandle","native":"NETWORK_MEMBER_ID_FROM_GAMER_HANDLE","hash":"0xC82630132081BB6F","params":[["gamerHandle","Any*"]],"ret":"string","blocked":"memory"},
{"name":"networkIsGamerInMySession","native":"NETWORK_IS_GAMER_IN_MY_SESSION","hash":"0x0F10B05DDF8D16E9","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkShowProfileUi","native":"NETWORK_SHOW_PROFILE_UI","hash":"0x859ED1CEA343FCA8","params":[["gamerHandle","Any*"]],"blocked":"memory"},
{"name":"networkPlayerGetName","native":"NETWORK_PLAYER_GET_NAME","hash":"0x7718D2E2060837D2","params":[["player","Player"]],"ret":"string","doc":"Returns the name of a given player."},
{"name":"networkPlayerGetUserid","native":"NETWORK_PLAYER_GET_USERID","hash":"0x4927FC39CD0869A0","params":[["player","Player"]],"ret":"string","outs":[["userID","int",1,"The game uses this slot as a text buffer. The number handed back means nothing: read the returned string."]],"blocked":"memory","aka":["_NETWORK_PLAYER_GET_USER_ID"],"doc":"Returns a string of the player's Rockstar Id.\nTakes a 24 char buffer."},
{"name":"networkPlayerIsRockstarDev","native":"NETWORK_PLAYER_IS_ROCKSTAR_DEV","hash":"0x544ABDDA3B409B6D","params":[["player","Player"]],"ret":"BOOL","doc":"Returns always false in Singleplayer.\n\nNo longer used for dev checks since first mods were released on PS3 & 360.\nR* now checks with the `isDlcPresent` native for the dlc hash 2532323046,\nif that is present it will unlock dev stuff."},
{"name":"networkPlayerIndexIsCheater","native":"NETWORK_PLAYER_INDEX_IS_CHEATER","hash":"0x565E430DB3B05BEC","params":[["player","Player"]],"ret":"BOOL","aka":["_NETWORK_PLAYER_SOMETHING"]},
{"name":"networkEntityGetObjectId","native":"NETWORK_ENTITY_GET_OBJECT_ID","hash":"0x815F18AD865F057F","params":[["entity","Entity"]],"ret":"int","since":463,"aka":["_NETWORK_GET_ENTITY_NET_SCRIPT_ID"]},
{"name":"networkGetEntityFromObjectId","native":"NETWORK_GET_ENTITY_FROM_OBJECT_ID","hash":"0x37D5F739FD494675","params":[["p0","Any"]],"ret":"Entity","since":505,"doc":"I've had this return the player's ped handle sometimes, but also other random entities.\nWhatever p0 is, it's at least not synced to other players.\nAt least not all the time, some p0 values actually output the same entity, (different handle of course, but same entity).\nBut another p0 value may return an entity for player x, but not for player y (it'll just return -1 even if the entity exists on both clients).\n\nReturns an entity handle or -1, value changes based on p0's value."},
{"name":"networkIsInactiveProfile","native":"NETWORK_IS_INACTIVE_PROFILE","hash":"0x7E58745504313A2E","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkLoadGamerDisplayName","native":"_NETWORK_LOAD_GAMER_DISPLAY_NAME","hash":"0x338ECE3637937BC2","params":[["gamerHandle","Any*"]],"ret":"string","na":1,"since":3258,"doc":"Returns the name from given friend gamer handle."},
{"name":"networkGetMaxFriends","native":"NETWORK_GET_MAX_FRIENDS","hash":"0xAFEBB0D5D8F687D2","ret":"int"},
{"name":"networkGetFriendCount","native":"NETWORK_GET_FRIEND_COUNT","hash":"0x203F1CFD823B27A4","ret":"int"},
{"name":"networkGetFriendName","native":"NETWORK_GET_FRIEND_NAME","hash":"0xE11EBBB2A783FE8B","params":[["friendIndex","int"]],"ret":"string"},
{"name":"networkGetFriendDisplayName","native":"NETWORK_GET_FRIEND_DISPLAY_NAME","hash":"0x4164F227D052E293","params":[["friendIndex","int"]],"ret":"string","aka":["_NETWORK_GET_FRIEND_NAME","_NETWORK_GET_FRIEND_NAME_FROM_INDEX"]},
{"name":"networkIsFriendOnline","native":"NETWORK_IS_FRIEND_ONLINE","hash":"0x425A44533437B64D","params":[["name","string"]],"ret":"BOOL"},
{"name":"networkIsFriendHandleOnline","native":"NETWORK_IS_FRIEND_HANDLE_ONLINE","hash":"0x87EB7A3FFCB314DB","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","aka":["_NETWORK_IS_FRIEND_ONLINE_2"]},
{"name":"networkIsFriendInSameTitle","native":"NETWORK_IS_FRIEND_IN_SAME_TITLE","hash":"0x2EA9A3BEDF3F17B8","params":[["friendName","string"]],"ret":"BOOL","doc":"In scripts R* calls '`networkGetFriendName`' in this param."},
{"name":"networkIsFriendInMultiplayer","native":"NETWORK_IS_FRIEND_IN_MULTIPLAYER","hash":"0x57005C18827F3A28","params":[["friendName","string"]],"ret":"BOOL"},
{"name":"networkIsFriend","native":"NETWORK_IS_FRIEND","hash":"0x1A24A179F9B31654","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsPendingFriend","native":"NETWORK_IS_PENDING_FRIEND","hash":"0x0BE73DA6984A6E33","params":[["p0","Any"]],"ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"networkIsAddingFriend","native":"NETWORK_IS_ADDING_FRIEND","hash":"0x6EA101606F6E4D81","ret":"BOOL"},
{"name":"networkAddFriend","native":"NETWORK_ADD_FRIEND","hash":"0x8E02D73914064223","params":[["gamerHandle","Any*"],["message","string"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsFriendIndexOnline","native":"NETWORK_IS_FRIEND_INDEX_ONLINE","hash":"0xBAD8F2A42B844821","params":[["friendIndex","int"]],"ret":"BOOL"},
{"name":"networkSetPlayerIsPassive","native":"NETWORK_SET_PLAYER_IS_PASSIVE","hash":"0x1B857666604B1A74","params":[["toggle","BOOL"]]},
{"name":"networkGetPlayerOwnsWaypoint","native":"NETWORK_GET_PLAYER_OWNS_WAYPOINT","hash":"0x82377B65E943F72D","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkCanSetWaypoint","native":"NETWORK_CAN_SET_WAYPOINT","hash":"0xC927EC229934AF60","ret":"BOOL"},
{"name":"networkIgnoreRemoteWaypoints","native":"NETWORK_IGNORE_REMOTE_WAYPOINTS","hash":"0x4C2A9FDC22377075","since":372},
{"name":"networkDoesCommunicationGroupHavePermission","native":"_NETWORK_DOES_COMMUNICATION_GROUP_HAVE_PERMISSION","hash":"0xDBDF80673BBA3D65","params":[["communicationType","int","0 = VOICE; 1 = TEXT_CHAT; 2 = TEXT_MESSAGE; 3 = EMAIL; 4 = USER_CONTENT; 5 = USER_TEXT"]],"ret":"BOOL","na":1,"since":3095,"aka":["_NETWORK_DOES_COMMUNICATION_GROUP_EXIST"]},
{"name":"networkDoesCommunicationGroupHaveSettingsEnabled","native":"_NETWORK_DOES_COMMUNICATION_GROUP_HAVE_SETTINGS_ENABLED","hash":"0x20C12650830A64EC","params":[["communicationType","int"]],"ret":"BOOL","na":1,"since":3570},
{"name":"networkGetCommunicationGroupFlags","native":"_NETWORK_GET_COMMUNICATION_GROUP_FLAGS","hash":"0x40DF02F371F40883","params":[["communicationType","int"]],"ret":"int","na":1,"since":3095,"doc":"Returns communicationGroupFlag\ncommunicationType: see 0xDBDF80673BBA3D65"},
{"name":"networkGetCommunicationGroupDefaultFlags","native":"_NETWORK_GET_COMMUNICATION_GROUP_DEFAULT_FLAGS","hash":"0x97F35B898D2D067F","params":[["communicationType","int"]],"ret":"int","na":1,"since":3570},
{"name":"networkGetCommunicationGroupValue","native":"_NETWORK_GET_COMMUNICATION_GROUP_VALUE","hash":"0xBF66ACD9AE81A99F","params":[["communicationType","int"]],"ret":"int","na":1,"since":3570},
{"name":"networkSetCommunicationGroupFlags","native":"_NETWORK_SET_COMMUNICATION_GROUP_FLAGS","hash":"0xE549F846DE7D32D5","params":[["communicationType","int","see 0xDBDF80673BBA3D65"],["communicationGroupFlag","int","see 0x40DF02F371F40883"]],"na":1,"since":3095},
{"name":"networkHasPlayerPassedCheckType","native":"_NETWORK_HAS_PLAYER_PASSED_CHECK_TYPE","hash":"0x62E29CDA11F9C230","params":[["checkType","int"],["gamerHandle","Any*"]],"ret":"BOOL","na":1,"since":3258,"doc":"_NETWORK_HAS_P*\ncheckType 3 is similar as using 0x9F633448E4C73207"},
{"name":"networkIsPlayerOnBlocklist","native":"NETWORK_IS_PLAYER_ON_BLOCKLIST","hash":"0xAD4326FCA30D62F8","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","since":2802},
{"name":"networkSetScriptAutomuted","native":"NETWORK_SET_SCRIPT_AUTOMUTED","hash":"0xB309EBEA797E001F","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"networkHasAutomuteOverride","native":"NETWORK_HAS_AUTOMUTE_OVERRIDE","hash":"0x26F07DD83A5F7F98","ret":"BOOL"},
{"name":"networkHasHeadset","native":"NETWORK_HAS_HEADSET","hash":"0xE870F9F1F7B4F1FA","ret":"BOOL"},
{"name":"networkSetLookAtTalkers","native":"NETWORK_SET_LOOK_AT_TALKERS","hash":"0x7D395EA61622E116","params":[["p0","BOOL"]]},
{"name":"networkIsPushToTalkActive","native":"NETWORK_IS_PUSH_TO_TALK_ACTIVE","hash":"0xC0D2AF00BCC234CA","ret":"BOOL","aka":["NETWORK_IS_LOCAL_TALKING"]},
{"name":"networkGamerHasHeadset","native":"NETWORK_GAMER_HAS_HEADSET","hash":"0xF2FD55CB574BCC55","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsGamerTalking","native":"NETWORK_IS_GAMER_TALKING","hash":"0x71C33B22606CD88A","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkPermissionsHasGamerRecord","native":"NETWORK_PERMISSIONS_HAS_GAMER_RECORD","hash":"0x559EBF901A8C68E0","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","since":2699},
{"name":"networkCanCommunicateWithGamer","native":"NETWORK_CAN_COMMUNICATE_WITH_GAMER","hash":"0x8F5D1AD832AEB06C","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkCanTextChatWithGamer","native":"NETWORK_CAN_TEXT_CHAT_WITH_GAMER","hash":"0xA150A4F065806B1F","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsGamerMutedByMe","native":"NETWORK_IS_GAMER_MUTED_BY_ME","hash":"0xCE60DE011B6C7978","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkAmIMutedByGamer","native":"NETWORK_AM_I_MUTED_BY_GAMER","hash":"0xDF02A2C93F1F26DA","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkIsGamerBlockedByMe","native":"NETWORK_IS_GAMER_BLOCKED_BY_ME","hash":"0xE944C4F5AF1B5883","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkAmIBlockedByGamer","native":"NETWORK_AM_I_BLOCKED_BY_GAMER","hash":"0x15337C7C268A27B2","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkCanViewGamerUserContent","native":"NETWORK_CAN_VIEW_GAMER_USER_CONTENT","hash":"0xB57A49545BA53CE7","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkHasViewGamerUserContentResult","native":"NETWORK_HAS_VIEW_GAMER_USER_CONTENT_RESULT","hash":"0xCCA4318E1AB03F1F","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkCanTextFromGamerBeViewed","native":"_NETWORK_CAN_TEXT_FROM_GAMER_BE_VIEWED","hash":"0x9F633448E4C73207","params":[["gamerHandle","Any*"]],"ret":"BOOL","na":1,"since":3258,"doc":"NETWORK_CAN_*"},
{"name":"networkCanPlayMultiplayerWithGamer","native":"NETWORK_CAN_PLAY_MULTIPLAYER_WITH_GAMER","hash":"0x07DD29D5E22763F1","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkCanGamerPlayMultiplayerWithMe","native":"NETWORK_CAN_GAMER_PLAY_MULTIPLAYER_WITH_ME","hash":"0x135F9B7B7ADD2185","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkCanSendLocalInvite","native":"NETWORK_CAN_SEND_LOCAL_INVITE","hash":"0x021ABCBD98EC4320","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","since":2612},
{"name":"networkCanReceiveLocalInvite","native":"NETWORK_CAN_RECEIVE_LOCAL_INVITE","hash":"0x421E34C55F125964","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","since":2612},
{"name":"networkIsPlayerTalking","native":"NETWORK_IS_PLAYER_TALKING","hash":"0x031E11F3D447647E","params":[["player","Player"]],"ret":"BOOL","doc":"returns true if someone is screaming or talking in a microphone"},
{"name":"networkPlayerHasHeadset","native":"NETWORK_PLAYER_HAS_HEADSET","hash":"0x3FB99A8B08D18FD6","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkIsPlayerMutedByMe","native":"NETWORK_IS_PLAYER_MUTED_BY_ME","hash":"0x8C71288AE68EDE39","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkAmIMutedByPlayer","native":"NETWORK_AM_I_MUTED_BY_PLAYER","hash":"0x9D6981DFC91A8604","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkIsPlayerBlockedByMe","native":"NETWORK_IS_PLAYER_BLOCKED_BY_ME","hash":"0x57AF1F8E27483721","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkAmIBlockedByPlayer","native":"NETWORK_AM_I_BLOCKED_BY_PLAYER","hash":"0x87F395D957D4353D","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkGetPlayerLoudness","native":"NETWORK_GET_PLAYER_LOUDNESS","hash":"0x21A1684A25C2867F","params":[["player","Player"]],"ret":"float"},
{"name":"networkSetTalkerProximity","native":"NETWORK_SET_TALKER_PROXIMITY","hash":"0xCBF12D65F95AD686","params":[["value","float"]]},
{"name":"networkGetTalkerProximity","native":"NETWORK_GET_TALKER_PROXIMITY","hash":"0x84F0F13120B4E098","ret":"float"},
{"name":"networkSetVoiceActive","native":"NETWORK_SET_VOICE_ACTIVE","hash":"0xBABEC9E69A91C57B","params":[["toggle","BOOL"]]},
{"name":"networkRemainInGameChat","native":"NETWORK_REMAIN_IN_GAME_CHAT","hash":"0xCFEB46DCD7D8D5EB","params":[["p0","BOOL"]]},
{"name":"networkOverrideTransitionChat","native":"NETWORK_OVERRIDE_TRANSITION_CHAT","hash":"0xAF66059A131AA269","params":[["p0","BOOL"]]},
{"name":"networkSetTeamOnlyChat","native":"NETWORK_SET_TEAM_ONLY_CHAT","hash":"0xD5B4883AC32F24C3","params":[["toggle","BOOL"]]},
{"name":"networkSetScriptControllingTeams","native":"NETWORK_SET_SCRIPT_CONTROLLING_TEAMS","hash":"0x265559DA40B3F327","params":[["p0","Any"]],"since":573},
{"name":"networkSetSameTeamAsLocalPlayer","native":"NETWORK_SET_SAME_TEAM_AS_LOCAL_PLAYER","hash":"0x4348BFDA56023A2F","params":[["p0","Any"],["p1","Any"]],"ret":"BOOL","since":573},
{"name":"networkOverrideTeamRestrictions","native":"NETWORK_OVERRIDE_TEAM_RESTRICTIONS","hash":"0x6F697A66CE78674E","params":[["team","int"],["toggle","BOOL"]]},
{"name":"networkSetOverrideSpectatorMode","native":"NETWORK_SET_OVERRIDE_SPECTATOR_MODE","hash":"0x70DA3BF8DACD3210","params":[["toggle","BOOL"]]},
{"name":"networkSetOverrideTutorialSessionChat","native":"NETWORK_SET_OVERRIDE_TUTORIAL_SESSION_CHAT","hash":"0x3C5C1E2C2FF814B1","params":[["toggle","BOOL"]]},
{"name":"networkSetProximityAffectsTeam","native":"NETWORK_SET_PROXIMITY_AFFECTS_TEAM","hash":"0x9D7AFCBF21C51712","params":[["toggle","BOOL"]]},
{"name":"networkSetNoSpectatorChat","native":"NETWORK_SET_NO_SPECTATOR_CHAT","hash":"0xF46A1E03E8755980","params":[["toggle","BOOL"]]},
{"name":"networkSetIgnoreSpectatorChatLimitsSameTeam","native":"NETWORK_SET_IGNORE_SPECTATOR_CHAT_LIMITS_SAME_TEAM","hash":"0x6A5D89D7769A40D8","params":[["toggle","BOOL"]]},
{"name":"networkOverrideChatRestrictions","native":"NETWORK_OVERRIDE_CHAT_RESTRICTIONS","hash":"0x3039AE5AD2C9C0C4","params":[["player","Player"],["toggle","BOOL"]],"doc":"Could possibly bypass being muted or automatically muted"},
{"name":"networkOverrideSendRestrictions","native":"NETWORK_OVERRIDE_SEND_RESTRICTIONS","hash":"0x97DD4C5944CC2E6A","params":[["player","Player"],["toggle","BOOL"]],"aka":["_NETWORK_OVERRIDE_SEND_RESTRICTIONS"],"doc":"This is used alongside the native,\n'`networkOverrideReceiveRestrictions`'. Read its description for more info."},
{"name":"networkOverrideSendRestrictionsAll","native":"NETWORK_OVERRIDE_SEND_RESTRICTIONS_ALL","hash":"0x57B192B4D4AD23D5","params":[["toggle","BOOL"]],"aka":["_NETWORK_CHAT_MUTE"]},
{"name":"networkOverrideReceiveRestrictions","native":"NETWORK_OVERRIDE_RECEIVE_RESTRICTIONS","hash":"0xDDF73E2B1FEC5AB4","params":[["player","Player"],["toggle","BOOL"]],"doc":"R* uses this to hear all player when spectating.\nIt allows you to hear other online players when their chat is on none, crew and or friends"},
{"name":"networkOverrideReceiveRestrictionsAll","native":"NETWORK_OVERRIDE_RECEIVE_RESTRICTIONS_ALL","hash":"0x0FF2862B61A58AF9","params":[["toggle","BOOL"]],"doc":"p0 is always false in scripts."},
{"name":"networkSetVoiceChannel","native":"NETWORK_SET_VOICE_CHANNEL","hash":"0xEF6212C2EFEF1A23","params":[["channel","int"]]},
{"name":"networkClearVoiceChannel","native":"NETWORK_CLEAR_VOICE_CHANNEL","hash":"0xE036A705F989E049"},
{"name":"networkApplyVoiceProximityOverride","native":"NETWORK_APPLY_VOICE_PROXIMITY_OVERRIDE","hash":"0xDBD2056652689917","params":[["x","float"],["y","float"],["z","float"]],"aka":["IS_NETWORK_VEHICLE_BEEN_DAMAGED_BY_ANY_OBJECT"]},
{"name":"networkClearVoiceProximityOverride","native":"NETWORK_CLEAR_VOICE_PROXIMITY_OVERRIDE","hash":"0xF03755696450470C"},
{"name":"networkEnableVoiceBandwidthRestriction","native":"NETWORK_ENABLE_VOICE_BANDWIDTH_RESTRICTION","hash":"0x5E3AA4CA2B6FB0EE","params":[["player","Player"]]},
{"name":"networkDisableVoiceBandwidthRestriction","native":"NETWORK_DISABLE_VOICE_BANDWIDTH_RESTRICTION","hash":"0xCA575C391FEA25CC","params":[["player","Player"]]},
{"name":"networkGetMuteCountForPlayer","native":"NETWORK_GET_MUTE_COUNT_FOR_PLAYER","hash":"0xADB57E5B663CCA8B","params":[["p0","Player"]],"outs":[["p1","float",1],["p2","float",2]]},
{"name":"networkSetSpectatorToNonSpectatorTextChat","native":"NETWORK_SET_SPECTATOR_TO_NON_SPECTATOR_TEXT_CHAT","hash":"0x8EF52ACAECC51D9C","params":[["toggle","BOOL"]],"since":1734},
{"name":"networkTextChatIsTyping","native":"NETWORK_TEXT_CHAT_IS_TYPING","hash":"0x5FCF4D7069B09026","ret":"BOOL","aka":["_NETWORK_IS_TEXT_CHAT_ACTIVE"],"doc":"Same as `isMpTextChatTyping`, except it does not check if the text chat HUD component is initialized, and therefore may crash."},
{"name":"shutdownAndLaunchSinglePlayerGame","native":"SHUTDOWN_AND_LAUNCH_SINGLE_PLAYER_GAME","hash":"0x593850C16A36B692","blocked":"saves","doc":"Starts a new singleplayer game (at the prologue)."},
{"name":"shutdownAndLoadMostRecentSave","native":"SHUTDOWN_AND_LOAD_MOST_RECENT_SAVE","hash":"0x9ECA15ADFE141431","ret":"BOOL","blocked":"saves","since":505,"aka":["_SHUTDOWN_AND_LOAD_MOST_RECENT_SAVE"],"doc":"In singleplayer this will re-load your game.\n\nIn FiveM / GTA:Online this disconnects you from the session, and starts loading single player, however you still remain connected to the server (only if you're the host, if you're not then you also (most likely) get disconnected from the server) and other players will not be able to join until you exit the game.\n\nYou might need to DoScreenFadeIn and ShutdownLoadingScreen otherwise you probably won't end up loading into SP at all.\n\nSomewhat related note: opening the pause menu after loading into this 'singleplayer' mode crashes the game."},
{"name":"networkSetFriendlyFireOption","native":"NETWORK_SET_FRIENDLY_FIRE_OPTION","hash":"0xF808475FA571D823","params":[["toggle","BOOL"]]},
{"name":"networkSetRichPresence","native":"NETWORK_SET_RICH_PRESENCE","hash":"0x1DCCACDCFC569362","params":[["p0","int"],["p1","int"],["p2","Any"],["p3","Any"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"networkSetRichPresenceString","native":"NETWORK_SET_RICH_PRESENCE_STRING","hash":"0x3E200C2BCF4164EB","params":[["p0","int"],["textLabel","string"]],"aka":["_NETWORK_SET_RICH_PRESENCE_2"],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"networkGetTimeoutTime","native":"NETWORK_GET_TIMEOUT_TIME","hash":"0x5ED0356A0CE3A34F","ret":"int"},
{"name":"networkLeavePedBehindBeforeWarp","native":"NETWORK_LEAVE_PED_BEHIND_BEFORE_WARP","hash":"0x9769F811D1785B03","params":[["player","Player"],["x","float"],["y","float"],["z","float"],["p4","BOOL"],["p5","BOOL"]],"aka":["_NETWORK_RESPAWN_COORDS"],"doc":"p4 and p5 are always 0 in scripts"},
{"name":"networkLeavePedBehindBeforeCutscene","native":"NETWORK_LEAVE_PED_BEHIND_BEFORE_CUTSCENE","hash":"0xBF22E0F32968E967","params":[["player","Player"],["p1","BOOL"]]},
{"name":"removeAllStickyBombsFromEntity","native":"REMOVE_ALL_STICKY_BOMBS_FROM_ENTITY","hash":"0x715135F4B82AC90D","params":[["entity","Entity"],["ped","Ped"]],"doc":"entity must be a valid entity; ped can be NULL"},
{"name":"networkKeepEntityCollisionDisabledAfterAnimScene","native":"NETWORK_KEEP_ENTITY_COLLISION_DISABLED_AFTER_ANIM_SCENE","hash":"0x17C9E241111A674D","params":[["p0","Any"],["p1","Any"]],"since":2060},
{"name":"networkIsAnyPlayerNear","native":"NETWORK_IS_ANY_PLAYER_NEAR","hash":"0x2E4C123D1C8A710E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"]],"ret":"BOOL","since":505},
{"name":"networkClanServiceIsValid","native":"NETWORK_CLAN_SERVICE_IS_VALID","hash":"0x579CCED0265D4896","ret":"BOOL","aka":["_NETWORK_PLAYER_IS_IN_CLAN"]},
{"name":"networkClanPlayerIsActive","native":"NETWORK_CLAN_PLAYER_IS_ACTIVE","hash":"0xB124B57F571D8F18","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanPlayerGetDesc","native":"NETWORK_CLAN_PLAYER_GET_DESC","hash":"0xEEE6EACBE8874FBA","params":[["clanDesc","Any*"],["bufferSize","int"],["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory","doc":"bufferSize is 35 in the scripts.\n\nbufferSize is the elementCount of p0(desc), sizeof(p0) == 280 == p1*8 == 35 * 8, p2(netHandle) is obtained from `networkHandleFromPlayer`.\n\nhttps://pastebin.com/cSZniHak"},
{"name":"networkClanIsRockstarClan","native":"NETWORK_CLAN_IS_ROCKSTAR_CLAN","hash":"0x7543BB439F63792B","params":[["clanDesc","Any*"],["bufferSize","int"]],"ret":"BOOL","blocked":"memory","doc":"bufferSize is 35 in the scripts."},
{"name":"networkClanGetUiFormattedTag","native":"NETWORK_CLAN_GET_UI_FORMATTED_TAG","hash":"0xF45352426FF3A4F0","params":[["clanDesc","Any*"],["bufferSize","int"]],"outs":[["formattedTag","string",2,"Text the game writes into a buffer."]],"blocked":"memory","doc":"bufferSize is 35 in the scripts."},
{"name":"networkClanGetLocalMembershipsCount","native":"NETWORK_CLAN_GET_LOCAL_MEMBERSHIPS_COUNT","hash":"0x1F471B79ACC90BEF","ret":"int","aka":["_GET_NUM_MEMBERSHIP_DESC","_NETWORK_CLAN_GET_NUM_MEMBERSHIP_DESC"]},
{"name":"networkClanGetMembershipDesc","native":"NETWORK_CLAN_GET_MEMBERSHIP_DESC","hash":"0x48DE78AF2C8885B8","params":[["memberDesc","Any*"],["p1","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanDownloadMembership","native":"NETWORK_CLAN_DOWNLOAD_MEMBERSHIP","hash":"0xA989044E70010ABE","params":[["gamerHandle","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanDownloadMembershipPending","native":"NETWORK_CLAN_DOWNLOAD_MEMBERSHIP_PENDING","hash":"0x5B9E023DC6EBEDC0","params":[["p0","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanAnyDownloadMembershipPending","native":"NETWORK_CLAN_ANY_DOWNLOAD_MEMBERSHIP_PENDING","hash":"0xB3F64A6A91432477","ret":"BOOL","aka":["_NETWORK_IS_CLAN_MEMBERSHIP_FINISHED_DOWNLOADING"]},
{"name":"networkClanRemoteMembershipsAreInCache","native":"NETWORK_CLAN_REMOTE_MEMBERSHIPS_ARE_IN_CACHE","hash":"0xBB6E6FEE99D866B2","params":[["p0","Any*","A structure the game reads through this pointer."]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanGetMembershipCount","native":"NETWORK_CLAN_GET_MEMBERSHIP_COUNT","hash":"0xAAB11F6C4ADBC2C1","params":[["p0","Any*","A structure the game reads through this pointer."]],"ret":"int","blocked":"memory"},
{"name":"networkClanGetMembershipValid","native":"NETWORK_CLAN_GET_MEMBERSHIP_VALID","hash":"0x48A59CF88D43DF0E","params":[["p0","Any*","A structure the game reads through this pointer."],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanGetMembership","native":"NETWORK_CLAN_GET_MEMBERSHIP","hash":"0xC8BC2011F67B3411","params":[["p0","Any*","A structure the game reads through this pointer."],["clanMembership","Any*"],["p2","int"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanJoin","native":"NETWORK_CLAN_JOIN","hash":"0x9FAAA4F4FC71F87F","params":[["clanDesc","int"]],"ret":"BOOL"},
{"name":"networkClanCrewinfoGetStringValue","native":"NETWORK_CLAN_CREWINFO_GET_STRING_VALUE","hash":"0x729E3401F0430686","params":[["animDict","string"],["animName","string"]],"ret":"BOOL","aka":["_NETWORK_CLAN_ANIMATION"],"doc":"Only documented...\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"networkClanCrewinfoGetCrewranktitle","native":"NETWORK_CLAN_CREWINFO_GET_CREWRANKTITLE","hash":"0x2B51EDBEFC301339","params":[["p0","int"],["p1","string"]],"ret":"BOOL"},
{"name":"networkClanHasCrewinfoMetadataBeenReceived","native":"NETWORK_CLAN_HAS_CREWINFO_METADATA_BEEN_RECEIVED","hash":"0xC32EA7A2F6CA7557","ret":"BOOL"},
{"name":"networkClanGetEmblemTxdName","native":"NETWORK_CLAN_GET_EMBLEM_TXD_NAME","hash":"0x5835D9CD92E83184","params":[["netHandle","Any*"]],"ret":"BOOL","outs":[["txdName","string",1,"Text the game writes into a buffer."]],"blocked":"memory","aka":["_NETWORK_GET_PLAYER_CREW_EMBLEM_TXD_NAME"]},
{"name":"networkClanRequestEmblem","native":"NETWORK_CLAN_REQUEST_EMBLEM","hash":"0x13518FF1C6B28938","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"networkClanIsEmblemReady","native":"NETWORK_CLAN_IS_EMBLEM_READY","hash":"0xA134777FF7F33331","params":[["p0","Any"],["p1","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkClanReleaseEmblem","native":"NETWORK_CLAN_RELEASE_EMBLEM","hash":"0x113E6E3E50E286B0","params":[["p0","Any"]]},
{"name":"networkGetPrimaryClanDataClear","native":"NETWORK_GET_PRIMARY_CLAN_DATA_CLEAR","hash":"0x9AA46BADAD0E27ED","ret":"BOOL"},
{"name":"networkGetPrimaryClanDataCancel","native":"NETWORK_GET_PRIMARY_CLAN_DATA_CANCEL","hash":"0x042E4B70B93E6054"},
{"name":"networkGetPrimaryClanDataStart","native":"NETWORK_GET_PRIMARY_CLAN_DATA_START","hash":"0xCE86D8191B762107","params":[["p0","Any*"],["p1","Any"]],"ret":"BOOL","blocked":"memory"},
{"name":"networkGetPrimaryClanDataPending","native":"NETWORK_GET_PRIMARY_CLAN_DATA_PENDING","hash":"0xB5074DB804E28CE7","ret":"BOOL"},
{"name":"networkGetPrimaryClanDataSuccess","native":"NETWORK_GET_PRIMARY_CLAN_DATA_SUCCESS","hash":"0x5B4F04F19376A0BA","ret":"BOOL"},
{"name":"networkGetPrimaryClanDataNew","native":"NETWORK_GET_PRIMARY_CLAN_DATA_NEW","hash":"0xC080FF658B2E41DA","params":[["p0","Any*"],["p1","Any*"]],"ret":"BOOL","blocked":"memory"},
{"name":"setNetworkIdCanMigrate","native":"SET_NETWORK_ID_CAN_MIGRATE","hash":"0x299EEB23175895FC","params":[["netId","int"],["toggle","BOOL"]],"blocked":"online","doc":"Whether or not another player is allowed to take control of the entity"},
{"name":"setNetworkIdExistsOnAllMachines","native":"SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES","hash":"0xE05E81A888FA63C8","params":[["netId","int"],["toggle","BOOL"]],"blocked":"online"},
{"name":"setNetworkIdAlwaysExistsForPlayer","native":"SET_NETWORK_ID_ALWAYS_EXISTS_FOR_PLAYER","hash":"0xA8A024587329F36A","params":[["netId","int"],["player","Player"],["toggle","BOOL"]],"blocked":"online","aka":["_SET_NETWORK_ID_SYNC_TO_PLAYER"]},
{"name":"setNetworkIdCanBeReassigned","native":"SET_NETWORK_ID_CAN_BE_REASSIGNED","hash":"0x9D724B400A7E8FFC","params":[["netId","int"],["toggle","BOOL"]],"blocked":"online","since":2189,"aka":["_SET_NETWORK_ID_CAN_BE_REASSIGNED"]},
{"name":"networkSetEntityCanBlend","native":"NETWORK_SET_ENTITY_CAN_BLEND","hash":"0xD830567D88A1E873","params":[["entity","Entity"],["toggle","BOOL"]]},
{"name":"networkSetObjectCanBlendWhenFixed","native":"NETWORK_SET_OBJECT_CAN_BLEND_WHEN_FIXED","hash":"0x0379DAF89BA09AA5","params":[["object","Object"],["toggle","BOOL"]],"since":944,"aka":["_NETWORK_SET_OBJECT_FORCE_STATIC_BLEND"]},
{"name":"networkSetEntityOnlyExistsForParticipants","native":"NETWORK_SET_ENTITY_ONLY_EXISTS_FOR_PARTICIPANTS","hash":"0xF1CA12B18AEF5298","params":[["entity","Entity"],["toggle","BOOL"]],"aka":["_NETWORK_SET_ENTITY_VISIBLE_TO_NETWORK","_NETWORK_SET_ENTITY_INVISIBLE_TO_NETWORK"],"doc":"if set to true other network players can't see it\nif set to false other network player can see it\n---\n^^ I attempted this by grabbing an object with `getEntityPlayerIsFreeAimingAt` and setting this naive no matter the toggle he could still see it.\n\npc or last gen?\n\n^^ last-gen"},
{"name":"setNetworkIdVisibleInCutscene","native":"SET_NETWORK_ID_VISIBLE_IN_CUTSCENE","hash":"0xA6928482543022B4","params":[["netId","int"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"setNetworkIdVisibleInCutsceneHack","native":"SET_NETWORK_ID_VISIBLE_IN_CUTSCENE_HACK","hash":"0x32EBD154CB6B8B99","params":[["netId","int"],["p1","BOOL"],["p2","BOOL"]],"since":505,"aka":["_SET_NETWORK_ID_VISIBLE_IN_CUTSCENE_NO_COLLISION"]},
{"name":"setNetworkIdVisibleInCutsceneRemainHack","native":"SET_NETWORK_ID_VISIBLE_IN_CUTSCENE_REMAIN_HACK","hash":"0x76B3F29D3F967692","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"since":2189},
{"name":"setNetworkCutsceneEntities","native":"SET_NETWORK_CUTSCENE_ENTITIES","hash":"0xAAA553E7DD28A457","params":[["toggle","BOOL"]]},
{"name":"areCutsceneEntitiesNetworked","native":"ARE_CUTSCENE_ENTITIES_NETWORKED","hash":"0x66D6A5E9C511214A","ret":"BOOL","since":2699,"aka":["_NETWORK_ARE_CUTSCENE_ENTITIES"],"doc":"Getter for `setNetworkCutsceneEntities`."},
{"name":"setNetworkIdPassControlInTutorial","native":"SET_NETWORK_ID_PASS_CONTROL_IN_TUTORIAL","hash":"0x3FA36981311FA4FF","params":[["netId","int"],["state","BOOL"]],"blocked":"online"},
{"name":"isNetworkIdOwnedByParticipant","native":"IS_NETWORK_ID_OWNED_BY_PARTICIPANT","hash":"0xA1607996431332DF","params":[["netId","int"]],"ret":"BOOL","aka":["_NETWORK_CAN_NETWORK_ID_BE_SEEN"]},
{"name":"setRemotePlayerVisibleInCutscene","native":"SET_REMOTE_PLAYER_VISIBLE_IN_CUTSCENE","hash":"0x96320E6549DAE7B4","params":[["player","Player"],["locallyVisible","BOOL"]],"since":2802},
{"name":"setLocalPlayerVisibleInCutscene","native":"SET_LOCAL_PLAYER_VISIBLE_IN_CUTSCENE","hash":"0xD1065D68947E7B6E","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"setLocalPlayerInvisibleLocally","native":"SET_LOCAL_PLAYER_INVISIBLE_LOCALLY","hash":"0xE5F773C1A1D9D168","params":[["bIncludePlayersVehicle","BOOL"]]},
{"name":"setLocalPlayerVisibleLocally","native":"SET_LOCAL_PLAYER_VISIBLE_LOCALLY","hash":"0x7619364C82D3BF14","params":[["bIncludePlayersVehicle","BOOL"]]},
{"name":"setPlayerInvisibleLocally","native":"SET_PLAYER_INVISIBLE_LOCALLY","hash":"0x12B37D54667DB0B8","params":[["player","Player"],["bIncludePlayersVehicle","BOOL"]]},
{"name":"setPlayerVisibleLocally","native":"SET_PLAYER_VISIBLE_LOCALLY","hash":"0xFAA10F1FAFB11AF2","params":[["player","Player"],["bIncludePlayersVehicle","BOOL"]]},
{"name":"fadeOutLocalPlayer","native":"FADE_OUT_LOCAL_PLAYER","hash":"0x416DBD4CD6ED8DD2","params":[["p0","BOOL"]],"doc":"Hardcoded to not work in SP."},
{"name":"networkFadeOutEntity","native":"NETWORK_FADE_OUT_ENTITY","hash":"0xDE564951F95E09ED","params":[["entity","Entity"],["normal","BOOL"],["slow","BOOL"]],"doc":"normal - transition like when your coming out of LSC\nslow - transition like when you walk into a mission"},
{"name":"networkFadeInEntity","native":"NETWORK_FADE_IN_ENTITY","hash":"0x1F4ED342ACEFE62D","params":[["entity","Entity"],["state","BOOL"],["p2","Any"]],"doc":"state - 0 does 5 fades\nstate - 1 does 6 fades\n\np3: setting to 1 made vehicle fade in slower, probably \"slow\" as per `networkFadeOutEntity`"},
{"name":"networkIsPlayerFading","native":"NETWORK_IS_PLAYER_FADING","hash":"0x631DC5DFF4B110E3","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkIsEntityFading","native":"NETWORK_IS_ENTITY_FADING","hash":"0x422F32CC7E56ABAD","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"isPlayerInCutscene","native":"IS_PLAYER_IN_CUTSCENE","hash":"0xE73092F4157CD126","params":[["player","Player"]],"ret":"BOOL"},
{"name":"setEntityVisibleInCutscene","native":"SET_ENTITY_VISIBLE_IN_CUTSCENE","hash":"0xE0031D3C8F36AB82","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"setEntityLocallyInvisible","native":"SET_ENTITY_LOCALLY_INVISIBLE","hash":"0xE135A9FF3F5D05D8","params":[["entity","Entity"]],"doc":"Makes the provided entity visible for yourself for the current frame."},
{"name":"setEntityLocallyVisible","native":"SET_ENTITY_LOCALLY_VISIBLE","hash":"0x241E289B5C059EDC","params":[["entity","Entity"]]},
{"name":"isDamageTrackerActiveOnNetworkId","native":"IS_DAMAGE_TRACKER_ACTIVE_ON_NETWORK_ID","hash":"0x6E192E33AD436366","params":[["netID","int"]],"ret":"BOOL"},
{"name":"activateDamageTrackerOnNetworkId","native":"ACTIVATE_DAMAGE_TRACKER_ON_NETWORK_ID","hash":"0xD45B1FFCCD52FF19","params":[["netID","int"],["toggle","BOOL"]]},
{"name":"isDamageTrackerActiveOnPlayer","native":"IS_DAMAGE_TRACKER_ACTIVE_ON_PLAYER","hash":"0xB2092A1EAA7FD45F","params":[["player","Player"]],"ret":"BOOL","since":757,"aka":["_IS_DAMAGE_TRACKER_ACTIVE_ON_PLAYER"]},
{"name":"activateDamageTrackerOnPlayer","native":"ACTIVATE_DAMAGE_TRACKER_ON_PLAYER","hash":"0xBEC0816FF5ACBCDA","params":[["player","Player"],["toggle","BOOL"]],"since":757,"aka":["_ACTIVATE_DAMAGE_TRACKER_ON_PLAYER"]},
{"name":"isSphereVisibleToAnotherMachine","native":"IS_SPHERE_VISIBLE_TO_ANOTHER_MACHINE","hash":"0xD82CF8E64C8729D8","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"]],"ret":"BOOL"},
{"name":"isSphereVisibleToPlayer","native":"IS_SPHERE_VISIBLE_TO_PLAYER","hash":"0xDC3A310219E5DA62","params":[["p0","Any"],["p1","float"],["p2","float"],["p3","float"],["p4","float"]],"ret":"BOOL"},
{"name":"reserveNetworkMissionObjects","native":"RESERVE_NETWORK_MISSION_OBJECTS","hash":"0x4E5C93BD0C32FBF8","params":[["amount","int"]]},
{"name":"reserveNetworkMissionPeds","native":"RESERVE_NETWORK_MISSION_PEDS","hash":"0xB60FEBA45333D36F","params":[["amount","int"]]},
{"name":"reserveNetworkMissionVehicles","native":"RESERVE_NETWORK_MISSION_VEHICLES","hash":"0x76B02E21ED27A469","params":[["amount","int"]]},
{"name":"reserveLocalNetworkMissionObjects","native":"RESERVE_LOCAL_NETWORK_MISSION_OBJECTS","hash":"0x797F9C5E661D920E","params":[["amount","int"]],"since":1290,"aka":["_RESERVE_NETWORK_LOCAL_OBJECTS"]},
{"name":"reserveLocalNetworkMissionPeds","native":"RESERVE_LOCAL_NETWORK_MISSION_PEDS","hash":"0x2C8DF5D129595281","params":[["amount","int"]],"since":1493,"aka":["_RESERVE_NETWORK_LOCAL_PEDS"]},
{"name":"reserveLocalNetworkMissionVehicles","native":"RESERVE_LOCAL_NETWORK_MISSION_VEHICLES","hash":"0x42613035157E4208","params":[["amount","int"]],"since":1103,"aka":["_RESERVE_NETWORK_LOCAL_VEHICLES"]},
{"name":"canRegisterMissionObjects","native":"CAN_REGISTER_MISSION_OBJECTS","hash":"0x800DD4721A8B008B","params":[["amount","int"]],"ret":"BOOL"},
{"name":"canRegisterMissionPeds","native":"CAN_REGISTER_MISSION_PEDS","hash":"0xBCBF4FEF9FA5D781","params":[["amount","int"]],"ret":"BOOL"},
{"name":"canRegisterMissionVehicles","native":"CAN_REGISTER_MISSION_VEHICLES","hash":"0x7277F1F2E085EE74","params":[["amount","int"]],"ret":"BOOL"},
{"name":"canRegisterMissionPickups","native":"CAN_REGISTER_MISSION_PICKUPS","hash":"0x0A49D1CB6E34AF72","params":[["amount","int"]],"ret":"BOOL","since":757,"aka":["_CAN_REGISTER_MISSION_PICKUPS"]},
{"name":"canRegisterMissionDoors","native":"CAN_REGISTER_MISSION_DOORS","hash":"0xE16AA70CE9BEEDC3","params":[["p0","Any"]],"ret":"BOOL","since":877},
{"name":"canRegisterMissionEntities","native":"CAN_REGISTER_MISSION_ENTITIES","hash":"0x69778E7564BADE6D","params":[["ped_amt","int"],["vehicle_amt","int"],["object_amt","int"],["pickup_amt","int"]],"ret":"BOOL"},
{"name":"getNumReservedMissionObjects","native":"GET_NUM_RESERVED_MISSION_OBJECTS","hash":"0xAA81B5F10BC43AC2","params":[["p0","BOOL"],["p1","Any"]],"ret":"int","doc":"p0 appears to be for MP"},
{"name":"getNumReservedMissionPeds","native":"GET_NUM_RESERVED_MISSION_PEDS","hash":"0x1F13D5AE5CB17E17","params":[["p0","BOOL"],["p1","Any"]],"ret":"int","doc":"p0 appears to be for MP"},
{"name":"getNumReservedMissionVehicles","native":"GET_NUM_RESERVED_MISSION_VEHICLES","hash":"0xCF3A965906452031","params":[["p0","BOOL"],["p1","Any"]],"ret":"int","doc":"p0 appears to be for MP"},
{"name":"getNumCreatedMissionObjects","native":"GET_NUM_CREATED_MISSION_OBJECTS","hash":"0x12B6281B6C6706C0","params":[["p0","BOOL"]],"ret":"int"},
{"name":"getNumCreatedMissionPeds","native":"GET_NUM_CREATED_MISSION_PEDS","hash":"0xCB215C4B56A7FAE7","params":[["p0","BOOL"]],"ret":"int"},
{"name":"getNumCreatedMissionVehicles","native":"GET_NUM_CREATED_MISSION_VEHICLES","hash":"0x0CD9AB83489430EA","params":[["p0","BOOL"]],"ret":"int"},
{"name":"getReservedMissionEntitiesInArea","native":"GET_RESERVED_MISSION_ENTITIES_IN_AREA","hash":"0xE42D626EEC94E5D9","params":[["x","float"],["y","float"],["z","float"],["p3","Any"],["out1","Any*"],["out2","Any*"],["out3","Any*"]],"blocked":"memory","since":1290,"aka":["_GET_RESERVATIONS_FOR_SLOT_WORLD_POSITION"]},
{"name":"getMaxNumNetworkObjects","native":"GET_MAX_NUM_NETWORK_OBJECTS","hash":"0xC7BE335216B5EC7C","ret":"int"},
{"name":"getMaxNumNetworkPeds","native":"GET_MAX_NUM_NETWORK_PEDS","hash":"0x0C1F7D49C39D2289","ret":"int"},
{"name":"getMaxNumNetworkVehicles","native":"GET_MAX_NUM_NETWORK_VEHICLES","hash":"0x0AFCE529F69B21FF","ret":"int"},
{"name":"getMaxNumNetworkPickups","native":"GET_MAX_NUM_NETWORK_PICKUPS","hash":"0xA72835064DD63E4C","ret":"int"},
{"name":"networkSetObjectScopeDistance","native":"NETWORK_SET_OBJECT_SCOPE_DISTANCE","hash":"0xBA7F0B77D80A4EB7","params":[["object","Object"],["range","float"]],"since":372,"aka":["_NETWORK_SET_OBJECT_INTEREST_RANGE"]},
{"name":"networkAllowCloningWhileInTutorial","native":"NETWORK_ALLOW_CLONING_WHILE_IN_TUTORIAL","hash":"0x0F1A4B45B7693B95","params":[["p0","Any"],["p1","Any"]],"since":2189},
{"name":"networkSetTaskCutsceneInscopeMultipler","native":"NETWORK_SET_TASK_CUTSCENE_INSCOPE_MULTIPLER","hash":"0xC6FCEE21C6FCEE21","params":[["multiplier","float"]],"since":2545,"doc":"A value between 1.0 and 5.0"},
{"name":"networkHideEntityInTutorialSession","native":"_NETWORK_HIDE_ENTITY_IN_TUTORIAL_SESSION","hash":"0xCFE359CCCFE359CC","params":[["netHandle","int"],["hide","BOOL"]],"na":1,"since":3258},
{"name":"getNetworkTime","native":"GET_NETWORK_TIME","hash":"0x7A5487FE9FAA6B48","ret":"int"},
{"name":"getNetworkTimeAccurate","native":"GET_NETWORK_TIME_ACCURATE","hash":"0x89023FBBF9200E9F","ret":"int","doc":"Returns the same value as `getNetworkTime` in freemode, but as opposed to `getNetworkTime` it always gets the most recent time, instead of once per tick.\nCould be used for benchmarking since it can return times in ticks."},
{"name":"hasNetworkTimeStarted","native":"HAS_NETWORK_TIME_STARTED","hash":"0x46718ACEEDEAFC84","ret":"BOOL"},
{"name":"getTimeOffset","native":"GET_TIME_OFFSET","hash":"0x017008CCDAD48503","params":[["timeA","int"],["timeB","int"]],"ret":"int","doc":"Adds the first argument to the second."},
{"name":"isTimeLessThan","native":"IS_TIME_LESS_THAN","hash":"0xCB2CF5148012C8D0","params":[["timeA","int"],["timeB","int"]],"ret":"BOOL","aka":["_SUBTRACT_B_FROM_A_AND_CHECK_IF_NEGATIVE"],"doc":"Subtracts the second argument from the first, then returns whether the result is negative."},
{"name":"isTimeMoreThan","native":"IS_TIME_MORE_THAN","hash":"0xDE350F8651E4346C","params":[["timeA","int"],["timeB","int"]],"ret":"BOOL","aka":["_SUBTRACT_A_FROM_B_AND_CHECK_IF_NEGATIVE"],"doc":"Subtracts the first argument from the second, then returns whether the result is negative."},
{"name":"isTimeEqualTo","native":"IS_TIME_EQUAL_TO","hash":"0xF5BC95857BD6D512","params":[["timeA","int"],["timeB","int"]],"ret":"BOOL","aka":["_ARE_INTEGERS_EQUAL"],"doc":"Returns true if the two times are equal; otherwise returns false."},
{"name":"getTimeDifference","native":"GET_TIME_DIFFERENCE","hash":"0xA2C6FC031D46FFF0","params":[["timeA","int"],["timeB","int"]],"ret":"int","doc":"Subtracts the second argument from the first."},
{"name":"getTimeAsString","native":"GET_TIME_AS_STRING","hash":"0x9E23B1777A927DAD","params":[["time","int"]],"ret":"string","aka":["_FORMAT_TIME"]},
{"name":"getCloudTimeAsString","native":"GET_CLOUD_TIME_AS_STRING","hash":"0xF12E6CD06C73D69E","ret":"string","since":1103,"aka":["_GET_CLOUD_TIME_AS_STRING"],"doc":"Same as `getCloudTimeAsInt` but returns the value as a hex string (%I64X)."},
{"name":"getCloudTimeAsInt","native":"GET_CLOUD_TIME_AS_INT","hash":"0x9A73240B49945C76","ret":"int","doc":"Returns POSIX timestamp, an int representing the cloud time."},
{"name":"convertPosixTime","native":"CONVERT_POSIX_TIME","hash":"0xAC97AF97FA68E5D5","params":[["posixTime","int"],["timeStructure","Any*"]],"blocked":"memory","aka":["_GET_DATE_AND_TIME_FROM_UNIX_EPOCH"],"doc":"Takes the specified time and writes it to the structure specified in the second argument.\n\n```\nstruct date_time\n{\n    int year;\n    int PADDING1;\n    int month;\n    int PADDING2;\n    int day;\n    int PADDING3;\n    int hour;\n    int PADDING4;\n    int minute;\n    int PADDING5;\n    int second;\n    int PADDING6;\n};\n```"},
{"name":"networkSetInSpectatorMode","native":"NETWORK_SET_IN_SPECTATOR_MODE","hash":"0x423DE3854BB50894","params":[["toggle","BOOL"],["playerPed","Ped"]]},
{"name":"networkSetInSpectatorModeExtended","native":"NETWORK_SET_IN_SPECTATOR_MODE_EXTENDED","hash":"0x419594E137637120","params":[["toggle","BOOL"],["playerPed","Ped"],["p2","BOOL"]]},
{"name":"networkSetInFreeCamMode","native":"NETWORK_SET_IN_FREE_CAM_MODE","hash":"0xFC18DB55AE19E046","params":[["toggle","BOOL"]]},
{"name":"networkSetAntagonisticToPlayer","native":"NETWORK_SET_ANTAGONISTIC_TO_PLAYER","hash":"0x5C707A667DF8B9FA","params":[["toggle","BOOL"],["player","Player"]],"aka":["NETWORK_SET_CHOICE_MIGRATE_OPTIONS"]},
{"name":"networkIsInSpectatorMode","native":"NETWORK_IS_IN_SPECTATOR_MODE","hash":"0x048746E388762E11","ret":"BOOL"},
{"name":"networkSetInMpCutscene","native":"NETWORK_SET_IN_MP_CUTSCENE","hash":"0x9CA5DE655269FEC4","params":[["p0","BOOL"],["p1","BOOL"]]},
{"name":"networkIsInMpCutscene","native":"NETWORK_IS_IN_MP_CUTSCENE","hash":"0x6CC27C9FA2040220","ret":"BOOL"},
{"name":"networkIsPlayerInMpCutscene","native":"NETWORK_IS_PLAYER_IN_MP_CUTSCENE","hash":"0x63F9EE203C3619F2","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkHideProjectileInCutscene","native":"NETWORK_HIDE_PROJECTILE_IN_CUTSCENE","hash":"0xFAC18E7356BD3210","since":1180},
{"name":"setNetworkVehicleRespotTimer","native":"SET_NETWORK_VEHICLE_RESPOT_TIMER","hash":"0xEC51713AB6EC36E8","params":[["netId","int"],["time","int"],["p2","Any"],["p3","Any"]]},
{"name":"isNetworkVehicleRunningRespotTimer","native":"IS_NETWORK_VEHICLE_RUNNING_RESPOT_TIMER","hash":"0xDD7CEF5B3A4DA8A6","params":[["networkID","int"]],"ret":"BOOL","since":2802},
{"name":"setNetworkVehicleAsGhost","native":"SET_NETWORK_VEHICLE_AS_GHOST","hash":"0x6274C4712850841E","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_NETWORK_OBJECT_NON_CONTACT"]},
{"name":"setNetworkVehicleMaxPositionDeltaMultiplier","native":"SET_NETWORK_VEHICLE_MAX_POSITION_DELTA_MULTIPLIER","hash":"0xA2A707979FE754DC","params":[["vehicle","Vehicle"],["multiplier","float"]],"since":877,"aka":["_SET_NETWORK_VEHICLE_POSITION_UPDATE_MULTIPLIER"]},
{"name":"setNetworkEnableHighSpeedEdgeFallDetection","native":"SET_NETWORK_ENABLE_HIGH_SPEED_EDGE_FALL_DETECTION","hash":"0x838DA0936A24ED4D","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":944,"aka":["_SET_NETWORK_ENABLE_VEHICLE_POSITION_CORRECTION"]},
{"name":"setLocalPlayerAsGhost","native":"SET_LOCAL_PLAYER_AS_GHOST","hash":"0x5FFE9B4144F9712F","params":[["toggle","BOOL"],["p1","BOOL"]],"aka":["_SET_LOCAL_PLAYER_AS_GHOST"]},
{"name":"isEntityAGhost","native":"IS_ENTITY_A_GHOST","hash":"0x21D04D7BC538C146","params":[["entity","Entity"]],"ret":"BOOL","aka":["_IS_ENTITY_A_GHOST","_IS_ENTITY_GHOSTED_TO_LOCAL_PLAYER"]},
{"name":"setNonParticipantsOfThisScriptAsGhosts","native":"SET_NON_PARTICIPANTS_OF_THIS_SCRIPT_AS_GHOSTS","hash":"0x13F1FCB111B820B0","params":[["p0","BOOL"]],"since":877},
{"name":"setRemotePlayerAsGhost","native":"SET_REMOTE_PLAYER_AS_GHOST","hash":"0xA7C511FA1C5BDA38","params":[["player","Player"],["p1","BOOL"]],"since":463,"aka":["_SET_RELATIONSHIP_TO_PLAYER"],"doc":"Enables ghosting between specific players"},
{"name":"setGhostAlpha","native":"SET_GHOST_ALPHA","hash":"0x658500AE6D723A7E","params":[["alpha","int"]],"since":791,"aka":["_SET_GHOSTED_ENTITY_ALPHA"],"doc":"Must be a value between 1 and 254"},
{"name":"resetGhostAlpha","native":"RESET_GHOST_ALPHA","hash":"0x17330EBF2F2124A8","since":791,"aka":["_RESET_GHOSTED_ENTITY_ALPHA"],"doc":"Resets the entity ghost alpha to the default value (128)"},
{"name":"setEntityGhostedForGhostPlayers","native":"SET_ENTITY_GHOSTED_FOR_GHOST_PLAYERS","hash":"0x4BA166079D658ED4","params":[["entity","Entity"],["toggle","BOOL"]],"since":944,"aka":["_NETWORK_SET_ENTITY_GHOSTED_WITH_OWNER"]},
{"name":"setInvertGhosting","native":"SET_INVERT_GHOSTING","hash":"0xD7B6C73CAD419BCF","params":[["p0","BOOL"]],"since":944},
{"name":"isEntityInGhostCollision","native":"IS_ENTITY_IN_GHOST_COLLISION","hash":"0x7EF7649B64D7FF10","params":[["entity","Entity"]],"ret":"BOOL","since":944},
{"name":"setFreemodeReportData","native":"_SET_FREEMODE_REPORT_DATA","hash":"0x527803286A8B6C81","params":[["gamerHandle","Any*"],["reportData","Any*"]],"na":1,"since":3258,"doc":"reportData includes mc, ceo, yacht and licenceplate names"},
{"name":"isObjectReassignmentInProgress","native":"IS_OBJECT_REASSIGNMENT_IN_PROGRESS","hash":"0x28123C8B056CC8AA","ret":"BOOL","na":1,"since":3274},
{"name":"usePlayerColourInsteadOfTeamColour","native":"USE_PLAYER_COLOUR_INSTEAD_OF_TEAM_COLOUR","hash":"0x77758139EC9B66C7","params":[["toggle","BOOL"]]},
{"name":"networkCreateSynchronisedScene","native":"NETWORK_CREATE_SYNCHRONISED_SCENE","hash":"0x7CD6BC4C2BBDD526","params":[["x","float"],["y","float"],["z","float"],["xRot","float"],["yRot","float"],["zRot","float"],["rotationOrder","int"],["useOcclusionPortal","BOOL"],["looped","BOOL"],["p9","float"],["animTime","float"],["p11","float"]],"ret":"int"},
{"name":"networkAddPedToSynchronisedScene","native":"NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE","hash":"0x742A637471BCECD9","params":[["ped","Ped"],["netScene","int"],["animDict","string"],["animnName","string"],["speed","float"],["speedMultiplier","float"],["duration","int"],["flag","int"],["playbackRate","float"],["p9","Any"]]},
{"name":"networkAddPedToSynchronisedSceneWithIk","native":"NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE_WITH_IK","hash":"0xA5EAFE473E45C442","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","Any"]],"since":1290},
{"name":"networkAddEntityToSynchronisedScene","native":"NETWORK_ADD_ENTITY_TO_SYNCHRONISED_SCENE","hash":"0xF2404D68CBC855FA","params":[["entity","Entity"],["netScene","int"],["animDict","string"],["animName","string"],["speed","float"],["speedMulitiplier","float"],["flag","int"]]},
{"name":"networkAddMapEntityToSynchronisedScene","native":"NETWORK_ADD_MAP_ENTITY_TO_SYNCHRONISED_SCENE","hash":"0x45F35C0EDC33B03B","params":[["netScene","int"],["modelHash","Hash"],["x","float"],["y","float"],["z","float"],["p5","float"],["p6","string"],["p7","float"],["p8","float"],["flags","int"]],"since":1734,"doc":"Similar structure as `networkAddEntityToSynchronisedScene` but it includes this time a hash.\nIn casino_slots it is used one time in a synced scene involving a ped and the slot machine?"},
{"name":"networkAddSynchronisedSceneCamera","native":"NETWORK_ADD_SYNCHRONISED_SCENE_CAMERA","hash":"0xCF8BD3B0BD6D42D7","params":[["netScene","int"],["animDict","string"],["animName","string"]]},
{"name":"networkAttachSynchronisedSceneToEntity","native":"NETWORK_ATTACH_SYNCHRONISED_SCENE_TO_ENTITY","hash":"0x478DCBD2A98B705A","params":[["netScene","int"],["entity","Entity"],["bone","int"]]},
{"name":"networkStartSynchronisedScene","native":"NETWORK_START_SYNCHRONISED_SCENE","hash":"0x9A1B3FCDB36C8697","params":[["netScene","int"]]},
{"name":"networkStopSynchronisedScene","native":"NETWORK_STOP_SYNCHRONISED_SCENE","hash":"0xC254481A4574CB2F","params":[["netScene","int"]]},
{"name":"networkGetLocalSceneFromNetworkId","native":"NETWORK_GET_LOCAL_SCENE_FROM_NETWORK_ID","hash":"0x02C40BF885C567B6","params":[["netId","int"]],"ret":"int","aka":["_NETWORK_UNLINK_NETWORKED_SYNCHRONISED_SCENE","_NETWORK_CONVERT_SYNCHRONISED_SCENE_TO_SYNCHRONIZED_SCENE"]},
{"name":"networkForceLocalUseOfSyncedSceneCamera","native":"NETWORK_FORCE_LOCAL_USE_OF_SYNCED_SCENE_CAMERA","hash":"0xC9B43A33D09CADA7","params":[["netScene","int"]],"aka":["_NETWORK_FORCE_LOCAL_USE_OF_SYNCED_SCENE_CAMERA"]},
{"name":"networkAllowRemoteSyncedSceneLocalPlayerRequests","native":"NETWORK_ALLOW_REMOTE_SYNCED_SCENE_LOCAL_PLAYER_REQUESTS","hash":"0x144DA052257AE7D8","params":[["p0","Any"]],"blocked":"online","since":1103},
{"name":"networkFindLargestBunchOfPlayers","native":"NETWORK_FIND_LARGEST_BUNCH_OF_PLAYERS","hash":"0xFB1F9381E80FA13F","params":[["p0","int"],["p1","Any"]],"ret":"BOOL","doc":"p0 is always 0. p1 is pointing to a global."},
{"name":"networkStartRespawnSearchForPlayer","native":"NETWORK_START_RESPAWN_SEARCH_FOR_PLAYER","hash":"0x5A6FFA2433E2F14C","params":[["player","Player"],["x","float"],["y","float"],["z","float"],["radius","float"],["p5","float"],["p6","float"],["p7","float"],["flags","int"]],"ret":"BOOL","doc":"One of the first things it does is get the players ped.\nThen it calls a function that is used in some tasks and ped based functions.\np5, p6, p7 is another coordinate (or zero), often related to ``getBlipCoords`, in the decompiled scripts."},
{"name":"networkStartRespawnSearchInAngledAreaForPlayer","native":"NETWORK_START_RESPAWN_SEARCH_IN_ANGLED_AREA_FOR_PLAYER","hash":"0x4BA92A18502BCA61","params":[["player","Player"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["p8","float"],["p9","float"],["p10","float"],["flags","int"]],"ret":"BOOL","doc":"p8, p9, p10 is another coordinate, or zero, often related to ``getBlipCoords` in the decompiled scripts."},
{"name":"networkQueryRespawnResults","native":"NETWORK_QUERY_RESPAWN_RESULTS","hash":"0x3C891A251567DFCE","params":[["p0","Any*"]],"ret":"int","blocked":"memory"},
{"name":"networkCancelRespawnSearch","native":"NETWORK_CANCEL_RESPAWN_SEARCH","hash":"0xFB8F2A6F3DF08CBE"},
{"name":"networkGetRespawnResult","native":"NETWORK_GET_RESPAWN_RESULT","hash":"0x371EA43692861CF1","params":[["randomInt","int"]],"outs":[["coordinates","Vector3",1],["heading","float",2]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`randomInt` must be between `0` and `127`, and be a result of a finished, successful respawn search; `coordinates`, `heading` are required. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Based on scripts such as in freemode.c how they call their vars vVar and fVar the 2nd and 3rd param it a Vector3 and Float, but the first is based on get_random_int_in_range.."},
{"name":"networkGetRespawnResultFlags","native":"NETWORK_GET_RESPAWN_RESULT_FLAGS","hash":"0x6C34F1208B8923FD","params":[["p0","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`p0` must be between `0` and `127`, and be a result of a finished, successful respawn search. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}]},
{"name":"networkStartSoloTutorialSession","native":"NETWORK_START_SOLO_TUTORIAL_SESSION","hash":"0x17E0198B3882C2CB"},
{"name":"networkAllowGangToJoinTutorialSession","native":"NETWORK_ALLOW_GANG_TO_JOIN_TUTORIAL_SESSION","hash":"0xFB680D403909DC70","params":[["teamId","int"],["instanceId","int"]],"doc":"teamId must be < 3, instanceId must be < 64"},
{"name":"networkEndTutorialSession","native":"NETWORK_END_TUTORIAL_SESSION","hash":"0xD0AFAFF5A51D72F7"},
{"name":"networkIsInTutorialSession","native":"NETWORK_IS_IN_TUTORIAL_SESSION","hash":"0xADA24309FE08DACF","ret":"BOOL"},
{"name":"networkWaitingPopClearTutorialSession","native":"NETWORK_WAITING_POP_CLEAR_TUTORIAL_SESSION","hash":"0xB37E4E6A2388CA7B","ret":"BOOL"},
{"name":"networkIsTutorialSessionChangePending","native":"NETWORK_IS_TUTORIAL_SESSION_CHANGE_PENDING","hash":"0x35F0B98A8387274D","ret":"BOOL"},
{"name":"networkGetPlayerTutorialSessionInstance","native":"NETWORK_GET_PLAYER_TUTORIAL_SESSION_INSTANCE","hash":"0x3B39236746714134","params":[["player","Player"]],"ret":"int"},
{"name":"networkArePlayersInSameTutorialSession","native":"NETWORK_ARE_PLAYERS_IN_SAME_TUTORIAL_SESSION","hash":"0x9DE986FC9A87C474","params":[["player","Player"],["index","int"]],"ret":"BOOL","aka":["_NETWORK_IS_PLAYER_EQUAL_TO_INDEX"]},
{"name":"networkBlockProxyMigrationBetweenTutorialSessions","native":"NETWORK_BLOCK_PROXY_MIGRATION_BETWEEN_TUTORIAL_SESSIONS","hash":"0xFEA7A352DDB34D52","params":[["p0","Any"]],"since":2545},
{"name":"networkConcealPlayer","native":"NETWORK_CONCEAL_PLAYER","hash":"0xBBDF066252829606","params":[["player","Player"],["toggle","BOOL"],["p2","BOOL"]]},
{"name":"networkIsPlayerConcealed","native":"NETWORK_IS_PLAYER_CONCEALED","hash":"0x919B3C98ED8292F9","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkConcealEntity","native":"NETWORK_CONCEAL_ENTITY","hash":"0x1632BE0AC1E62876","params":[["entity","Entity"],["toggle","BOOL"]],"since":877,"aka":["_NETWORK_CONCEAL_ENTITY"]},
{"name":"networkIsEntityConcealed","native":"NETWORK_IS_ENTITY_CONCEALED","hash":"0x71302EC70689052A","params":[["entity","Entity"]],"ret":"BOOL","since":877,"aka":["_NETWORK_IS_ENTITY_CONCEALED"],"doc":"Note: This only works for vehicles, which appears to be a bug (since the setter _does_ work for every entity type and the name is 99% correct)."},
{"name":"networkOverrideClockTime","native":"NETWORK_OVERRIDE_CLOCK_TIME","hash":"0xE679E3E06E363892","params":[["hours","int"],["minutes","int"],["seconds","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`hours` must be between `0` and `23`. `minutes` and `seconds` must be between `0` and `59`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Works in Singleplayer too.\nPassing wrong data (e.g. hours above 23) will cause the game to crash."},
{"name":"networkOverrideClockRate","native":"NETWORK_OVERRIDE_CLOCK_RATE","hash":"0x42BF1D2E723B6D7E","params":[["ms","int"]],"since":2189,"aka":["_NETWORK_OVERRIDE_CLOCK_MILLISECONDS_PER_GAME_MINUTE"]},
{"name":"networkClearClockTimeOverride","native":"NETWORK_CLEAR_CLOCK_TIME_OVERRIDE","hash":"0xD972DF67326F966E"},
{"name":"networkSyncClockTimeOverride","native":"NETWORK_SYNC_CLOCK_TIME_OVERRIDE","hash":"0xCBD02360C5E16871","na":1,"since":3570,"doc":"Does nothing in final builds."},
{"name":"networkIsClockTimeOverridden","native":"NETWORK_IS_CLOCK_TIME_OVERRIDDEN","hash":"0xD7C95D322FF57522","ret":"BOOL"},
{"name":"networkAddEntityArea","native":"NETWORK_ADD_ENTITY_AREA","hash":"0x494C8FB299290269","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"int"},
{"name":"networkAddEntityAngledArea","native":"NETWORK_ADD_ENTITY_ANGLED_AREA","hash":"0x376C6375BA60293A","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"]],"ret":"int","aka":["_NETWORK_ADD_ENTITY_ANGLED_AREA"],"doc":"To remove, see: `networkRemoveEntityArea`\nSee `isPointInAngledArea` for the definition of an angled area."},
{"name":"networkAddClientEntityArea","native":"NETWORK_ADD_CLIENT_ENTITY_AREA","hash":"0x25B99872D588A101","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"int","aka":["NETWORK_ADD_ENTITY_DISPLAYED_BOUNDARIES"]},
{"name":"networkAddClientEntityAngledArea","native":"NETWORK_ADD_CLIENT_ENTITY_ANGLED_AREA","hash":"0x2B1C623823DB0D9D","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["radius","float"]],"ret":"int","since":1103},
{"name":"networkRemoveEntityArea","native":"NETWORK_REMOVE_ENTITY_AREA","hash":"0x93CF869BAA0C4874","params":[["areaHandle","int"]],"ret":"BOOL"},
{"name":"networkEntityAreaDoesExist","native":"NETWORK_ENTITY_AREA_DOES_EXIST","hash":"0xE64A3CA08DFA37A9","params":[["areaHandle","int"]],"ret":"BOOL"},
{"name":"networkEntityAreaHaveAllReplied","native":"NETWORK_ENTITY_AREA_HAVE_ALL_REPLIED","hash":"0x4DF7CFFF471A7FB1","params":[["areaHandle","int"]],"ret":"BOOL"},
{"name":"networkEntityAreaIsOccupied","native":"NETWORK_ENTITY_AREA_IS_OCCUPIED","hash":"0x4A2D4E8BF4265B0F","params":[["areaHandle","int"]],"ret":"BOOL"},
{"name":"networkUseHighPrecisionBlending","native":"NETWORK_USE_HIGH_PRECISION_BLENDING","hash":"0x2B1813ABA29016C5","params":[["netID","int"],["toggle","BOOL"]],"aka":["_NETWORK_SET_NETWORK_ID_DYNAMIC"]},
{"name":"networkSetCustomArenaBallParams","native":"NETWORK_SET_CUSTOM_ARENA_BALL_PARAMS","hash":"0xA6FCECCF4721D679","params":[["netId","int"]],"since":1604},
{"name":"networkEntityUseHighPrecisionRotation","native":"NETWORK_ENTITY_USE_HIGH_PRECISION_ROTATION","hash":"0x95BAF97C82464629","params":[["netId","int"],["toggle","BOOL"]],"since":1604},
{"name":"networkRequestCloudBackgroundScripts","native":"NETWORK_REQUEST_CLOUD_BACKGROUND_SCRIPTS","hash":"0x924426BFFD82E915","ret":"BOOL","blocked":"scripts","aka":["_NETWORK_REQUEST_CLOUD_BACKGROUND_SCRIPTS"]},
{"name":"networkIsCloudBackgroundScriptRequestPending","native":"NETWORK_IS_CLOUD_BACKGROUND_SCRIPT_REQUEST_PENDING","hash":"0x8132C0EB8B2B3293","ret":"BOOL","aka":["_HAS_BG_SCRIPT_BEEN_DOWNLOADED","_NETWORK_IS_CLOUD_BACKGROUND_SCRIPTS_REQUEST_PENDING"]},
{"name":"networkRequestCloudTunables","native":"NETWORK_REQUEST_CLOUD_TUNABLES","hash":"0x42FB3B532D526E6C"},
{"name":"networkIsTunableCloudRequestPending","native":"NETWORK_IS_TUNABLE_CLOUD_REQUEST_PENDING","hash":"0x0467C11ED88B7D28","ret":"BOOL","aka":["_HAS_TUNABLES_BEEN_DOWNLOADED"]},
{"name":"networkGetTunableCloudCrc","native":"NETWORK_GET_TUNABLE_CLOUD_CRC","hash":"0x10BD227A753B0D84","ret":"int","aka":["_NETWORK_GET_TUNABLES_VERSION"]},
{"name":"networkSetTunablesRegistrationContexts","native":"_NETWORK_SET_TUNABLES_REGISTRATION_CONTEXTS","hash":"0x014A73449675121D","params":[["tunableContextData","Any*"]],"na":1,"since":3258,"doc":"Sets up tunable contexts for _NETWORK_GET_TUNABLES_REGISTRATION_{BOOL|INT|FLOAT}"},
{"name":"networkClearTunablesRegistrationContexts","native":"_NETWORK_CLEAR_TUNABLES_REGISTRATION_CONTEXTS","hash":"0x0C87C83C8950432B","na":1,"since":3258,"doc":"Clears tunable contexts that were set up using `networkSetTunablesRegistrationContexts`"},
{"name":"networkGetTunablesRegistrationBool","native":"_NETWORK_GET_TUNABLES_REGISTRATION_BOOL","hash":"0xB327CF1B8C2C0EA3","params":[["tunableName","Hash"],["defaultValue","BOOL"]],"ret":"BOOL","na":1,"since":3258,"doc":"Checks if the given tunable exists and returns its value. Otherwise returns defaultValue.\nPossible tunable contexts must first be set up using `networkSetTunablesRegistrationContexts`."},
{"name":"networkGetTunablesRegistrationInt","native":"_NETWORK_GET_TUNABLES_REGISTRATION_INT","hash":"0x0D94071E55F4C9CE","params":[["tunableName","Hash"],["defaultValue","int"]],"ret":"int","na":1,"since":3258,"doc":"Checks if the given tunable exists and returns its value. Otherwise returns defaultValue.\nPossible tunable contexts must first be set up using `networkSetTunablesRegistrationContexts`."},
{"name":"networkGetTunablesRegistrationFloat","native":"_NETWORK_GET_TUNABLES_REGISTRATION_FLOAT","hash":"0x367E5E33E7F0DD1A","params":[["tunableName","Hash"],["defaultValue","float"]],"ret":"float","na":1,"since":3258,"doc":"Checks if the given tunable exists and returns its value. Otherwise returns defaultValue.\nPossible tunable contexts must first be set up using `networkSetTunablesRegistrationContexts`."},
{"name":"networkDoesTunableExist","native":"NETWORK_DOES_TUNABLE_EXIST","hash":"0x85E5F8B9B898B20A","params":[["tunableContext","string"],["tunableName","string"]],"ret":"BOOL"},
{"name":"networkAccessTunableInt","native":"NETWORK_ACCESS_TUNABLE_INT","hash":"0x8BE1146DFD5D4468","params":[["tunableContext","string"],["tunableName","string"]],"ret":"BOOL","outs":[["value","int",2]]},
{"name":"networkAccessTunableFloat","native":"NETWORK_ACCESS_TUNABLE_FLOAT","hash":"0xE5608CA7BC163A5F","params":[["tunableContext","string"],["tunableName","string"]],"ret":"BOOL","outs":[["value","float",2]]},
{"name":"networkAccessTunableBool","native":"NETWORK_ACCESS_TUNABLE_BOOL","hash":"0xAA6A47A573ABB75A","params":[["tunableContext","string"],["tunableName","string"]],"ret":"BOOL"},
{"name":"networkDoesTunableExistHash","native":"NETWORK_DOES_TUNABLE_EXIST_HASH","hash":"0xE4E53E1419D81127","params":[["tunableContext","Hash"],["tunableName","Hash"]],"ret":"BOOL","aka":["_NETWORK_DOES_TUNABLE_EXIST_HASH"]},
{"name":"networkAccessTunableModificationDetectionClear","native":"NETWORK_ACCESS_TUNABLE_MODIFICATION_DETECTION_CLEAR","hash":"0xFAFC23AEE23868DB","ret":"BOOL","since":393},
{"name":"networkAccessTunableIntHash","native":"NETWORK_ACCESS_TUNABLE_INT_HASH","hash":"0x40FCE03E50E8DBE8","params":[["tunableContext","Hash"],["tunableName","Hash"]],"ret":"BOOL","outs":[["value","int",2]],"aka":["_NETWORK_ACCESS_TUNABLE_INT_HASH"]},
{"name":"networkAccessTunableIntModificationDetectionRegistrationHash","native":"NETWORK_ACCESS_TUNABLE_INT_MODIFICATION_DETECTION_REGISTRATION_HASH","hash":"0x3A8B55FDA4C8DDEF","params":[["contextHash","Hash"],["nameHash","Hash"]],"ret":"BOOL","outs":[["value","int",2]],"blocked":"memory","since":393,"aka":["_NETWORK_REGISTER_TUNABLE_INT_HASH"]},
{"name":"networkAccessTunableFloatHash","native":"NETWORK_ACCESS_TUNABLE_FLOAT_HASH","hash":"0x972BC203BBC4C4D5","params":[["tunableContext","Hash"],["tunableName","Hash"]],"ret":"BOOL","outs":[["value","float",2]],"aka":["_NETWORK_ACCESS_TUNABLE_FLOAT_HASH"]},
{"name":"networkAccessTunableFloatModificationDetectionRegistrationHash","native":"NETWORK_ACCESS_TUNABLE_FLOAT_MODIFICATION_DETECTION_REGISTRATION_HASH","hash":"0x1950DAE9848A4739","params":[["contextHash","Hash"],["nameHash","Hash"]],"ret":"BOOL","outs":[["value","float",2]],"blocked":"memory","since":393,"aka":["_NETWORK_REGISTER_TUNABLE_FLOAT_HASH"]},
{"name":"networkAccessTunableBoolHash","native":"NETWORK_ACCESS_TUNABLE_BOOL_HASH","hash":"0xEA16B69D93D71A45","params":[["tunableContext","Hash"],["tunableName","Hash"]],"ret":"BOOL","aka":["_NETWORK_ACCESS_TUNABLE_BOOL_HASH"]},
{"name":"networkAccessTunableBoolModificationDetectionRegistrationHash","native":"NETWORK_ACCESS_TUNABLE_BOOL_MODIFICATION_DETECTION_REGISTRATION_HASH","hash":"0x697F508861875B42","params":[["contextHash","Hash"],["nameHash","Hash"]],"ret":"BOOL","outs":[["value","BOOL",2]],"blocked":"memory","since":393,"aka":["_NETWORK_REGISTER_TUNABLE_BOOL_HASH"]},
{"name":"networkTryAccessTunableBoolHash","native":"NETWORK_TRY_ACCESS_TUNABLE_BOOL_HASH","hash":"0xC7420099936CE286","params":[["tunableContext","Hash"],["tunableName","Hash"],["defaultValue","BOOL"]],"ret":"BOOL","aka":["_NETWORK_ACCESS_TUNABLE_BOOL_HASH_FAIL_VAL"],"doc":"Returns defaultValue if the tunable doesn't exist."},
{"name":"networkGetContentModifierListId","native":"NETWORK_GET_CONTENT_MODIFIER_LIST_ID","hash":"0x187382F8A3E0A6C3","params":[["contentHash","Hash"]],"ret":"int","aka":["_GET_TUNABLES_CONTENT_MODIFIER_ID"],"doc":"Return the content modifier id (the tunables context if you want) of a specific content.\n\nIt takes the content hash (which is the mission id hash), and return the content modifier id, used as the tunables context.\n\nThe mission id can be found on the Social club, for example, 'socialclub.rockstargames.com/games/gtav/jobs/job/A8M6Bz8MLEC5xngvDCzGwA'\n\n'A8M6Bz8MLEC5xngvDCzGwA' is the mission id, so the game hash this and use it as the parameter for this native."},
{"name":"networkGetBoneIdOfFatalHit","native":"NETWORK_GET_BONE_ID_OF_FATAL_HIT","hash":"0x7DB53B37A2F211A0","ret":"int"},
{"name":"networkResetBodyTracker","native":"NETWORK_RESET_BODY_TRACKER","hash":"0x72433699B4E6DD64"},
{"name":"networkGetNumberBodyTrackerHits","native":"NETWORK_GET_NUMBER_BODY_TRACKER_HITS","hash":"0xD38C4A6D047C019D","ret":"int","aka":["_NETWORK_GET_NUM_BODY_TRACKERS"]},
{"name":"networkHasBoneBeenHitByKiller","native":"NETWORK_HAS_BONE_BEEN_HIT_BY_KILLER","hash":"0x2E0BF682CC778D49","params":[["boneIndex","int"]],"ret":"BOOL"},
{"name":"networkSetAttributeDamageToPlayer","native":"NETWORK_SET_ATTRIBUTE_DAMAGE_TO_PLAYER","hash":"0x0EDE326D47CD0F3E","params":[["ped","Ped"],["player","Player"]],"ret":"BOOL"},
{"name":"networkTriggerDamageEventForZeroDamage","native":"NETWORK_TRIGGER_DAMAGE_EVENT_FOR_ZERO_DAMAGE","hash":"0x890E2C5ABED7236D","params":[["entity","Entity"],["toggle","BOOL"]],"since":1365,"aka":["_NETWORK_SET_VEHICLE_WHEELS_DESTRUCTIBLE"],"doc":"Allows vehicle wheels to be destructible even when the vehicle entity is invincible."},
{"name":"networkTriggerDamageEventForZeroPedDamage","native":"_NETWORK_TRIGGER_DAMAGE_EVENT_FOR_ZERO_PED_DAMAGE","hash":"0xE9D0244ACBEE1BC4","params":[["entity","Entity"],["trigger","BOOL"]],"na":1,"since":3258},
{"name":"networkTriggerDamageEventForZeroWeaponHash","native":"NETWORK_TRIGGER_DAMAGE_EVENT_FOR_ZERO_WEAPON_HASH","hash":"0x38B7C51AB1EDC7D8","params":[["entity","Entity"],["toggle","BOOL"]],"since":1734},
{"name":"networkSetNoLongerNeeded","native":"NETWORK_SET_NO_LONGER_NEEDED","hash":"0x3FC795691834481D","params":[["entity","Entity"],["toggle","BOOL"]],"since":1868},
{"name":"networkExplodeVehicle","native":"NETWORK_EXPLODE_VEHICLE","hash":"0x301A42153C9AD707","params":[["vehicle","Vehicle"],["isAudible","BOOL"],["isInvisible","BOOL"],["netId","int"]],"ret":"BOOL","doc":"In the console script dumps, this is only referenced once.\n\n```\nnetworkExplodeVehicle(vehicle, 1, 0, 0);\n```\n\n^^^^^ That must be PC script dumps? In X360 Script Dumps it is reference a few times with 2 differences in the parameters.\nWhich as you see below is 1, 0, 0 + 1, 1, 0 + 1, 0, and a *param?\n\nam_plane_takedown.c\n\n```\nnetwork_explode_vehicle(net_to_veh(Local_40.imm_2), 1, 1, 0);\n```\n\narmenian2.c\n\n```\nnetwork_explode_vehicle(Local_80[6 <2>], 1, 0, 0);\n```\n\nfm_horde_controler.c\n\n```\nnetwork_explode_vehicle(net_to_veh(*uParam0), 1, 0, *uParam0);\n```\n\nfm_mission_controller.c, has 6 hits so not going to list them.\n\nSide note, setting the first parameter to 0 seems to mute sound or so?\n\nSeems it's like `addExplosion`, etc. the first 2 params. The 3rd atm no need to worry since it always seems to be 0."},
{"name":"networkExplodeHeli","native":"NETWORK_EXPLODE_HELI","hash":"0x2A5E0621DD815A9A","params":[["vehicle","Vehicle"],["isAudible","BOOL"],["isInvisible","BOOL"],["netId","int"]],"since":463},
{"name":"networkUseLogarithmicBlendingThisFrame","native":"NETWORK_USE_LOGARITHMIC_BLENDING_THIS_FRAME","hash":"0xCD71A4ECAB22709E","params":[["entity","Entity"]]},
{"name":"networkOverrideCoordsAndHeading","native":"NETWORK_OVERRIDE_COORDS_AND_HEADING","hash":"0xA7E30DE9272B6D49","params":[["entity","Entity"],["x","float"],["y","float"],["z","float"],["heading","float"]]},
{"name":"networkEnableExtraVehicleOrientationBlendChecks","native":"NETWORK_ENABLE_EXTRA_VEHICLE_ORIENTATION_BLEND_CHECKS","hash":"0xE6717E652B8C8D8A","params":[["netId","int"],["toggle","BOOL"]],"since":617},
{"name":"networkDisableProximityMigration","native":"NETWORK_DISABLE_PROXIMITY_MIGRATION","hash":"0x407091CF6037118E","params":[["netID","int"]]},
{"name":"networkSetPlayerMentalState","native":"NETWORK_SET_PLAYER_MENTAL_STATE","hash":"0x367EF5E2F439B4C6","params":[["p0","int"]],"doc":"p0 in the decompiled scripts is always the stat mesh_texblend * 0.07 to int"},
{"name":"networkSetMinimumRankForMission","native":"NETWORK_SET_MINIMUM_RANK_FOR_MISSION","hash":"0x94538037EE44F5CF","params":[["p0","BOOL"]]},
{"name":"networkCacheLocalPlayerHeadBlendData","native":"NETWORK_CACHE_LOCAL_PLAYER_HEAD_BLEND_DATA","hash":"0xBD0BE0BFC927EAC1"},
{"name":"networkHasCachedPlayerHeadBlendData","native":"NETWORK_HAS_CACHED_PLAYER_HEAD_BLEND_DATA","hash":"0x237D5336A9A54108","params":[["player","Player"]],"ret":"BOOL"},
{"name":"networkApplyCachedPlayerHeadBlendData","native":"NETWORK_APPLY_CACHED_PLAYER_HEAD_BLEND_DATA","hash":"0x99B72C7ABDE5C910","params":[["ped","Ped"],["player","Player"]],"ret":"BOOL","aka":["_NETWORK_COPY_PED_BLEND_DATA"]},
{"name":"getNumCommerceItems","native":"GET_NUM_COMMERCE_ITEMS","hash":"0xF2EAC213D5EA0623","ret":"int"},
{"name":"isCommerceDataValid","native":"IS_COMMERCE_DATA_VALID","hash":"0xEA14EEF5B7CD2C30","ret":"BOOL"},
{"name":"triggerCommerceDataFetch","native":"TRIGGER_COMMERCE_DATA_FETCH","hash":"0xB606E6CC59664972","params":[["p0","Any"]],"doc":"Does nothing (it's a nullsub)."},
{"name":"isCommerceDataFetchInProgress","native":"IS_COMMERCE_DATA_FETCH_IN_PROGRESS","hash":"0x1D4DC17C38FEAFF0","ret":"BOOL"},
{"name":"getCommerceItemId","native":"GET_COMMERCE_ITEM_ID","hash":"0x662635855957C411","params":[["index","int"]],"ret":"string"},
{"name":"getCommerceItemName","native":"GET_COMMERCE_ITEM_NAME","hash":"0xB4271092CA7EDF48","params":[["index","int"]],"ret":"string"},
{"name":"getCommerceProductPrice","native":"GET_COMMERCE_PRODUCT_PRICE","hash":"0xCA94551B50B4932C","params":[["index","int"]],"ret":"string"},
{"name":"getCommerceItemNumCats","native":"GET_COMMERCE_ITEM_NUM_CATS","hash":"0x2A7776C709904AB0","params":[["index","int"]],"ret":"int"},
{"name":"getCommerceItemCat","native":"GET_COMMERCE_ITEM_CAT","hash":"0x6F44CBF56D79FAC0","params":[["index","int"],["index2","int"]],"ret":"string","doc":"index2 is unused"},
{"name":"reserveCommerceStorePurchaseLocation","native":"RESERVE_COMMERCE_STORE_PURCHASE_LOCATION","params":[["location","int"]],"na":1},
{"name":"openCommerceStore","native":"OPEN_COMMERCE_STORE","hash":"0x58C21165F6545892","params":[["productID","string"],["category","string"],["location","int"],["launchLandingPageOnClose","BOOL"]]},
{"name":"checkoutCommerceProduct","native":"CHECKOUT_COMMERCE_PRODUCT","params":[["productID","string"],["location","int"],["launchLandingPageOnClose","BOOL"]],"na":1},
{"name":"isCommerceStoreOpen","native":"IS_COMMERCE_STORE_OPEN","hash":"0x2EAC52B4019E2782","ret":"BOOL"},
{"name":"setStoreEnabled","native":"SET_STORE_ENABLED","hash":"0x9641A9FF718E9C5E","params":[["toggle","BOOL"]],"doc":"Access to the store for shark cards etc..."},
{"name":"requestCommerceItemImage","native":"REQUEST_COMMERCE_ITEM_IMAGE","hash":"0xA2F952104FC6DD4B","params":[["index","int"]],"ret":"BOOL"},
{"name":"releaseAllCommerceItemImages","native":"RELEASE_ALL_COMMERCE_ITEM_IMAGES","hash":"0x72D0706CD6CCDB58"},
{"name":"getCommerceItemTexturename","native":"GET_COMMERCE_ITEM_TEXTURENAME","hash":"0x722F5D28B61C5EA8","params":[["index","int"]],"ret":"string"},
{"name":"isStoreAvailableToUser","native":"IS_STORE_AVAILABLE_TO_USER","hash":"0x883D79C4071E18B3","ret":"BOOL"},
{"name":"delayMpStoreOpen","native":"DELAY_MP_STORE_OPEN","hash":"0x265635150FB0D82E"},
{"name":"resetStoreNetworkGameTracking","native":"RESET_STORE_NETWORK_GAME_TRACKING","hash":"0x444C4525ECE0A4B9"},
{"name":"isUserOldEnoughToAccessStore","native":"IS_USER_OLD_ENOUGH_TO_ACCESS_STORE","hash":"0x59328EB08C5CEB2B","ret":"BOOL"},
{"name":"setLastViewedShopItem","native":"SET_LAST_VIEWED_SHOP_ITEM","hash":"0xFAE628F1E9ADB239","params":[["p0","Hash"],["p1","int"],["p2","Hash"]]},
{"name":"getUserPremiumAccess","native":"GET_USER_PREMIUM_ACCESS","hash":"0x754615490A029508","ret":"int","since":1290,"doc":"Checks some commerce stuff"},
{"name":"getUserStarterAccess","native":"GET_USER_STARTER_ACCESS","hash":"0x155467ACA0F55705","ret":"int","since":1290,"doc":"Checks some commerce stuff"},
{"name":"cloudDeleteMemberFile","native":"CLOUD_DELETE_MEMBER_FILE","hash":"0xC64DED7EF0D2FE37","params":[["p0","string"]],"ret":"int","blocked":"saves"},
{"name":"cloudHasRequestCompleted","native":"CLOUD_HAS_REQUEST_COMPLETED","hash":"0x4C61B39930D045DA","params":[["requestId","int"]],"ret":"BOOL"},
{"name":"cloudDidRequestSucceed","native":"CLOUD_DID_REQUEST_SUCCEED","hash":"0x3A3D5568AF297CD5","params":[["requestId","int"]],"ret":"BOOL"},
{"name":"cloudCheckAvailability","native":"CLOUD_CHECK_AVAILABILITY","hash":"0x4F18196C8D38768D","aka":["_DOWNLOAD_CHECK"],"doc":"Downloads prod.cloud.rockstargames.com/titles/gta5/[platform]/check.json"},
{"name":"cloudIsCheckingAvailability","native":"CLOUD_IS_CHECKING_AVAILABILITY","hash":"0xC7ABAC5DE675EE3B","ret":"BOOL"},
{"name":"cloudGetAvailabilityCheckResult","native":"CLOUD_GET_AVAILABILITY_CHECK_RESULT","hash":"0x0B0CC10720653F3B","ret":"BOOL","aka":["NETWORK_ENABLE_MOTION_DRUGGED"]},
{"name":"getContentToLoadType","native":"GET_CONTENT_TO_LOAD_TYPE","hash":"0x8B0C2964BA471961","ret":"int","doc":"This function is hard-coded to always return 0."},
{"name":"getIsLaunchFromLiveArea","native":"GET_IS_LAUNCH_FROM_LIVE_AREA","hash":"0x88B588B41FF7868E","ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"getIsLiveAreaLaunchWithContent","native":"GET_IS_LIVE_AREA_LAUNCH_WITH_CONTENT","hash":"0x67FC09BC554A75E5","ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"clearServiceEventArguments","native":"CLEAR_SERVICE_EVENT_ARGUMENTS","hash":"0x966DD84FB6A46017","aka":["_CLEAR_LAUNCH_PARAMS"],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"ugcCopyContent","native":"UGC_COPY_CONTENT","hash":"0x152D90E4C1B4738A","params":[["p0","Any*"],["p1","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcIsCreating","native":"UGC_IS_CREATING","hash":"0x9FEDF86898F100E9","ret":"BOOL","blocked":"online"},
{"name":"ugcHasCreateFinished","native":"UGC_HAS_CREATE_FINISHED","hash":"0x5E24341A7F92A74B","ret":"BOOL","blocked":"online"},
{"name":"ugcDidCreateSucceed","native":"UGC_DID_CREATE_SUCCEED","hash":"0x24E4E51FC16305F9","ret":"BOOL","blocked":"online"},
{"name":"ugcGetCreateResult","native":"UGC_GET_CREATE_RESULT","hash":"0xFBC5E768C7A77A6A","ret":"int","blocked":"online"},
{"name":"ugcGetCreateContentId","native":"UGC_GET_CREATE_CONTENT_ID","hash":"0xC55A0B40FFB1ED23","ret":"string","blocked":"online"},
{"name":"ugcClearCreateResult","native":"UGC_CLEAR_CREATE_RESULT","hash":"0x17440AA15D1D3739","blocked":"online"},
{"name":"ugcQueryMyContent","native":"UGC_QUERY_MY_CONTENT","hash":"0x9BF438815F5D96EA","params":[["p0","Any"],["p1","Any"],["p2","Any*"],["p3","Any"],["p4","Any"],["p5","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcQueryByCategory","native":"UGC_QUERY_BY_CATEGORY","hash":"0x692D58DF40657E8C","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","string"],["p4","Any"],["p5","BOOL"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcQueryByContentId","native":"UGC_QUERY_BY_CONTENT_ID","hash":"0x158EC424F35EC469","params":[["contentId","string"],["latestVersion","BOOL"],["contentTypeName","string"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcQueryByContentIds","native":"UGC_QUERY_BY_CONTENT_IDS","hash":"0xC7397A83F7A2A462","params":[["data","Any*"],["count","int"],["latestVersion","BOOL"],["contentTypeName","string"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcQueryMostRecentlyCreatedContent","native":"UGC_QUERY_MOST_RECENTLY_CREATED_CONTENT","hash":"0x6D4CB481FAC835E8","params":[["offset","int"],["count","int"],["contentTypeName","string"],["p3","int"]],"ret":"BOOL","blocked":"online","aka":["_UGC_QUERY_RECENTLY_CREATED_CONTENT"]},
{"name":"ugcGetBookmarkedContent","native":"UGC_GET_BOOKMARKED_CONTENT","hash":"0xD5A4B59980401588","params":[["p0","Any"],["p1","Any"],["p2","string"],["p3","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetMyContent","native":"UGC_GET_MY_CONTENT","hash":"0x3195F8DD0D531052","params":[["p0","Any"],["p1","Any"],["p2","string"],["p3","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetFriendContent","native":"UGC_GET_FRIEND_CONTENT","hash":"0xF9E1CCAE8BA4C281","params":[["p0","Any"],["p1","Any"],["p2","string"],["p3","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetCrewContent","native":"UGC_GET_CREW_CONTENT","hash":"0x9F6E2821885CAEE2","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","string"],["p4","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetGetByCategory","native":"UGC_GET_GET_BY_CATEGORY","hash":"0x678BB03C1A3BD51E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","string"],["p4","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetGetByContentId","native":"UGC_GET_GET_BY_CONTENT_ID","hash":"0x815E5E3073DA1D67","params":[["contentId","string"],["contentTypeName","string"]],"ret":"BOOL","blocked":"online","aka":["SET_BALANCE_ADD_MACHINE"]},
{"name":"ugcGetGetByContentIds","native":"UGC_GET_GET_BY_CONTENT_IDS","hash":"0xB8322EEB38BE7C26","params":[["data","Any*"],["dataCount","int"],["contentTypeName","string"]],"ret":"BOOL","blocked":"online","aka":["SET_BALANCE_ADD_MACHINES"]},
{"name":"ugcGetMostRecentlyCreatedContent","native":"UGC_GET_MOST_RECENTLY_CREATED_CONTENT","hash":"0xA7862BC5ED1DFD7E","params":[["p0","Any"],["p1","Any"],["p2","Any*"],["p3","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetMostRecentlyPlayedContent","native":"UGC_GET_MOST_RECENTLY_PLAYED_CONTENT","hash":"0x97A770BEEF227E2B","params":[["p0","Any"],["p1","Any"],["p2","Any*"],["p3","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetTopRatedContent","native":"UGC_GET_TOP_RATED_CONTENT","hash":"0x5324A0E3E4CE3570","params":[["p0","Any"],["p1","Any"],["p2","Any*"],["p3","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcCancelQuery","native":"UGC_CANCEL_QUERY","hash":"0xE9B99B6853181409","blocked":"online"},
{"name":"ugcIsGetting","native":"UGC_IS_GETTING","hash":"0xD53ACDBEF24A46E8","ret":"BOOL","blocked":"online"},
{"name":"ugcHasGetFinished","native":"UGC_HAS_GET_FINISHED","hash":"0x02ADA21EA2F6918F","ret":"BOOL","blocked":"online"},
{"name":"ugcDidGetSucceed","native":"UGC_DID_GET_SUCCEED","hash":"0x941E5306BCD7C2C7","ret":"BOOL","blocked":"online"},
{"name":"ugcWasQueryForceCancelled","native":"UGC_WAS_QUERY_FORCE_CANCELLED","hash":"0xC87E740D9F3872CC","ret":"BOOL","blocked":"online"},
{"name":"ugcGetQueryResult","native":"UGC_GET_QUERY_RESULT","hash":"0xEDF7F927136C224B","ret":"int","blocked":"online"},
{"name":"ugcGetContentNum","native":"UGC_GET_CONTENT_NUM","hash":"0xE0A6138401BCB837","ret":"int","blocked":"online"},
{"name":"ugcGetContentTotal","native":"UGC_GET_CONTENT_TOTAL","hash":"0x769951E2455E2EB5","ret":"int","blocked":"online"},
{"name":"ugcGetContentHash","native":"UGC_GET_CONTENT_HASH","hash":"0x3A17A27D75C74887","ret":"Hash","blocked":"online"},
{"name":"ugcClearQueryResults","native":"UGC_CLEAR_QUERY_RESULTS","hash":"0xBA96394A0EECFA65","blocked":"online"},
{"name":"ugcGetContentUserId","native":"UGC_GET_CONTENT_USER_ID","hash":"0xCD67AD041A394C9C","params":[["p0","int"]],"ret":"string","blocked":"online","aka":["_GET_CONTENT_USER_ID","GET_PLAYER_ADVANCED_MODIFIER_PRIVILEGES"]},
{"name":"ugcGetContentCreatorGamerHandle","native":"UGC_GET_CONTENT_CREATOR_GAMER_HANDLE","hash":"0x584770794D758C18","params":[["p0","int"],["p1","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentCreatedByLocalPlayer","native":"UGC_GET_CONTENT_CREATED_BY_LOCAL_PLAYER","hash":"0x8C8D2739BA44AF0F","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentUserName","native":"UGC_GET_CONTENT_USER_NAME","hash":"0x703F12425ECA8BF5","params":[["p0","Any"]],"ret":"string","blocked":"online"},
{"name":"ugcGetContentIsUsingScNickname","native":"UGC_GET_CONTENT_IS_USING_SC_NICKNAME","hash":"0xAEAB987727C5A8A4","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentCategory","native":"UGC_GET_CONTENT_CATEGORY","hash":"0xA7BAB11E7C9C6C5A","params":[["p0","int"]],"ret":"int","blocked":"online","aka":["_GET_CONTENT_CATEGORY"]},
{"name":"ugcGetContentId","native":"UGC_GET_CONTENT_ID","hash":"0x55AA95F481D694D2","params":[["p0","int"]],"ret":"string","blocked":"online","aka":["_GET_CONTENT_ID"],"doc":"Return the mission id of a job."},
{"name":"ugcGetRootContentId","native":"UGC_GET_ROOT_CONTENT_ID","hash":"0xC0173D6BFF4E0348","params":[["p0","int"]],"ret":"string","blocked":"online","aka":["_GET_ROOT_CONTENT_ID"],"doc":"Return the root content id of a job."},
{"name":"ugcGetContentName","native":"UGC_GET_CONTENT_NAME","hash":"0xBF09786A7FCAB582","params":[["p0","Any"]],"ret":"string","blocked":"online"},
{"name":"ugcGetContentDescription","native":"UGC_GET_CONTENT_DESCRIPTION","hash":"0x4A56710BAB5C4DB4","params":[["index","int"]],"ret":"string","na":1,"since":3407},
{"name":"ugcGetContentDescriptionHash","native":"UGC_GET_CONTENT_DESCRIPTION_HASH","hash":"0x7CF0448787B23758","params":[["p0","Any"]],"ret":"int","blocked":"online","aka":["_GET_CONTENT_DESCRIPTION_HASH"]},
{"name":"ugcGetContentPath","native":"UGC_GET_CONTENT_PATH","hash":"0xBAF6BABF9E7CCC13","params":[["p0","int"],["p1","int"]],"ret":"string","blocked":"online","aka":["_UGC_GET_CLOUD_PATH"]},
{"name":"ugcGetContentUpdatedDate","native":"UGC_GET_CONTENT_UPDATED_DATE","hash":"0xCFD115B373C0DF63","params":[["p0","Any"],["p1","Any*"]],"blocked":"online"},
{"name":"ugcGetContentFileVersion","native":"UGC_GET_CONTENT_FILE_VERSION","hash":"0x37025B27D9B658B1","params":[["p0","Any"],["p1","Any"]],"ret":"int","blocked":"online","aka":["_GET_CONTENT_FILE_VERSION"]},
{"name":"ugcGetContentHasLoResPhoto","native":"UGC_GET_CONTENT_HAS_LO_RES_PHOTO","hash":"0x1D610EB0FEA716D9","params":[["p0","int"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentHasHiResPhoto","native":"UGC_GET_CONTENT_HAS_HI_RES_PHOTO","hash":"0x7FCC39C46C3C03BD","params":[["p0","int"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentLanguage","native":"UGC_GET_CONTENT_LANGUAGE","hash":"0x32DD916F3F7C9672","params":[["p0","Any"]],"ret":"int","blocked":"online"},
{"name":"ugcGetContentIsPublished","native":"UGC_GET_CONTENT_IS_PUBLISHED","hash":"0x3054F114121C21EA","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentIsVerified","native":"UGC_GET_CONTENT_IS_VERIFIED","hash":"0xA9240A96C74CCA13","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentRating","native":"UGC_GET_CONTENT_RATING","hash":"0x1ACCFBA3D8DAB2EE","params":[["p0","Any"],["p1","Any"]],"ret":"float","blocked":"online"},
{"name":"ugcGetContentRatingCount","native":"UGC_GET_CONTENT_RATING_COUNT","hash":"0x759299C5BB31D2A9","params":[["p0","Any"],["p1","Any"]],"ret":"int","blocked":"online"},
{"name":"ugcGetContentRatingPositiveCount","native":"UGC_GET_CONTENT_RATING_POSITIVE_COUNT","hash":"0x87E5C46C187FE0AE","params":[["p0","Any"],["p1","Any"]],"ret":"int","blocked":"online"},
{"name":"ugcGetContentRatingNegativeCount","native":"UGC_GET_CONTENT_RATING_NEGATIVE_COUNT","hash":"0x4E548C0D7AE39FF9","params":[["p0","Any"],["p1","Any"]],"ret":"int","blocked":"online"},
{"name":"ugcGetContentHasPlayerRecord","native":"UGC_GET_CONTENT_HAS_PLAYER_RECORD","hash":"0x70EA8DA57840F9BE","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetContentHasPlayerBookmarked","native":"UGC_GET_CONTENT_HAS_PLAYER_BOOKMARKED","hash":"0x993CBE59D350D225","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcRequestContentDataFromIndex","native":"UGC_REQUEST_CONTENT_DATA_FROM_INDEX","hash":"0x171DF6A0C07FB3DC","params":[["p0","int"],["p1","int"]],"ret":"int","blocked":"online"},
{"name":"ugcRequestContentDataFromParams","native":"UGC_REQUEST_CONTENT_DATA_FROM_PARAMS","hash":"0x7FD2990AF016795E","params":[["contentTypeName","string"],["contentId","string"],["p2","int"],["p3","int"],["p4","int"]],"ret":"int","blocked":"online"},
{"name":"ugcRequestCachedDescription","native":"UGC_REQUEST_CACHED_DESCRIPTION","hash":"0x5E0165278F6339EE","params":[["p0","int"]],"ret":"int","blocked":"online"},
{"name":"ugcIsDescriptionRequestInProgress","native":"UGC_IS_DESCRIPTION_REQUEST_IN_PROGRESS","hash":"0x2D5DC831176D0114","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcHasDescriptionRequestFinished","native":"UGC_HAS_DESCRIPTION_REQUEST_FINISHED","hash":"0xEBFA8D50ADDC54C4","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcDidDescriptionRequestSucceed","native":"UGC_DID_DESCRIPTION_REQUEST_SUCCEED","hash":"0x162C23CA83ED0A62","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcGetCachedDescription","native":"UGC_GET_CACHED_DESCRIPTION","hash":"0x40F7E66472DF3E5C","params":[["p0","Any"],["p1","Any"]],"ret":"string","blocked":"online"},
{"name":"ugcReleaseCachedDescription","native":"UGC_RELEASE_CACHED_DESCRIPTION","hash":"0x5A34CD9C3C5BEC44","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcReleaseAllCachedDescriptions","native":"UGC_RELEASE_ALL_CACHED_DESCRIPTIONS","hash":"0x68103E2247887242","blocked":"online"},
{"name":"ugcHasPermissionToWrite","native":"UGC_HAS_PERMISSION_TO_WRITE","hash":"0xC33E7CBC06EC1A8D","ret":"BOOL","na":1,"since":3095},
{"name":"ugcPublish","native":"UGC_PUBLISH","hash":"0x1DE0F5F50D723CAA","params":[["contentId","string"],["baseContentId","string"],["contentTypeName","string"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcSetBookmarked","native":"UGC_SET_BOOKMARKED","hash":"0x274A1519DFC1094F","params":[["contentId","string"],["bookmarked","BOOL"],["contentTypeName","string"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcSetDeleted","native":"UGC_SET_DELETED","hash":"0xD05D1A6C74DA3498","params":[["p0","Any*"],["p1","BOOL"],["p2","string"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcIsModifying","native":"UGC_IS_MODIFYING","hash":"0x45E816772E93A9DB","ret":"BOOL","blocked":"online"},
{"name":"ugcHasModifyFinished","native":"UGC_HAS_MODIFY_FINISHED","hash":"0x299EF3C576773506","ret":"BOOL","blocked":"online"},
{"name":"ugcDidModifySucceed","native":"UGC_DID_MODIFY_SUCCEED","hash":"0x793FF272D5B365F4","ret":"BOOL","blocked":"online"},
{"name":"ugcGetModifyResult","native":"UGC_GET_MODIFY_RESULT","hash":"0x5A0A3D1A186A5508","ret":"int","blocked":"online"},
{"name":"ugcClearModifyResult","native":"UGC_CLEAR_MODIFY_RESULT","hash":"0xA1E5E0204A6FCC70","blocked":"online"},
{"name":"ugcGetCreatorsByUserId","native":"UGC_GET_CREATORS_BY_USER_ID","hash":"0xB746D20B17F2A229","params":[["p0","Any*"],["p1","Any*"]],"ret":"BOOL","blocked":"online"},
{"name":"ugcHasQueryCreatorsFinished","native":"UGC_HAS_QUERY_CREATORS_FINISHED","hash":"0x63B406D7884BFA95","ret":"BOOL","blocked":"online"},
{"name":"ugcDidQueryCreatorsSucceed","native":"UGC_DID_QUERY_CREATORS_SUCCEED","hash":"0x4D02279C83BE69FE","ret":"BOOL","blocked":"online"},
{"name":"ugcGetCreatorNum","native":"UGC_GET_CREATOR_NUM","hash":"0x597F8DBA9B206FC7","ret":"int","blocked":"online"},
{"name":"ugcLoadOfflineQuery","native":"UGC_LOAD_OFFLINE_QUERY","hash":"0x5CAE833B0EE0C500","params":[["p0","Any"]],"ret":"BOOL","blocked":"online","aka":["UGC_POLICIES_MAKE_PRIVATE"]},
{"name":"ugcClearOfflineQuery","native":"UGC_CLEAR_OFFLINE_QUERY","hash":"0x61A885D3F7CFEE9A","blocked":"online"},
{"name":"ugcSetQueryDataFromOffline","native":"UGC_SET_QUERY_DATA_FROM_OFFLINE","hash":"0xF98DDE0A8ED09323","params":[["p0","BOOL"]],"blocked":"online"},
{"name":"ugcSetUsingOfflineContent","native":"UGC_SET_USING_OFFLINE_CONTENT","hash":"0xFD75DABC0957BF33","params":[["p0","BOOL"]],"blocked":"online"},
{"name":"ugcIsLanguageSupported","native":"UGC_IS_LANGUAGE_SUPPORTED","hash":"0xF53E48461B71EECB","params":[["p0","Any"]],"ret":"BOOL","blocked":"online"},
{"name":"facebookPostCompletedHeist","native":"FACEBOOK_POST_COMPLETED_HEIST","hash":"0x098AB65B9ED9A9EC","params":[["heistName","string"],["cashEarned","int"],["xpEarned","int"]],"ret":"BOOL","aka":["_FACEBOOK_SET_HEIST_COMPLETE"]},
{"name":"facebookPostCreateCharacter","native":"FACEBOOK_POST_CREATE_CHARACTER","hash":"0xDC48473142545431","ret":"BOOL","aka":["_FACEBOOK_SET_CREATE_CHARACTER_COMPLETE"]},
{"name":"facebookPostCompletedMilestone","native":"FACEBOOK_POST_COMPLETED_MILESTONE","hash":"0x0AE1F1653B554AB9","params":[["milestoneId","int"]],"ret":"BOOL","aka":["_FACEBOOK_SET_MILESTONE_COMPLETE"]},
{"name":"facebookHasPostCompleted","native":"FACEBOOK_HAS_POST_COMPLETED","hash":"0x62B9FEC9A11F10EF","ret":"BOOL","aka":["_FACEBOOK_IS_SENDING_DATA"]},
{"name":"facebookDidPostSucceed","native":"FACEBOOK_DID_POST_SUCCEED","hash":"0xA75E2B6733DA5142","ret":"BOOL","aka":["_FACEBOOK_DO_UNK_CHECK"]},
{"name":"facebookCanPostToFacebook","native":"FACEBOOK_CAN_POST_TO_FACEBOOK","hash":"0x43865688AE10F0D7","ret":"BOOL","aka":["_FACEBOOK_IS_AVAILABLE"]},
{"name":"textureDownloadRequest","native":"TEXTURE_DOWNLOAD_REQUEST","hash":"0x16160DA74A8E74A2","params":[["gamerHandle","Any*"],["filePath","string"],["name","string"],["p3","BOOL"]],"ret":"int","blocked":"online"},
{"name":"titleTextureDownloadRequest","native":"TITLE_TEXTURE_DOWNLOAD_REQUEST","hash":"0x0B203B4AFDE53A4F","params":[["filePath","string"],["name","string"],["p2","BOOL"]],"ret":"int","blocked":"online"},
{"name":"ugcTextureDownloadRequest","native":"UGC_TEXTURE_DOWNLOAD_REQUEST","hash":"0x308F96458B7087CC","params":[["p0","string"],["p1","int"],["p2","int"],["p3","int"],["p4","string"],["p5","BOOL"]],"ret":"int","blocked":"online"},
{"name":"textureDownloadRelease","native":"TEXTURE_DOWNLOAD_RELEASE","hash":"0x487EB90B98E9FB19","params":[["p0","int"]],"blocked":"online"},
{"name":"textureDownloadHasFailed","native":"TEXTURE_DOWNLOAD_HAS_FAILED","hash":"0x5776ED562C134687","params":[["p0","int"]],"ret":"BOOL","blocked":"online"},
{"name":"textureDownloadGetName","native":"TEXTURE_DOWNLOAD_GET_NAME","hash":"0x3448505B6E35262D","params":[["p0","int"]],"ret":"string","blocked":"online"},
{"name":"getStatusOfTextureDownload","native":"GET_STATUS_OF_TEXTURE_DOWNLOAD","hash":"0x8BD6C6DEA20E82C6","params":[["p0","int"]],"ret":"int","blocked":"online","aka":["_GET_STATUS_OF_TEXTURE_DOWNLOAD"],"doc":"0 = succeeded\n1 = pending\n2 = failed"},
{"name":"networkCheckRosLinkWentdownNotNet","native":"NETWORK_CHECK_ROS_LINK_WENTDOWN_NOT_NET","hash":"0x60EDD13EB3AC1FF3","ret":"BOOL","doc":"Returns true if profile setting 901 is set to true and sets it to false."},
{"name":"networkShouldShowStrictNatWarning","native":"NETWORK_SHOULD_SHOW_STRICT_NAT_WARNING","hash":"0x82A2B386716608F1","ret":"BOOL","since":393,"aka":["_NETWORK_SHOULD_SHOW_CONNECTIVITY_TROUBLESHOOTING"],"doc":"Returns true if the NAT type is Strict (3) and a certain number of connections have failed."},
{"name":"networkIsCableConnected","native":"NETWORK_IS_CABLE_CONNECTED","hash":"0xEFFB25453D8600F9","ret":"BOOL"},
{"name":"networkHaveScsPrivateMsgPriv","native":"NETWORK_HAVE_SCS_PRIVATE_MSG_PRIV","hash":"0x66B59CFFD78467AF","ret":"BOOL","aka":["_NETWORK_GET_ROS_PRIVILEGE_9"]},
{"name":"networkHaveRosSocialClubPriv","native":"NETWORK_HAVE_ROS_SOCIAL_CLUB_PRIV","hash":"0x606E4D3E3CCCF3EB","ret":"BOOL","aka":["_NETWORK_GET_ROS_PRIVILEGE_10"]},
{"name":"networkHaveRosBannedPriv","native":"NETWORK_HAVE_ROS_BANNED_PRIV","hash":"0x8020A73847E0CA7D","ret":"BOOL","aka":["_IS_ROCKSTAR_BANNED","_NETWORK_HAS_PLAYER_BEEN_BANNED"]},
{"name":"networkHaveRosCreateTicketPriv","native":"NETWORK_HAVE_ROS_CREATE_TICKET_PRIV","hash":"0xA0AD7E2AF5349F61","ret":"BOOL","aka":["_IS_SOCIALCLUB_BANNED","_NETWORK_HAVE_SOCIAL_CLUB_PRIVILEGE"]},
{"name":"networkHaveRosMultiplayerPriv","native":"NETWORK_HAVE_ROS_MULTIPLAYER_PRIV","hash":"0x5F91D5D0B36AA310","ret":"BOOL","aka":["_IS_PLAYER_BANNED","_CAN_PLAY_ONLINE","_NETWORK_GET_ROS_PRIVILEGE_3"]},
{"name":"networkHaveRosLeaderboardWritePriv","native":"NETWORK_HAVE_ROS_LEADERBOARD_WRITE_PRIV","hash":"0x422D396F80A96547","ret":"BOOL","aka":["_NETWORK_GET_ROS_PRIVILEGE_4"]},
{"name":"networkHasRosPrivilege","native":"NETWORK_HAS_ROS_PRIVILEGE","hash":"0xA699957E60D80214","params":[["index","int"]],"ret":"BOOL","doc":"index is always 18 in scripts"},
{"name":"networkHasRosPrivilegeEndDate","native":"NETWORK_HAS_ROS_PRIVILEGE_END_DATE","hash":"0xC22912B1D85F26B1","params":[["privilege","int"],["timeData","Any*"]],"ret":"BOOL","outs":[["banType","int",1]],"blocked":"memory","aka":["_NETWORK_GET_BAN_DATA"]},
{"name":"networkHasRosPrivilegePlayedLastGen","native":"NETWORK_HAS_ROS_PRIVILEGE_PLAYED_LAST_GEN","hash":"0x593570C289A77688","ret":"BOOL","aka":["_NETWORK_GET_ROS_PRIVILEGE_24"]},
{"name":"networkHasRosPrivilegeSpecialEditionContent","native":"NETWORK_HAS_ROS_PRIVILEGE_SPECIAL_EDITION_CONTENT","hash":"0x91B87C55093DE351","ret":"BOOL","aka":["_NETWORK_GET_ROS_PRIVILEGE_25"]},
{"name":"networkHasRosPrivilegeMpTextCommunication","native":"_NETWORK_HAS_ROS_PRIVILEGE_MP_TEXT_COMMUNICATION","hash":"0xD9719341663C385F","ret":"BOOL","na":1,"since":3095,"doc":"Checks for privilege 29"},
{"name":"networkHasRosPrivilegeMpVoiceCommunication","native":"_NETWORK_HAS_ROS_PRIVILEGE_MP_VOICE_COMMUNICATION","hash":"0x8956A309BE90057C","ret":"BOOL","na":1,"since":3095,"doc":"Checks for privilege 30"},
{"name":"networkHasRosPrivilegeReporting","native":"_NETWORK_HAS_ROS_PRIVILEGE_REPORTING","hash":"0x9BA54B3CFB82ADDD","ret":"BOOL","na":1,"since":3258,"doc":"Checks for privilege 31"},
{"name":"networkStartUserContentPermissionsCheck","native":"NETWORK_START_USER_CONTENT_PERMISSIONS_CHECK","hash":"0xDEB2B99A1AF1A2A6","params":[["netHandle","Any*"]],"ret":"int","blocked":"memory","doc":"Always returns -1. Seems to be XB1 specific."},
{"name":"networkSkipRadioResetNextClose","native":"NETWORK_SKIP_RADIO_RESET_NEXT_CLOSE","hash":"0x9465E683B12D3F6B"},
{"name":"networkSkipRadioResetNextOpen","native":"NETWORK_SKIP_RADIO_RESET_NEXT_OPEN","hash":"0xCA59CCAE5D01E4CE","since":1734},
{"name":"networkSkipRadioWarning","native":"NETWORK_SKIP_RADIO_WARNING","hash":"0x659CF2EF7F550C4F","ret":"BOOL","since":1011,"aka":["_NETWORK_HAS_GAME_BEEN_ALTERED"],"doc":"Returns true if dinput8.dll is present in the game directory.\nYou will get following error message if that is true: \"You are attempting to access GTA Online servers with an altered version of the game.\""},
{"name":"networkForceLocalPlayerScarSync","native":"NETWORK_FORCE_LOCAL_PLAYER_SCAR_SYNC","hash":"0xB7C7F6AD6424304B","aka":["_NETWORK_UPDATE_PLAYER_SCARS"],"doc":"NETWORK_F[I-O]"},
{"name":"networkDisableLeaveRemotePedBehind","native":"NETWORK_DISABLE_LEAVE_REMOTE_PED_BEHIND","hash":"0xC505036A35AFD01B","params":[["toggle","BOOL"]]},
{"name":"networkAllowRemoteAttachmentModification","native":"NETWORK_ALLOW_REMOTE_ATTACHMENT_MODIFICATION","hash":"0x267C78C60E806B9A","params":[["entity","Entity"],["toggle","BOOL"]],"blocked":"online","aka":["_NETWORK_ALLOW_LOCAL_ENTITY_ATTACHMENT"]},
{"name":"networkShowChatRestrictionMsc","native":"NETWORK_SHOW_CHAT_RESTRICTION_MSC","hash":"0x6BFF5F84102DF80A","params":[["player","Player"]],"doc":"Does nothing (it's a nullsub)."},
{"name":"networkShowPsnUgcRestriction","native":"NETWORK_SHOW_PSN_UGC_RESTRICTION","hash":"0x5C497525F803486B","doc":"This native does absolutely nothing, just a nullsub"},
{"name":"networkIsTitleUpdateRequired","native":"NETWORK_IS_TITLE_UPDATE_REQUIRED","hash":"0x6FB7BB3607D27FA2","ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"networkQuitMpToDesktop","native":"NETWORK_QUIT_MP_TO_DESKTOP","hash":"0x45A83257ED02D9BC"},
{"name":"networkIsConnectedViaRelay","native":"NETWORK_IS_CONNECTED_VIA_RELAY","hash":"0x16D3D49902F697BB","params":[["player","Player"]],"ret":"BOOL","aka":["_NETWORK_IS_CONNECTION_ENDPOINT_RELAY_SERVER"]},
{"name":"networkGetAverageLatency","native":"NETWORK_GET_AVERAGE_LATENCY","hash":"0xD414BE129BB81B32","params":[["player","Player"]],"ret":"float","aka":["_NETWORK_GET_AVERAGE_LATENCY_FOR_PLAYER"]},
{"name":"networkGetAveragePing","native":"NETWORK_GET_AVERAGE_PING","hash":"0x0E3A041ED6AC2B45","params":[["player","Player"]],"ret":"float","aka":["_NETWORK_GET_AVERAGE_LATENCY_FOR_PLAYER_2"],"doc":"Same as `networkGetAverageLatency`"},
{"name":"networkGetAveragePacketLoss","native":"NETWORK_GET_AVERAGE_PACKET_LOSS","hash":"0x350C23949E43686C","params":[["player","Player"]],"ret":"float","aka":["_NETWORK_GET_AVERAGE_PACKET_LOSS_FOR_PLAYER"]},
{"name":"networkGetNumUnackedReliables","native":"NETWORK_GET_NUM_UNACKED_RELIABLES","hash":"0xFF8FCF9FFC458A1C","params":[["player","Player"]],"ret":"int","aka":["_NETWORK_GET_NUM_UNACKED_FOR_PLAYER"]},
{"name":"networkGetUnreliableResendCount","native":"NETWORK_GET_UNRELIABLE_RESEND_COUNT","hash":"0x3765C3A3E8192E10","params":[["player","Player"]],"ret":"int","aka":["_NETWORK_GET_UNRELIABLE_RESEND_COUNT_FOR_PLAYER"]},
{"name":"networkGetHighestReliableResendCount","native":"NETWORK_GET_HIGHEST_RELIABLE_RESEND_COUNT","hash":"0x52C1EADAF7B10302","params":[["player","Player"]],"ret":"int","aka":["_NETWORK_GET_OLDEST_RESEND_COUNT_FOR_PLAYER"]},
{"name":"networkReportCodeTamper","native":"NETWORK_REPORT_CODE_TAMPER","hash":"0x5626D9D6810730D5","since":350,"aka":["_NETWORK_REPORT_MYSELF"]},
{"name":"networkGetLastEntityPosReceivedOverNetwork","native":"NETWORK_GET_LAST_ENTITY_POS_RECEIVED_OVER_NETWORK","hash":"0x64D779659BC37B19","params":[["entity","Entity"]],"ret":"Vector3","since":393},
{"name":"networkGetLastPlayerPosReceivedOverNetwork","native":"NETWORK_GET_LAST_PLAYER_POS_RECEIVED_OVER_NETWORK","hash":"0x125E6D638B8605D4","params":[["player","Player"]],"ret":"Vector3","since":393,"aka":["_NETWORK_GET_PLAYER_COORDS"],"doc":"Returns the coordinates of another player.\nDoes not work if you enter your own player id as p0 (will return `(0.0, 0.0, 0.0)` in that case)."},
{"name":"networkGetLastVelReceivedOverNetwork","native":"NETWORK_GET_LAST_VEL_RECEIVED_OVER_NETWORK","hash":"0x33DE49EDF4DDE77A","params":[["entity","Entity"]],"ret":"Vector3","since":1103,"aka":["_NETWORK_GET_LAST_VELOCITY_RECEIVED"],"doc":"Used by NetBlender"},
{"name":"networkGetPredictedVelocity","native":"NETWORK_GET_PREDICTED_VELOCITY","hash":"0xAA5FAFCD2C5F5E47","params":[["entity","Entity"],["maxSpeedToPredict","float"]],"ret":"Vector3","since":1103},
{"name":"networkDumpNetIfConfig","native":"NETWORK_DUMP_NET_IF_CONFIG","hash":"0xAEDF1BC1C133D6E3","doc":"Does nothing (it's a nullsub)."},
{"name":"networkGetSignallingInfo","native":"NETWORK_GET_SIGNALLING_INFO","hash":"0x2555CF7DA5473794","params":[["p0","Any*"]],"blocked":"memory","doc":"Does nothing (it's a nullsub)."},
{"name":"networkGetNetStatisticsInfo","native":"NETWORK_GET_NET_STATISTICS_INFO","hash":"0x6FD992C4A1C1B986","params":[["p0","Any*"]],"blocked":"memory","doc":"Does nothing (it's a nullsub)."},
{"name":"networkGetPlayerAccountId","native":"NETWORK_GET_PLAYER_ACCOUNT_ID","hash":"0xDB663CC9FF3407A9","params":[["player","Player"]],"ret":"int","since":1734},
{"name":"networkPostUdsActivityStart","native":"NETWORK_POST_UDS_ACTIVITY_START","params":[["activityId","string"]],"na":1},
{"name":"networkPostUdsActivityEnd","native":"NETWORK_POST_UDS_ACTIVITY_END","params":[["activityId","string"],["iOutcome","int"],["iScore","int"]],"na":1},
{"name":"networkPostUdsActivityResume","native":"NETWORK_POST_UDS_ACTIVITY_RESUME","params":[["activityId","string"]],"na":1},
{"name":"networkPostUdsActivityResumeWithTasks","native":"NETWORK_POST_UDS_ACTIVITY_RESUME_WITH_TASKS","params":[["activityId","string"],["taskStatus","Any*"]],"na":1},
{"name":"networkPostUdsActivityAvailabilityChange","native":"NETWORK_POST_UDS_ACTIVITY_AVAILABILITY_CHANGE","params":[["availablityData","Any*"]],"na":1},
{"name":"networkPostUdsActivityTerminate","native":"NETWORK_POST_UDS_ACTIVITY_TERMINATE","na":1},
{"name":"networkHasScMembershipInfo","native":"NETWORK_HAS_SC_MEMBERSHIP_INFO","ret":"BOOL","na":1},
{"name":"networkGetScMembershipInfo","native":"NETWORK_GET_SC_MEMBERSHIP_INFO","params":[["info","Any*"]],"na":1},
{"name":"networkUgcNav","native":"NETWORK_UGC_NAV","hash":"0xC1447451DDB512F0","params":[["p0","Any"],["p1","Any"]],"since":2372,"aka":["_NETWORK_UGC_NAV"]},
{"name":"networkGetGameRestartReason","native":"_NETWORK_GET_GAME_RESTART_REASON","hash":"0x7F7E8401F81CB65B","ret":"int","na":1,"since":3323},
{"name":"networkConfirmGameRestart","native":"_NETWORK_CONFIRM_GAME_RESTART","hash":"0x0A141818CA2311AD","na":1,"since":3323,"doc":"If the restart reason is 4 (BE_RESTART_EF_DISABLED_WITH_BE), will cause the game to exit with exit code 622011. Otherwise exits with code 622010. Has no effect when a restart hasn't been requested (reason == 0 or reason > 6).\n\nNote that this 'confirmation' itself does not restart the game, a call to `quitGame` or similar is required afterwards."},
{"name":"networkGetGameRestartReasonMessageLabel","native":"_NETWORK_GET_GAME_RESTART_REASON_MESSAGE_LABEL","hash":"0x47B11D51FC50A259","ret":"string","na":1,"since":3323,"doc":"Returns the restart reason as a string, see `networkGetGameRestartReason`. Returns a null pointer when a restart hasn't been requested (reason == 0 or reason > 6)."},
{"name":"networkGetBattleyeErrorMessageLabel","native":"_NETWORK_GET_BATTLEYE_ERROR_MESSAGE_LABEL","hash":"0xCBA50F371E45B90D","params":[["errorCode","int"]],"ret":"string","na":1,"since":3323,"doc":"0x20211000 = HUD_BE_ERROR_FAILED_UNKNOWN\n0x20212000 = HUD_BE_ERROR_FAILED_CLIENT_INIT\n0x20213000 = HUD_BE_ERROR_FAILED_SERVER_INIT\n0x20214000 = HUD_BE_ERROR_FAILED_AUTH_ATTEMPTS\n0x20215000 = HUD_BE_ERROR_UNTRUSTED_HOST\n0x20216000 = HUD_BE_ERROR_KICKED\n0x20217000 = HUD_BE_ERROR_BANNED\n0x50140000 = HUD_BE_BLOCK_BANNED\n\nNote: an invalid error code returns a null pointer!"}
]},
{"id":"OBJECT","title":"Object","doc":"Props: creation, doors, pickups, breakable and animated objects.","natives":[
{"name":"createObject","native":"CREATE_OBJECT","hash":"0x509D5878EB39E842","params":[["modelHash","Hash"],["x","float"],["y","float"],["z","float"],["isNetwork","BOOL"],["bScriptHostObj","BOOL"],["dynamic","BOOL"]],"ret":"Object","doc":"List of object models that can be created without any additional effort like making sure ytyp is loaded etc: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ObjectList.ini"},
{"name":"createObjectNoOffset","native":"CREATE_OBJECT_NO_OFFSET","hash":"0x9A294B2138ABB884","params":[["modelHash","Hash"],["x","float"],["y","float"],["z","float"],["isNetwork","BOOL"],["bScriptHostObj","BOOL"],["dynamic","BOOL"],["p7","Any"]],"ret":"Object","doc":"List of object models that can be created without any additional effort like making sure ytyp is loaded etc: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ObjectList.ini"},
{"name":"deleteObject","native":"DELETE_OBJECT","hash":"0x539E0AE3E6634B9F","params":[["object","Object"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `object` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"Deletes the specified object, then sets the handle pointed to by the pointer to NULL."},
{"name":"placeObjectOnGroundProperly","native":"PLACE_OBJECT_ON_GROUND_PROPERLY","hash":"0x58A850EAEE20FAA3","params":[["object","Object"]],"ret":"BOOL"},
{"name":"placeObjectOnGroundOrObjectProperly","native":"PLACE_OBJECT_ON_GROUND_OR_OBJECT_PROPERLY","hash":"0xD76EEEF746057FD6","params":[["object","Object"]],"ret":"BOOL","since":505,"aka":["_PLACE_OBJECT_ON_GROUND_PROPERLY_2"]},
{"name":"rotateObject","native":"ROTATE_OBJECT","hash":"0xAFE24E4D29249E4A","params":[["object","Object"],["p1","float"],["p2","float"],["p3","BOOL"]],"ret":"BOOL","since":1734},
{"name":"slideObject","native":"SLIDE_OBJECT","hash":"0x2FDFF4107B8C1147","params":[["object","Object"],["toX","float"],["toY","float"],["toZ","float"],["speedX","float"],["speedY","float"],["speedZ","float"],["collision","BOOL"]],"ret":"BOOL","doc":"Returns true if the object has finished moving.\n\nIf false, moves the object towards the specified X, Y and Z coordinates with the specified X, Y and Z speed.\n\nSee also: https://gtagmodding.com/opcode-database/opcode/034E/\nHas to be looped until it returns true."},
{"name":"setObjectTargettable","native":"SET_OBJECT_TARGETTABLE","hash":"0x8A7391690F5AFD81","params":[["object","Object"],["targettable","BOOL"],["p2","Any"]]},
{"name":"setObjectTargettableByPlayer","native":"_SET_OBJECT_TARGETTABLE_BY_PLAYER","hash":"0xB39F03368DB0CAA2","params":[["object","Object"],["setFlag34","BOOL"],["setFlag35","BOOL"]],"na":1,"since":3258,"doc":"Sets the 34th and 35th object flags related to player peds."},
{"name":"setObjectForceVehiclesToAvoid","native":"SET_OBJECT_FORCE_VEHICLES_TO_AVOID","hash":"0x77F33F2CCF64B3AA","params":[["object","Object"],["toggle","BOOL"]],"aka":["_SET_OBJECT_SOMETHING"]},
{"name":"getClosestObjectOfType","native":"GET_CLOSEST_OBJECT_OF_TYPE","hash":"0xE143FA2249364369","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["modelHash","Hash"],["isMission","BOOL"],["p6","BOOL"],["p7","BOOL"]],"ret":"Object","doc":"Has 8 params in the latest patches.\n\nisMission - if true doesn't return mission objects"},
{"name":"hasObjectBeenBroken","native":"HAS_OBJECT_BEEN_BROKEN","hash":"0x8ABFB70C49CC43E2","params":[["object","Object"],["p1","Any"]],"ret":"BOOL"},
{"name":"hasClosestObjectOfTypeBeenBroken","native":"HAS_CLOSEST_OBJECT_OF_TYPE_BEEN_BROKEN","hash":"0x761B0E69AC4D007E","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["modelHash","Hash"],["p5","Any"]],"ret":"BOOL"},
{"name":"hasClosestObjectOfTypeBeenCompletelyDestroyed","native":"HAS_CLOSEST_OBJECT_OF_TYPE_BEEN_COMPLETELY_DESTROYED","hash":"0x46494A2475701343","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["modelHash","Hash"],["p5","BOOL"]],"ret":"BOOL"},
{"name":"getHasObjectBeenCompletelyDestroyed","native":"GET_HAS_OBJECT_BEEN_COMPLETELY_DESTROYED","hash":"0x2542269291C6AC84","params":[["p0","Any"]],"ret":"BOOL","since":1180},
{"name":"getOffsetFromCoordAndHeadingInWorldCoords","native":"GET_OFFSET_FROM_COORD_AND_HEADING_IN_WORLD_COORDS","hash":"0x163E252DE035A133","params":[["xPos","float"],["yPos","float"],["zPos","float"],["heading","float"],["xOffset","float"],["yOffset","float"],["zOffset","float"]],"ret":"Vector3","aka":["_GET_OBJECT_OFFSET_FROM_COORDS"]},
{"name":"getCoordsAndRotationOfClosestObjectOfType","native":"GET_COORDS_AND_ROTATION_OF_CLOSEST_OBJECT_OF_TYPE","hash":"0x163F8B586BC95F2A","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["modelHash","Hash"],["rotationOrder","int"]],"ret":"BOOL","outs":[["outPosition","Vector3",5],["outRotation","Vector3",6]]},
{"name":"setStateOfClosestDoorOfType","native":"SET_STATE_OF_CLOSEST_DOOR_OF_TYPE","hash":"0xF82D8F1926A02C3D","params":[["type","Hash"],["x","float"],["y","float"],["z","float"],["locked","BOOL"],["heading","float"],["p6","BOOL"]],"doc":"Hardcoded to not work in multiplayer.\n\nUsed to lock/unlock doors to interior areas of the game.\n\n(Possible) Door Types:\n\nhttps://pastebin.com/9S2m3qA4\n\nHeading is either 1, 0 or -1 in the scripts. Means default closed(0) or opened either into(1) or out(-1) of the interior.\nLocked means that the heading is locked.\np6 is always 0.\n\n225 door types, model names and coords found in stripclub.c4:\nhttps://pastebin.com/gywnbzsH\n\nget door info: https://pastebin.com/i14rbekD"},
{"name":"getStateOfClosestDoorOfType","native":"GET_STATE_OF_CLOSEST_DOOR_OF_TYPE","hash":"0xEDC1A5B84AEF33FF","params":[["type","Hash"],["x","float"],["y","float"],["z","float"]],"outs":[["locked","BOOL",4],["heading","float",5]],"doc":"locked is 0 if no door is found\nlocked is 0 if door is unlocked\nlocked is 1 if door is found and unlocked.\n\n---\nthe locked bool is either 0(unlocked)(false) or 1(locked)(true)"},
{"name":"setLockedUnstreamedInDoorOfType","native":"SET_LOCKED_UNSTREAMED_IN_DOOR_OF_TYPE","hash":"0x9B12F9A24FABEDB0","params":[["modelHash","Hash"],["x","float"],["y","float"],["z","float"],["locked","BOOL"],["xRotMult","float"],["yRotMult","float"],["zRotMult","float"]],"aka":["_DOOR_CONTROL"],"doc":"Hardcoded not to work in multiplayer environments.\nWhen you set locked to 0 the door open and to 1 the door close\n\n```\nsetLockedUnstreamedInDoorOfType(${prop_gate_prison_01}, 1845.0, 2605.0, 45.0, 0, 0.0, 50.0, 0);  //door open\n\nsetLockedUnstreamedInDoorOfType(${prop_gate_prison_01}, 1845.0, 2605.0, 45.0, 1, 0.0, 50.0, 0);  //door close\n```"},
{"name":"playObjectAutoStartAnim","native":"PLAY_OBJECT_AUTO_START_ANIM","hash":"0x006E4B040ED37EC3","params":[["p0","Any"]],"since":1868},
{"name":"addDoorToSystem","native":"ADD_DOOR_TO_SYSTEM","hash":"0x6F8838D03D1DC226","params":[["doorHash","Hash"],["modelHash","Hash"],["x","float"],["y","float"],["z","float"],["p5","BOOL"],["scriptDoor","BOOL"],["isLocal","BOOL"],["p8","Any"]],"doc":"p5 only set to true in single player native scripts.\nIf scriptDoor is true, register the door on the script handler host (note: there's a hardcap on the number of script IDs that can be added to the system at a given time). If scriptDoor and isLocal are both false, the door is considered to be in a \"Persists w/o netobj\" state.\n\ndoor hashes normally look like PROP_[int]_DOOR_[int] for interior doors and PROP_BUILDING_[int]_DOOR_[int] exterior doors but you can just make up your own hash if you want\nAll doors need to be registered with `addDoorToSystem` before they can be manipulated with the door natives and the easiest way to get door models is just find the door in codewalker.\n\nExample: AddDoorToSystem(\"PROP_43_DOOR_0\", \"hei_v_ilev_fh_heistdoor2\", -1456.818, -520.5037, 69.67043, 0, 0, 0)"},
{"name":"removeDoorFromSystem","native":"REMOVE_DOOR_FROM_SYSTEM","hash":"0x464D8E1427156FE4","params":[["doorHash","Hash"],["p1","Any"]]},
{"name":"doorSystemSetDoorState","native":"DOOR_SYSTEM_SET_DOOR_STATE","hash":"0x6BAB9442830C7F53","params":[["doorHash","Hash"],["state","int"],["requestDoor","BOOL"],["forceUpdate","BOOL"]],"aka":["_SET_DOOR_ACCELERATION_LIMIT"]},
{"name":"doorSystemGetDoorState","native":"DOOR_SYSTEM_GET_DOOR_STATE","hash":"0x160AA1B32F6139B8","params":[["doorHash","Hash"]],"ret":"int"},
{"name":"doorSystemGetDoorPendingState","native":"DOOR_SYSTEM_GET_DOOR_PENDING_STATE","hash":"0x4BC2854478F3A749","params":[["doorHash","Hash"]],"ret":"int"},
{"name":"doorSystemSetAutomaticRate","native":"DOOR_SYSTEM_SET_AUTOMATIC_RATE","hash":"0x03C27E13B42A0E82","params":[["doorHash","Hash"],["rate","float"],["requestDoor","BOOL"],["forceUpdate","BOOL"]],"doc":"Includes networking check: ownership vs. or the door itself **isn't** networked.\n`forceUpdate` on true invokes `doorSystemSetDoorState` otherwise requestDoor is unused."},
{"name":"doorSystemSetAutomaticDistance","native":"DOOR_SYSTEM_SET_AUTOMATIC_DISTANCE","hash":"0x9BA001CB45CBF627","params":[["doorHash","Hash"],["distance","float"],["requestDoor","BOOL"],["forceUpdate","BOOL"]],"doc":"`forceUpdate` on true invokes `doorSystemSetDoorState` otherwise requestDoor is unused."},
{"name":"doorSystemSetOpenRatio","native":"DOOR_SYSTEM_SET_OPEN_RATIO","hash":"0xB6E6FBA95C7324AC","params":[["doorHash","Hash"],["ajar","float"],["requestDoor","BOOL"],["forceUpdate","BOOL"]],"aka":["_SET_DOOR_AJAR_ANGLE"],"doc":"Sets the ajar angle of a door.\nRanges from -1.0 to 1.0, and 0.0 is closed / default.\n`forceUpdate` on true invokes `doorSystemSetDoorState` otherwise requestDoor is unused."},
{"name":"doorSystemGetAutomaticDistance","native":"DOOR_SYSTEM_GET_AUTOMATIC_DISTANCE","hash":"0xE851471AEFC3374F","params":[["doorHash","Hash"]],"ret":"float","since":1868,"aka":["_DOOR_SYSTEM_GET_AUTOMATIC_DISTANCE"]},
{"name":"doorSystemGetOpenRatio","native":"DOOR_SYSTEM_GET_OPEN_RATIO","hash":"0x65499865FCA6E5EC","params":[["doorHash","Hash"]],"ret":"float"},
{"name":"doorSystemGetIsSpringRemoved","native":"DOOR_SYSTEM_GET_IS_SPRING_REMOVED","hash":"0x8562FD8AB1E94D39","params":[["doorHash","Hash"]],"ret":"BOOL","na":1,"since":3407},
{"name":"doorSystemSetSpringRemoved","native":"DOOR_SYSTEM_SET_SPRING_REMOVED","hash":"0xC485E07E4F0B7958","params":[["doorHash","Hash"],["removed","BOOL"],["requestDoor","BOOL"],["forceUpdate","BOOL"]],"doc":"Includes networking check: ownership vs. or the door itself **isn't** networked.\n`forceUpdate` on true invokes `doorSystemSetDoorState` otherwise requestDoor is unused."},
{"name":"doorSystemSetHoldOpen","native":"DOOR_SYSTEM_SET_HOLD_OPEN","hash":"0xD9B71952F78A2640","params":[["doorHash","Hash"],["toggle","BOOL"]],"doc":"Includes networking check: ownership vs. or the door itself **isn't** networked."},
{"name":"doorSystemSetDoorOpenForRaces","native":"DOOR_SYSTEM_SET_DOOR_OPEN_FOR_RACES","hash":"0xA85A21582451E951","params":[["doorHash","Hash"],["p1","BOOL"]],"doc":"Some property related to gates. Native name between ```doorSystemSetAutomaticRate``` and ```doorSystemSetDoorState```."},
{"name":"isDoorRegisteredWithSystem","native":"IS_DOOR_REGISTERED_WITH_SYSTEM","hash":"0xC153C43EA202C8C1","params":[["doorHash","Hash"]],"ret":"BOOL","aka":["_DOES_DOOR_EXIST"],"doc":"```\nif (isDoorRegisteredWithSystem(doorHash))\n{\n    removeDoorFromSystem(doorHash);\n}\n```"},
{"name":"isDoorClosed","native":"IS_DOOR_CLOSED","hash":"0xC531EE8A1145A149","params":[["doorHash","Hash"]],"ret":"BOOL"},
{"name":"openAllBarriersForRace","native":"OPEN_ALL_BARRIERS_FOR_RACE","hash":"0xC7F29CA00F46350E","params":[["p0","BOOL"]]},
{"name":"closeAllBarriersForRace","native":"CLOSE_ALL_BARRIERS_FOR_RACE","hash":"0x701FDA1E82076BA4","doc":"Related to its \"Pre-networked state\"?"},
{"name":"doorSystemGetIsPhysicsLoaded","native":"DOOR_SYSTEM_GET_IS_PHYSICS_LOADED","hash":"0xDF97CDD4FC08FD34","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"doorSystemFindExistingDoor","native":"DOOR_SYSTEM_FIND_EXISTING_DOOR","hash":"0x589F80B325CC82C5","params":[["x","float"],["y","float"],["z","float"],["modelHash","Hash"]],"ret":"BOOL","outs":[["outDoorHash","Hash",4]],"doc":"Search radius: 0.5"},
{"name":"isGarageEmpty","native":"IS_GARAGE_EMPTY","hash":"0x90E47239EA1980B8","params":[["garageHash","Hash"],["p1","BOOL"],["p2","int"]],"ret":"BOOL"},
{"name":"isPlayerEntirelyInsideGarage","native":"IS_PLAYER_ENTIRELY_INSIDE_GARAGE","hash":"0x024A60DEB0EA69F0","params":[["garageHash","Hash"],["player","Player"],["p2","float"],["p3","int"]],"ret":"BOOL"},
{"name":"isPlayerPartiallyInsideGarage","native":"IS_PLAYER_PARTIALLY_INSIDE_GARAGE","hash":"0x1761DC5D8471CBAA","params":[["garageHash","Hash"],["player","Player"],["p2","int"]],"ret":"BOOL"},
{"name":"areEntitiesEntirelyInsideGarage","native":"ARE_ENTITIES_ENTIRELY_INSIDE_GARAGE","hash":"0x85B6C850546FDDE2","params":[["garageHash","Hash"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"],["p4","Any"]],"ret":"BOOL"},
{"name":"isAnyEntityEntirelyInsideGarage","native":"IS_ANY_ENTITY_ENTIRELY_INSIDE_GARAGE","hash":"0x673ED815D6E323B7","params":[["garageHash","Hash"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"],["p4","Any"]],"ret":"BOOL"},
{"name":"isObjectEntirelyInsideGarage","native":"IS_OBJECT_ENTIRELY_INSIDE_GARAGE","hash":"0x372EF6699146A1E4","params":[["garageHash","Hash"],["entity","Entity"],["p2","float"],["p3","int"]],"ret":"BOOL","doc":"Despite the name, it does work for any entity type."},
{"name":"isObjectPartiallyInsideGarage","native":"IS_OBJECT_PARTIALLY_INSIDE_GARAGE","hash":"0xF0EED5A6BC7B237A","params":[["garageHash","Hash"],["entity","Entity"],["p2","int"]],"ret":"BOOL","doc":"Despite the name, it does work for any entity type."},
{"name":"clearGarage","native":"CLEAR_GARAGE","hash":"0xDA05194260CDCDF9","params":[["garageHash","Hash"],["isNetwork","BOOL"]],"since":678,"aka":["_CLEAR_GARAGE_AREA"]},
{"name":"clearObjectsInsideGarage","native":"CLEAR_OBJECTS_INSIDE_GARAGE","hash":"0x190428512B240692","params":[["garageHash","Hash"],["vehicles","BOOL"],["peds","BOOL"],["objects","BOOL"],["isNetwork","BOOL"]]},
{"name":"disableTidyingUpInGarage","native":"DISABLE_TIDYING_UP_IN_GARAGE","hash":"0x659F9D71F52843F8","params":[["id","int"],["toggle","BOOL"]],"since":1290,"doc":"Sets a flag. A valid id is 0x157DC10D"},
{"name":"enableSavingInGarage","native":"ENABLE_SAVING_IN_GARAGE","hash":"0xF2E1A7133DD356A6","params":[["garageHash","Hash"],["toggle","BOOL"]]},
{"name":"closeSafehouseGarages","native":"CLOSE_SAFEHOUSE_GARAGES","hash":"0x66A49D021870FE88"},
{"name":"doesObjectOfTypeExistAtCoords","native":"DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS","hash":"0xBFA48E2FF417213F","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["hash","Hash"],["p5","BOOL"]],"ret":"BOOL","doc":"p5 is usually 0."},
{"name":"isPointInAngledArea","native":"IS_POINT_IN_ANGLED_AREA","hash":"0x2A70BAE8883E4C81","params":[["xPos","float"],["yPos","float"],["zPos","float"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["debug","BOOL"],["includeZ","BOOL"]],"ret":"BOOL","doc":"An angled area is an X-Z oriented rectangle with three parameters:\n\n```\n1. origin: the mid-point along a base edge of the rectangle;\n2. extent: the mid-point of opposite base edge on the other Z;\n```\n\n3. width: the length of the base edge.\n\nThe oriented rectangle can then be derived from the direction of the two points (``norm(origin - extent)``), its orthonormal, and the width."},
{"name":"setObjectAllowLowLodBuoyancy","native":"SET_OBJECT_ALLOW_LOW_LOD_BUOYANCY","hash":"0x4D89D607CB3DD1D2","params":[["object","Object"],["toggle","BOOL"]],"aka":["_SET_OBJECT_CAN_CLIMB_ON"],"doc":"Overrides the climbing/blocking flags of the object, used in the native scripts mostly for \"prop_dock_bouy_*\""},
{"name":"setObjectPhysicsParams","native":"SET_OBJECT_PHYSICS_PARAMS","hash":"0xF6DF6E90DE7DF90F","params":[["object","Object"],["weight","float"],["p2","float","seems to be weight and gravity related. Higher value makes the obj fall faster. Very sensitive?"],["p3","float","seems similar to p2"],["p4","float","makes obj fall slower the higher the value"],["p5","float","similar to p4"],["gravity","float"],["p7","float"],["p8","float"],["p9","float"],["p10","float"],["buoyancy","float"]],"doc":"Adjust the physics parameters of a prop, or otherwise known as \"object\". This is useful for simulated gravity.\n\nOther parameters seem to be unknown."},
{"name":"getObjectFragmentDamageHealth","native":"GET_OBJECT_FRAGMENT_DAMAGE_HEALTH","hash":"0xB6FBFD079B8D0596","params":[["p0","Any"],["p1","BOOL"]],"ret":"float"},
{"name":"setActivateObjectPhysicsAsSoonAsItIsUnfrozen","native":"SET_ACTIVATE_OBJECT_PHYSICS_AS_SOON_AS_IT_IS_UNFROZEN","hash":"0x406137F8EF90EAF5","params":[["object","Object"],["toggle","BOOL"]]},
{"name":"isAnyObjectNearPoint","native":"IS_ANY_OBJECT_NEAR_POINT","hash":"0x397DC58FF00298D1","params":[["x","float"],["y","float"],["z","float"],["range","float"],["p4","BOOL"]],"ret":"BOOL"},
{"name":"isObjectNearPoint","native":"IS_OBJECT_NEAR_POINT","hash":"0x8C90FE4B381BA60A","params":[["objectHash","Hash"],["x","float"],["y","float"],["z","float"],["range","float"]],"ret":"BOOL"},
{"name":"removeObjectHighDetailModel","native":"REMOVE_OBJECT_HIGH_DETAIL_MODEL","hash":"0x4A39DB43E47CF3AA","params":[["object","Object"]]},
{"name":"breakObjectFragmentChild","native":"BREAK_OBJECT_FRAGMENT_CHILD","hash":"0xE7E4C198B0185900","params":[["p0","Object"],["p1","Any"],["p2","BOOL"]]},
{"name":"damageObjectFragmentChild","native":"DAMAGE_OBJECT_FRAGMENT_CHILD","hash":"0xE05F6AEEFEB0BB02","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"since":1180},
{"name":"fixObjectFragment","native":"FIX_OBJECT_FRAGMENT","hash":"0xF9C1681347C8BD15","params":[["object","Object"]]},
{"name":"trackObjectVisibility","native":"TRACK_OBJECT_VISIBILITY","hash":"0xB252BC036B525623","params":[["object","Object"]]},
{"name":"isObjectVisible","native":"IS_OBJECT_VISIBLE","hash":"0x8B32ACE6326A7546","params":[["object","Object"]],"ret":"BOOL"},
{"name":"setObjectIsSpecialGolfball","native":"SET_OBJECT_IS_SPECIAL_GOLFBALL","hash":"0xC6033D32241F6FB5","params":[["object","Object"],["toggle","BOOL"]]},
{"name":"setObjectTakesDamageFromCollidingWithBuildings","native":"SET_OBJECT_TAKES_DAMAGE_FROM_COLLIDING_WITH_BUILDINGS","hash":"0xEB6F1A9B5510A5D2","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"allowDamageEventsForNonNetworkedObjects","native":"ALLOW_DAMAGE_EVENTS_FOR_NON_NETWORKED_OBJECTS","hash":"0xABDABF4E1EDECBFA","params":[["value","BOOL"]],"since":1365,"aka":["_SET_UNK_GLOBAL_BOOL_RELATED_TO_DAMAGE"]},
{"name":"setCutscenesWeaponFlashlightOnThisFrame","native":"SET_CUTSCENES_WEAPON_FLASHLIGHT_ON_THIS_FRAME","hash":"0xBCE595371A5FBAAF","params":[["object","Object"],["toggle","BOOL"]],"aka":["_SET_CREATE_WEAPON_OBJECT_LIGHT_SOURCE"],"doc":"Requires a component_at_*_flsh to be attached to the weapon object"},
{"name":"getRayfireMapObject","native":"GET_RAYFIRE_MAP_OBJECT","hash":"0xB48FCED898292E52","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["name","string"]],"ret":"Object","aka":["_GET_DES_OBJECT"],"doc":"Example:\n\n```\ngetRayfireMapObject(-809.9619750976562, 170.919, 75.7406997680664, 3.0, \"des_tvsmash\");\n```"},
{"name":"setStateOfRayfireMapObject","native":"SET_STATE_OF_RAYFIRE_MAP_OBJECT","hash":"0x5C29F698D404C5E1","params":[["object","Object"],["state","int"]],"aka":["_SET_DES_OBJECT_STATE"],"doc":"Defines the state of a destructible object.\nUse the `getRayfireMapObject` native to find an object's handle with its name / coords.\nState 2 == object just spawned\nState 4 == Beginning of the animation\nState 6 == Start animation\nState 9 == End of the animation"},
{"name":"getStateOfRayfireMapObject","native":"GET_STATE_OF_RAYFIRE_MAP_OBJECT","hash":"0x899BA936634A322E","params":[["object","Object"]],"ret":"int","aka":["_GET_DES_OBJECT_STATE"],"doc":"Get a destructible object's state.\nSubstract 1 to get the real state.\nSee `setStateOfRayfireMapObject` to see the different states\nFor example, if the object just spawned (state 2), the native will return 3."},
{"name":"doesRayfireMapObjectExist","native":"DOES_RAYFIRE_MAP_OBJECT_EXIST","hash":"0x52AF537A0C5B8AAD","params":[["object","Object"]],"ret":"BOOL","aka":["_DOES_DES_OBJECT_EXIST"],"doc":"Returns true if a destructible object with this handle exists, false otherwise."},
{"name":"getRayfireMapObjectAnimPhase","native":"GET_RAYFIRE_MAP_OBJECT_ANIM_PHASE","hash":"0x260EE4FDBDF4DB01","params":[["object","Object"]],"ret":"float","aka":["_GET_DES_OBJECT_ANIM_PROGRESS"],"doc":"`object`: The des-object handle to get the animation progress from.\nReturn value is a float between 0.0 and 1.0, 0.0 is the beginning of the animation, 1.0 is the end. Value resets to 0.0 instantly after reaching 1.0."},
{"name":"createPickup","native":"CREATE_PICKUP","hash":"0xFBA08C503DD5FA58","params":[["pickupHash","Hash"],["posX","float"],["posY","float"],["posZ","float"],["p4","int"],["value","int"],["p6","BOOL"],["modelHash","Hash"]],"ret":"Pickup","doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"createPickupRotate","native":"CREATE_PICKUP_ROTATE","hash":"0x891804727E0A98B7","params":[["pickupHash","Hash"],["posX","float"],["posY","float"],["posZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["flag","int"],["amount","int"],["p9","Any"],["p10","BOOL"],["modelHash","Hash"]],"ret":"Pickup","doc":"flags:\n8 (1 << 3): place on ground\n512 (1 << 9): spin around\n\nFull list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"forcePickupRotateFaceUp","native":"FORCE_PICKUP_ROTATE_FACE_UP","hash":"0x394CD08E31313C28","since":944},
{"name":"setCustomPickupWeaponHash","native":"SET_CUSTOM_PICKUP_WEAPON_HASH","hash":"0x826D1EE4D1CAFC78","params":[["pickupHash","Hash"],["pickup","Pickup"]],"since":505},
{"name":"createAmbientPickup","native":"CREATE_AMBIENT_PICKUP","hash":"0x673966A0C0FD7171","params":[["pickupHash","Hash"],["posX","float"],["posY","float"],["posZ","float"],["flags","int"],["value","int"],["modelHash","Hash"],["p7","BOOL"],["p8","BOOL"]],"ret":"Object","doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"createNonNetworkedAmbientPickup","native":"CREATE_NON_NETWORKED_AMBIENT_PICKUP","hash":"0x9C93764223E29C50","params":[["pickupHash","Hash"],["posX","float"],["posY","float"],["posZ","float"],["flags","int"],["value","int"],["modelHash","Hash"],["p7","BOOL"],["p8","BOOL"]],"ret":"Object","since":2372,"aka":["_CREATE_NON_NETWORKED_AMBIENT_PICKUP"]},
{"name":"blockPlayersForAmbientPickup","native":"BLOCK_PLAYERS_FOR_AMBIENT_PICKUP","hash":"0x1E3F1B1B891A2AAA","params":[["p0","Any"],["p1","Any"]],"since":573},
{"name":"createPortablePickup","native":"CREATE_PORTABLE_PICKUP","hash":"0x2EAF1FDB2FB55698","params":[["pickupHash","Hash"],["x","float"],["y","float"],["z","float"],["placeOnGround","BOOL"],["modelHash","Hash"]],"ret":"Object","doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"createNonNetworkedPortablePickup","native":"CREATE_NON_NETWORKED_PORTABLE_PICKUP","hash":"0x125494B98A21AAF7","params":[["pickupHash","Hash"],["x","float"],["y","float"],["z","float"],["placeOnGround","BOOL"],["modelHash","Hash"]],"ret":"Object","aka":["_CREATE_PORTABLE_PICKUP_2"],"doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"attachPortablePickupToPed","native":"ATTACH_PORTABLE_PICKUP_TO_PED","hash":"0x8DC39368BDD57755","params":[["pickupObject","Object"],["ped","Ped"]]},
{"name":"detachPortablePickupFromPed","native":"DETACH_PORTABLE_PICKUP_FROM_PED","hash":"0xCF463D1E9A0AECB1","params":[["pickupObject","Object"]]},
{"name":"forcePortablePickupLastAccessiblePositionSetting","native":"FORCE_PORTABLE_PICKUP_LAST_ACCESSIBLE_POSITION_SETTING","hash":"0x5CE2E45A5CE2E45A","params":[["object","Object"]],"since":2545},
{"name":"hidePortablePickupWhenDetached","native":"HIDE_PORTABLE_PICKUP_WHEN_DETACHED","hash":"0x867458251D47CCB2","params":[["pickupObject","Object"],["toggle","BOOL"]],"since":463,"aka":["_HIDE_PICKUP"]},
{"name":"setMaxNumPortablePickupsCarriedByPlayer","native":"SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER","hash":"0x0BF3B3BD47D79C08","params":[["modelHash","Hash"],["number","int"]]},
{"name":"setLocalPlayerCanCollectPortablePickups","native":"SET_LOCAL_PLAYER_CAN_COLLECT_PORTABLE_PICKUPS","hash":"0x78857FC65CADB909","params":[["toggle","BOOL"]]},
{"name":"getSafePickupCoords","native":"GET_SAFE_PICKUP_COORDS","hash":"0x6E16BC2503FF1FF0","params":[["x","float"],["y","float"],["z","float"],["p3","float"],["p4","float"]],"ret":"Vector3"},
{"name":"addExtendedPickupProbeArea","native":"ADD_EXTENDED_PICKUP_PROBE_AREA","hash":"0xD4A7A435B3710D05","params":[["x","float"],["y","float"],["z","float"],["radius","float"]],"since":1290,"doc":"Adds an area that seems to be related to pickup physics behavior.\nMax amount of areas is 10. Only works in multiplayer."},
{"name":"clearExtendedPickupProbeAreas","native":"CLEAR_EXTENDED_PICKUP_PROBE_AREAS","hash":"0xB7C6D80FB371659A","since":1290,"doc":"Clears all areas created by `addExtendedPickupProbeArea`"},
{"name":"getPickupCoords","native":"GET_PICKUP_COORDS","hash":"0x225B8B35C88029B3","params":[["pickup","Pickup"]],"ret":"Vector3"},
{"name":"suppressPickupSoundForPickup","native":"SUPPRESS_PICKUP_SOUND_FOR_PICKUP","hash":"0x8DCA505A5C196F05","params":[["p0","Any"],["p1","Any"]],"since":1180},
{"name":"removeAllPickupsOfType","native":"REMOVE_ALL_PICKUPS_OF_TYPE","hash":"0x27F9D613092159CF","params":[["pickupHash","Hash"]],"doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"hasPickupBeenCollected","native":"HAS_PICKUP_BEEN_COLLECTED","hash":"0x80EC48E6679313F9","params":[["pickup","Pickup"]],"ret":"BOOL"},
{"name":"removePickup","native":"REMOVE_PICKUP","hash":"0x3288D8ACAECD2AB2","params":[["pickup","Pickup"]]},
{"name":"createMoneyPickups","native":"CREATE_MONEY_PICKUPS","hash":"0x0589B5E791CE9B2B","params":[["x","float","The X-component of the world position to spawn the money pickups at."],["y","float","The Y-component of the world position to spawn the money pickups at."],["z","float","The Z-component of the world position to spawn the money pickups at."],["value","int","The combined value of the pickups (in dollars)."],["amount","int","The number of pickups to spawn."],["model","Hash","The model to use, or 0 for default money model."]],"doc":"Spawns one or more money pickups.\n\nExample:\n\n```\ncreateMoneyPickups(x, y, z, 1000, 3, 0x684a97ae);\n```\n\nSpawns 3 spray cans that'll collectively give $1000 when picked up. (Three spray cans, each giving $334, $334, $332 = $1000).\n\n---\n\nMax is 2000 in MP. So if you put the amount to 20, but the value to $400,000 eg. They will only be able to pickup 20 - $2,000 bags. So, $40,000"},
{"name":"doesPickupExist","native":"DOES_PICKUP_EXIST","hash":"0xAFC1CA75AD4074D1","params":[["pickup","Pickup"]],"ret":"BOOL"},
{"name":"doesPickupObjectExist","native":"DOES_PICKUP_OBJECT_EXIST","hash":"0xD9EFB6DBF7DAAEA3","params":[["pickupObject","Object"]],"ret":"BOOL"},
{"name":"getPickupObject","native":"GET_PICKUP_OBJECT","hash":"0x5099BC55630B25AE","params":[["pickup","Pickup"]],"ret":"Object"},
{"name":"isObjectAPickup","native":"IS_OBJECT_A_PICKUP","hash":"0xFC481C641EBBD27D","params":[["object","Object"]],"ret":"BOOL","since":1365},
{"name":"isObjectAPortablePickup","native":"IS_OBJECT_A_PORTABLE_PICKUP","hash":"0x0378C08504160D0D","params":[["object","Object"]],"ret":"BOOL"},
{"name":"doesPickupOfTypeExistInArea","native":"DOES_PICKUP_OF_TYPE_EXIST_IN_AREA","hash":"0xF9C36251F6E48E33","params":[["pickupHash","Hash"],["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL","aka":["_IS_PICKUP_WITHIN_RADIUS"],"doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"setPickupRegenerationTime","native":"SET_PICKUP_REGENERATION_TIME","hash":"0x78015C9B4B3ECC9D","params":[["pickup","Pickup"],["duration","int"]]},
{"name":"forcePickupRegenerate","native":"FORCE_PICKUP_REGENERATE","hash":"0x758A5C1B3B1E1990","params":[["p0","Any"]],"since":1011},
{"name":"setPlayerPermittedToCollectPickupsOfType","native":"SET_PLAYER_PERMITTED_TO_COLLECT_PICKUPS_OF_TYPE","hash":"0x616093EC6B139DD9","params":[["player","Player"],["pickupHash","Hash"],["toggle","BOOL"]],"aka":["_TOGGLE_USE_PICKUPS_FOR_PLAYER"],"doc":"Disabling/enabling a player from getting pickups. From the scripts:\n\n```\nsetPlayerPermittedToCollectPickupsOfType(playerId(), ${pickup_portable_package}, 0);\nsetPlayerPermittedToCollectPickupsOfType(playerId(), ${pickup_portable_package}, 0);\nsetPlayerPermittedToCollectPickupsOfType(playerId(), ${pickup_portable_package}, 1);\nsetPlayerPermittedToCollectPickupsOfType(playerId(), ${pickup_portable_package}, 0);\nsetPlayerPermittedToCollectPickupsOfType(playerId(), ${pickup_armour_standard}, 0);\nsetPlayerPermittedToCollectPickupsOfType(playerId(), ${pickup_armour_standard}, 1);\n```\n\nFull list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"setLocalPlayerPermittedToCollectPickupsWithModel","native":"SET_LOCAL_PLAYER_PERMITTED_TO_COLLECT_PICKUPS_WITH_MODEL","hash":"0x88EAEC617CD26926","params":[["modelHash","Hash"],["toggle","BOOL"]],"aka":["_SET_LOCAL_PLAYER_CAN_USE_PICKUPS_WITH_THIS_MODEL"],"doc":"Maximum amount of pickup models that can be disallowed is 30."},
{"name":"allowAllPlayersToCollectPickupsOfType","native":"ALLOW_ALL_PLAYERS_TO_COLLECT_PICKUPS_OF_TYPE","hash":"0xFDC07C58E8AAB715","params":[["pickupHash","Hash"]],"since":1734,"doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"setTeamPickupObject","native":"SET_TEAM_PICKUP_OBJECT","hash":"0x53E0DF1A2A3CF0CA","params":[["object","Object"],["p1","Any"],["p2","BOOL"]]},
{"name":"preventCollectionOfPortablePickup","native":"PREVENT_COLLECTION_OF_PORTABLE_PICKUP","hash":"0x92AEFB5F6E294023","params":[["object","Object"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"setPickupObjectGlowWhenUncollectable","native":"SET_PICKUP_OBJECT_GLOW_WHEN_UNCOLLECTABLE","hash":"0x27F248C3FEBFAAD3","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":2372},
{"name":"setPickupGlowDisabled","native":"_SET_PICKUP_GLOW_DISABLED","hash":"0x08BD8BA5BDE2C2FA","params":[["pickup","Pickup"],["toggle","BOOL"]],"na":1,"since":3407},
{"name":"setPickupGlowOffset","native":"SET_PICKUP_GLOW_OFFSET","hash":"0x0596843B34B95CE5","params":[["pickup","Pickup"],["p1","float"]],"since":505,"doc":"p1 is always 0.51. This native is called before `setPickupRegenerationTime` in all occurances."},
{"name":"setPickupObjectGlowOffset","native":"SET_PICKUP_OBJECT_GLOW_OFFSET","hash":"0xA08FE5E49BDC39DD","params":[["pickup","Pickup"],["p1","float"],["p2","BOOL"]],"doc":"p1 is always -0.2 in scripts and p2 is always true in scripts."},
{"name":"setObjectGlowInSameTeam","native":"SET_OBJECT_GLOW_IN_SAME_TEAM","hash":"0x62454A641B41F3C5","params":[["pickup","Pickup"]],"since":678},
{"name":"setPickupObjectArrowMarker","native":"SET_PICKUP_OBJECT_ARROW_MARKER","hash":"0x39A5FB7EAF150840","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":678},
{"name":"allowPickupArrowMarkerWhenUncollectable","native":"ALLOW_PICKUP_ARROW_MARKER_WHEN_UNCOLLECTABLE","hash":"0x834344A414C7C85D","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":2372},
{"name":"getDefaultAmmoForWeaponPickup","native":"GET_DEFAULT_AMMO_FOR_WEAPON_PICKUP","hash":"0xDB41D07A45A6D4B7","params":[["pickupHash","Hash"]],"ret":"int"},
{"name":"setPickupGenerationRangeMultiplier","native":"SET_PICKUP_GENERATION_RANGE_MULTIPLIER","hash":"0x318516E02DE3ECE2","params":[["multiplier","float"]]},
{"name":"getPickupGenerationRangeMultiplier","native":"GET_PICKUP_GENERATION_RANGE_MULTIPLIER","hash":"0xB3ECA65C7317F174","ret":"float","since":944,"aka":["_GET_PICKUP_GENERATION_RANGE_MULTIPLIER"]},
{"name":"setOnlyAllowAmmoCollectionWhenLow","native":"SET_ONLY_ALLOW_AMMO_COLLECTION_WHEN_LOW","hash":"0x31F924B53EADDF65","params":[["p0","BOOL"]]},
{"name":"setPickupUncollectable","native":"SET_PICKUP_UNCOLLECTABLE","hash":"0x1C1B69FAE509BA97","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":757},
{"name":"setPickupTransparentWhenUncollectable","native":"SET_PICKUP_TRANSPARENT_WHEN_UNCOLLECTABLE","hash":"0x858EC9FD25DE04AA","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":757},
{"name":"setPickupHiddenWhenUncollectable","native":"SET_PICKUP_HIDDEN_WHEN_UNCOLLECTABLE","hash":"0x3ED2B83AB2E82799","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":757},
{"name":"setPickupObjectTransparentWhenUncollectable","native":"SET_PICKUP_OBJECT_TRANSPARENT_WHEN_UNCOLLECTABLE","hash":"0x8881C98A31117998","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":678},
{"name":"setPickupObjectAlphaWhenTransparent","native":"SET_PICKUP_OBJECT_ALPHA_WHEN_TRANSPARENT","hash":"0x8CFF648FBD7330F1","params":[["p0","int"]],"since":757,"doc":"p0 is either 0 or 50 in scripts."},
{"name":"setPortablePickupPersist","native":"SET_PORTABLE_PICKUP_PERSIST","hash":"0x46F3ADD1E2D5BAF2","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":877},
{"name":"allowPortablePickupToMigrateToNonParticipants","native":"ALLOW_PORTABLE_PICKUP_TO_MIGRATE_TO_NON_PARTICIPANTS","hash":"0x641F272B52E2F0F8","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":877},
{"name":"forceActivatePhysicsOnUnfixedPickup","native":"FORCE_ACTIVATE_PHYSICS_ON_UNFIXED_PICKUP","hash":"0x4C134B4DF76025D0","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":1180},
{"name":"allowPickupByNoneParticipant","native":"ALLOW_PICKUP_BY_NONE_PARTICIPANT","hash":"0xAA059C615DE9DD03","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":1180},
{"name":"suppressPickupRewardType","native":"SUPPRESS_PICKUP_REWARD_TYPE","hash":"0xF92099527DB8E2A7","params":[["rewardType","int"],["suppress","BOOL"]]},
{"name":"clearAllPickupRewardTypeSuppression","native":"CLEAR_ALL_PICKUP_REWARD_TYPE_SUPPRESSION","hash":"0xA2C1F5E92AFE49ED"},
{"name":"clearPickupRewardTypeSuppression","native":"CLEAR_PICKUP_REWARD_TYPE_SUPPRESSION","hash":"0x762DB2D380B48D04","params":[["rewardType","int"]]},
{"name":"renderFakePickupGlow","native":"RENDER_FAKE_PICKUP_GLOW","hash":"0x3430676B11CDF21D","params":[["x","float"],["y","float"],["z","float"],["colorIndex","int"]],"aka":["_HIGHLIGHT_PLACEMENT_COORDS"],"doc":"draws circular marker at pos\n-1 = none\n0 = red\n1 = green\n2 = blue\n3 = green larger\n4 = nothing\n5 = green small"},
{"name":"setPickupObjectCollectableInVehicle","native":"SET_PICKUP_OBJECT_COLLECTABLE_IN_VEHICLE","hash":"0x7813E8B8C4AE4799","params":[["pickup","Pickup"]],"since":1734},
{"name":"setPickupTrackDamageEvents","native":"SET_PICKUP_TRACK_DAMAGE_EVENTS","hash":"0xBFFE53AE7E67FCDC","params":[["pickup","Pickup"],["toggle","BOOL"]],"since":1290},
{"name":"setEntityFlagSuppressShadow","native":"SET_ENTITY_FLAG_SUPPRESS_SHADOW","hash":"0xD05A3241B9A86F19","params":[["entity","Entity"],["toggle","BOOL"]],"since":1180,"doc":"Sets entity+38 to C (when false) or 0xFF3f (when true)"},
{"name":"setEntityFlagRenderSmallShadow","native":"SET_ENTITY_FLAG_RENDER_SMALL_SHADOW","hash":"0xB2D0BDE54F0E8E5A","params":[["object","Object"],["toggle","BOOL"]]},
{"name":"getWeaponTypeFromPickupType","native":"GET_WEAPON_TYPE_FROM_PICKUP_TYPE","hash":"0x08F96CA6C551AD51","params":[["pickupHash","Hash"]],"ret":"Hash","aka":["_GET_WEAPON_HASH_FROM_PICKUP"],"doc":"Full list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"getPickupTypeFromWeaponHash","native":"GET_PICKUP_TYPE_FROM_WEAPON_HASH","hash":"0xD6429A016084F1A5","params":[["weaponHash","Hash"]],"ret":"Hash","since":1290,"aka":["_GET_PICKUP_HASH_FROM_WEAPON"],"doc":"Returns the pickup hash for the given weapon hash"},
{"name":"isPickupWeaponObjectValid","native":"IS_PICKUP_WEAPON_OBJECT_VALID","hash":"0x11D1E53A726891FE","params":[["object","Object"]],"ret":"BOOL"},
{"name":"getObjectTintIndex","native":"GET_OBJECT_TINT_INDEX","hash":"0xE84EB93729C5F36A","params":[["object","Object"]],"ret":"int","since":757,"aka":["_GET_OBJECT_TEXTURE_VARIATION"]},
{"name":"setObjectTintIndex","native":"SET_OBJECT_TINT_INDEX","hash":"0x971DA0055324D033","params":[["object","Object"],["tintIndex","int"]],"aka":["_SET_OBJECT_TEXTURE_VARIANT","_SET_OBJECT_TEXTURE_VARIATION"]},
{"name":"setTintIndexClosestBuildingOfType","native":"SET_TINT_INDEX_CLOSEST_BUILDING_OF_TYPE","hash":"0xF12E33034D887F66","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["modelHash","Hash"],["tintIndex","int"]],"ret":"BOOL","since":1103,"aka":["_SET_TEXTURE_VARIATION_OF_CLOSEST_OBJECT_OF_TYPE"]},
{"name":"setPropTintIndex","native":"SET_PROP_TINT_INDEX","hash":"0x31574B1B41268673","params":[["p0","Any"],["p1","Any"]],"since":2189},
{"name":"setPropLightColor","native":"SET_PROP_LIGHT_COLOR","hash":"0x5F048334B4A4E774","params":[["object","Object"],["p1","BOOL"],["r","int"],["g","int"],["b","int"]],"ret":"BOOL","since":1493,"aka":["_SET_OBJECT_LIGHT_COLOR"]},
{"name":"isPropLightOverriden","native":"IS_PROP_LIGHT_OVERRIDEN","hash":"0xADF084FB8F075D06","params":[["object","Object"]],"ret":"BOOL","since":1604},
{"name":"setObjectIsVisibleInMirrors","native":"SET_OBJECT_IS_VISIBLE_IN_MIRRORS","hash":"0x3B2FD68DB5F8331C","params":[["object","Object"],["toggle","BOOL"]],"since":757,"aka":["_SET_OBJECT_COLOUR"]},
{"name":"setObjectSpeedBoostAmount","native":"SET_OBJECT_SPEED_BOOST_AMOUNT","hash":"0x96EE0EBA0163DF80","params":[["object","Object"],["p1","Any"]],"since":791,"aka":["_SET_OBJECT_STUNT_PROP_SPEEDUP"]},
{"name":"setObjectSpeedBoostDuration","native":"SET_OBJECT_SPEED_BOOST_DURATION","hash":"0xDF6CA0330F2E737B","params":[["object","Object"],["duration","float"]],"since":791,"aka":["_SET_OBJECT_STUNT_PROP_DURATION"]},
{"name":"convertOldPickupTypeToNew","native":"CONVERT_OLD_PICKUP_TYPE_TO_NEW","hash":"0x5EAAD83F8CFB4575","params":[["pickupHash","Hash"]],"ret":"Hash","aka":["_GET_PICKUP_HASH"],"doc":"returns pickup hash.\n\nFull list of pickup types by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pickupTypes.json"},
{"name":"setForceObjectThisFrame","native":"SET_FORCE_OBJECT_THIS_FRAME","hash":"0xF538081986E49E9D","params":[["x","float"],["y","float"],["z","float"],["p3","float"]]},
{"name":"onlyCleanUpObjectWhenOutOfRange","native":"ONLY_CLEAN_UP_OBJECT_WHEN_OUT_OF_RANGE","hash":"0xADBE4809F19F927A","params":[["object","Object"]],"aka":["_MARK_OBJECT_FOR_DELETION"]},
{"name":"setDisableCollisionsBetweenCarsAndCarParachute","native":"SET_DISABLE_COLLISIONS_BETWEEN_CARS_AND_CAR_PARACHUTE","hash":"0x8CAAB2BD3EA58BD4","params":[["p0","Any"]],"since":1011},
{"name":"setProjectilesShouldExplodeOnContact","native":"SET_PROJECTILES_SHOULD_EXPLODE_ON_CONTACT","hash":"0x63ECF581BC70E363","params":[["entity","Entity"],["p1","Any"]],"since":1365},
{"name":"setDriveArticulatedJoint","native":"SET_DRIVE_ARTICULATED_JOINT","hash":"0x911024442F4898F0","params":[["object","Object"],["toggle","BOOL"],["p2","int"]],"since":1604,"aka":["_SET_ENABLE_ARENA_PROP_PHYSICS"],"doc":"Activate the physics to: \"xs_prop_arena_{flipper,wall,bollard,turntable,pit}\""},
{"name":"setDriveArticulatedJointWithInflictor","native":"SET_DRIVE_ARTICULATED_JOINT_WITH_INFLICTOR","hash":"0xB20834A7DD3D8896","params":[["object","Object"],["toggle","BOOL"],["p2","int"],["ped","Ped"]],"since":1604,"aka":["_SET_ENABLE_ARENA_PROP_PHYSICS_ON_PED"]},
{"name":"setObjectIsAPressurePlate","native":"SET_OBJECT_IS_A_PRESSURE_PLATE","hash":"0x734E1714D077DA9A","params":[["object","Object"],["toggle","BOOL"]],"since":1604},
{"name":"setWeaponImpactsApplyGreaterForce","native":"SET_WEAPON_IMPACTS_APPLY_GREATER_FORCE","hash":"0x1A6CBB06E2D0D79D","params":[["object","Object"],["p1","BOOL"]],"since":1604},
{"name":"getIsArticulatedJointAtMinAngle","native":"GET_IS_ARTICULATED_JOINT_AT_MIN_ANGLE","hash":"0x43C677F1E1158005","params":[["object","Object"],["p1","Any"]],"ret":"BOOL","since":1604,"aka":["_GET_IS_ARENA_PROP_PHYSICS_DISABLED"]},
{"name":"getIsArticulatedJointAtMaxAngle","native":"GET_IS_ARTICULATED_JOINT_AT_MAX_ANGLE","hash":"0x3BD770D281982DB5","params":[["p0","Any"],["p1","Any"]],"ret":"BOOL","since":1604},
{"name":"setIsObjectArticulated","native":"SET_IS_OBJECT_ARTICULATED","hash":"0x1C57C94A6446492A","params":[["object","Object"],["toggle","BOOL"]],"since":1604},
{"name":"setIsObjectBall","native":"SET_IS_OBJECT_BALL","hash":"0xB5B7742424BD4445","params":[["object","Object"],["toggle","BOOL"]],"since":1604}
]},
{"id":"PAD","title":"Controls","doc":"Player input: reading and disabling control actions, vibration, look inversion.","natives":[
{"name":"isControlEnabled","native":"IS_CONTROL_ENABLED","hash":"0x1CEA6BFDF248E5D9","params":[["control","int"],["action","int"]],"ret":"BOOL","doc":"control: 0: PLAYER_CONTROL, 1: CAMERA_CONTROL, 2: FRONTEND_CONTROL\nFor more info, see https://docs.fivem.net/docs/game-references/controls/"},
{"name":"isControlPressed","native":"IS_CONTROL_PRESSED","hash":"0xF3A21BCD95725A4A","params":[["control","int"],["action","int"]],"ret":"BOOL","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}],"doc":"Returns whether a control is currently pressed.\ncontrol: see `isControlEnabled`"},
{"name":"isControlReleased","native":"IS_CONTROL_RELEASED","hash":"0x648EE3E7F38877DD","params":[["control","int"],["action","int"]],"ret":"BOOL","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `true`, a control at rest *is* released."}],"doc":"Returns whether a control is currently _not_ pressed.\ncontrol: see `isControlEnabled`"},
{"name":"isControlJustPressed","native":"IS_CONTROL_JUST_PRESSED","hash":"0x580417101DDB492F","params":[["control","int"],["action","int"]],"ret":"BOOL","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}],"doc":"Returns whether a control was newly pressed since the last check.\ncontrol: see `isControlEnabled`"},
{"name":"isControlJustReleased","native":"IS_CONTROL_JUST_RELEASED","hash":"0x50F940259D3841E6","params":[["control","int"],["action","int"]],"ret":"BOOL","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}],"doc":"Returns whether a control was newly released since the last check.\ncontrol: see `isControlEnabled`"},
{"name":"isControlHeldDown","native":"_IS_CONTROL_HELD_DOWN","hash":"0xE9CB8C56E90D5079","params":[["control","int"],["action","int"],["duration","int"]],"ret":"BOOL","na":1,"since":3407},
{"name":"getControlValue","native":"GET_CONTROL_VALUE","hash":"0xD95E79E8686D2C27","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"int","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `127`, the value of a control at rest."}]},
{"name":"getControlNormal","native":"GET_CONTROL_NORMAL","hash":"0xEC3C9B8D5327B563","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"float","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `0.0`, or `0.5`, the centre of the screen, for the two cursor axes."}],"doc":"Returns the value of `getControlValue` normalized (i.e. a real number value between -1 and 1)"},
{"name":"setUseAdjustedMouseCoords","native":"SET_USE_ADJUSTED_MOUSE_COORDS","hash":"0x5B73C77D9EB66E24","params":[["toggle","BOOL"]]},
{"name":"getControlUnboundNormal","native":"GET_CONTROL_UNBOUND_NORMAL","hash":"0x5B84D09CEC5209C5","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"float","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `0.0`, or `0.5`, the centre of the screen, for the two cursor axes."}],"doc":"Seems to return values between -1 and 1 for controls like gas and steering."},
{"name":"setControlValueNextFrame","native":"SET_CONTROL_VALUE_NEXT_FRAME","hash":"0xE8A25867FBA3B05E","params":[["control","int","see `isControlEnabled`"],["action","int"],["value","float"]],"ret":"BOOL","aka":["_SET_CONTROL_NORMAL"],"doc":"This is for simulating player input.\nvalue is a float value from 0 - 1"},
{"name":"isDisabledControlPressed","native":"IS_DISABLED_CONTROL_PRESSED","hash":"0xE2587F8CBBD87B1D","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"BOOL","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}]},
{"name":"isDisabledControlReleased","native":"IS_DISABLED_CONTROL_RELEASED","hash":"0xFB6C4072E9A32E92","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"BOOL","since":757,"notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `true`, a control at rest *is* released."}]},
{"name":"isDisabledControlJustPressed","native":"IS_DISABLED_CONTROL_JUST_PRESSED","hash":"0x91AEF906BCA88877","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"BOOL","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}]},
{"name":"isDisabledControlJustReleased","native":"IS_DISABLED_CONTROL_JUST_RELEASED","hash":"0x305C8DCD79DA8B0F","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"BOOL","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}]},
{"name":"getDisabledControlNormal","native":"GET_DISABLED_CONTROL_NORMAL","hash":"0x11E65974A982637C","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"float","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `0.0`, or `0.5`, the centre of the screen, for the two cursor axes."}]},
{"name":"getDisabledControlUnboundNormal","native":"GET_DISABLED_CONTROL_UNBOUND_NORMAL","hash":"0x4F8A26A890FD62FB","params":[["control","int","see `isControlEnabled`"],["action","int"]],"ret":"float","notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `0.0`, or `0.5`, the centre of the screen, for the two cursor axes."}],"doc":"The \"disabled\" variant of `getControlUnboundNormal`."},
{"name":"getControlHowLongAgo","native":"GET_CONTROL_HOW_LONG_AGO","hash":"0xD7D22F5592AED8BA","params":[["control","int","see `isControlEnabled`"]],"ret":"int","aka":["_GET_MS_SINCE_LAST_INPUT"],"notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns the time elapsed since LS:MP took the input."}],"doc":"Returns time in ms since last input."},
{"name":"isUsingKeyboardAndMouse","native":"IS_USING_KEYBOARD_AND_MOUSE","hash":"0xA571D46727E2B718","params":[["control","int","unused parameter"]],"ret":"BOOL","aka":["_GET_LAST_INPUT_METHOD","_IS_INPUT_DISABLED","_IS_USING_KEYBOARD"]},
{"name":"isUsingCursor","native":"IS_USING_CURSOR","hash":"0x13337B38DB572509","params":[["control","int","see `isControlEnabled`"]],"ret":"BOOL","aka":["_IS_INPUT_JUST_DISABLED","_IS_USING_KEYBOARD_2"]},
{"name":"setCursorPosition","native":"SET_CURSOR_POSITION","hash":"0xFC695459D4D0E219","params":[["x","float"],["y","float"]],"ret":"BOOL","aka":["_SET_CURSOR_LOCATION"],"notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `false`."}]},
{"name":"isUsingRemotePlay","native":"IS_USING_REMOTE_PLAY","hash":"0x23F09EADC01449D6","params":[["control","int","see `isControlEnabled`"]],"ret":"BOOL","doc":"Hardcoded to return false."},
{"name":"haveControlsChanged","native":"HAVE_CONTROLS_CHANGED","hash":"0x6CD79468A1E595C6","params":[["control","int","unused parameter"]],"ret":"BOOL"},
{"name":"getControlInstructionalButtonsString","native":"GET_CONTROL_INSTRUCTIONAL_BUTTONS_STRING","hash":"0x0499D7B09FC9B407","params":[["control","int","unused parameter"],["action","int"],["allowXOSwap","BOOL"]],"ret":"string","aka":["GET_CONTROL_INSTRUCTIONAL_BUTTON"],"doc":"allowXOSwap appears to always be true.\n\nEG:\n`getControlInstructionalButtonsString` (2, 201, 1) /*INPUT_FRONTEND_ACCEPT (e.g. Enter button)*/\n`getControlInstructionalButtonsString` (2, 202, 1) /*INPUT_FRONTEND_CANCEL (e.g. ESC button)*/\n`getControlInstructionalButtonsString` (2, 51, 1) /*INPUT_CONTEXT (e.g. E button)*/\n\nhttps://gtaforums.com/topic/819070-c-draw-instructional-buttons-scaleform-movie/#entry1068197378"},
{"name":"getControlGroupInstructionalButtonsString","native":"GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTONS_STRING","hash":"0x80C2FD58D720C801","params":[["control","int","unused parameter"],["controlGroup","int"],["allowXOSwap","BOOL"]],"ret":"string","aka":["GET_CONTROL_GROUP_INSTRUCTIONAL_BUTTON"]},
{"name":"setControlLightEffectColor","native":"SET_CONTROL_LIGHT_EFFECT_COLOR","hash":"0x8290252FFF36ACB5","params":[["control","int","see `isControlEnabled`"],["red","int"],["green","int"],["blue","int"]],"aka":["_SET_CONTROL_GROUP_COLOR"]},
{"name":"clearControlLightEffect","native":"CLEAR_CONTROL_LIGHT_EFFECT","hash":"0xCB0360EFEFB2580D","params":[["control","int","see `isControlEnabled`"]]},
{"name":"setControlShake","native":"SET_CONTROL_SHAKE","hash":"0x48B3886C1358D0D5","params":[["control","int"],["duration","int"],["frequency","int"]],"aka":["SET_PAD_SHAKE"],"doc":"control: see `isControlEnabled`\nduration in milliseconds\nfrequency should range from about 10 (slow vibration) to 255 (very fast)\n\nexample:\n\n```\nsetControlShake(PLAYER_CONTROL, 100, 200);\n```"},
{"name":"setControlTriggerShake","native":"SET_CONTROL_TRIGGER_SHAKE","hash":"0x14D29BB12D47F68C","params":[["control","int"],["leftDuration","int"],["leftFrequency","int"],["rightDuration","int"],["rightFrequency","int"]],"doc":"Does nothing (it's a nullsub)."},
{"name":"stopControlShake","native":"STOP_CONTROL_SHAKE","hash":"0x38C16A305E8CDC8D","params":[["control","int","see `isControlEnabled`"]],"aka":["STOP_PAD_SHAKE"]},
{"name":"setControlShakeSuppressedId","native":"SET_CONTROL_SHAKE_SUPPRESSED_ID","hash":"0xF239400E16C23E08","params":[["control","int","see `isControlEnabled`"],["uniqueId","int"]],"aka":["SET_PAD_SHAKE_SUPPRESSED_ID"]},
{"name":"clearControlShakeSuppressedId","native":"CLEAR_CONTROL_SHAKE_SUPPRESSED_ID","hash":"0xA0CEFCEA390AAB9B","params":[["control","int","see `isControlEnabled`"]],"aka":["_CLEAR_SUPPRESSED_PAD_RUMBLE"]},
{"name":"isLookInverted","native":"IS_LOOK_INVERTED","hash":"0x77B612531280010D","ret":"BOOL"},
{"name":"isMouseLookInverted","native":"IS_MOUSE_LOOK_INVERTED","hash":"0xE1615EC03B3BB4FD","ret":"BOOL"},
{"name":"getLocalPlayerAimState","native":"GET_LOCAL_PLAYER_AIM_STATE","hash":"0xBB41AFBBBC0A0287","ret":"int","doc":"Hard-coded to return 3 if using KBM, otherwise same behavior as `getLocalPlayerGamepadAimState`."},
{"name":"getLocalPlayerGamepadAimState","native":"GET_LOCAL_PLAYER_GAMEPAD_AIM_STATE","hash":"0x59B9A7AF4C95133C","ret":"int","aka":["_GET_LOCAL_PLAYER_AIM_STATE_2"],"doc":"Returns the local player's targeting mode. See `setPlayerTargetingMode`."},
{"name":"getIsUsingAlternateHandbrake","native":"GET_IS_USING_ALTERNATE_HANDBRAKE","hash":"0x25AAA32BDC98F2A3","ret":"BOOL","since":1365,"aka":["_GET_IS_USING_ALTERNATE_HANDBRAKE"]},
{"name":"getIsUsingAlternateDriveby","native":"GET_IS_USING_ALTERNATE_DRIVEBY","hash":"0x0F70731BACCFBB96","ret":"BOOL","doc":"Returns profile setting 225."},
{"name":"getAllowMovementWhileZoomed","native":"GET_ALLOW_MOVEMENT_WHILE_ZOOMED","hash":"0xFC859E2374407556","ret":"BOOL","doc":"Returns profile setting 17."},
{"name":"setPlayerpadShakesWhenControllerDisabled","native":"SET_PLAYERPAD_SHAKES_WHEN_CONTROLLER_DISABLED","hash":"0x798FDEB5B1575088","params":[["toggle","BOOL"]]},
{"name":"setInputExclusive","native":"SET_INPUT_EXCLUSIVE","hash":"0xEDE476E5EE29EDB1","params":[["control","int","see `isControlEnabled`"],["action","int"]]},
{"name":"disableControlAction","native":"DISABLE_CONTROL_ACTION","hash":"0xFE99B66D079CF6BC","params":[["control","int","see `isControlEnabled`"],["action","int"],["disableRelatedActions","BOOL"]]},
{"name":"enableControlAction","native":"ENABLE_CONTROL_ACTION","hash":"0x351220255D64C155","params":[["control","int","see `isControlEnabled`"],["action","int"],["enableRelatedActions","BOOL"]],"notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it does nothing."}]},
{"name":"disableAllControlActions","native":"DISABLE_ALL_CONTROL_ACTIONS","hash":"0x5F4B6931816E599B","params":[["control","int","see `isControlEnabled`"]]},
{"name":"enableAllControlActions","native":"ENABLE_ALL_CONTROL_ACTIONS","hash":"0xA5FFE9B05F199DE7","params":[["control","int","see `isControlEnabled`"]],"notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it does nothing."}]},
{"name":"initPcScriptedControls","native":"INIT_PC_SCRIPTED_CONTROLS","hash":"0x3D42B92563939375","params":[["schemeName","string"]],"ret":"BOOL","blocked":"frontend","aka":["_SWITCH_TO_INPUT_MAPPING_SCHEME"],"doc":"Used in carsteal3 script with schemeName = \"Carsteal4_spycar\"."},
{"name":"switchPcScriptedControls","native":"SWITCH_PC_SCRIPTED_CONTROLS","hash":"0x4683149ED1DDE7A1","params":[["schemeName","string"]],"ret":"BOOL","blocked":"frontend","aka":["_SWITCH_TO_INPUT_MAPPING_SCHEME_2"],"doc":"Same as `initPcScriptedControls`"},
{"name":"shutdownPcScriptedControls","native":"SHUTDOWN_PC_SCRIPTED_CONTROLS","hash":"0x643ED62D5EA3BEBD","blocked":"frontend","aka":["_RESET_INPUT_MAPPING_SCHEME"]},
{"name":"allowAlternativeScriptControlsLayout","native":"ALLOW_ALTERNATIVE_SCRIPT_CONTROLS_LAYOUT","hash":"0x7F4724035FDCA1DD","params":[["control","int","see `isControlEnabled`"]]},
{"name":"getGamepadType","native":"_GET_GAMEPAD_TYPE","hash":"0x18E474F40EF05F10","ret":"int","na":1,"since":3570,"doc":"Always returns zero."}
]},
{"id":"PATHFIND","title":"Pathfinding","doc":"Road nodes, the navigation mesh and GPS routes.","natives":[
{"name":"setRoadsInArea","native":"SET_ROADS_IN_AREA","hash":"0xBF1A602B5BA52FEE","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["nodeEnabled","BOOL"],["unknown2","BOOL"]],"doc":"When nodeEnabled is set to false, all nodes in the area get disabled.\n`getVehicleNodeIsSwitchedOff` returns true afterwards.\nIf it's true, `getVehicleNodeIsSwitchedOff` returns false."},
{"name":"setRoadsInAngledArea","native":"SET_ROADS_IN_ANGLED_AREA","hash":"0x1A5AA1208AF5DB59","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["unknown1","BOOL"],["unknown2","BOOL"],["unknown3","BOOL"]],"doc":"See `isPointInAngledArea` for the definition of an angled area."},
{"name":"setPedPathsInArea","native":"SET_PED_PATHS_IN_AREA","hash":"0x34F060F4BF92E018","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p6","BOOL"],["p7","Any"]]},
{"name":"getSafeCoordForPed","native":"GET_SAFE_COORD_FOR_PED","hash":"0xB61C8E878A4199CA","params":[["x","float"],["y","float"],["z","float"],["onGround","BOOL"],["flags","int"]],"ret":"BOOL","outs":[["outPosition","Vector3",4]],"doc":"Flags are:\n1 = 1 = B02_IsFootpath\n2 = 4 = !B15_InteractionUnk\n4 = 0x20 = !B14_IsInterior\n8 = 0x40 = !B07_IsWater\n16 = 0x200 = B17_IsFlatGround\nWhen onGround == true outPosition is a position located on the nearest pavement.\n\nWhen a safe coord could not be found the result of a function is false and outPosition == Vector3.Zero.\n\nIn the scripts these flags are used: 0, 14, 12, 16, 20, 21, 28. 0 is most commonly used, then 16.\n\n16 works for me, 0 crashed the script."},
{"name":"getClosestVehicleNode","native":"GET_CLOSEST_VEHICLE_NODE","hash":"0x240A18690AE96513","params":[["x","float"],["y","float"],["z","float"],["nodeFlags","int"],["p5","float"],["p6","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",3]],"doc":"https://gtaforums.com/topic/843561-pathfind-node-types"},
{"name":"getClosestMajorVehicleNode","native":"GET_CLOSEST_MAJOR_VEHICLE_NODE","hash":"0x2EABE3B06F58C1BE","params":[["x","float"],["y","float"],["z","float"],["unknown1","float"],["unknown2","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",3]],"doc":"Get the closest vehicle node to a given position."},
{"name":"getClosestVehicleNodeWithHeading","native":"GET_CLOSEST_VEHICLE_NODE_WITH_HEADING","hash":"0xFF071FB798B803B0","params":[["x","float"],["y","float"],["z","float"],["nodeType","int"],["p6","float"],["p7","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",3],["outHeading","float",4]],"doc":"p5, p6 and p7 seems to be about the same as p4, p5 and p6 for `getClosestVehicleNode`. p6 and/or p7 has something to do with finding a node on the same path/road and same direction(at least for this native, something to do with the heading maybe). Edit this when you find out more.\n\nnodeType: 0 = main roads, 1 = any dry path, 3 = water\np6 is always 3.0\np7 is always 0\n\nhttps://gtaforums.com/topic/843561-pathfind-node-types\n\nExample of usage, moving vehicle to closest path/road:\n\n```\nVector3 coords = getEntityCoords(playerVeh, true);\nVector3 closestVehicleNodeCoords;\nfloat roadHeading;\ngetClosestVehicleNodeWithHeading(coords.x, coords.y, coords.z, &closestVehicleNodeCoords, &roadHeading, 1, 3, 0);\nsetEntityHeading(playerVeh, roadHeading);\nsetEntityCoords(playerVeh, closestVehicleNodeCoords.x, closestVehicleNodeCoords.y, closestVehicleNodeCoords.z, 1, 0, 0, 1);\nsetVehicleOnGroundProperly(playerVeh);\n```\n\n---\nC# Example (ins1de) : https://pastebin.com/fxtMWAHD"},
{"name":"getNthClosestVehicleNode","native":"GET_NTH_CLOSEST_VEHICLE_NODE","hash":"0xE50E52416CCF948B","params":[["x","float"],["y","float"],["z","float"],["nthClosest","int"],["nodeFlags","int"],["unknown1","float"],["unknown2","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",4]]},
{"name":"getNthClosestVehicleNodeId","native":"GET_NTH_CLOSEST_VEHICLE_NODE_ID","hash":"0x22D7275A79FE8215","params":[["x","float"],["y","float"],["z","float"],["nth","int"],["nodeFlags","int"],["p5","float"],["p6","float"]],"ret":"int","doc":"Returns the id."},
{"name":"getNthClosestVehicleNodeWithHeading","native":"GET_NTH_CLOSEST_VEHICLE_NODE_WITH_HEADING","hash":"0x80CA6A8B6C094CC4","params":[["x","float"],["y","float"],["z","float"],["nthClosest","int"],["nodeFlags","int"],["unknown3","float"],["unknown4","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",4],["outHeading","float",5],["outNumLanes","int",6]],"doc":"Get the nth closest vehicle node and its heading."},
{"name":"getNthClosestVehicleNodeIdWithHeading","native":"GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING","hash":"0x6448050E9C2A7207","params":[["x","float"],["y","float"],["z","float"],["nthClosest","int"],["nodeFlags","int"],["p7","float"],["p8","float"]],"ret":"int","outs":[["outPosition","Vector3",4],["outHeading","float",5]],"notes":[{"kind":"warn","title":"Signature under review","md":"LS:MP's table describes the parameters of this native differently from the current native database (`int GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING(float x, float y, float z, int nthClosest, float* outHeading, int* outNumLanes, int nodeFlags, float zMeasureMult, float zTolerance)`). Until the table is refreshed, some values may be passed or returned under the wrong type."}]},
{"name":"getNthClosestVehicleNodeFavourDirection","native":"GET_NTH_CLOSEST_VEHICLE_NODE_FAVOUR_DIRECTION","hash":"0x45905BE8654AE067","params":[["x","float"],["y","float"],["z","float"],["desiredX","float"],["desiredY","float"],["desiredZ","float"],["nthClosest","int"],["nodeFlags","int"],["p10","float"],["p11","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",7],["outHeading","float",8]],"doc":"See https://gtaforums.com/topic/843561-pathfind-node-types for node type info. 0 = paved road only, 1 = any road, 3 = water\n\np10 always equals 3.0\np11 always equals 0"},
{"name":"getVehicleNodeProperties","native":"GET_VEHICLE_NODE_PROPERTIES","hash":"0x0568566ACBB5DEDC","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","outs":[["density","int",3],["flags","int",4]],"doc":"Gets the density and flags of the closest node to the specified position.\nDensity is a value between 0 and 15, indicating how busy the road is.\nFlags is a bit field."},
{"name":"isVehicleNodeIdValid","native":"IS_VEHICLE_NODE_ID_VALID","hash":"0x1EAF30FCFBF5AF74","params":[["vehicleNodeId","int"]],"ret":"BOOL","doc":"Returns true if the id is non zero."},
{"name":"getVehicleNodePosition","native":"GET_VEHICLE_NODE_POSITION","hash":"0x703123E5E7D429C2","params":[["nodeId","int"]],"outs":[["outPosition","Vector3",1]],"doc":"Calling this with an invalid node id, will crash the game.\nNote that `isVehicleNodeIdValid` simply checks if nodeId is not zero. It does not actually ensure that the id is valid.\nEg. `isVehicleNodeIdValid`(1) will return true, but will crash when calling `getVehicleNodePosition`()."},
{"name":"getVehicleNodeIsGpsAllowed","native":"GET_VEHICLE_NODE_IS_GPS_ALLOWED","hash":"0xA2AE5C478B96E3B6","params":[["nodeID","int"]],"ret":"BOOL","aka":["_GET_SUPPORTS_GPS_ROUTE_FLAG"],"doc":"Returns false for nodes that aren't used for GPS routes.\nExample:\nNodes in Fort Zancudo and LSIA are false"},
{"name":"getVehicleNodeIsSwitchedOff","native":"GET_VEHICLE_NODE_IS_SWITCHED_OFF","hash":"0x4F5070AA58F69279","params":[["nodeID","int"]],"ret":"BOOL","aka":["_GET_IS_SLOW_ROAD_FLAG"],"doc":"Returns true when the node is Offroad. Alleys, some dirt roads, and carparks return true.\nNormal roads where plenty of Peds spawn will return false"},
{"name":"getClosestRoad","native":"GET_CLOSEST_ROAD","hash":"0x132F52BBA570FE92","params":[["x","float"],["y","float"],["z","float"],["minLength","float"],["minLanes","int"],["ignoreSwitchedOffNodes","BOOL"]],"ret":"BOOL","outs":[["southEnd","Vector3",5],["northEnd","Vector3",6],["lanesSouth","int",7],["lanesNorth","int",8],["medianWidth","float",9]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Road segment","md":"Returns success, the south and north endpoints, the two directional lane counts and the median width. Use finite coordinates within ±100,000, a minimum length from 0 to 100,000, and 0 to 32 minimum lanes."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"loadAllPathNodes","native":"LOAD_ALL_PATH_NODES","hash":"0xC2AB6BFE34E92F8B","params":[["bLoadAll","BOOL"]],"ret":"BOOL","since":2802,"doc":"Loads/unloads all path nodes on the map.\nReturns true if all nodes are loaded (effectively `areNodesLoadedForArea` for the entire map).\n\nNote: this native was removed in build 1180 but returned in build 2802."},
{"name":"setAllowStreamPrologueNodes","native":"SET_ALLOW_STREAM_PROLOGUE_NODES","hash":"0x228E5C6AD4D74BFD","params":[["toggle","BOOL"]],"aka":["SET_ALL_PATHS_CACHE_BOUNDINGSTRUCT"]},
{"name":"setAllowStreamHeistIslandNodes","native":"SET_ALLOW_STREAM_HEIST_ISLAND_NODES","hash":"0xF74B1FFA4A15FBEA","params":[["type","int"]],"since":2189,"aka":["_SET_AI_GLOBAL_PATH_NODES_TYPE"],"doc":"Activates Cayo Perico path nodes if passed `1`. GPS navigation will start working, maybe more stuff will change, not sure. It seems if you try to unload (pass `0`) when close to the island, your game might crash."},
{"name":"areNodesLoadedForArea","native":"ARE_NODES_LOADED_FOR_AREA","hash":"0xF7B79A50B905A30D","params":[["x1","float"],["y1","float"],["x2","float"],["y2","float"]],"ret":"BOOL","aka":["_ARE_PATH_NODES_LOADED_IN_AREA"]},
{"name":"requestPathNodesInAreaThisFrame","native":"REQUEST_PATH_NODES_IN_AREA_THIS_FRAME","hash":"0x07FB139B592FA687","params":[["x1","float"],["y1","float"],["x2","float"],["y2","float"]],"ret":"BOOL","aka":["REQUEST_PATHS_PREFER_ACCURATE_BOUNDINGSTRUCT"],"doc":"Used internally for long range tasks"},
{"name":"setRoadsBackToOriginal","native":"SET_ROADS_BACK_TO_ORIGINAL","hash":"0x1EE7063B80FFC77C","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","Any"]]},
{"name":"setRoadsBackToOriginalInAngledArea","native":"SET_ROADS_BACK_TO_ORIGINAL_IN_ANGLED_AREA","hash":"0x0027501B9F3B407E","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["p7","Any"]],"doc":"See `isPointInAngledArea` for the definition of an angled area.\nbool p7 - always 1"},
{"name":"setAmbientPedRangeMultiplierThisFrame","native":"SET_AMBIENT_PED_RANGE_MULTIPLIER_THIS_FRAME","hash":"0x0B919E1FB47CC4E0","params":[["multiplier","float"]]},
{"name":"adjustAmbientPedSpawnDensitiesThisFrame","native":"ADJUST_AMBIENT_PED_SPAWN_DENSITIES_THIS_FRAME","hash":"0xAA76052DDA9BFC3E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"]]},
{"name":"setPedPathsBackToOriginal","native":"SET_PED_PATHS_BACK_TO_ORIGINAL","hash":"0xE04B48F2CC926253","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p6","Any"]],"doc":"p6 is always 0"},
{"name":"getRandomVehicleNode","native":"GET_RANDOM_VEHICLE_NODE","hash":"0x93E0DB8440B73A7D","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["p4","BOOL"],["p5","BOOL"],["p6","BOOL"]],"ret":"BOOL","outs":[["outPosition","Vector3",7],["nodeId","int",8]]},
{"name":"getSpawnCoordsForVehicleNode","native":"GET_SPAWN_COORDS_FOR_VEHICLE_NODE","hash":"0x809549AFC7AEC597","params":[["nodeAddress","int"],["towardsCoorsX","float"],["towardsCoorsY","float"],["towardsCoorsZ","float"]],"outs":[["centrePoint","Vector3",4],["heading","float",5]],"na":1,"since":2944},
{"name":"getStreetNameAtCoord","native":"GET_STREET_NAME_AT_COORD","hash":"0x2EB41072B4C1E4C0","params":[["x","float"],["y","float"],["z","float"]],"outs":[["streetName","Hash",3],["crossingRoad","Hash",4]],"doc":"Determines the name of the street which is the closest to the given coordinates.\n\nx,y,z - the coordinates of the street\nstreetName - returns a hash to the name of the street the coords are on\ncrossingRoad - if the coordinates are on an intersection, a hash to the name of the crossing road\n\nNote: the names are returned as hashes, the strings can be returned using the function `getStreetNameFromHashKey`."},
{"name":"generateDirectionsToCoord","native":"GENERATE_DIRECTIONS_TO_COORD","hash":"0xF90125F1F79ECDF8","params":[["x","float"],["y","float"],["z","float"],["p3","BOOL"]],"ret":"int","outs":[["direction","int",4],["p5","float",5],["distToNxJunction","float",6]],"doc":"p3 is 0 in the only game script occurrence (trevor3) but 1 doesn't seem to make a difference\n\ndistToNxJunction seems to be the distance in metres * 10.0f\n\ndirection:\n0 = This happens randomly during the drive for seemingly no reason but if you consider that this native is only used in trevor3, it seems to mean \"Next frame, stop whatever's being said and tell the player the direction.\"\n1 = Route is being calculated or the player is going in the wrong direction\n2 = Please Proceed the Highlighted Route\n3 = In (distToNxJunction) Turn Left\n4 = In (distToNxJunction) Turn Right\n5 = In (distToNxJunction) Keep Straight\n6 = In (distToNxJunction) Turn Sharply To The Left\n7 = In (distToNxJunction) Turn Sharply To The Right\n8 = Route is being recalculated or the navmesh is confusing. This happens randomly during the drive but consistently at {2044.0358, 2996.6116, 44.9717} if you face towards the bar and the route needs you to turn right. In that particular case, it could be a bug with how the turn appears to be 270 deg. CCW instead of \"right.\" Either way, this seems to be the engine saying \"I don't know the route right now.\"\n\nreturn value set to 0 always"},
{"name":"setIgnoreNoGpsFlag","native":"SET_IGNORE_NO_GPS_FLAG","hash":"0x72751156E7678833","params":[["toggle","BOOL"]]},
{"name":"setIgnoreNoGpsFlagUntilFirstNormalNode","native":"SET_IGNORE_NO_GPS_FLAG_UNTIL_FIRST_NORMAL_NODE","hash":"0x1FC289A0C3FF470F","params":[["toggle","BOOL"]],"aka":["_SET_IGNORE_SECONDARY_ROUTE_NODES"],"doc":"See: `setBlipRoute`"},
{"name":"setGpsDisabledZone","native":"SET_GPS_DISABLED_ZONE","hash":"0xDC20483CD3DD5201","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z3","float"]]},
{"name":"getGpsBlipRouteLength","native":"GET_GPS_BLIP_ROUTE_LENGTH","hash":"0xBBB45C3CF5C8AA85","ret":"int"},
{"name":"getPosAlongGpsTypeRoute","native":"GET_POS_ALONG_GPS_TYPE_ROUTE","hash":"0xF3162836C28F9DA5","params":[["p1","BOOL"],["p2","float"],["p3","int"]],"ret":"BOOL","outs":[["result","Vector3",0]],"since":505,"aka":["GET_GPS_WAYPOINT_ROUTE_END"],"doc":"p3 can be 0, 1 or 2."},
{"name":"getGpsBlipRouteFound","native":"GET_GPS_BLIP_ROUTE_FOUND","hash":"0x869DAACBBE9FA006","ret":"BOOL"},
{"name":"getRoadBoundaryUsingHeading","native":"GET_ROAD_BOUNDARY_USING_HEADING","hash":"0xA0F8A7517A273C05","params":[["x","float"],["y","float"],["z","float"],["heading","float"]],"ret":"BOOL","outs":[["outPosition","Vector3",4]],"since":463,"aka":["_GET_ROAD_SIDE_POINT_WITH_HEADING"]},
{"name":"getPositionBySideOfRoad","native":"GET_POSITION_BY_SIDE_OF_ROAD","hash":"0x16F46FB18C8009E4","params":[["x","float"],["y","float"],["z","float"],["p3","int"]],"ret":"BOOL","outs":[["outPosition","Vector3",4]],"aka":["_GET_POINT_ON_ROAD_SIDE"]},
{"name":"isPointOnRoad","native":"IS_POINT_ON_ROAD","hash":"0x125BF4ABFC536B09","params":[["x","float"],["y","float"],["z","float"],["vehicle","Vehicle"]],"ret":"BOOL","doc":"Gets a value indicating whether the specified position is on a road.\nThe vehicle parameter is not implemented (ignored)."},
{"name":"getNextGpsDisabledZoneIndex","native":"GET_NEXT_GPS_DISABLED_ZONE_INDEX","hash":"0xD3A6A0EF48823A8C","ret":"int","doc":"Gets the next zone that has been disabled using `setGpsDisabledZoneAtIndex`."},
{"name":"setGpsDisabledZoneAtIndex","native":"SET_GPS_DISABLED_ZONE_AT_INDEX","hash":"0xD0BC1C6FB18EE154","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["index","int"]],"doc":"Disables the GPS route displayed on the minimap while within a certain zone (area). When in a disabled zone and creating a waypoint, the GPS route is not shown on the minimap until you are outside of the zone. When disabled, the direct distance is shown on minimap opposed to distance to travel. Seems to only work before setting a waypoint.\nYou can clear the disabled zone with `clearGpsDisabledZoneAtIndex`.\n\n**Setting a waypoint at the same coordinate:**\nDisabled Zone: https://i.imgur.com/vsxkvjC.png\nEnabled Zone (normal): https://i.imgur.com/OUZYLWL.png"},
{"name":"clearGpsDisabledZoneAtIndex","native":"CLEAR_GPS_DISABLED_ZONE_AT_INDEX","hash":"0x2801D0012266DF07","params":[["index","int"]],"checked":1,"aka":["_CLEAR_GPS_DISABLED_ZONE_AT_INDEX"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`index` must be between `0` and `3`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Clears a disabled GPS route area from a certain index previously set using `setGpsDisabledZoneAtIndex`."},
{"name":"addNavmeshRequiredRegion","native":"ADD_NAVMESH_REQUIRED_REGION","hash":"0x387EAD7EE42F6685","params":[["x","float"],["y","float"],["radius","float"]]},
{"name":"removeNavmeshRequiredRegions","native":"REMOVE_NAVMESH_REQUIRED_REGIONS","hash":"0x916F0A3CDEC3445E"},
{"name":"isNavmeshRequiredRegionInUse","native":"IS_NAVMESH_REQUIRED_REGION_IN_USE","hash":"0x705A844002B39DC0","ret":"BOOL","since":944,"aka":["_IS_NAVMESH_REQUIRED_REGION_OWNED_BY_ANY_THREAD"]},
{"name":"disableNavmeshInArea","native":"DISABLE_NAVMESH_IN_AREA","hash":"0x4C8872D8CDBE1B8B","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["toggle","BOOL"]],"doc":"Set toggle true to disable navmesh.\nSet toggle false to enable navmesh."},
{"name":"areAllNavmeshRegionsLoaded","native":"ARE_ALL_NAVMESH_REGIONS_LOADED","hash":"0x8415D95B194A3AEA","ret":"BOOL"},
{"name":"isNavmeshLoadedInArea","native":"IS_NAVMESH_LOADED_IN_AREA","hash":"0xF813C7E63F9062A5","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"BOOL","doc":"Returns whether navmesh for the region is loaded. The region is a rectangular prism defined by it's top left deepest corner to it's bottom right shallowest corner.\n\nIf you can re-word this so it makes more sense, please do. I'm horrible with words sometimes..."},
{"name":"getNumNavmeshesExistingInArea","native":"GET_NUM_NAVMESHES_EXISTING_IN_AREA","hash":"0x01708E8DD3FF8C65","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"int"},
{"name":"addNavmeshBlockingObject","native":"ADD_NAVMESH_BLOCKING_OBJECT","hash":"0xFCD5C8E06E502F5A","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","BOOL"],["p8","Any"]],"ret":"int"},
{"name":"updateNavmeshBlockingObject","native":"UPDATE_NAVMESH_BLOCKING_OBJECT","hash":"0x109E99373F290687","params":[["p0","Any"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","Any"]]},
{"name":"removeNavmeshBlockingObject","native":"REMOVE_NAVMESH_BLOCKING_OBJECT","hash":"0x46399A7895957C0E","params":[["p0","Any"]]},
{"name":"doesNavmeshBlockingObjectExist","native":"DOES_NAVMESH_BLOCKING_OBJECT_EXIST","hash":"0x0EAEB0DB4B132399","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"getApproxHeightForPoint","native":"GET_APPROX_HEIGHT_FOR_POINT","hash":"0x29C24BFBED8AB8FB","params":[["x","float"],["y","float"]],"ret":"float","aka":["_GET_HEIGHTMAP_TOP_Z_FOR_POSITION"]},
{"name":"getApproxHeightForArea","native":"GET_APPROX_HEIGHT_FOR_AREA","hash":"0x8ABE8608576D9CE3","params":[["x1","float"],["y1","float"],["x2","float"],["y2","float"]],"ret":"float","aka":["_GET_HEIGHTMAP_TOP_Z_FOR_AREA"]},
{"name":"getApproxFloorForPoint","native":"GET_APPROX_FLOOR_FOR_POINT","hash":"0x336511A34F2E5185","params":[["x","float"],["y","float"]],"ret":"float","aka":["_GET_HEIGHTMAP_BOTTOM_Z_FOR_POSITION"]},
{"name":"getApproxFloorForArea","native":"GET_APPROX_FLOOR_FOR_AREA","hash":"0x3599D741C9AC6310","params":[["x1","float"],["y1","float"],["x2","float"],["y2","float"]],"ret":"float","aka":["_GET_HEIGHTMAP_BOTTOM_Z_FOR_AREA"]},
{"name":"calculateTravelDistanceBetweenPoints","native":"CALCULATE_TRAVEL_DISTANCE_BETWEEN_POINTS","hash":"0xADD95C7005C4A197","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"float","doc":"Calculates the travel distance between a set of points.\n\nDoesn't seem to correlate with distance on gps sometimes.\nThis function returns the value 100000.0 over long distances, seems to be a failure mode result, potentially occurring when not all path nodes are loaded into pathfind."}
]},
{"id":"PED","title":"Ped","doc":"Characters: creation, appearance, health, groups, relationships, ragdoll, config flags.","natives":[
{"name":"createPed","native":"CREATE_PED","hash":"0xD49F9B0955C367DE","params":[["pedType","int"],["modelHash","Hash"],["x","float"],["y","float"],["z","float"],["heading","float"],["isNetwork","BOOL"],["bScriptHostPed","BOOL"]],"ret":"Ped","doc":"Full list of peds by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/peds.json"},
{"name":"deletePed","native":"DELETE_PED","hash":"0x9614299DCB53E54B","params":[["ped","Ped"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ped` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"Deletes the specified ped, then sets the handle pointed to by the pointer to NULL."},
{"name":"clonePed","native":"CLONE_PED","hash":"0xEF29A16337FACADB","params":[["ped","Ped"],["isNetwork","BOOL"],["bScriptHostPed","BOOL"],["copyHeadBlendFlag","BOOL"]],"ret":"Ped"},
{"name":"clonePedAlt","native":"CLONE_PED_ALT","hash":"0x668FD40BCBA5DE48","params":[["ped","Ped"],["isNetwork","BOOL"],["bScriptHostPed","BOOL"],["copyHeadBlendFlag","BOOL"],["p4","BOOL"]],"ret":"Ped","since":463,"aka":["_CLONE_PED_2","_CLONE_PED_EX"]},
{"name":"clonePedToTarget","native":"CLONE_PED_TO_TARGET","hash":"0xE952D6431689AD9A","params":[["ped","Ped"],["targetPed","Ped"]],"aka":["_ASSIGN_PLAYER_TO_PED"],"doc":"Copies ped's components and props to targetPed."},
{"name":"clonePedToTargetAlt","native":"CLONE_PED_TO_TARGET_ALT","hash":"0x148B08C2D2ACB884","params":[["ped","Ped"],["targetPed","Ped"],["p2","BOOL"]],"since":463,"aka":["_CLONE_PED_TO_TARGET_EX"]},
{"name":"isPedInVehicle","native":"IS_PED_IN_VEHICLE","hash":"0xA3EE4A07279BB9DB","params":[["ped","Ped"],["vehicle","Vehicle"],["atGetIn","BOOL"]],"ret":"BOOL","doc":"Gets a value indicating whether the specified ped is in the specified vehicle.\n\nIf 'atGetIn' is false, the function will not return true until the ped is sitting in the vehicle and is about to close the door. If it's true, the function returns true the moment the ped starts to get onto the seat (after opening the door). Eg. if false, and the ped is getting into a submersible, the function will not return true until the ped has descended down into the submersible and gotten into the seat, while if it's true, it'll return true the moment the hatch has been opened and the ped is about to descend into the submersible."},
{"name":"isPedInModel","native":"IS_PED_IN_MODEL","hash":"0x796D90EFB19AA332","params":[["ped","Ped"],["modelHash","Hash"]],"ret":"BOOL"},
{"name":"isPedInAnyVehicle","native":"IS_PED_IN_ANY_VEHICLE","hash":"0x997ABD671D25CA0B","params":[["ped","Ped"],["atGetIn","BOOL"]],"ret":"BOOL","doc":"Gets a value indicating whether the specified ped is in any vehicle.\n\nIf 'atGetIn' is false, the function will not return true until the ped is sitting in the vehicle and is about to close the door. If it's true, the function returns true the moment the ped starts to get onto the seat (after opening the door). Eg. if false, and the ped is getting into a submersible, the function will not return true until the ped has descended down into the submersible and gotten into the seat, while if it's true, it'll return true the moment the hatch has been opened and the ped is about to descend into the submersible."},
{"name":"isCopPedInArea3d","native":"IS_COP_PED_IN_AREA_3D","hash":"0x16EC4839969F9F5E","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"BOOL","doc":"xyz - relative to the world origin."},
{"name":"isPedInjured","native":"IS_PED_INJURED","hash":"0x84A2DD9AC37C35C1","params":[["ped","Ped"]],"ret":"BOOL","doc":"Gets a value indicating whether this ped's health is below its injured threshold.\n\nThe default threshold is 100."},
{"name":"isPedHurt","native":"IS_PED_HURT","hash":"0x5983BB449D7FDB12","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns whether the specified ped is hurt."},
{"name":"isPedFatallyInjured","native":"IS_PED_FATALLY_INJURED","hash":"0xD839450756ED5A80","params":[["ped","Ped"]],"ret":"BOOL","doc":"Gets a value indicating whether this ped's health is below its fatally injured threshold. The default threshold is 100.\nIf the handle is invalid, the function returns true."},
{"name":"isPedDeadOrDying","native":"IS_PED_DEAD_OR_DYING","hash":"0x3317DEDB88C95038","params":[["ped","Ped"],["checkMeleeDeathFlags","BOOL"]],"ret":"BOOL"},
{"name":"isConversationPedDead","native":"IS_CONVERSATION_PED_DEAD","hash":"0xE0A0AEC214B1FABA","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedAimingFromCover","native":"IS_PED_AIMING_FROM_COVER","hash":"0x3998B1276A3300E5","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedReloading","native":"IS_PED_RELOADING","hash":"0x24B100C68C645951","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns whether the specified ped is reloading."},
{"name":"isPedAPlayer","native":"IS_PED_A_PLAYER","hash":"0x12534C348C6CB68B","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"createPedInsideVehicle","native":"CREATE_PED_INSIDE_VEHICLE","hash":"0x7DD959874C1FD534","params":[["vehicle","Vehicle"],["pedType","int","see `createPed`"],["modelHash","Hash"],["seat","int"],["isNetwork","BOOL"],["bScriptHostPed","BOOL"]],"ret":"Ped","doc":"Full list of peds by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/peds.json"},
{"name":"setPedDesiredHeading","native":"SET_PED_DESIRED_HEADING","hash":"0xAA5A7ECE2AA8FE70","params":[["ped","Ped"],["heading","float"]]},
{"name":"forceAllHeadingValuesToAlign","native":"FORCE_ALL_HEADING_VALUES_TO_ALIGN","hash":"0xFF287323B0E2C69A","params":[["ped","Ped"]],"aka":["_FREEZE_PED_CAMERA_ROTATION"]},
{"name":"isPedFacingPed","native":"IS_PED_FACING_PED","hash":"0xD71649DB0A545AA3","params":[["ped","Ped"],["otherPed","Ped"],["angle","float"]],"ret":"BOOL","doc":"angle is ped's view cone"},
{"name":"isPedInMeleeCombat","native":"IS_PED_IN_MELEE_COMBAT","hash":"0x4E209B2C1EAD5159","params":[["ped","Ped"]],"ret":"BOOL","doc":"Notes: The function only returns true while the ped is:\nA.) Swinging a random melee attack (including pistol-whipping)\n\nB.) Reacting to being hit by a melee attack (including pistol-whipping)\n\nC.) Is locked-on to an enemy (arms up, strafing/skipping in the default fighting-stance, ready to dodge+counter).\n\nYou don't have to be holding the melee-targetting button to be in this stance; you stay in it by default for a few seconds after swinging at someone. If you do a sprinting punch, it returns true for the duration of the punch animation and then returns false again, even if you've punched and made-angry many peds"},
{"name":"isPedStopped","native":"IS_PED_STOPPED","hash":"0x530944F6F4B8A214","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns true if the ped doesn't do any movement. If the ped is being pushed forwards by using `applyForceToEntity` for example, the function returns false."},
{"name":"isPedShootingInArea","native":"IS_PED_SHOOTING_IN_AREA","hash":"0x7E9DFE24AC1E58EF","params":[["ped","Ped"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p7","BOOL"],["p8","BOOL"]],"ret":"BOOL"},
{"name":"isAnyPedShootingInArea","native":"IS_ANY_PED_SHOOTING_IN_AREA","hash":"0xA0D3D71EA1086C55","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p6","BOOL"],["p7","BOOL"]],"ret":"BOOL"},
{"name":"isPedShooting","native":"IS_PED_SHOOTING","hash":"0x34616828CD07F1A1","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns whether the specified ped is shooting."},
{"name":"setPedAccuracy","native":"SET_PED_ACCURACY","hash":"0x7AEFB85C1D49DEB6","params":[["ped","Ped"],["accuracy","int"]],"doc":"accuracy = 0-100, 100 being perfectly accurate"},
{"name":"getPedAccuracy","native":"GET_PED_ACCURACY","hash":"0x37F4AD56ECBC0CD6","params":[["ped","Ped"]],"ret":"int"},
{"name":"setAmbientLawPedAccuracyModifier","native":"SET_AMBIENT_LAW_PED_ACCURACY_MODIFIER","hash":"0x87DDEB611B329A9C","params":[["multiplier","float"]],"since":1103},
{"name":"isPedModel","native":"IS_PED_MODEL","hash":"0xC9D55B1A358A5BF7","params":[["ped","Ped"],["modelHash","Hash"]],"ret":"BOOL"},
{"name":"explodePedHead","native":"EXPLODE_PED_HEAD","hash":"0x2D05CED3A38D0F3A","params":[["ped","Ped"],["weaponHash","Hash"]],"doc":"Forces the ped to fall back and kills it.\n\nIt doesn't really explode the ped's head but it kills the ped"},
{"name":"removePedElegantly","native":"REMOVE_PED_ELEGANTLY","hash":"0xAC6D445B994DF95E","params":[["ped","Ped"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ped` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"Judging purely from a quick disassembly, if the ped is in a vehicle, the ped will be deleted immediately. If not, it'll be marked as no longer needed. - very elegant.."},
{"name":"addArmourToPed","native":"ADD_ARMOUR_TO_PED","hash":"0x5BA652A0CD14DF2F","params":[["ped","Ped"],["amount","int"]],"doc":"Same as `setPedArmour`, but ADDS 'amount' to the armor the Ped already has."},
{"name":"setPedArmour","native":"SET_PED_ARMOUR","hash":"0xCEA04D83135264CC","params":[["ped","Ped","The Ped to set the armor of."],["amount","int","A value between 0 and 100 indicating the value to set the Ped's armor to."]],"doc":"Sets the armor of the specified ped."},
{"name":"setPedIntoVehicle","native":"SET_PED_INTO_VEHICLE","hash":"0xF75B0D629E1C063D","params":[["ped","Ped"],["vehicle","Vehicle"],["seatIndex","int"]],"doc":"Ped: The ped to warp.\nvehicle: The vehicle to warp the ped into.\nSeat_Index: [-1 is driver seat, -2 first free passenger seat]\n\nMoreinfo of Seat Index\nDriverSeat = -1\nPassenger = 0\nLeft Rear = 1\nRightRear = 2"},
{"name":"setPedAllowVehiclesOverride","native":"SET_PED_ALLOW_VEHICLES_OVERRIDE","hash":"0x3C028C636A414ED9","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"canCreateRandomPed","native":"CAN_CREATE_RANDOM_PED","hash":"0x3E8349C08E4B82E4","params":[["p0","BOOL"]],"ret":"BOOL"},
{"name":"createRandomPed","native":"CREATE_RANDOM_PED","hash":"0xB4AC7D0CF06BFE8F","params":[["posX","float"],["posY","float"],["posZ","float"]],"ret":"Ped","doc":"vb.net\n\n```\nDim ped_handle As Integer\n                    With Game.Player.Character\n                        Dim pos As Vector3 = .Position + .ForwardVector * 3\n                        ped_handle = Native.Function.Call(Of Integer)(Hash.CREATE_RANDOM_PED, pos.X, pos.Y, pos.Z)\n                    End With\n```\n\nCreates a Ped at the specified location, returns the Ped Handle.\nPed will not act until `setPedAsNoLongerNeeded` is called."},
{"name":"createRandomPedAsDriver","native":"CREATE_RANDOM_PED_AS_DRIVER","hash":"0x9B62392B474F44A0","params":[["vehicle","Vehicle"],["returnHandle","BOOL"]],"ret":"Ped"},
{"name":"canCreateRandomDriver","native":"CAN_CREATE_RANDOM_DRIVER","hash":"0xB8EB95E5B4E56978","ret":"BOOL"},
{"name":"canCreateRandomBikeRider","native":"CAN_CREATE_RANDOM_BIKE_RIDER","hash":"0xEACEEDA81751915C","ret":"BOOL"},
{"name":"setPedMoveAnimsBlendOut","native":"SET_PED_MOVE_ANIMS_BLEND_OUT","hash":"0x9E8C908F41584ECD","params":[["ped","Ped"]]},
{"name":"setPedCanBeDraggedOut","native":"SET_PED_CAN_BE_DRAGGED_OUT","hash":"0xC1670E958EEE24E5","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedAllowHurtCombatForAllMissionPeds","native":"SET_PED_ALLOW_HURT_COMBAT_FOR_ALL_MISSION_PEDS","hash":"0xF2BEBCDFAFDAA19E","params":[["toggle","BOOL"]],"doc":"ntoggle was always false except in one instance (b678).\n\nThe one time this is set to true seems to do with when you fail the mission."},
{"name":"isPedMale","native":"IS_PED_MALE","hash":"0x6D9F5FAA7488BA46","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns true/false if the ped is/isn't male."},
{"name":"isPedHuman","native":"IS_PED_HUMAN","hash":"0xB980061DA992779D","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns true/false if the ped is/isn't humanoid."},
{"name":"getVehiclePedIsIn","native":"GET_VEHICLE_PED_IS_IN","hash":"0x9A9112A0FE9A4713","params":[["ped","Ped"],["includeEntering","BOOL"]],"ret":"Vehicle","doc":"Gets the vehicle the specified Ped is in. Returns 0 if the ped is/was not in a vehicle."},
{"name":"resetPedLastVehicle","native":"RESET_PED_LAST_VEHICLE","hash":"0xBB8DE8CF6A8DD8BB","params":[["ped","Ped"]],"doc":"Resets the value for the last vehicle driven by the Ped."},
{"name":"setPedDensityMultiplierThisFrame","native":"SET_PED_DENSITY_MULTIPLIER_THIS_FRAME","hash":"0x95E3D6257B166CF2","params":[["multiplier","float"]]},
{"name":"setScenarioPedDensityMultiplierThisFrame","native":"SET_SCENARIO_PED_DENSITY_MULTIPLIER_THIS_FRAME","hash":"0x7A556143A1C03898","params":[["p0","float"],["p1","float"]]},
{"name":"suppressAmbientPedAggressiveCleanupThisFrame","native":"SUPPRESS_AMBIENT_PED_AGGRESSIVE_CLEANUP_THIS_FRAME","hash":"0x5A7F62FDA59759BD"},
{"name":"setScriptedConversionCoordThisFrame","native":"SET_SCRIPTED_CONVERSION_COORD_THIS_FRAME","hash":"0x5086C7843552CF85","params":[["x","float"],["y","float"],["z","float"]]},
{"name":"setPedNonCreationArea","native":"SET_PED_NON_CREATION_AREA","hash":"0xEE01041D559983EA","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"doc":"The distance between these points, is the diagonal of a box (remember it's 3D)."},
{"name":"clearPedNonCreationArea","native":"CLEAR_PED_NON_CREATION_AREA","hash":"0x2E05208086BA0651"},
{"name":"instantlyFillPedPopulation","native":"INSTANTLY_FILL_PED_POPULATION","hash":"0x4759CC730F947C81"},
{"name":"isPedOnMount","native":"IS_PED_ON_MOUNT","hash":"0x460BC76A0E10655E","params":[["ped","Ped"]],"ret":"BOOL","doc":"Same function call as `getMount`, aka just returns 0"},
{"name":"getMount","native":"GET_MOUNT","hash":"0xE7E11B8DCBED1058","params":[["ped","Ped"]],"ret":"Ped"},
{"name":"isPedOnVehicle","native":"IS_PED_ON_VEHICLE","hash":"0x67722AEB798E5FAB","params":[["ped","Ped"]],"ret":"BOOL","doc":"Gets a value indicating whether the specified ped is on top of any vehicle.\n\n```\nReturn 1 when ped is on vehicle.\nReturn 0 when ped is not on a vehicle.\n```"},
{"name":"isPedOnSpecificVehicle","native":"IS_PED_ON_SPECIFIC_VEHICLE","hash":"0xEC5F66E459AF3BB2","params":[["ped","Ped"],["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setPedMoney","native":"SET_PED_MONEY","hash":"0xA9C8960E8684C1B5","params":[["ped","Ped"],["amount","int"]],"doc":"Maximum possible amount of money on MP is 2000. ~JX\n\n---\n\nMaximum amount that a ped can theoretically have is 65535 (0xFFFF) since the amount is stored as an unsigned short (uint16_t) value."},
{"name":"getPedMoney","native":"GET_PED_MONEY","hash":"0x3F69145BBA87BAE7","params":[["ped","Ped"]],"ret":"int"},
{"name":"setHealthSnacksCarriedByAllNewPeds","native":"SET_HEALTH_SNACKS_CARRIED_BY_ALL_NEW_PEDS","hash":"0xFF4803BC019852D9","params":[["p0","float"],["p1","Any"]],"doc":"Related to Peds dropping pickup_health_snack; p0 is a value between [0.0, 1.0] that corresponds to drop rate"},
{"name":"setAmbientPedsDropMoney","native":"SET_AMBIENT_PEDS_DROP_MONEY","hash":"0x6B0E6172C9A4D902","params":[["p0","BOOL"]]},
{"name":"setBlockAmbientPedsFromDroppingWeaponsThisFrame","native":"_SET_BLOCK_AMBIENT_PEDS_FROM_DROPPING_WEAPONS_THIS_FRAME","hash":"0xC73EFFC5E043A8BA","na":1,"since":3258},
{"name":"setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame","native":"SET_BLOCKING_OF_NON_TEMPORARY_EVENTS_FOR_AMBIENT_PEDS_THIS_FRAME","hash":"0x9911F4A24485F653","params":[["p0","BOOL"]]},
{"name":"setPedSuffersCriticalHits","native":"SET_PED_SUFFERS_CRITICAL_HITS","hash":"0xEBD76F2359F190AC","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Ped no longer takes critical damage modifiers if set to FALSE.\nExample: Headshotting a player no longer one shots them. Instead they will take the same damage as a torso shot."},
{"name":"setPedUpperBodyDamageOnly","native":"SET_PED_UPPER_BODY_DAMAGE_ONLY","hash":"0xAFC976FD0580C7B3","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"isPedSittingInVehicle","native":"IS_PED_SITTING_IN_VEHICLE","hash":"0xA808AA1D79230FC2","params":[["ped","Ped"],["vehicle","Vehicle"]],"ret":"BOOL","doc":"Detect if ped is sitting in the specified vehicle\n[True/False]"},
{"name":"isPedSittingInAnyVehicle","native":"IS_PED_SITTING_IN_ANY_VEHICLE","hash":"0x826AA586EDB9FEF8","params":[["ped","Ped"]],"ret":"BOOL","doc":"Detect if ped is in any vehicle\n[True/False]"},
{"name":"isPedOnFoot","native":"IS_PED_ON_FOOT","hash":"0x01FEE67DB37F59B2","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedOnAnyBike","native":"IS_PED_ON_ANY_BIKE","hash":"0x94495889E22C6479","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedPlantingBomb","native":"IS_PED_PLANTING_BOMB","hash":"0xC70B5FAE151982D8","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getDeadPedPickupCoords","native":"GET_DEAD_PED_PICKUP_COORDS","hash":"0xCD5003B097200F36","params":[["ped","Ped"],["p1","float"],["p2","float"]],"ret":"Vector3"},
{"name":"isPedInAnyBoat","native":"IS_PED_IN_ANY_BOAT","hash":"0x2E0E1C2B4F6CB339","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInAnySub","native":"IS_PED_IN_ANY_SUB","hash":"0xFBFC01CCFB35D99E","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInAnyHeli","native":"IS_PED_IN_ANY_HELI","hash":"0x298B91AE825E5705","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInAnyPlane","native":"IS_PED_IN_ANY_PLANE","hash":"0x5FFF4CFC74D8FB80","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInFlyingVehicle","native":"IS_PED_IN_FLYING_VEHICLE","hash":"0x9134873537FA419C","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedDiesInWater","native":"SET_PED_DIES_IN_WATER","hash":"0x56CEF0AC79073BDE","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"getPedDiesInWater","native":"GET_PED_DIES_IN_WATER","hash":"0x65671A4FB8218930","params":[["ped","Ped"]],"ret":"BOOL","since":2699,"aka":["_GET_PED_DIES_IN_WATER"]},
{"name":"setPedDiesInSinkingVehicle","native":"SET_PED_DIES_IN_SINKING_VEHICLE","hash":"0xD718A22995E2B4BC","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"getPedArmour","native":"GET_PED_ARMOUR","hash":"0x9483AF821605B1D8","params":[["ped","Ped"]],"ret":"int"},
{"name":"setPedStayInVehicleWhenJacked","native":"SET_PED_STAY_IN_VEHICLE_WHEN_JACKED","hash":"0xEDF4079F9D54C9A1","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanBeShotInVehicle","native":"SET_PED_CAN_BE_SHOT_IN_VEHICLE","hash":"0xC7EF1BA83230BA07","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"getPedLastDamageBone","native":"GET_PED_LAST_DAMAGE_BONE","hash":"0xD75960F6BD9EA49C","params":[["ped","Ped"]],"ret":"BOOL","outs":[["outBone","int",1]]},
{"name":"clearPedLastDamageBone","native":"CLEAR_PED_LAST_DAMAGE_BONE","hash":"0x8EF6B7AC68E2F01B","params":[["ped","Ped"]]},
{"name":"setAiWeaponDamageModifier","native":"SET_AI_WEAPON_DAMAGE_MODIFIER","hash":"0x1B1E2A40A65B8521","params":[["value","float"]]},
{"name":"resetAiWeaponDamageModifier","native":"RESET_AI_WEAPON_DAMAGE_MODIFIER","hash":"0xEA16670E7BA4743C"},
{"name":"setAiMeleeWeaponDamageModifier","native":"SET_AI_MELEE_WEAPON_DAMAGE_MODIFIER","hash":"0x66460DEDDD417254","params":[["modifier","float"]]},
{"name":"resetAiMeleeWeaponDamageModifier","native":"RESET_AI_MELEE_WEAPON_DAMAGE_MODIFIER","hash":"0x46E56A7CD1D63C3F"},
{"name":"setTreatAsAmbientPedForDriverLockon","native":"SET_TREAT_AS_AMBIENT_PED_FOR_DRIVER_LOCKON","hash":"0x2F3C3D9F50681DE4","params":[["ped","Ped"],["p1","BOOL"]]},
{"name":"setPedCanBeTargetted","native":"SET_PED_CAN_BE_TARGETTED","hash":"0x63F58F7C80513AAD","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanBeTargettedByTeam","native":"SET_PED_CAN_BE_TARGETTED_BY_TEAM","hash":"0xBF1CA77833E58F2C","params":[["ped","Ped"],["team","int"],["toggle","BOOL"]]},
{"name":"setPedCanBeTargettedByPlayer","native":"SET_PED_CAN_BE_TARGETTED_BY_PLAYER","hash":"0x66B57B72E0836A76","params":[["ped","Ped"],["player","Player"],["toggle","BOOL"]]},
{"name":"setAllowLockonToPedIfFriendly","native":"SET_ALLOW_LOCKON_TO_PED_IF_FRIENDLY","hash":"0x061CB768363D6424","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setUseCameraHeadingForDesiredDirectionLockOnTest","native":"SET_USE_CAMERA_HEADING_FOR_DESIRED_DIRECTION_LOCK_ON_TEST","hash":"0xFD325494792302D7","params":[["ped","Ped"],["toggle","BOOL"]],"aka":["SET_TIME_EXCLUSIVE_DISPLAY_TEXTURE"]},
{"name":"isPedInAnyPoliceVehicle","native":"IS_PED_IN_ANY_POLICE_VEHICLE","hash":"0x0BD04E29640C9C12","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"forcePedToOpenParachute","native":"FORCE_PED_TO_OPEN_PARACHUTE","hash":"0x16E42E800B472221","params":[["ped","Ped"]]},
{"name":"isPedInParachuteFreeFall","native":"IS_PED_IN_PARACHUTE_FREE_FALL","hash":"0x7DCE8BDA0F1C1200","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedFalling","native":"IS_PED_FALLING","hash":"0xFB92A102F1C4DFA3","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedJumping","native":"IS_PED_JUMPING","hash":"0xCEDABC5900A0BF97","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedLanding","native":"IS_PED_LANDING","hash":"0x412F1364FA066CFB","params":[["p0","Any"]],"ret":"BOOL","since":573},
{"name":"isPedDoingABeastJump","native":"IS_PED_DOING_A_BEAST_JUMP","hash":"0x451D05012CCEC234","params":[["p0","Any"]],"ret":"BOOL","since":573},
{"name":"isPedClimbing","native":"IS_PED_CLIMBING","hash":"0x53E8CB4F48BFE623","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedVaulting","native":"IS_PED_VAULTING","hash":"0x117C70D1F5730B5E","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedDiving","native":"IS_PED_DIVING","hash":"0x5527B8246FEF9B11","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedJumpingOutOfVehicle","native":"IS_PED_JUMPING_OUT_OF_VEHICLE","hash":"0x433DDFFE2044B636","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedOpeningDoor","native":"IS_PED_OPENING_DOOR","hash":"0x26AF0E8E30BD2A2C","params":[["ped","Ped"]],"ret":"BOOL","aka":["_IS_PED_OPENING_A_DOOR"],"doc":"Returns true if the ped is currently opening a door."},
{"name":"getPedParachuteState","native":"GET_PED_PARACHUTE_STATE","hash":"0x79CFD9827CC979B6","params":[["ped","Ped"]],"ret":"int","doc":"Returns:\n\n-1: Normal\n0: Wearing parachute on back\n1: Parachute opening\n2: Parachute open\n3: Falling to doom (e.g. after exiting parachute)\n\nNormal means no parachute?"},
{"name":"getPedParachuteLandingType","native":"GET_PED_PARACHUTE_LANDING_TYPE","hash":"0x8B9F1FC6AE8166C0","params":[["ped","Ped"]],"ret":"int","doc":"-1: no landing\n0: landing on both feet\n1: stumbling\n2: rolling\n3: ragdoll"},
{"name":"setPedParachuteTintIndex","native":"SET_PED_PARACHUTE_TINT_INDEX","hash":"0x333FC8DB079B7186","params":[["ped","Ped"],["tintIndex","int"]]},
{"name":"getPedParachuteTintIndex","native":"GET_PED_PARACHUTE_TINT_INDEX","hash":"0xEAF5F7E5AE7C6C9D","params":[["ped","Ped"]],"outs":[["outTintIndex","int",1]]},
{"name":"setPedReserveParachuteTintIndex","native":"SET_PED_RESERVE_PARACHUTE_TINT_INDEX","hash":"0xE88DA0751C22A2AD","params":[["ped","Ped"],["p1","Any"]]},
{"name":"createParachuteBagObject","native":"CREATE_PARACHUTE_BAG_OBJECT","hash":"0x8C4F3BF23B6237DB","params":[["ped","Ped"],["p1","BOOL"],["p2","BOOL"]],"ret":"Object","aka":["_CREATE_PARACHUTE_OBJECT"]},
{"name":"setPedDucking","native":"SET_PED_DUCKING","hash":"0x030983CA930B692D","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"This is the SET_CHAR_DUCKING from GTA IV, that makes Peds duck. This function does nothing in GTA V. It cannot set the ped as ducking in vehicles, and `isPedDucking` will always return false."},
{"name":"isPedDucking","native":"IS_PED_DUCKING","hash":"0xD125AE748725C6BC","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInAnyTaxi","native":"IS_PED_IN_ANY_TAXI","hash":"0x6E575D6A898AB852","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedIdRange","native":"SET_PED_ID_RANGE","hash":"0xF107E836A70DCE05","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedHighlyPerceptive","native":"SET_PED_HIGHLY_PERCEPTIVE","hash":"0x52D59AB61DDC05DD","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setCopPerceptionOverrides","native":"SET_COP_PERCEPTION_OVERRIDES","hash":"0x2F074C904D85129E","params":[["seeingRange","float"],["seeingRangePeripheral","float"],["hearingRange","float"],["visualFieldMinAzimuthAngle","float"],["visualFieldMaxAzimuthAngle","float"],["fieldOfGazeMaxAngle","float"],["p6","float"]],"since":393,"aka":["_SET_PED_PERCEPTION_OVERRIDE_THIS_FRAME"]},
{"name":"setPedInjuredOnGroundBehaviour","native":"SET_PED_INJURED_ON_GROUND_BEHAVIOUR","hash":"0xEC4B4B3B9908052A","params":[["ped","Ped"],["p1","float"]]},
{"name":"disablePedInjuredOnGroundBehaviour","native":"DISABLE_PED_INJURED_ON_GROUND_BEHAVIOUR","hash":"0x733C87D4CE22BEA2","params":[["ped","Ped"]]},
{"name":"setPedSeeingRange","native":"SET_PED_SEEING_RANGE","hash":"0xF29CF591C4BF6CEE","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedHearingRange","native":"SET_PED_HEARING_RANGE","hash":"0x33A8F7F7D5F7F33C","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedVisualFieldMinAngle","native":"SET_PED_VISUAL_FIELD_MIN_ANGLE","hash":"0x2DB492222FB21E26","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedVisualFieldMaxAngle","native":"SET_PED_VISUAL_FIELD_MAX_ANGLE","hash":"0x70793BDCA1E854D4","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedVisualFieldMinElevationAngle","native":"SET_PED_VISUAL_FIELD_MIN_ELEVATION_ANGLE","hash":"0x7A276EB2C224D70F","params":[["ped","Ped"],["angle","float"]],"doc":"This native refers to the field of vision the ped has below them, starting at 0 degrees. The angle value should be negative.\n-90f should let the ped see 90 degrees below them, for example."},
{"name":"setPedVisualFieldMaxElevationAngle","native":"SET_PED_VISUAL_FIELD_MAX_ELEVATION_ANGLE","hash":"0x78D0B67629D75856","params":[["ped","Ped"],["angle","float"]],"doc":"This native refers to the field of vision the ped has above them, starting at 0 degrees. 90f would let the ped see enemies directly above of them."},
{"name":"setPedVisualFieldPeripheralRange","native":"SET_PED_VISUAL_FIELD_PERIPHERAL_RANGE","hash":"0x9C74B0BC831B753A","params":[["ped","Ped"],["range","float"]]},
{"name":"setPedVisualFieldCenterAngle","native":"SET_PED_VISUAL_FIELD_CENTER_ANGLE","hash":"0x3B6405E8AB34A907","params":[["ped","Ped"],["angle","float"]]},
{"name":"getPedVisualFieldCenterAngle","native":"GET_PED_VISUAL_FIELD_CENTER_ANGLE","hash":"0xEF2C71A32CAD5FBD","params":[["ped","Ped"]],"ret":"float","since":1493,"aka":["_GET_PED_VISUAL_FIELD_CENTER_ANGLE"]},
{"name":"setPedStealthMovement","native":"SET_PED_STEALTH_MOVEMENT","hash":"0x88CBB5CEB96B7BD2","params":[["ped","Ped"],["p1","BOOL"],["action","string"]],"doc":"p1 is usually 0 in the scripts. action is either 0 or a pointer to \"DEFAULT_ACTION\"."},
{"name":"getPedStealthMovement","native":"GET_PED_STEALTH_MOVEMENT","hash":"0x7C2AC9CA66575FBF","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns whether the entity is in stealth mode"},
{"name":"createGroup","native":"CREATE_GROUP","hash":"0x90370EBE0FEE1A3D","params":[["unused","int"]],"ret":"int","doc":"Creates a new ped group.\nGroups can contain up to 8 peds.\n\nThe parameter is unused.\n\nReturns a handle to the created group, or 0 if a group couldn't be created."},
{"name":"setPedAsGroupLeader","native":"SET_PED_AS_GROUP_LEADER","hash":"0x2A7819605465FBCE","params":[["ped","Ped"],["groupId","int"]]},
{"name":"setPedAsGroupMember","native":"SET_PED_AS_GROUP_MEMBER","hash":"0x9F3480FE65DB31B5","params":[["ped","Ped"],["groupId","int"]]},
{"name":"setPedCanTeleportToGroupLeader","native":"SET_PED_CAN_TELEPORT_TO_GROUP_LEADER","hash":"0x2E2F4240B3F24647","params":[["pedHandle","Ped"],["groupHandle","int"],["toggle","BOOL"]],"doc":"This only will teleport the ped to the group leader if the group leader teleports (sets coords).\n\nOnly works in singleplayer"},
{"name":"removeGroup","native":"REMOVE_GROUP","hash":"0x8EB2F69076AF7053","params":[["groupId","int"]]},
{"name":"removePedFromGroup","native":"REMOVE_PED_FROM_GROUP","hash":"0xED74007FFB146BC2","params":[["ped","Ped"]]},
{"name":"isPedGroupMember","native":"IS_PED_GROUP_MEMBER","hash":"0x9BB01E3834671191","params":[["ped","Ped"],["groupId","int"]],"ret":"BOOL"},
{"name":"isPedHangingOnToVehicle","native":"IS_PED_HANGING_ON_TO_VEHICLE","hash":"0x1C86D8AEF8254B78","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setGroupSeparationRange","native":"SET_GROUP_SEPARATION_RANGE","hash":"0x4102C7858CFEE4E4","params":[["groupHandle","int"],["separationRange","float"]],"doc":"Sets the range at which members will automatically leave the group."},
{"name":"setPedMinGroundTimeForStungun","native":"SET_PED_MIN_GROUND_TIME_FOR_STUNGUN","hash":"0xFA0675AB151073FA","params":[["ped","Ped"],["ms","int"]],"doc":"Ped will stay on the ground after being stunned for at lest ms time. (in milliseconds)"},
{"name":"isPedProne","native":"IS_PED_PRONE","hash":"0xD6A86331A537A7B9","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInCombat","native":"IS_PED_IN_COMBAT","hash":"0x4859F1FC66A6278E","params":[["ped","Ped"],["target","Ped"]],"ret":"BOOL","doc":"Checks to see if ped and target are in combat with eachother. Only goes one-way: if target is engaged in combat with ped but ped has not yet reacted, the function will return false until ped starts fighting back.\n\np1 is usually 0 in the scripts because it gets the ped id during the task sequence. For instance: `isPedInCombat`(l_42E[4/*14*/], `playerPedId`()) // armenian2.ct4: 43794"},
{"name":"getPedTargetFromCombatPed","native":"GET_PED_TARGET_FROM_COMBAT_PED","hash":"0x32C27A11307B01CC","params":[["ped","Ped"],["p1","Any"]],"ret":"Entity","since":2372,"aka":["_GET_PED_TASK_COMBAT_TARGET"]},
{"name":"canPedInCombatSeeTarget","native":"CAN_PED_IN_COMBAT_SEE_TARGET","hash":"0xEAD42DE3610D0721","params":[["ped","Ped"],["target","Ped"]],"ret":"BOOL"},
{"name":"isPedDoingDriveby","native":"IS_PED_DOING_DRIVEBY","hash":"0xB2C086CC1BF8F2BF","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedJacking","native":"IS_PED_JACKING","hash":"0x4AE4FF911DFB61DA","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedBeingJacked","native":"IS_PED_BEING_JACKED","hash":"0x9A497FE2DF198913","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedBeingStunned","native":"IS_PED_BEING_STUNNED","hash":"0x4FBACCE3B4138EE8","params":[["ped","Ped"],["p1","int"]],"ret":"BOOL","doc":"p1 is always 0"},
{"name":"getPedsJacker","native":"GET_PEDS_JACKER","hash":"0x9B128DC36C1E04CF","params":[["ped","Ped"]],"ret":"Ped"},
{"name":"getJackTarget","native":"GET_JACK_TARGET","hash":"0x5486A79D9FBD342D","params":[["ped","Ped"]],"ret":"Ped"},
{"name":"isPedFleeing","native":"IS_PED_FLEEING","hash":"0xBBCCE00B381F8482","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInCover","native":"IS_PED_IN_COVER","hash":"0x60DFD0691A170B88","params":[["ped","Ped"],["exceptUseWeapon","BOOL"]],"ret":"BOOL","doc":"p1 is nearly always 0 in the scripts."},
{"name":"isPedInCoverFacingLeft","native":"IS_PED_IN_COVER_FACING_LEFT","hash":"0x845333B3150583AB","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedInHighCover","native":"IS_PED_IN_HIGH_COVER","hash":"0x6A03BF943D767C93","params":[["ped","Ped"]],"ret":"BOOL","aka":["_IS_PED_STANDING_IN_COVER"]},
{"name":"isPedGoingIntoCover","native":"IS_PED_GOING_INTO_COVER","hash":"0x9F65DBC537E59AD5","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedPinnedDown","native":"SET_PED_PINNED_DOWN","hash":"0xAAD6D1ACF08F4612","params":[["ped","Ped"],["pinned","BOOL"],["i","int"]],"ret":"BOOL","doc":"i could be time. Only example in the decompiled scripts uses it as -1."},
{"name":"hasPedClearLosToEntity","native":"_HAS_PED_CLEAR_LOS_TO_ENTITY","hash":"0xA32ABFEB2A03B306","params":[["ped","Ped"],["entity","Entity"],["x","float"],["y","float"],["z","float"],["p5","int"],["p6","BOOL"],["p7","BOOL"]],"ret":"BOOL","na":1,"since":3095},
{"name":"getSeatPedIsTryingToEnter","native":"GET_SEAT_PED_IS_TRYING_TO_ENTER","hash":"0x6F4C85ACD641BCD2","params":[["ped","Ped"]],"ret":"int"},
{"name":"getVehiclePedIsTryingToEnter","native":"GET_VEHICLE_PED_IS_TRYING_TO_ENTER","hash":"0x814FA8BE5449445D","params":[["ped","Ped"]],"ret":"Vehicle"},
{"name":"getPedSourceOfDeath","native":"GET_PED_SOURCE_OF_DEATH","hash":"0x93C8B64DEB84728C","params":[["ped","Ped"]],"ret":"Entity","aka":["_GET_PED_KILLER"],"doc":"Returns the Entity (Ped, Vehicle, or ?Object?) that killed the 'ped'\n\nIs best to check if the Ped is dead before asking for its killer."},
{"name":"getPedCauseOfDeath","native":"GET_PED_CAUSE_OF_DEATH","hash":"0x16FFE42AB2D2DC59","params":[["ped","Ped"]],"ret":"Hash","doc":"Returns the hash of the weapon/model/object that killed the ped."},
{"name":"getPedTimeOfDeath","native":"GET_PED_TIME_OF_DEATH","hash":"0x1E98817B311AE98A","params":[["ped","Ped"]],"ret":"int","aka":["_GET_PED_TIME_OF_DEATH"]},
{"name":"countPedsInCombatWithTarget","native":"COUNT_PEDS_IN_COMBAT_WITH_TARGET","hash":"0x5407B7288D0478B7","params":[["ped","Ped"]],"ret":"int"},
{"name":"countPedsInCombatWithTargetWithinRadius","native":"COUNT_PEDS_IN_COMBAT_WITH_TARGET_WITHIN_RADIUS","hash":"0x336B3D200AB007CB","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"int"},
{"name":"setPedRelationshipGroupDefaultHash","native":"SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH","hash":"0xADB3F206518799E8","params":[["ped","Ped"],["hash","Hash"]]},
{"name":"setPedRelationshipGroupHash","native":"SET_PED_RELATIONSHIP_GROUP_HASH","hash":"0xC80A74AC829DDD92","params":[["ped","Ped"],["hash","Hash"]]},
{"name":"setRelationshipBetweenGroups","native":"SET_RELATIONSHIP_BETWEEN_GROUPS","hash":"0xBF25EB89375A37AD","params":[["relationship","int"],["group1","Hash"],["group2","Hash"]],"doc":"Sets the relationship between two groups. This should be called twice (once for each group).\n\nRelationship types:\n0 = Companion\n1 = Respect\n2 = Like\n3 = Neutral\n4 = Dislike\n5 = Hate\n255 = Pedestrians\n\nExample:\n\n```\nsetRelationshipBetweenGroups(2, l_1017, 0xA49E591C);\nsetRelationshipBetweenGroups(2, 0xA49E591C, l_1017);\n```"},
{"name":"clearRelationshipBetweenGroups","native":"CLEAR_RELATIONSHIP_BETWEEN_GROUPS","hash":"0x5E29243FB56FC6D4","params":[["relationship","int"],["group1","Hash"],["group2","Hash"]],"doc":"Clears the relationship between two groups. This should be called twice (once for each group).\n\nRelationship types:\n0 = Companion\n1 = Respect\n2 = Like\n3 = Neutral\n4 = Dislike\n5 = Hate\n255 = Pedestrians\n(Credits: Inco)\n\nExample:\n\n```\nclearRelationshipBetweenGroups(2, l_1017, 0xA49E591C);\nclearRelationshipBetweenGroups(2, 0xA49E591C, l_1017);\n```"},
{"name":"addRelationshipGroup","native":"ADD_RELATIONSHIP_GROUP","hash":"0xF372BC22FCB88606","params":[["name","string"]],"ret":"BOOL","outs":[["groupHash","Hash",1]],"doc":"Can't select void. This function returns nothing. The hash of the created relationship group is output in the second parameter."},
{"name":"removeRelationshipGroup","native":"REMOVE_RELATIONSHIP_GROUP","hash":"0xB6BA2444AB393DA2","params":[["groupHash","Hash"]]},
{"name":"doesRelationshipGroupExist","native":"DOES_RELATIONSHIP_GROUP_EXIST","hash":"0xCC6E3B6BB69501F1","params":[["groupHash","Hash"]],"ret":"BOOL","since":505,"aka":["_DOES_RELATIONSHIP_GROUP_EXIST"]},
{"name":"getRelationshipBetweenPeds","native":"GET_RELATIONSHIP_BETWEEN_PEDS","hash":"0xEBA5AD3A0EAF7121","params":[["ped1","Ped"],["ped2","Ped"]],"ret":"int","doc":"Gets the relationship between two peds. This should be called twice (once for each ped).\n\nRelationship types:\n0 = Companion\n1 = Respect\n2 = Like\n3 = Neutral\n4 = Dislike\n5 = Hate\n255 = Pedestrians\n(Credits: Inco)\n\nExample:\n\n```\ngetRelationshipBetweenPeds(2, l_1017, 0xA49E591C);\ngetRelationshipBetweenPeds(2, 0xA49E591C, l_1017);\n```"},
{"name":"getPedRelationshipGroupDefaultHash","native":"GET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH","hash":"0x42FDD0F017B1E38E","params":[["ped","Ped"]],"ret":"Hash"},
{"name":"getPedRelationshipGroupHash","native":"GET_PED_RELATIONSHIP_GROUP_HASH","hash":"0x7DBDD04862D95F04","params":[["ped","Ped"]],"ret":"Hash"},
{"name":"getRelationshipBetweenGroups","native":"GET_RELATIONSHIP_BETWEEN_GROUPS","hash":"0x9E6B70061662AE5C","params":[["group1","Hash"],["group2","Hash"]],"ret":"int","doc":"Gets the relationship between two groups. This should be called twice (once for each group).\n\nRelationship types:\n0 = Companion\n1 = Respect\n2 = Like\n3 = Neutral\n4 = Dislike\n5 = Hate\n255 = Pedestrians\n\nExample:\n\n```\ngetRelationshipBetweenGroups(l_1017, 0xA49E591C);\ngetRelationshipBetweenGroups(0xA49E591C, l_1017);\n```"},
{"name":"setRelationshipGroupAffectsWantedLevel","native":"SET_RELATIONSHIP_GROUP_AFFECTS_WANTED_LEVEL","hash":"0x5615E0C5EB2BC6E2","params":[["group","Hash"],["p1","BOOL"]],"since":877,"aka":["_SET_RELATIONSHIP_GROUP_DONT_AFFECT_WANTED_LEVEL"]},
{"name":"tellGroupPedsInAreaToAttack","native":"TELL_GROUP_PEDS_IN_AREA_TO_ATTACK","hash":"0xAD27D957598E49E9","params":[["ped","Ped"],["p1","Any"],["p2","float"],["hash","Hash"],["p4","Any"],["p5","Any"]],"since":1290,"notes":[{"kind":"warn","title":"Signature under review","md":"LS:MP's table describes the parameters of this native differently from the current native database (`void TELL_GROUP_PEDS_IN_AREA_TO_ATTACK(Ped ped, float x, float y, float z, float radius, Hash hash)`). Until the table is refreshed, some values may be passed or returned under the wrong type."}]},
{"name":"setPedCanBeTargetedWithoutLos","native":"SET_PED_CAN_BE_TARGETED_WITHOUT_LOS","hash":"0x4328652AE5769C71","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedToInformRespectedFriends","native":"SET_PED_TO_INFORM_RESPECTED_FRIENDS","hash":"0x112942C6E708F70B","params":[["ped","Ped"],["radius","float"],["maxFriends","int"]]},
{"name":"isPedRespondingToEvent","native":"IS_PED_RESPONDING_TO_EVENT","hash":"0x625B774D75C87068","params":[["ped","Ped"],["event","Any"]],"ret":"BOOL"},
{"name":"getPosFromFiredEvent","native":"GET_POS_FROM_FIRED_EVENT","hash":"0xBA656A3BB01BDEA3","params":[["ped","Ped"],["eventType","int"]],"ret":"BOOL","outs":[["outData","Vector3",2]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Event position","md":"Pass a valid ped handle and an event type. A successful call returns true and the event source position."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"setPedFiringPattern","native":"SET_PED_FIRING_PATTERN","hash":"0x9AC577F5A12AD8A9","params":[["ped","Ped"],["patternHash","Hash"]],"doc":"FIRING_PATTERN_BURST_FIRE = 0xD6FF6D61 ( 1073727030 )\nFIRING_PATTERN_BURST_FIRE_IN_COVER = 0x026321F1 ( 40051185 )\nFIRING_PATTERN_BURST_FIRE_DRIVEBY = 0xD31265F2 ( -753768974 )\nFIRING_PATTERN_FROM_GROUND = 0x2264E5D6 ( 577037782 )\nFIRING_PATTERN_DELAY_FIRE_BY_ONE_SEC = 0x7A845691 ( 2055493265 )\nFIRING_PATTERN_FULL_AUTO = 0xC6EE6B4C ( -957453492 )\nFIRING_PATTERN_SINGLE_SHOT = 0x5D60E4E0 ( 1566631136 )\nFIRING_PATTERN_BURST_FIRE_PISTOL = 0xA018DB8A ( -1608983670 )\nFIRING_PATTERN_BURST_FIRE_SMG = 0xD10DADEE ( 1863348768 )\nFIRING_PATTERN_BURST_FIRE_RIFLE = 0x9C74B406 ( -1670073338 )\nFIRING_PATTERN_BURST_FIRE_MG = 0xB573C5B4 ( -1250703948 )\nFIRING_PATTERN_BURST_FIRE_PUMPSHOTGUN = 0x00BAC39B ( 12239771 )\nFIRING_PATTERN_BURST_FIRE_HELI = 0x914E786F ( -1857128337 )\nFIRING_PATTERN_BURST_FIRE_MICRO = 0x42EF03FD ( 1122960381 )\nFIRING_PATTERN_SHORT_BURSTS = 0x1A92D7DF ( 445831135 )\nFIRING_PATTERN_SLOW_FIRE_TANK = 0xE2CA3A71 ( -490063247 )\n\nFiring pattern info: https://pastebin.com/Px036isB"},
{"name":"setPedShootRate","native":"SET_PED_SHOOT_RATE","hash":"0x614DA022990752DC","params":[["ped","Ped"],["shootRate","int"]],"doc":"shootRate 0-1000"},
{"name":"setCombatFloat","native":"SET_COMBAT_FLOAT","hash":"0xFF41B4B141ED981C","params":[["ped","Ped"],["combatType","int"],["p2","float"]],"doc":"combatType can be between 0-14. See `getCombatFloat` below for a list of possible parameters."},
{"name":"getCombatFloat","native":"GET_COMBAT_FLOAT","hash":"0x52DFF8A10508090A","params":[["ped","Ped"],["p1","int"]],"ret":"float","doc":"p0: Ped Handle\np1: int i | 0 <= i <= 27\n\np1 probably refers to the attributes configured in combatbehavior.meta. There are 13. Example:\n\n<BlindFireChance value=\"0.1\"/>\n<WeaponShootRateModifier value=\"1.0\"/>\n<TimeBetweenBurstsInCover value=\"1.25\"/>\n<BurstDurationInCover value=\"2.0\"/>\n<TimeBetweenPeeks value=\"10.0\"/>\n<WeaponAccuracy value=\"0.18\"/>\n<FightProficiency value=\"0.8\"/>\n<StrafeWhenMovingChance value=\"1.0\"/>\n<WalkWhenStrafingChance value=\"0.0\"/>\n<AttackWindowDistanceForCover value=\"55.0\"/>\n<TimeToInvalidateInjuredTarget value=\"9.0\"/>\n<TriggerChargeTime_Near value=\"4.0\"/>\n<TriggerChargeTime_Far value=\"10.0\"/>\n\n-------------Confirmed by editing combatbehavior.meta:\np1:\n0=BlindFireChance\n1=BurstDurationInCover\n3=TimeBetweenBurstsInCover\n4=TimeBetweenPeeks\n5=StrafeWhenMovingChance\n8=WalkWhenStrafingChance\n11=AttackWindowDistanceForCover\n12=TimeToInvalidateInjuredTarget\n16=OptimalCoverDistance"},
{"name":"getGroupSize","native":"GET_GROUP_SIZE","hash":"0x8DE69FE35CA09A45","params":[["groupID","int"]],"outs":[["hasLeader","int",1],["sizeInMembers","int",2]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Leader and followers","md":"Returns `hasLeader` as 0 or 1, followed by the number of followers. Use a valid script group handle."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"doesGroupExist","native":"DOES_GROUP_EXIST","hash":"0x7C6B0C22F9F40BBE","params":[["groupId","int"]],"ret":"BOOL"},
{"name":"getPedGroupIndex","native":"GET_PED_GROUP_INDEX","hash":"0xF162E133B4E7A675","params":[["ped","Ped"]],"ret":"int","doc":"Returns the group id of which the specified ped is a member of."},
{"name":"isPedInGroup","native":"IS_PED_IN_GROUP","hash":"0x5891CAC5D4ACFF74","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getPlayerPedIsFollowing","native":"GET_PLAYER_PED_IS_FOLLOWING","hash":"0x6A3975DEA89F9A17","params":[["ped","Ped"]],"ret":"Player"},
{"name":"setGroupFormation","native":"SET_GROUP_FORMATION","hash":"0xCE2F5FC3AF7E8C1E","params":[["groupId","int"],["formationType","int"]],"doc":"0: Default\n1: Circle Around Leader\n2: Alternative Circle Around Leader\n3: Line, with Leader at center"},
{"name":"setGroupFormationSpacing","native":"SET_GROUP_FORMATION_SPACING","hash":"0x1D9D45004C28C916","params":[["groupId","int"],["x","float"],["y","float"],["z","float"]]},
{"name":"resetGroupFormationDefaultSpacing","native":"RESET_GROUP_FORMATION_DEFAULT_SPACING","hash":"0x63DAB4CCB3273205","params":[["groupHandle","int"]]},
{"name":"getVehiclePedIsUsing","native":"GET_VEHICLE_PED_IS_USING","hash":"0x6094AD011A2EA87D","params":[["ped","Ped"]],"ret":"Vehicle","doc":"Gets ID of vehicle player using. It means it can get ID at any interaction with vehicle. Enter\\exit for example. And that means it is faster than `getVehiclePedIsIn` but less safe."},
{"name":"getVehiclePedIsEntering","native":"GET_VEHICLE_PED_IS_ENTERING","hash":"0xF92691AED837A5FC","params":[["ped","Ped"]],"ret":"Vehicle","aka":["SET_EXCLUSIVE_PHONE_RELATIONSHIPS"]},
{"name":"setPedGravity","native":"SET_PED_GRAVITY","hash":"0x9FF447B6B6AD960A","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"enable or disable the gravity of a ped\n\nExamples:\n\n```\nsetPedGravity(playerPedId(), 0x00000001);\nsetPedGravity(Local_289[iVar0 /*20*/], 0x00000001);\n```"},
{"name":"setPedSurvivesBeingOutOfWater","native":"_SET_PED_SURVIVES_BEING_OUT_OF_WATER","hash":"0x100CD221F572F6E1","params":[["ped","Ped"],["toggle","BOOL"]],"ret":"BOOL","na":1,"since":3407},
{"name":"applyDamageToPed","native":"APPLY_DAMAGE_TO_PED","hash":"0x697157CED63F18D4","params":[["ped","Ped"],["damageAmount","int"],["p2","BOOL"],["p3","Any"],["weaponType","Hash"]],"doc":"damages a ped with the given amount"},
{"name":"getTimePedDamagedByWeapon","native":"GET_TIME_PED_DAMAGED_BY_WEAPON","hash":"0x36B77BB84687C318","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"int","aka":["_GET_TIME_OF_LAST_PED_WEAPON_DAMAGE"]},
{"name":"setPedAllowedToDuck","native":"SET_PED_ALLOWED_TO_DUCK","hash":"0xDA1F1B7BE1A8766F","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedNeverLeavesGroup","native":"SET_PED_NEVER_LEAVES_GROUP","hash":"0x3DBFC55D5C9BB447","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"getPedType","native":"GET_PED_TYPE","hash":"0xFF059E1E4C01E63C","params":[["ped","Ped"]],"ret":"int"},
{"name":"setPedAsCop","native":"SET_PED_AS_COP","hash":"0xBB03C38DD3FB7FFD","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Turns the desired ped into a cop. If you use this on the player ped, you will become almost invisible to cops dispatched for you. You will also report your own crimes, get a generic cop voice, get a cop-vision-cone on the radar, and you will be unable to shoot at other cops. SWAT and Army will still shoot at you. Toggling ped as \"false\" has no effect; you must change p0's ped model to disable the effect."},
{"name":"setPedHealthPendingLastDamageEventOverrideFlag","native":"SET_PED_HEALTH_PENDING_LAST_DAMAGE_EVENT_OVERRIDE_FLAG","hash":"0xB3352E018D6F89DF","params":[["toggle","BOOL"]],"since":2699},
{"name":"setPedMaxHealth","native":"SET_PED_MAX_HEALTH","hash":"0xF5F6378C4F3419D3","params":[["ped","Ped"],["value","int"]],"doc":"Sets the maximum health of a ped."},
{"name":"getPedMaxHealth","native":"GET_PED_MAX_HEALTH","hash":"0x4700A416E8324EF3","params":[["ped","Ped"]],"ret":"int"},
{"name":"setPedMaxTimeInWater","native":"SET_PED_MAX_TIME_IN_WATER","hash":"0x43C851690662113D","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedMaxTimeUnderwater","native":"SET_PED_MAX_TIME_UNDERWATER","hash":"0x6BA428C528D9E522","params":[["ped","Ped"],["value","float"]]},
{"name":"setCorpseRagdollFriction","native":"SET_CORPSE_RAGDOLL_FRICTION","hash":"0x2735233A786B1BEF","params":[["ped","Ped"],["p1","float"]]},
{"name":"setPedVehicleForcedSeatUsage","native":"SET_PED_VEHICLE_FORCED_SEAT_USAGE","hash":"0x952F06BEECD775CC","params":[["ped","Ped"],["vehicle","Vehicle"],["seatIndex","int"],["flags","int"],["p4","Any"]],"doc":"seatIndex must be <= 2"},
{"name":"clearAllPedVehicleForcedSeatUsage","native":"CLEAR_ALL_PED_VEHICLE_FORCED_SEAT_USAGE","hash":"0xE6CA85E7259CE16B","params":[["ped","Ped"]]},
{"name":"setPedCanBeKnockedOffBike","native":"SET_PED_CAN_BE_KNOCKED_OFF_BIKE","hash":"0xB282749D5E028163","params":[["p0","Any"],["p1","Any"]],"since":877,"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"setPedCanBeKnockedOffVehicle","native":"SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE","hash":"0x7A6535691B477C48","params":[["ped","Ped"],["state","int"]]},
{"name":"canKnockPedOffVehicle","native":"CAN_KNOCK_PED_OFF_VEHICLE","hash":"0x51AC07A44D4F5B8A","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"knockPedOffVehicle","native":"KNOCK_PED_OFF_VEHICLE","hash":"0x45BBCBA77C29A841","params":[["ped","Ped"]]},
{"name":"setPedCoordsNoGang","native":"SET_PED_COORDS_NO_GANG","hash":"0x87052FE446E07247","params":[["ped","Ped"],["posX","float"],["posY","float"],["posZ","float"]]},
{"name":"getPedAsGroupMember","native":"GET_PED_AS_GROUP_MEMBER","hash":"0x51455483CF23ED97","params":[["groupID","int"],["memberNumber","int"]],"ret":"Ped","doc":"from fm_mission_controller.c4 (variable names changed for clarity):\n\n```\nint groupID = getPlayerGroup(playerId());\ngetGroupSize(group, &unused, &groupSize);\nif (groupSize >= 1) {\n. . . . for (int memberNumber = 0; memberNumber < groupSize; memberNumber++) {\n. . . . . . . . Ped ped1 = getPedAsGroupMember(groupID, memberNumber);\n```\n\n. . . . . . . . //and so on"},
{"name":"getPedAsGroupLeader","native":"GET_PED_AS_GROUP_LEADER","hash":"0x5CCE68DBD5FE93EC","params":[["groupID","int"]],"ret":"Ped","aka":["_GET_PED_AS_GROUP_LEADER"]},
{"name":"setPedKeepTask","native":"SET_PED_KEEP_TASK","hash":"0x971D38760FBC02EF","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedAllowMinorReactionsAsMissionPed","native":"SET_PED_ALLOW_MINOR_REACTIONS_AS_MISSION_PED","hash":"0x49E50BDB8BA4DAB2","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"isPedSwimming","native":"IS_PED_SWIMMING","hash":"0x9DE327631295B4C2","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedSwimmingUnderWater","native":"IS_PED_SWIMMING_UNDER_WATER","hash":"0xC024869A53992F34","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedCoordsKeepVehicle","native":"SET_PED_COORDS_KEEP_VEHICLE","hash":"0x9AFEFF481A85AB2E","params":[["ped","Ped"],["posX","float"],["posY","float"],["posZ","float"]],"doc":"teleports ped to coords along with the vehicle ped is in"},
{"name":"setPedDiesInVehicle","native":"SET_PED_DIES_IN_VEHICLE","hash":"0x2A30922C90C9B42C","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setCreateRandomCops","native":"SET_CREATE_RANDOM_COPS","hash":"0x102E68B2024D536D","params":[["toggle","BOOL"]]},
{"name":"setCreateRandomCopsNotOnScenarios","native":"SET_CREATE_RANDOM_COPS_NOT_ON_SCENARIOS","hash":"0x8A4986851C4EF6E7","params":[["toggle","BOOL"]]},
{"name":"setCreateRandomCopsOnScenarios","native":"SET_CREATE_RANDOM_COPS_ON_SCENARIOS","hash":"0x444CB7D7DBE6973D","params":[["toggle","BOOL"]]},
{"name":"canCreateRandomCops","native":"CAN_CREATE_RANDOM_COPS","hash":"0x5EE2CAFF7F17770D","ret":"BOOL"},
{"name":"setPedAsEnemy","native":"SET_PED_AS_ENEMY","hash":"0x02A0C9720B854BFA","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanSmashGlass","native":"SET_PED_CAN_SMASH_GLASS","hash":"0x1CCE141467FF42A2","params":[["ped","Ped"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"isPedInAnyTrain","native":"IS_PED_IN_ANY_TRAIN","hash":"0x6F972C1AB75A1ED0","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedGettingIntoAVehicle","native":"IS_PED_GETTING_INTO_A_VEHICLE","hash":"0xBB062B2B5722478E","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedTryingToEnterALockedVehicle","native":"IS_PED_TRYING_TO_ENTER_A_LOCKED_VEHICLE","hash":"0x44D28D5DDFE5F68C","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setEnableHandcuffs","native":"SET_ENABLE_HANDCUFFS","hash":"0xDF1AF8B5D56542FA","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"ped can not pull out a weapon when true"},
{"name":"setEnableBoundAnkles","native":"SET_ENABLE_BOUND_ANKLES","hash":"0xC52E0F855C58FC2E","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Used with `setEnableHandcuffs` in decompiled scripts. From my observations, I have noticed that while being ragdolled you are not able to get up but you can still run. Your legs can also bend."},
{"name":"setEnableScuba","native":"SET_ENABLE_SCUBA","hash":"0xF99F62004024D506","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Enables diving motion when underwater."},
{"name":"setCanAttackFriendly","native":"SET_CAN_ATTACK_FRIENDLY","hash":"0xB3B1CB349FF9C75D","params":[["ped","Ped"],["toggle","BOOL"],["p2","BOOL"]],"doc":"Setting ped to true allows the ped to shoot \"friendlies\".\n\np2 set to true when toggle is also true seams to make peds permanently unable to aim at, even if you set p2 back to false.\n\np1 = false & p2 = false for unable to aim at.\np1 = true & p2 = false for able to aim at."},
{"name":"getPedAlertness","native":"GET_PED_ALERTNESS","hash":"0xF6AA118530443FD2","params":[["ped","Ped"]],"ret":"int","doc":"Returns the ped's alertness (0-3).\n\nValues :\n\n0 : Neutral\n1 : Heard something (gun shot, hit, etc)\n2 : Knows (the origin of the event)\n3 : Fully alerted (is facing the event?)\n\nIf the Ped does not exist, returns -1."},
{"name":"setPedAlertness","native":"SET_PED_ALERTNESS","hash":"0xDBA71115ED9941A6","params":[["ped","Ped"],["value","int"]],"doc":"value ranges from 0 to 3."},
{"name":"setPedGetOutUpsideDownVehicle","native":"SET_PED_GET_OUT_UPSIDE_DOWN_VEHICLE","hash":"0xBC0ED94165A48BC2","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedMovementClipset","native":"SET_PED_MOVEMENT_CLIPSET","hash":"0xAF8A94EDE7712BEF","params":[["ped","Ped"],["clipSet","string"],["transitionSpeed","float"]],"doc":"transitionSpeed is the time in seconds it takes to transition from one movement clipset to another.  ransitionSpeed is usually 1.0f\n\nList of movement clipsets:\nThanks to elsewhat for list.\n\n \"ANIM_GROUP_MOVE_BALLISTIC\"\n \"ANIM_GROUP_MOVE_LEMAR_ALLEY\"\n \"clipset@move@trash_fast_turn\"\n \"FEMALE_FAST_RUNNER\"\n \"missfbi4prepp1_garbageman\"\n \"move_characters@franklin@fire\"\n \"move_characters@Jimmy@slow@\"\n \"move_characters@michael@fire\"\n \"move_f@flee@a\"\n \"move_f@scared\"\n \"move_f@sexy@a\"\n \"move_heist_lester\"\n \"move_injured_generic\"\n \"move_lester_CaneUp\"\n \"move_m@bag\"\n \"MOVE_M@BAIL_BOND_NOT_TAZERED\"\n \"MOVE_M@BAIL_BOND_TAZERED\"\n \"move_m@brave\"\n \"move_m@casual@d\"\n \"move_m@drunk@moderatedrunk\"\n \"MOVE_M@DRUNK@MODERATEDRUNK\"\n \"MOVE_M@DRUNK@MODERATEDRUNK_HEAD_UP\"\n \"MOVE_M@DRUNK@SLIGHTLYDRUNK\"\n \"MOVE_M@DRUNK@VERYDRUNK\"\n \"move_m@fire\"\n \"move_m@gangster@var_e\"\n \"move_m@gangster@var_f\"\n \"move_m@gangster@var_i\"\n \"move_m@JOG@\"\n \"MOVE_M@PRISON_GAURD\"\n \"MOVE_P_M_ONE\"\n \"MOVE_P_M_ONE_BRIEFCASE\"\n \"move_p_m_zero_janitor\"\n \"move_p_m_zero_slow\"\n \"move_ped_bucket\"\n \"move_ped_crouched\"\n \"move_ped_mop\"\n \"MOVE_M@FEMME@\"\n \"MOVE_F@FEMME@\"\n \"MOVE_M@GANGSTER@NG\"\n \"MOVE_F@GANGSTER@NG\"\n \"MOVE_M@POSH@\"\n \"MOVE_F@POSH@\"\n \"MOVE_M@TOUGH_GUY@\"\n \"MOVE_F@TOUGH_GUY@\"\n\n~ NotCrunchyTaco\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"resetPedMovementClipset","native":"RESET_PED_MOVEMENT_CLIPSET","hash":"0xAA74EC0CB0AAEA2C","params":[["ped","Ped"],["p1","float"]],"doc":"If p1 is 0.0, I believe you are back to normal.\nIf p1 is 1.0, it looks like you can only rotate the ped, not walk.\n\nUsing the following code to reset back to normal\n\n```\nresetPedMovementClipset(playerPedId(), 0.0);\n```"},
{"name":"setPedStrafeClipset","native":"SET_PED_STRAFE_CLIPSET","hash":"0x29A28F3F8CF6D854","params":[["ped","Ped"],["clipSet","string"]],"doc":"Full list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"resetPedStrafeClipset","native":"RESET_PED_STRAFE_CLIPSET","hash":"0x20510814175EA477","params":[["ped","Ped"]]},
{"name":"setPedWeaponMovementClipset","native":"SET_PED_WEAPON_MOVEMENT_CLIPSET","hash":"0x2622E35B77D3ACA2","params":[["ped","Ped"],["clipSet","string"]]},
{"name":"resetPedWeaponMovementClipset","native":"RESET_PED_WEAPON_MOVEMENT_CLIPSET","hash":"0x97B0DB5B4AA74E77","params":[["ped","Ped"]]},
{"name":"setPedDriveByClipsetOverride","native":"SET_PED_DRIVE_BY_CLIPSET_OVERRIDE","hash":"0xED34AB6C5CB36520","params":[["ped","Ped"],["clipset","string"]]},
{"name":"clearPedDriveByClipsetOverride","native":"CLEAR_PED_DRIVE_BY_CLIPSET_OVERRIDE","hash":"0x4AFE3690D7E0B5AC","params":[["ped","Ped"]]},
{"name":"setPedMotionInCoverClipsetOverride","native":"SET_PED_MOTION_IN_COVER_CLIPSET_OVERRIDE","hash":"0x9DBA107B4937F809","params":[["ped","Ped"],["p1","string"]],"aka":["_SET_PED_COVER_CLIPSET_OVERRIDE"],"doc":"Found in the b617d scripts:\n\n```\nsetPedMotionInCoverClipsetOverride(v_7, \"trevor_heist_cover_2h\");\n```"},
{"name":"clearPedMotionInCoverClipsetOverride","native":"CLEAR_PED_MOTION_IN_COVER_CLIPSET_OVERRIDE","hash":"0xC79196DCB36F6121","params":[["ped","Ped"]],"aka":["_CLEAR_PED_COVER_CLIPSET_OVERRIDE"]},
{"name":"clearPedFallUpperBodyClipsetOverride","native":"CLEAR_PED_FALL_UPPER_BODY_CLIPSET_OVERRIDE","hash":"0x80054D7FCC70EEC6","params":[["ped","Ped"]]},
{"name":"setPedInVehicleContext","native":"SET_PED_IN_VEHICLE_CONTEXT","hash":"0x530071295899A8C6","params":[["ped","Ped"],["context","Hash"]],"doc":"```\nsetPedInVehicleContext(l_128, getHashKey(\"MINI_PROSTITUTE_LOW_PASSENGER\"));\nsetPedInVehicleContext(l_128, getHashKey(\"MINI_PROSTITUTE_LOW_RESTRICTED_PASSENGER\"));\nsetPedInVehicleContext(l_3212, getHashKey(\"MISS_FAMILY1_JIMMY_SIT\"));\nsetPedInVehicleContext(l_3212, getHashKey(\"MISS_FAMILY1_JIMMY_SIT_REAR\"));\nsetPedInVehicleContext(l_95, getHashKey(\"MISS_FAMILY2_JIMMY_BICYCLE\"));\nsetPedInVehicleContext(num3, getHashKey(\"MISSFBI2_MICHAEL_DRIVEBY\"));\nsetPedInVehicleContext(playerPedId(), getHashKey(\"MISS_ARMENIAN3_FRANKLIN_TENSE\"));\nsetPedInVehicleContext(playerPedId(), getHashKey(\"MISSFBI5_TREVOR_DRIVING\"));\n```"},
{"name":"resetPedInVehicleContext","native":"RESET_PED_IN_VEHICLE_CONTEXT","hash":"0x22EF8FF8778030EB","params":[["ped","Ped"]]},
{"name":"isScriptedScenarioPedUsingConditionalAnim","native":"IS_SCRIPTED_SCENARIO_PED_USING_CONDITIONAL_ANIM","hash":"0x6EC47A344923E1ED","params":[["ped","Ped"],["animDict","string"],["anim","string"]],"ret":"BOOL","doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"setPedAlternateWalkAnim","native":"SET_PED_ALTERNATE_WALK_ANIM","hash":"0x6C60394CB4F75E9A","params":[["ped","Ped"],["animDict","string"],["animName","string"],["p3","float"],["p4","BOOL"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"clearPedAlternateWalkAnim","native":"CLEAR_PED_ALTERNATE_WALK_ANIM","hash":"0x8844BBFCE30AA9E9","params":[["ped","Ped"],["p1","float"]]},
{"name":"setPedAlternateMovementAnim","native":"SET_PED_ALTERNATE_MOVEMENT_ANIM","hash":"0x90A43CC281FFAB46","params":[["ped","Ped"],["stance","int"],["animDictionary","string"],["animationName","string"],["p4","float"],["p5","BOOL"]],"doc":"stance:\n0 = idle\n1 = walk\n2 = running\n\np5 = usually set to true\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"clearPedAlternateMovementAnim","native":"CLEAR_PED_ALTERNATE_MOVEMENT_ANIM","hash":"0xD8D19675ED5FBDCE","params":[["ped","Ped"],["stance","int"],["p2","float"]]},
{"name":"setPedGestureGroup","native":"SET_PED_GESTURE_GROUP","hash":"0xDDF803377F94AAA8","params":[["ped","Ped"],["animGroupGesture","string"]],"doc":"From the scripts:\n`setPedGestureGroup`(`playerPedId`(),\n\"ANIM_GROUP_GESTURE_MISS_FRA0\");\n`setPedGestureGroup`(`playerPedId`(),\n\"ANIM_GROUP_GESTURE_MISS_DocksSetup1\");"},
{"name":"getAnimInitialOffsetPosition","native":"GET_ANIM_INITIAL_OFFSET_POSITION","hash":"0xBE22B26DD764C040","params":[["animDict","string"],["animName","string"],["x","float"],["y","float"],["z","float"],["xRot","float"],["yRot","float"],["zRot","float"],["p8","float"],["p9","int"]],"ret":"Vector3","doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"getAnimInitialOffsetRotation","native":"GET_ANIM_INITIAL_OFFSET_ROTATION","hash":"0x4B805E6046EE9E47","params":[["animDict","string"],["animName","string"],["x","float"],["y","float"],["z","float"],["xRot","float"],["yRot","float"],["zRot","float"],["p8","float"],["p9","int"]],"ret":"Vector3","doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"getPedDrawableVariation","native":"GET_PED_DRAWABLE_VARIATION","hash":"0x67F3780DD425D4FC","params":[["ped","Ped"],["componentId","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`componentId` must be between `0` and `11`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"Ids\n0 - Head\n1 - Beard\n2 - Hair\n3 - Torso\n4 - Legs\n5 - Hands\n6 - Foot\n7 - ------\n8 - Accessories 1\n9 - Accessories 2\n10- Decals\n11 - Auxiliary parts for torso"},
{"name":"getNumberOfPedDrawableVariations","native":"GET_NUMBER_OF_PED_DRAWABLE_VARIATIONS","hash":"0x27561561732A7842","params":[["ped","Ped"],["componentId","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`componentId` must be between `0` and `11`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"getPedTextureVariation","native":"GET_PED_TEXTURE_VARIATION","hash":"0x04A355E041E004E6","params":[["ped","Ped"],["componentId","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`componentId` must be between `0` and `11`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"getNumberOfPedTextureVariations","native":"GET_NUMBER_OF_PED_TEXTURE_VARIATIONS","hash":"0x8F7156A3142A6BAD","params":[["ped","Ped"],["componentId","int"],["drawableId","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`componentId` must be between `0` and `11`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"getNumberOfPedPropDrawableVariations","native":"GET_NUMBER_OF_PED_PROP_DRAWABLE_VARIATIONS","hash":"0x5FAF9754E789FB47","params":[["ped","Ped"],["propId","int"]],"ret":"int","doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"getNumberOfPedPropTextureVariations","native":"GET_NUMBER_OF_PED_PROP_TEXTURE_VARIATIONS","hash":"0xA6E7F1CEB523E171","params":[["ped","Ped"],["propId","int"],["drawableId","int"]],"ret":"int","doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"getPedPaletteVariation","native":"GET_PED_PALETTE_VARIATION","hash":"0xE3DD5F2A84B42281","params":[["ped","Ped"],["componentId","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`componentId` must be between `0` and `11`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"getMpOutfitDataFromMetadata","native":"GET_MP_OUTFIT_DATA_FROM_METADATA","hash":"0x9E30E91FB03A2CAF","params":[["request","MpOutfitRequest"]],"ret":"BOOL","outs":[["outfit","MpOutfit",0]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Outfit metadata","md":"Pass `{ male, index }`. Read the outfit record only when the leading success value is true."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"getFmMaleShopPedApparelItemIndex","native":"GET_FM_MALE_SHOP_PED_APPAREL_ITEM_INDEX","hash":"0x1E77FA7A62EE6C4C","params":[["p0","int"]],"ret":"int"},
{"name":"getFmFemaleShopPedApparelItemIndex","native":"GET_FM_FEMALE_SHOP_PED_APPAREL_ITEM_INDEX","hash":"0xF033419D1B81FAE8","params":[["p0","int"]],"ret":"int"},
{"name":"isPedComponentVariationValid","native":"IS_PED_COMPONENT_VARIATION_VALID","hash":"0xE825F6B6CEA7671D","params":[["ped","Ped"],["componentId","int"],["drawableId","int"],["textureId","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`componentId` must be between `0` and `11`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}],"doc":"Checks if the component variation is valid, this works great for randomizing components using loops.\n\nList of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html\n\nFull list of ped components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedComponentVariations.json"},
{"name":"setPedComponentVariation","native":"SET_PED_COMPONENT_VARIATION","hash":"0x262B14F48D29DE80","params":[["ped","Ped"],["componentId","int"],["drawableId","int"],["textureId","int"],["paletteId","int","0 to 3."]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`componentId` must be between `0` and `11`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Examples: https://gtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html\n\nFull list of ped components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedComponentVariations.json"},
{"name":"setPedRandomComponentVariation","native":"SET_PED_RANDOM_COMPONENT_VARIATION","hash":"0xC8A9481A01E63C28","params":[["ped","Ped"],["p1","int"]],"doc":"p1 is always 0 in R* scripts.\n\nList of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"setPedRandomProps","native":"SET_PED_RANDOM_PROPS","hash":"0xC44AA05345C992C6","params":[["ped","Ped"]],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"setPedDefaultComponentVariation","native":"SET_PED_DEFAULT_COMPONENT_VARIATION","hash":"0x45EEE61580806D63","params":[["ped","Ped"]],"doc":"Sets Ped Default Clothes"},
{"name":"setPedBlendFromParents","native":"SET_PED_BLEND_FROM_PARENTS","hash":"0x137BBD05230DB22D","params":[["ped","Ped"],["p1","Any"],["p2","Any"],["p3","float"],["p4","float"]]},
{"name":"setPedHeadBlendData","native":"SET_PED_HEAD_BLEND_DATA","hash":"0x9414E18B9434C2FE","params":[["ped","Ped"],["shapeFirstID","int"],["shapeSecondID","int"],["shapeThirdID","int"],["skinFirstID","int"],["skinSecondID","int"],["skinThirdID","int"],["shapeMix","float"],["skinMix","float"],["thirdMix","float"],["isParent","BOOL"]],"doc":"The \"shape\" parameters control the shape of the ped's face. The \"skin\" parameters control the skin tone. ShapeMix and skinMix control how much the first and second IDs contribute,(typically mother and father.) ThirdMix overrides the others in favor of the third IDs. IsParent is set for \"children\" of the player character's grandparents during old-gen character creation. It has unknown effect otherwise.\n\nThe IDs start at zero and go Male Non-DLC, Female Non-DLC, Male DLC, and Female DLC.\n\n```\nheadBlendData headData;\ngetPedHeadBlendData(playerPedId(), &headData);\n\nsetPedHeadBlendData(playerPedId(), headData.shapeFirst, headData.shapeSecond, headData.shapeThird, headData.skinFirst, headData.skinSecond\n   , headData.skinThird, headData.shapeMix, headData.skinMix, headData.skinThird, 0);\n```\n\nFor more info please refer to this topic.\nhttps://gtaforums.com/topic/858970-all-gtao-face-ids-pedset-ped-head-blend-data-explained"},
{"name":"getPedHeadBlendData","native":"GET_PED_HEAD_BLEND_DATA","hash":"0x2746BD9D88C5C5D0","params":[["ped","Ped"]],"ret":"BOOL","outs":[["headBlendData","HeadBlend",1]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Head blend","md":"Pass a valid ped handle. Read the head-blend record only when the leading success value is true."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"updatePedHeadBlendData","native":"UPDATE_PED_HEAD_BLEND_DATA","hash":"0x723538F61C647C5A","params":[["ped","Ped"],["shapeMix","float"],["skinMix","float"],["thirdMix","float"]],"doc":"See `setPedHeadBlendData`()."},
{"name":"setHeadBlendEyeColor","native":"SET_HEAD_BLEND_EYE_COLOR","hash":"0x50B56988B170AFDF","params":[["ped","Ped"],["index","int"]],"aka":["_SET_PED_EYE_COLOR"],"doc":"Used for freemode (online) characters.\n\nFor some reason, the scripts use a rounded float for the index.\nIndexes:\n1. black\n2. very light blue/green\n3. dark blue\n4. brown\n5. darker brown\n6. light brown\n7. blue\n8. light blue\n9. pink\n10. yellow\n11. purple\n12. black\n13. dark green\n14. light brown\n15. yellow/black pattern\n16. light colored spiral pattern\n17. shiny red\n18. shiny half blue/half red\n19. half black/half light blue\n20. white/red perimter\n21. green snake\n22. red snake\n23. dark blue snake\n24. dark yellow\n25. bright yellow\n26. all black\n28. red small pupil\n29. devil blue/black\n30. white small pupil\n31. glossed over"},
{"name":"getHeadBlendEyeColor","native":"GET_HEAD_BLEND_EYE_COLOR","hash":"0x76BBA2CEE66D47E9","params":[["ped","Ped"]],"ret":"int","since":1011,"aka":["_GET_PED_EYE_COLOR"],"doc":"A getter for `setHeadBlendEyeColor`. Returns -1 if fails to get."},
{"name":"setPedHeadOverlay","native":"SET_PED_HEAD_OVERLAY","hash":"0x48F44967FA05CC1E","params":[["ped","Ped"],["overlayID","int"],["index","int"],["opacity","float"]],"doc":"OverlayID ranges from 0 to 12, index from 0 to `getPedHeadOverlayNum`(overlayID)-1, and opacity from 0.0 to 1.0.\n\noverlayID       Part                  Index, to disable\n0               Blemishes             0 - 23, 255\n1               Facial Hair           0 - 28, 255\n2               Eyebrows              0 - 33, 255\n3               Ageing                0 - 14, 255\n4               Makeup                0 - 74, 255\n5               Blush                 0 - 6, 255\n6               Complexion            0 - 11, 255\n7               Sun Damage            0 - 10, 255\n8               Lipstick              0 - 9, 255\n9               Moles/Freckles        0 - 17, 255\n10              Chest Hair            0 - 16, 255\n11              Body Blemishes        0 - 11, 255\n12              Add Body Blemishes    0 - 1, 255"},
{"name":"getPedHeadOverlay","native":"GET_PED_HEAD_OVERLAY","hash":"0xA60EF3B6461A4D43","params":[["ped","Ped"],["overlayID","int"]],"ret":"int","aka":["_GET_PED_HEAD_OVERLAY_VALUE"],"doc":"Likely a char, if that overlay is not set, e.i. \"None\" option, returns 255;\n\nThis might be the once removed native `getPedHeadOverlay`."},
{"name":"getPedHeadOverlayNum","native":"GET_PED_HEAD_OVERLAY_NUM","hash":"0xCF1CE768BB43480E","params":[["overlayID","int"]],"ret":"int","aka":["_GET_NUM_HEAD_OVERLAY_VALUES"]},
{"name":"setPedHeadOverlayTint","native":"SET_PED_HEAD_OVERLAY_TINT","hash":"0x497BF74A7B9CB952","params":[["ped","Ped"],["overlayID","int"],["colorType","int"],["colorID","int"],["secondColorID","int"]],"aka":["_SET_PED_HEAD_OVERLAY_COLOR"],"doc":"ColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.\n\nCalled after `setPedHeadOverlay`()."},
{"name":"setPedHairTint","native":"SET_PED_HAIR_TINT","hash":"0x4CFFC65454C93A49","params":[["ped","Ped"],["colorID","int"],["highlightColorID","int"]],"aka":["_SET_PED_HAIR_COLOR"]},
{"name":"getNumPedHairTints","native":"GET_NUM_PED_HAIR_TINTS","hash":"0xE5C0CF872C2AD150","ret":"int","aka":["_GET_NUM_HAIR_COLORS"]},
{"name":"getNumPedMakeupTints","native":"GET_NUM_PED_MAKEUP_TINTS","hash":"0xD1F7CA1535D22818","ret":"int","aka":["_GET_NUM_MAKEUP_COLORS"]},
{"name":"getPedHairTintColor","native":"GET_PED_HAIR_TINT_COLOR","hash":"0x4852FC386E2E1BB5","params":[["hairColorIndex","int"]],"outs":[["outR","int",1],["outG","int",2],["outB","int",3]],"aka":["_GET_HAIR_RGB_COLOR","_GET_PED_HAIR_RGB_COLOR"],"doc":"Input: Haircolor index, value between 0 and 63 (inclusive).\nOutput: RGB values for the haircolor specified in the input.\n\nThis is used with the hair color swatches scaleform.\nUse `getPedMakeupTintColor` to get the makeup colors."},
{"name":"getPedMakeupTintColor","native":"GET_PED_MAKEUP_TINT_COLOR","hash":"0x013E5CFC38CD5387","params":[["makeupColorIndex","int"]],"outs":[["outR","int",1],["outG","int",2],["outB","int",3]],"aka":["_GET_MAKEUP_RGB_COLOR","_GET_PED_MAKEUP_RGB_COLOR"],"doc":"Input: Makeup color index, value between 0 and 63 (inclusive).\nOutput: RGB values for the makeup color specified in the input.\n\nThis is used with the makeup color swatches scaleform.\nUse `getPedHairTintColor` to get the hair colors."},
{"name":"isPedHairTintForCreator","native":"IS_PED_HAIR_TINT_FOR_CREATOR","hash":"0xED6D8E27A43B8CDE","params":[["colorId","int"]],"ret":"BOOL","aka":["_IS_PED_HAIR_COLOR_VALID_2","_IS_PED_HAIR_VALID_CREATOR_COLOR"]},
{"name":"getDefaultSecondaryTintForCreator","native":"GET_DEFAULT_SECONDARY_TINT_FOR_CREATOR","hash":"0xEA9960D07DADCF10","params":[["colorId","int"]],"ret":"int","aka":["_GET_DEFAULT_SECONDARY_HAIR_CREATOR_COLOR"]},
{"name":"isPedLipstickTintForCreator","native":"IS_PED_LIPSTICK_TINT_FOR_CREATOR","hash":"0x3E802F11FBE27674","params":[["colorId","int"]],"ret":"BOOL","aka":["_IS_PED_LIPSTICK_COLOR_VALID_2","_IS_PED_LIPSTICK_VALID_CREATOR_COLOR"]},
{"name":"isPedBlushTintForCreator","native":"IS_PED_BLUSH_TINT_FOR_CREATOR","hash":"0xF41B5D290C99A3D6","params":[["colorId","int"]],"ret":"BOOL","aka":["_IS_PED_BLUSH_COLOR_VALID_2","_IS_PED_BLUSH_VALID_CREATOR_COLOR"]},
{"name":"isPedHairTintForBarber","native":"IS_PED_HAIR_TINT_FOR_BARBER","hash":"0xE0D36E5D9E99CC21","params":[["colorID","int"]],"ret":"BOOL","aka":["_IS_PED_HAIR_COLOR_VALID","_IS_PED_HAIR_VALID_BARBER_COLOR"]},
{"name":"getDefaultSecondaryTintForBarber","native":"GET_DEFAULT_SECONDARY_TINT_FOR_BARBER","hash":"0xAAA6A3698A69E048","params":[["colorID","int"]],"ret":"int","aka":["_GET_DEFAULT_SECONDARY_HAIR_BARBER_COLOR"]},
{"name":"isPedLipstickTintForBarber","native":"IS_PED_LIPSTICK_TINT_FOR_BARBER","hash":"0x0525A2C2562F3CD4","params":[["colorID","int"]],"ret":"BOOL","aka":["_IS_PED_LIPSTICK_COLOR_VALID","_IS_PED_LIPSTICK_VALID_BARBER_COLOR"]},
{"name":"isPedBlushTintForBarber","native":"IS_PED_BLUSH_TINT_FOR_BARBER","hash":"0x604E810189EE3A59","params":[["colorID","int"]],"ret":"BOOL","aka":["_IS_PED_BLUSH_COLOR_VALID","_IS_PED_BLUSH_VALID_BARBER_COLOR"]},
{"name":"isPedBlushFacepaintTintForBarber","native":"IS_PED_BLUSH_FACEPAINT_TINT_FOR_BARBER","hash":"0x09E7ECA981D9B210","params":[["colorId","int"]],"ret":"BOOL","since":1290,"aka":["_IS_PED_BODY_BLEMISH_VALID","_IS_PED_BLUSH_FACEPAINT_VALID_BARBER_COLOR"]},
{"name":"getTintIndexForLastGenHairTexture","native":"GET_TINT_INDEX_FOR_LAST_GEN_HAIR_TEXTURE","hash":"0xC56FBF2F228E1DAC","params":[["modelHash","Hash"],["drawableId","int"],["textureId","int"]],"ret":"int","aka":["_GET_TINT_OF_HAIR_COMPONENT_VARIATION"]},
{"name":"setPedMicroMorph","native":"SET_PED_MICRO_MORPH","hash":"0x71A5C1DBA060049E","params":[["ped","Ped"],["index","int"],["scale","float"]],"aka":["_SET_PED_FACE_FEATURE","_SET_PED_MICRO_MORPH_VALUE"],"doc":"Sets the various freemode face features, e.g. nose length, chin shape. Scale ranges from -1.0 to 1.0.\n\n0 - Nose Width (Thin/Wide)\n\n1 - Nose Peak (Up/Down)\n\n2 - Nose Length (Long/Short)\n\n3 - Nose Bone Curveness (Crooked/Curved)\n\n4 - Nose Tip (Up/Down)\n\n5 - Nose Bone Twist (Left/Right)\n\n6 - Eyebrow (Up/Down)\n\n7 - Eyebrow (In/Out)\n\n8 - Cheek Bones (Up/Down)\n\n9 - Cheek Sideways Bone Size (In/Out)\n\n10 - Cheek Bones Width (Puffed/Gaunt)\n\n11 - Eye Opening (Both) (Wide/Squinted)\n\n12 - Lip Thickness (Both) (Fat/Thin)\n\n13 - Jaw Bone Width (Narrow/Wide)\n\n14 - Jaw Bone Shape (Round/Square)\n\n15 - Chin Bone (Up/Down)\n\n16 - Chin Bone Length (In/Out or Backward/Forward)\n\n17 - Chin Bone Shape (Pointed/Square)\n\n18 - Chin Hole (Chin Bum)\n\n19 - Neck Thickness (Thin/Thick)"},
{"name":"hasPedHeadBlendFinished","native":"HAS_PED_HEAD_BLEND_FINISHED","hash":"0x654CD0A825161131","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"finalizeHeadBlend","native":"FINALIZE_HEAD_BLEND","hash":"0x4668D80430D6C299","params":[["ped","Ped"]]},
{"name":"setHeadBlendPaletteColor","native":"SET_HEAD_BLEND_PALETTE_COLOR","hash":"0xCC9682B8951C5229","params":[["ped","Ped"],["r","int"],["g","int"],["b","int"],["id","int"]],"doc":"p4 seems to vary from 0 to 3."},
{"name":"disableHeadBlendPaletteColor","native":"DISABLE_HEAD_BLEND_PALETTE_COLOR","hash":"0xA21C118553BBDF02","params":[["ped","Ped"]]},
{"name":"getPedHeadBlendFirstIndex","native":"GET_PED_HEAD_BLEND_FIRST_INDEX","hash":"0x68D353AB88B97E0C","params":[["type","int"]],"ret":"int","aka":["_GET_FIRST_PARENT_ID_FOR_PED_TYPE"],"doc":"Type equals 0 for male non-dlc, 1 for female non-dlc, 2 for male dlc, and 3 for female dlc.\n\nUsed when calling `setPedHeadBlendData`."},
{"name":"getPedHeadBlendNumHeads","native":"GET_PED_HEAD_BLEND_NUM_HEADS","hash":"0x5EF37013A6539C9D","params":[["type","int"]],"ret":"int","aka":["_GET_NUM_PARENT_PEDS_OF_TYPE"],"doc":"Type equals 0 for male non-dlc, 1 for female non-dlc, 2 for male dlc, and 3 for female dlc."},
{"name":"setPedPreloadVariationData","native":"SET_PED_PRELOAD_VARIATION_DATA","hash":"0x39D55A620FCB6A3A","params":[["ped","Ped"],["slot","int"],["drawableId","int"],["textureId","int"]],"ret":"int","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`slot` must be between `0` and `11`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"from extreme3.c4\n\n```\nsetPedPreloadVariationData(playerPedId(), 8, getPedDrawableVariation(playerPedId(), 8), getPedTextureVariation(playerPedId(), 8));\n```\n\np1 is probably componentId"},
{"name":"hasPedPreloadVariationDataFinished","native":"HAS_PED_PRELOAD_VARIATION_DATA_FINISHED","hash":"0x66680A92700F43DF","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"releasePedPreloadVariationData","native":"RELEASE_PED_PRELOAD_VARIATION_DATA","hash":"0x5AAB586FFEC0FD96","params":[["ped","Ped"]]},
{"name":"setPedPreloadPropData","native":"SET_PED_PRELOAD_PROP_DATA","hash":"0x2B16A3BFF1FBCE49","params":[["ped","Ped"],["componentId","int"],["drawableId","int"],["TextureId","int"]],"ret":"int","aka":["_IS_PED_PROP_VALID"],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"hasPedPreloadPropDataFinished","native":"HAS_PED_PRELOAD_PROP_DATA_FINISHED","hash":"0x784002A632822099","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"releasePedPreloadPropData","native":"RELEASE_PED_PRELOAD_PROP_DATA","hash":"0xF79F9DEF0AADE61A","params":[["ped","Ped"]]},
{"name":"getPedPropIndex","native":"GET_PED_PROP_INDEX","hash":"0x898CC20EA75BACD8","params":[["ped","Ped"],["componentId","int"],["p2","Any"]],"ret":"int","doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"setPedPropIndex","native":"SET_PED_PROP_INDEX","hash":"0x93376B65A266EB5F","params":[["ped","Ped"],["componentId","int"],["drawableId","int"],["TextureId","int"],["attach","BOOL"],["p5","Any"]],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"knockOffPedProp","native":"KNOCK_OFF_PED_PROP","hash":"0x6FD7816A36615F48","params":[["ped","Ped"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"],["p4","BOOL"]],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"clearPedProp","native":"CLEAR_PED_PROP","hash":"0x0943E5B8E078E76E","params":[["ped","Ped"],["propId","int"],["p2","Any"]],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"clearAllPedProps","native":"CLEAR_ALL_PED_PROPS","hash":"0xCD8A7537A9B52F06","params":[["ped","Ped"],["p1","Any"]],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"dropAmbientProp","native":"DROP_AMBIENT_PROP","hash":"0xAFF4710E2A0A6C12","params":[["ped","Ped"]]},
{"name":"getPedPropTextureIndex","native":"GET_PED_PROP_TEXTURE_INDEX","hash":"0xE131A28626F81AB2","params":[["ped","Ped"],["componentId","int"]],"ret":"int","doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"clearPedParachutePackVariation","native":"CLEAR_PED_PARACHUTE_PACK_VARIATION","hash":"0x1280804F7CFD2D6C","params":[["ped","Ped"]]},
{"name":"setPedScubaGearVariation","native":"SET_PED_SCUBA_GEAR_VARIATION","hash":"0x36C6984C3ED0C911","params":[["ped","Ped"]],"aka":["_SET_PED_SCUBA_GEAR_VARIATION"],"doc":"This native sets a scuba mask for freemode models and an oxygen bottle for player_* models. It works on freemode and player_* models."},
{"name":"clearPedScubaGearVariation","native":"CLEAR_PED_SCUBA_GEAR_VARIATION","hash":"0xB50EB4CCB29704AC","params":[["ped","Ped"]],"aka":["_REMOVE_PED_SCUBA_GEAR_NOW"],"doc":"Removes the scubagear (for mp male: component id: 8, drawableId: 123, textureId: any) from peds. Does not play the 'remove scuba gear' animation, but instantly removes it."},
{"name":"isUsingPedScubaGearVariation","native":"IS_USING_PED_SCUBA_GEAR_VARIATION","hash":"0xFEC9A3B1820F3331","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"setBlockingOfNonTemporaryEvents","native":"SET_BLOCKING_OF_NON_TEMPORARY_EVENTS","hash":"0x9F8AA94D6D97DBF4","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"works with `taskSetBlockingOfNonTemporaryEvents` to make a ped completely oblivious to all events going on around him"},
{"name":"setPedBoundsOrientation","native":"SET_PED_BOUNDS_ORIENTATION","hash":"0x4F5F651ACCC9C4CF","params":[["ped","Ped"],["p1","float"],["p2","float"],["x","float"],["y","float"],["z","float"]]},
{"name":"registerTarget","native":"REGISTER_TARGET","hash":"0x2F25D9AEFA34FBA2","params":[["ped","Ped"],["target","Ped"]],"doc":"`registerTarget`(l_216, `playerPedId`()); from re_prisonbreak.txt.\n\nl_216 = RECSBRobber1"},
{"name":"registerHatedTargetsAroundPed","native":"REGISTER_HATED_TARGETS_AROUND_PED","hash":"0x9222F300BF8354FE","params":[["ped","Ped"],["radius","float"]],"doc":"Based on `taskCombatHatedTargetsAroundPed`, the parameters are likely similar (PedHandle, and area to attack in)."},
{"name":"getRandomPedAtCoord","native":"GET_RANDOM_PED_AT_COORD","hash":"0x876046A8E3A4B71C","params":[["x","float"],["y","float"],["z","float"],["xRadius","float"],["yRadius","float"],["zRadius","float"],["pedType","int"]],"ret":"Ped","doc":"Gets a random ped in the x/y/zRadius near the x/y/z coordinates passed.\n\nPed Types:\nAny = -1\nPlayer = 1\nMale = 4\nFemale = 5\nCop = 6\nHuman = 26\nSWAT = 27\nAnimal = 28\nArmy = 29"},
{"name":"getClosestPed","native":"GET_CLOSEST_PED","hash":"0xC33AB876A77F8164","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["p4","BOOL"],["p5","BOOL"],["p7","BOOL"],["p8","BOOL"],["pedType","int"]],"ret":"BOOL","outs":[["outPed","Ped",6]],"doc":"Gets the closest ped in a radius.\n\nPed Types:\nAny ped = -1\nPlayer = 1\nMale = 4\nFemale = 5\nCop = 6\nHuman = 26\nSWAT = 27\nAnimal = 28\nArmy = 29\n\n---\nP4 P5 P7 P8\n1  0  x  x  = return nearest walking Ped\n1  x  0  x  = return nearest walking Ped\nx  1  1  x  = return Ped you are using\n0  0  x  x  = no effect\n0  x  0  x  = no effect\n\nx = can be 1 or 0. Does not have any obvious changes.\n\nThis function does not return ped who is:\n1. Standing still\n2. Driving\n3. Fleeing\n4. Attacking\n\nThis function only work if the ped is:\n1. walking normally.\n2. waiting to cross a road.\n\nNote: `getPedNearbyPeds` works for more peds."},
{"name":"setScenarioPedsToBeReturnedByNextCommand","native":"SET_SCENARIO_PEDS_TO_BE_RETURNED_BY_NEXT_COMMAND","hash":"0x14F19A8782C8071E","params":[["value","BOOL"]],"doc":"Sets a value indicating whether scenario peds should be returned by the next call to a command that returns peds. Eg. `getClosestPed`."},
{"name":"getCanPedBeGrabbedByScript","native":"GET_CAN_PED_BE_GRABBED_BY_SCRIPT","hash":"0x03EA03AF85A85CB7","params":[["ped","Ped"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"],["p4","BOOL"],["p5","BOOL"],["p6","BOOL"],["p7","BOOL"],["p8","Any"]],"ret":"BOOL"},
{"name":"setDriverRacingModifier","native":"SET_DRIVER_RACING_MODIFIER","hash":"0xDED5AF5A0EA4B297","params":[["driver","Ped"],["modifier","float"]],"doc":"Scripts use 0.2, 0.5 and 1.0. Value must be >= 0.0 && <= 1.0"},
{"name":"setDriverAbility","native":"SET_DRIVER_ABILITY","hash":"0xB195FFA8042FC5C3","params":[["driver","Ped"],["ability","float"]],"doc":"The function specifically verifies the value is equal to, or less than 1.0f. If it is greater than 1.0f, the function does nothing at all."},
{"name":"setDriverAggressiveness","native":"SET_DRIVER_AGGRESSIVENESS","hash":"0xA731F608CA104E3C","params":[["driver","Ped"],["aggressiveness","float"]],"doc":"range 0.0f - 1.0f"},
{"name":"canPedRagdoll","native":"CAN_PED_RAGDOLL","hash":"0x128F79EDCECE4FD5","params":[["ped","Ped"]],"ret":"BOOL","doc":"Prevents the ped from going limp.\n\n[Example: Can prevent peds from falling when standing on moving vehicles.]"},
{"name":"setPedToRagdoll","native":"SET_PED_TO_RAGDOLL","hash":"0xAE99FB955581844A","params":[["ped","Ped"],["time1","int"],["time2","int"],["ragdollType","int"],["p4","BOOL"],["p5","BOOL"],["p6","BOOL"]],"ret":"BOOL","doc":"p4/p5: Unused in TU27\ntime1- Time(ms) Ped is in ragdoll mode; only applies to ragdoll types 0 and not 1.\n\ntime2- Unknown time, in milliseconds\n\nragdollType-\n0 : Normal ragdoll\n1 : Falls with stiff legs/body\n2 : Narrow leg stumble(may not fall)\n3 : Wide leg stumble(may not fall)\n\np4, p5, p6- No idea. In R*'s scripts they are usually either \"true, true, false\" or \"false, false, false\".\n\nEDIT 3/11/16: unclear what 'mircoseconds' mean-- a microsecond is 1000x a ms, so time2 must be 1000x time1?  more testing needed.  -sob\n\nEdit Mar 21, 2017: removed part about time2 being the microseconds version of time1. this just isn't correct. time2 is in milliseconds, and time1 and time2 don't seem to be connected in any way."},
{"name":"setPedToRagdollWithFall","native":"SET_PED_TO_RAGDOLL_WITH_FALL","hash":"0xD76632D99E4966C8","params":[["ped","Ped"],["time","int"],["p2","int"],["ragdollType","int"],["x","float"],["y","float"],["z","float"],["velocity","float"],["p8","float"],["p9","float"],["p10","float"],["p11","float"],["p12","float"],["p13","float"]],"ret":"BOOL","doc":"Return variable is never used in R*'s scripts.\n\nNot sure what p2 does. It seems like it would be a time judging by it's usage in R*'s scripts, but didn't seem to affect anything in my testings.\n\nx, y, and z are coordinates, most likely to where the ped will fall.\n\np8 to p13 are always 0f in R*'s scripts.\n\n(Simplified) Example of the usage of the function from R*'s scripts:\n\n```\nped::set_ped_to_ragdoll_with_fall(ped, 1500, 2000, 1, -entity::get_entity_forward_vector(ped), 1f, 0f, 0f, 0f, 0f, 0f, 0f);\n```"},
{"name":"setPedRagdollOnCollision","native":"SET_PED_RAGDOLL_ON_COLLISION","hash":"0xF0A4F1BBF4FA7497","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Causes Ped to ragdoll on collision with any object (e.g Running into trashcan). If applied to player you will sometimes trip on the sidewalk."},
{"name":"isPedRagdoll","native":"IS_PED_RAGDOLL","hash":"0x47E4E977581C5B55","params":[["ped","Ped"]],"ret":"BOOL","doc":"If the ped handle passed through the parenthesis is in a ragdoll state this will return true."},
{"name":"isPedRunningRagdollTask","native":"IS_PED_RUNNING_RAGDOLL_TASK","hash":"0xE3B6097CC25AA69E","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedRagdollForceFall","native":"SET_PED_RAGDOLL_FORCE_FALL","hash":"0x01F6594B923B9251","params":[["ped","Ped"]]},
{"name":"resetPedRagdollTimer","native":"RESET_PED_RAGDOLL_TIMER","hash":"0x9FA4664CF62E47E8","params":[["ped","Ped"]]},
{"name":"setPedCanRagdoll","native":"SET_PED_CAN_RAGDOLL","hash":"0xB128377056A54E2A","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"isPedRunningMeleeTask","native":"IS_PED_RUNNING_MELEE_TASK","hash":"0xD1871251F3B5ACD7","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedRunningMobilePhoneTask","native":"IS_PED_RUNNING_MOBILE_PHONE_TASK","hash":"0x2AFE52F782F25775","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isMobilePhoneToPedEar","native":"IS_MOBILE_PHONE_TO_PED_EAR","hash":"0xA3F3564A5B3646C0","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setRagdollBlockingFlags","native":"SET_RAGDOLL_BLOCKING_FLAGS","hash":"0x26695EC767728D84","params":[["ped","Ped"],["blockingFlag","int"]],"aka":["_SET_PED_RAGDOLL_BLOCKING_FLAGS"],"doc":"Works for both player and peds,"},
{"name":"clearRagdollBlockingFlags","native":"CLEAR_RAGDOLL_BLOCKING_FLAGS","hash":"0xD86D101FCFD00A4B","params":[["ped","Ped"],["blockingFlag","int"]],"aka":["_RESET_PED_RAGDOLL_BLOCKING_FLAGS"],"doc":"See `setRagdollBlockingFlags` for flags"},
{"name":"setPedAngledDefensiveArea","native":"SET_PED_ANGLED_DEFENSIVE_AREA","hash":"0xC7F76DF27A5045A1","params":[["ped","Ped"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","BOOL"],["p9","BOOL"]]},
{"name":"setPedSphereDefensiveArea","native":"SET_PED_SPHERE_DEFENSIVE_AREA","hash":"0x9D3151A373974804","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"],["p5","BOOL"],["p6","BOOL"]]},
{"name":"setPedDefensiveSphereAttachedToPed","native":"SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_PED","hash":"0xF9B8F91AAD3B953E","params":[["ped","Ped"],["target","Ped"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["radius","float"],["p6","BOOL"]]},
{"name":"setPedDefensiveSphereAttachedToVehicle","native":"SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_VEHICLE","hash":"0xE4723DB6E736CCFF","params":[["ped","Ped"],["target","Vehicle"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["radius","float"],["p6","BOOL"]]},
{"name":"setPedDefensiveAreaAttachedToPed","native":"SET_PED_DEFENSIVE_AREA_ATTACHED_TO_PED","hash":"0x4EF47FE21698A8B6","params":[["ped","Ped"],["attachPed","Ped"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","float"],["p9","BOOL"],["p10","BOOL"]]},
{"name":"setPedDefensiveAreaDirection","native":"SET_PED_DEFENSIVE_AREA_DIRECTION","hash":"0x413C6C763A4AFFAD","params":[["ped","Ped"],["p1","float"],["p2","float"],["p3","float"],["p4","BOOL"]]},
{"name":"removePedDefensiveArea","native":"REMOVE_PED_DEFENSIVE_AREA","hash":"0x74D4E028107450A9","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Ped will no longer get angry when you stay near him."},
{"name":"getPedDefensiveAreaPosition","native":"GET_PED_DEFENSIVE_AREA_POSITION","hash":"0x3C06B8786DD94CD1","params":[["ped","Ped"],["p1","BOOL"]],"ret":"Vector3"},
{"name":"isPedDefensiveAreaActive","native":"IS_PED_DEFENSIVE_AREA_ACTIVE","hash":"0xBA63D9FE45412247","params":[["ped","Ped"],["p1","BOOL"]],"ret":"BOOL"},
{"name":"setPedPreferredCoverSet","native":"SET_PED_PREFERRED_COVER_SET","hash":"0x8421EB4DA7E391B9","params":[["ped","Ped"],["itemSet","Any"]]},
{"name":"removePedPreferredCoverSet","native":"REMOVE_PED_PREFERRED_COVER_SET","hash":"0xFDDB234CF74073D9","params":[["ped","Ped"]]},
{"name":"reviveInjuredPed","native":"REVIVE_INJURED_PED","hash":"0x8D8ACD8388CD99CE","params":[["ped","Ped"]],"doc":"It will revive/cure the injured ped. The condition is ped must not be dead.\n\nUpon setting and converting the health int, found, if health falls below 5, the ped will lay on the ground in pain(Maximum default health is 100).\n\nThis function is well suited there."},
{"name":"resurrectPed","native":"RESURRECT_PED","hash":"0x71BC8E838B9C6035","params":[["ped","Ped"]],"doc":"This function will simply bring the dead person back to life.\n\nTry not to use it alone, since using this function alone, will make peds fall through ground in hell(well for the most of the times).\n\nInstead, before calling this function, you may want to declare the position, where your Resurrected ped to be spawn at.(For instance, Around 2 floats of Player's current position.)\n\nAlso, disabling any assigned task immediately helped in the number of scenarios, where If you want peds to perform certain decided tasks."},
{"name":"setPedNameDebug","native":"SET_PED_NAME_DEBUG","hash":"0x98EFA132A4117BE1","params":[["ped","Ped"],["name","string"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game.\n\n*untested but char *name could also be a hash for a localized string"},
{"name":"getPedExtractedDisplacement","native":"GET_PED_EXTRACTED_DISPLACEMENT","hash":"0xE0AF41401ADF87E3","params":[["ped","Ped"],["worldSpace","BOOL"]],"ret":"Vector3","doc":"Gets the offset the specified ped has moved since the previous tick.\n\nIf worldSpace is false, the returned offset is relative to the ped. That is, if the ped has moved 1 meter right and 5 meters forward, it'll return 1,5,0.\n\nIf worldSpace is true, the returned offset is relative to the world. That is, if the ped has moved 1 meter on the X axis and 5 meters on the Y axis, it'll return 1,5,0."},
{"name":"setPedDiesWhenInjured","native":"SET_PED_DIES_WHEN_INJURED","hash":"0x5BA7919BED300023","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedEnableWeaponBlocking","native":"SET_PED_ENABLE_WEAPON_BLOCKING","hash":"0x97A790315D3831FD","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"specialFunctionDoNotUse","native":"SPECIAL_FUNCTION_DO_NOT_USE","hash":"0xF9ACF4A08098EA25","params":[["ped","Ped"],["p1","BOOL"]],"doc":"p1 was always 1 (true).\n\nKicks the ped from the current vehicle and keeps the rendering-focus on this ped (also disables its collision). If doing this for your player ped, you'll still be able to drive the vehicle."},
{"name":"resetPedVisibleDamage","native":"RESET_PED_VISIBLE_DAMAGE","hash":"0x3AC1F7B898F30C05","params":[["ped","Ped"]]},
{"name":"applyPedBloodDamageByZone","native":"APPLY_PED_BLOOD_DAMAGE_BY_ZONE","hash":"0x816F6981C60BF53B","params":[["ped","Ped"],["p1","Any"],["p2","float"],["p3","float"],["p4","Any"]]},
{"name":"applyPedBlood","native":"APPLY_PED_BLOOD","hash":"0x83F7E01C7B769A26","params":[["ped","Ped"],["boneIndex","int"],["xRot","float"],["yRot","float"],["zRot","float"],["woundType","string"]],"doc":"woundTypes:\n- soak_splat\n- wound_sheet\n- BulletSmall\n- BulletLarge\n- ShotgunSmall\n- ShotgunSmallMonolithic\n- ShotgunLarge\n- ShotgunLargeMonolithic\n- NonFatalHeadshot\n- stab\n- BasicSlash\n- Scripted_Ped_Splash_Back\n- BackSplash"},
{"name":"applyPedBloodByZone","native":"APPLY_PED_BLOOD_BY_ZONE","hash":"0x3311E47B91EDCBBC","params":[["ped","Ped"],["p1","int"],["p2","float"],["p3","float"],["p4","string"]]},
{"name":"applyPedBloodSpecific","native":"APPLY_PED_BLOOD_SPECIFIC","hash":"0xEF0D582CBF2D9B0F","params":[["ped","Ped"],["p1","int"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","int"],["p7","float"],["p8","string"]]},
{"name":"applyPedDamageDecal","native":"APPLY_PED_DAMAGE_DECAL","hash":"0x397C38AA7B4A5F83","params":[["ped","Ped"],["damageZone","int"],["xOffset","float"],["yOffset","float"],["heading","float"],["scale","float"],["alpha","float"],["variation","int"],["fadeIn","BOOL"],["decalName","string"]],"doc":"Decal Names:\nscar\nblushing\ncs_flush_anger\ncs_flush_anger_face\nbruise\nbruise_large\nherpes\nArmorBullet\nbasic_dirt_cloth\nbasic_dirt_skin\ncs_trev1_dirt\n\n```\napplyPedDamageDecal(ped, 1, 0.5f, 0.513f, 0f, 1f, unk, 0, 0, \"blushing\");\n```"},
{"name":"applyPedDamagePack","native":"APPLY_PED_DAMAGE_PACK","hash":"0x46DF918788CB093F","params":[["ped","Ped"],["damagePack","string"],["damage","float"],["mult","float"]],"doc":"Damage Packs:\n\n\"SCR_TrevorTreeBang\"\n\"HOSPITAL_0\"\n\"HOSPITAL_1\"\n\"HOSPITAL_2\"\n\"HOSPITAL_3\"\n\"HOSPITAL_4\"\n\"HOSPITAL_5\"\n\"HOSPITAL_6\"\n\"HOSPITAL_7\"\n\"HOSPITAL_8\"\n\"HOSPITAL_9\"\n\"SCR_Dumpster\"\n\"BigHitByVehicle\"\n\"SCR_Finale_Michael_Face\"\n\"SCR_Franklin_finb\"\n\"SCR_Finale_Michael\"\n\"SCR_Franklin_finb2\"\n\"Explosion_Med\"\n\"SCR_Torture\"\n\"SCR_TracySplash\"\n\"Skin_Melee_0\"\n\nAdditional damage packs:\n\nhttps://gist.github.com/alexguirre/f3f47f75ddcf617f416f3c8a55ae2227\nFull list of ped damage packs by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedDamagePacks.json"},
{"name":"clearPedBloodDamage","native":"CLEAR_PED_BLOOD_DAMAGE","hash":"0x8FE22675A5A45817","params":[["ped","Ped"]]},
{"name":"clearPedBloodDamageByZone","native":"CLEAR_PED_BLOOD_DAMAGE_BY_ZONE","hash":"0x56E3B78C5408D9F4","params":[["ped","Ped"],["p1","int"]]},
{"name":"hidePedBloodDamageByZone","native":"HIDE_PED_BLOOD_DAMAGE_BY_ZONE","hash":"0x62AB793144DE75DC","params":[["ped","Ped"],["p1","Any"],["p2","BOOL"]]},
{"name":"clearPedDamageDecalByZone","native":"CLEAR_PED_DAMAGE_DECAL_BY_ZONE","hash":"0x523C79AEEFCC4A2A","params":[["ped","Ped"],["p1","int","from 0 to 5 in the b617d scripts."],["p2","string","\"blushing\" and \"ALL\" found in the b617d scripts."]]},
{"name":"getPedDecorationsState","native":"GET_PED_DECORATIONS_STATE","hash":"0x71EAB450D86954A1","params":[["ped","Ped"]],"ret":"int"},
{"name":"markPedDecorationsAsClonedFromLocalPlayer","native":"MARK_PED_DECORATIONS_AS_CLONED_FROM_LOCAL_PLAYER","hash":"0x2B694AFCF64E6994","params":[["ped","Ped"],["p1","BOOL"]]},
{"name":"clearPedWetness","native":"CLEAR_PED_WETNESS","hash":"0x9C720776DAA43E7E","params":[["ped","Ped"]],"doc":"It clears the wetness of the selected Ped/Player. Clothes have to be wet to notice the difference."},
{"name":"setPedWetnessHeight","native":"SET_PED_WETNESS_HEIGHT","hash":"0x44CB6447D2571AA0","params":[["ped","Ped"],["height","float"]],"doc":"It adds the wetness level to the player clothing/outfit. As if player just got out from water surface."},
{"name":"setPedWetnessEnabledThisFrame","native":"SET_PED_WETNESS_ENABLED_THIS_FRAME","hash":"0xB5485E4907B53019","params":[["ped","Ped"]],"doc":"combined with `setPedWetnessHeight`(), this native makes the ped drenched in water up to the height specified in the other function"},
{"name":"setPedWetness","native":"SET_PED_WETNESS","hash":"0xAC0BB4D87777CAE2","params":[["ped","Ped"],["wetLevel","float"]],"since":2802},
{"name":"clearPedEnvDirt","native":"CLEAR_PED_ENV_DIRT","hash":"0x6585D955A68452A5","params":[["ped","Ped"]]},
{"name":"setPedSweat","native":"SET_PED_SWEAT","hash":"0x27B0405F59637D1F","params":[["ped","Ped"],["sweat","float"]],"doc":"Sweat is set to 100.0 or 0.0 in the decompiled scripts."},
{"name":"addPedDecorationFromHashes","native":"ADD_PED_DECORATION_FROM_HASHES","hash":"0x5F5D1665E352A839","params":[["ped","Ped"],["collection","Hash"],["overlay","Hash"]],"aka":["_APPLY_PED_OVERLAY","_SET_PED_DECORATION"],"doc":"Applies an Item from a PedDecorationCollection to a ped. These include tattoos and shirt decals.\n\ncollection - PedDecorationCollection filename hash\noverlay - Item name hash\n\nExample:\nEntry inside \"mpbeach_overlays.xml\" -\n<Item>\n  <uvPos x=\"0.500000\" y=\"0.500000\" />\n  <scale x=\"0.600000\" y=\"0.500000\" />\n  <rotation value=\"0.000000\" />\n  <nameHash>FM_Hair_Fuzz</nameHash>\n  <txdHash>mp_hair_fuzz</txdHash>\n  <txtHash>mp_hair_fuzz</txtHash>\n  <zone>ZONE_HEAD</zone>\n  <type>TYPE_TATTOO</type>\n  <faction>FM</faction>\n  <garment>All</garment>\n  <gender>GENDER_DONTCARE</gender>\n  <award />\n  <awardLevel />\n</Item>\n\nCode:\n`addPedDecorationFromHashes`(`playerPedId`(), `getHashKey`(\"mpbeach_overlays\"), `getHashKey`(\"fm_hair_fuzz\"))\n\nFull list of ped overlays / decorations by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedOverlayCollections.json"},
{"name":"addPedDecorationFromHashesInCorona","native":"ADD_PED_DECORATION_FROM_HASHES_IN_CORONA","hash":"0x5619BFA07CFD7833","params":[["ped","Ped"],["collection","Hash"],["overlay","Hash"]],"aka":["_SET_PED_FACIAL_DECORATION"],"doc":"Full list of ped overlays / decorations by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedOverlayCollections.json"},
{"name":"getPedDecorationZoneFromHashes","native":"GET_PED_DECORATION_ZONE_FROM_HASHES","hash":"0x9FD452BFBE7A7A8B","params":[["collection","Hash"],["overlay","Hash"]],"ret":"int","aka":["_GET_TATTOO_ZONE"],"doc":"Full list of ped overlays / decorations by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/pedOverlayCollections.json"},
{"name":"clearPedDecorations","native":"CLEAR_PED_DECORATIONS","hash":"0x0E5173C163976E38","params":[["ped","Ped"]]},
{"name":"clearPedDecorationsLeaveScars","native":"CLEAR_PED_DECORATIONS_LEAVE_SCARS","hash":"0xE3B27E70CEAB9F0C","params":[["ped","Ped"]],"aka":["_CLEAR_PED_FACIAL_DECORATIONS"]},
{"name":"wasPedSkeletonUpdated","native":"WAS_PED_SKELETON_UPDATED","hash":"0x11B499C1E0FF8559","params":[["ped","Ped"]],"ret":"BOOL","doc":"Despite this function's name, it simply returns whether the specified handle is a Ped."},
{"name":"getPedBoneCoords","native":"GET_PED_BONE_COORDS","hash":"0x17C07FC640E86B4E","params":[["ped","Ped","The ped to get the position of a bone from."],["boneId","int","The ID of the bone to get the position from. This is NOT the index."],["offsetX","float","The X-component of the offset to add to the position relative to the bone's rotation."],["offsetY","float","The Y-component of the offset to add to the position relative to the bone's rotation."],["offsetZ","float","The Z-component of the offset to add to the position relative to the bone's rotation."]],"ret":"Vector3","doc":"Gets the position of the specified bone of the specified ped."},
{"name":"createNmMessage","native":"CREATE_NM_MESSAGE","hash":"0x418EF2A1BCE56685","params":[["startImmediately","BOOL","If set to true, the character will perform the message the moment it receives it by `givePedNmMessage`. If false, the Ped will get the message but won't perform it yet. While it's a boolean value, if negative, the message will not be initialized."],["messageId","int","The ID of the NaturalMotion message."]],"doc":"Creates a new NaturalMotion message.\n\nIf a message already exists, this function does nothing. A message exists until the point it has been successfully dispatched by `givePedNmMessage`."},
{"name":"givePedNmMessage","native":"GIVE_PED_NM_MESSAGE","hash":"0xB158DFCCC56E5C5B","params":[["ped","Ped"]],"doc":"Sends the message that was created by a call to `createNmMessage` to the specified Ped.\n\nIf a message hasn't been created already, this function does nothing.\nIf the Ped is not ragdolled with Euphoria enabled, this function does nothing.\nThe following call can be used to ragdoll the Ped with Euphoria enabled: `setPedToRagdoll`(ped, 4000, 5000, 1, 1, 1, 0);\n\nCall order:\n`setPedToRagdoll`\n`createNmMessage`\n`givePedNmMessage`\n\nMultiple messages can be chained. Eg. to make the ped stagger and swing his arms around, the following calls can be made:\n\n```\nsetPedToRagdoll(ped, 4000, 5000, 1, 1, 1, 0);\ncreateNmMessage(true, 0); // stopAllBehaviours - Stop all other behaviours, in case the Ped is already doing some Euphoria stuff.\ngivePedNmMessage(ped); // Dispatch message to Ped.\ncreateNmMessage(true, 1151); // staggerFall - Attempt to walk while falling.\ngivePedNmMessage(ped); // Dispatch message to Ped.\ncreateNmMessage(true, 372); // armsWindmill - Swing arms around.\ngivePedNmMessage(ped); // Dispatch message to Ped.\n```"},
{"name":"addScenarioBlockingArea","native":"ADD_SCENARIO_BLOCKING_AREA","hash":"0x1B5C85C612E5256E","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p6","BOOL"],["p7","BOOL"],["p8","BOOL"],["p9","BOOL"],["p10","Any"]],"ret":"int"},
{"name":"removeScenarioBlockingAreas","native":"REMOVE_SCENARIO_BLOCKING_AREAS","hash":"0xD37401D78A929A49"},
{"name":"removeScenarioBlockingArea","native":"REMOVE_SCENARIO_BLOCKING_AREA","hash":"0x31D16B74C6E29D66","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"setScenarioPedsSpawnInSphereArea","native":"SET_SCENARIO_PEDS_SPAWN_IN_SPHERE_AREA","hash":"0x28157D43CF600981","params":[["x","float"],["y","float"],["z","float"],["range","float"],["p4","int"]]},
{"name":"doesScenarioBlockingAreaExists","native":"DOES_SCENARIO_BLOCKING_AREA_EXISTS","hash":"0x8A24B067D175A7BD","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"BOOL","since":678,"aka":["_DOES_SCENARIO_BLOCKING_AREA_EXIST"]},
{"name":"isPedUsingScenario","native":"IS_PED_USING_SCENARIO","hash":"0x1BF094736DD62C2E","params":[["ped","Ped"],["scenario","string"]],"ret":"BOOL","doc":"Full list of ped scenarios by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenariosCompact.json"},
{"name":"isPedUsingAnyScenario","native":"IS_PED_USING_ANY_SCENARIO","hash":"0x57AB4A3080F85143","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedPanicExitScenario","native":"SET_PED_PANIC_EXIT_SCENARIO","hash":"0xFE07FF6495D52E2A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"ret":"BOOL"},
{"name":"toggleScenarioPedCowerInPlace","native":"TOGGLE_SCENARIO_PED_COWER_IN_PLACE","hash":"0x9A77DFD295E29B09","params":[["ped","Ped"],["toggle","BOOL"]],"aka":["_SET_PED_SCARED_WHEN_USING_SCENARIO"]},
{"name":"triggerPedScenarioPanicexittoflee","native":"TRIGGER_PED_SCENARIO_PANICEXITTOFLEE","hash":"0x25361A96E0F7E419","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"ret":"BOOL"},
{"name":"setPedShouldPlayDirectedNormalScenarioExit","native":"SET_PED_SHOULD_PLAY_DIRECTED_NORMAL_SCENARIO_EXIT","hash":"0xEC6935EBE0847B90","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"ret":"BOOL","aka":["_SET_PED_SHOULD_PLAY_DIRECTED_SCENARIO_EXIT"]},
{"name":"setPedShouldPlayNormalScenarioExit","native":"SET_PED_SHOULD_PLAY_NORMAL_SCENARIO_EXIT","hash":"0xA3A9299C4F2ADB98","params":[["ped","Ped"]]},
{"name":"setPedShouldPlayImmediateScenarioExit","native":"SET_PED_SHOULD_PLAY_IMMEDIATE_SCENARIO_EXIT","hash":"0xF1C03A5352243A30","params":[["ped","Ped"]]},
{"name":"setPedShouldPlayFleeScenarioExit","native":"SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT","hash":"0xEEED8FAFEC331A70","params":[["ped","Ped"],["p1","Any"],["p2","Any"],["p3","Any"]],"ret":"BOOL"},
{"name":"setPedShouldIgnoreScenarioExitCollisionChecks","native":"SET_PED_SHOULD_IGNORE_SCENARIO_EXIT_COLLISION_CHECKS","hash":"0x425AECF167663F48","params":[["ped","Ped"],["p1","BOOL"]]},
{"name":"setPedShouldIgnoreScenarioNavChecks","native":"SET_PED_SHOULD_IGNORE_SCENARIO_NAV_CHECKS","hash":"0x5B6010B3CBC29095","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"setPedShouldProbeForScenarioExitsInOneFrame","native":"SET_PED_SHOULD_PROBE_FOR_SCENARIO_EXITS_IN_ONE_FRAME","hash":"0xCEDA60A74219D064","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"isPedGesturing","native":"IS_PED_GESTURING","hash":"0xC30BDAEE47256C13","params":[["p0","Any"]],"ret":"BOOL","since":1868},
{"name":"resetFacialIdleAnim","native":"RESET_FACIAL_IDLE_ANIM","hash":"0x007FDE5A7897E426","params":[["ped","Ped"]],"since":2802},
{"name":"playFacialAnim","native":"PLAY_FACIAL_ANIM","hash":"0xE1E65CA8AC9C00ED","params":[["ped","Ped"],["animName","string"],["animDict","string"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"setFacialClipset","native":"SET_FACIAL_CLIPSET","hash":"0x5687C7F05B39E401","params":[["ped","Ped"],["animDict","string"]],"since":1493,"aka":["_SET_FACIAL_CLIPSET_OVERRIDE"],"doc":"Clipsets:\nfacials@gen_female@base\nfacials@gen_male@base\nfacials@p_m_zero@base\n\nTypically followed with SET_FACIAL_IDLE_ANIM_OVERRIDE:\nmood_drunk_1\nmood_stressed_1\nmood_happy_1\nmood_talking_1"},
{"name":"setFacialIdleAnimOverride","native":"SET_FACIAL_IDLE_ANIM_OVERRIDE","hash":"0xFFC24B988B938B38","params":[["ped","Ped"],["animName","string"],["animDict","string"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"clearFacialIdleAnimOverride","native":"CLEAR_FACIAL_IDLE_ANIM_OVERRIDE","hash":"0x726256CC1EEB182F","params":[["ped","Ped"]]},
{"name":"setPedCanPlayGestureAnims","native":"SET_PED_CAN_PLAY_GESTURE_ANIMS","hash":"0xBAF20C5432058024","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanPlayVisemeAnims","native":"SET_PED_CAN_PLAY_VISEME_ANIMS","hash":"0xF833DDBA3B104D43","params":[["ped","Ped"],["toggle","BOOL"],["p2","BOOL"]],"doc":"p2 usually 0"},
{"name":"setPedIsIgnoredByAutoOpenDoors","native":"SET_PED_IS_IGNORED_BY_AUTO_OPEN_DOORS","hash":"0x33A60D8BDD6E508C","params":[["ped","Ped"],["p1","BOOL"]],"aka":["_SET_PED_CAN_PLAY_INJURED_ANIMS"]},
{"name":"setPedCanPlayAmbientAnims","native":"SET_PED_CAN_PLAY_AMBIENT_ANIMS","hash":"0x6373D1349925A70E","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanPlayAmbientBaseAnims","native":"SET_PED_CAN_PLAY_AMBIENT_BASE_ANIMS","hash":"0x0EB0585D15254740","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"triggerIdleAnimationOnPed","native":"TRIGGER_IDLE_ANIMATION_ON_PED","hash":"0xC2EE020F5FB4DB53","params":[["ped","Ped"]]},
{"name":"setPedCanArmIk","native":"SET_PED_CAN_ARM_IK","hash":"0x6C3B4D6D13B4C841","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanHeadIk","native":"SET_PED_CAN_HEAD_IK","hash":"0xC11C18092C5530DC","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanLegIk","native":"SET_PED_CAN_LEG_IK","hash":"0x73518ECE2485412B","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanTorsoIk","native":"SET_PED_CAN_TORSO_IK","hash":"0xF2B7106D37947CE0","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanTorsoReactIk","native":"SET_PED_CAN_TORSO_REACT_IK","hash":"0xF5846EDB26A98A24","params":[["ped","Ped"],["p1","BOOL"]]},
{"name":"setPedCanTorsoVehicleIk","native":"SET_PED_CAN_TORSO_VEHICLE_IK","hash":"0x6647C5F6F5792496","params":[["ped","Ped"],["p1","BOOL"]]},
{"name":"setPedCanUseAutoConversationLookat","native":"SET_PED_CAN_USE_AUTO_CONVERSATION_LOOKAT","hash":"0xEC4686EC06434678","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"isPedHeadtrackingPed","native":"IS_PED_HEADTRACKING_PED","hash":"0x5CD3CB88A7F8850D","params":[["ped1","Ped"],["ped2","Ped"]],"ret":"BOOL"},
{"name":"isPedHeadtrackingEntity","native":"IS_PED_HEADTRACKING_ENTITY","hash":"0x813A0A7C9D2E831F","params":[["ped","Ped"],["entity","Entity"]],"ret":"BOOL"},
{"name":"setPedPrimaryLookat","native":"SET_PED_PRIMARY_LOOKAT","hash":"0xCD17B554996A8D9E","params":[["ped","Ped"],["lookAt","Ped"]],"doc":"This is only called once in the scripts.\n\n```\nsub_1CD9(&l_49, 0, getElem(3, &l_34, 4), \"MICHAEL\", 0, 1);\n                    sub_1CA8(\"WORLD_HUMAN_SMOKING\", 2);\n                    setPedPrimaryLookat(getElem(3, &l_34, 4), playerPedId());\n```"},
{"name":"setPedClothPinFrames","native":"SET_PED_CLOTH_PIN_FRAMES","hash":"0x78C4E9961DB3EB5B","params":[["p0","Any"],["p1","Any"]],"aka":["SET_PED_CLOTH_PACKAGE_INDEX"]},
{"name":"setPedClothPackageIndex","native":"SET_PED_CLOTH_PACKAGE_INDEX","hash":"0x82A3D6D9CC2CB8E3","params":[["p0","Any"],["p1","Any"]],"aka":["SET_PED_CLOTH_PRONE"]},
{"name":"setPedClothProne","native":"SET_PED_CLOTH_PRONE","hash":"0xA660FAF550EB37E5","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"setPedConfigFlag","native":"SET_PED_CONFIG_FLAG","hash":"0x1913FE4CBF41C463","params":[["ped","Ped"],["flagId","int"],["value","BOOL"]]},
{"name":"setPedResetFlag","native":"SET_PED_RESET_FLAG","hash":"0xC1E8A365BF3B29F2","params":[["ped","Ped"],["flagId","int"],["value","BOOL"]]},
{"name":"getPedConfigFlag","native":"GET_PED_CONFIG_FLAG","hash":"0x7EE53118C892B513","params":[["ped","Ped"],["flagId","int"],["p2","BOOL"]],"ret":"BOOL","doc":"See `setPedConfigFlag`"},
{"name":"getPedResetFlag","native":"GET_PED_RESET_FLAG","hash":"0xAF9E59B1B1FBF2A0","params":[["ped","Ped"],["flagId","int"]],"ret":"BOOL","doc":"See `setPedResetFlag`"},
{"name":"setPedGroupMemberPassengerIndex","native":"SET_PED_GROUP_MEMBER_PASSENGER_INDEX","hash":"0x0BDDB8D9EC6BCF3C","params":[["ped","Ped"],["index","int"]]},
{"name":"setPedCanEvasiveDive","native":"SET_PED_CAN_EVASIVE_DIVE","hash":"0x6B7A646C242A7059","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"isPedEvasiveDiving","native":"IS_PED_EVASIVE_DIVING","hash":"0x414641C26E105898","params":[["ped","Ped"]],"ret":"BOOL","outs":[["evadingEntity","Entity",1]],"doc":"Presumably returns the Entity that the Ped is currently diving out of the way of.\n\n```\nvar num3;\n    if (isPedEvasiveDiving(A_0, &num3) != 0)\n        if (isEntityAVehicle(num3) != 0)\n```"},
{"name":"setPedShootsAtCoord","native":"SET_PED_SHOOTS_AT_COORD","hash":"0x96A05E4FB321B1BA","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["toggle","BOOL"]]},
{"name":"setPedModelIsSuppressed","native":"SET_PED_MODEL_IS_SUPPRESSED","hash":"0xE163A4BCE4DE6F11","params":[["modelHash","Hash"],["toggle","BOOL"]],"doc":"Full list of peds by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/peds.json"},
{"name":"stopAnyPedModelBeingSuppressed","native":"STOP_ANY_PED_MODEL_BEING_SUPPRESSED","hash":"0xB47BD05FA66B40CF"},
{"name":"setPedCanBeTargetedWhenInjured","native":"SET_PED_CAN_BE_TARGETED_WHEN_INJURED","hash":"0x638C03B0F9878F57","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedGeneratesDeadBodyEvents","native":"SET_PED_GENERATES_DEAD_BODY_EVENTS","hash":"0x7FB17BA2E7DECA5B","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"blockPedFromGeneratingDeadBodyEventsWhenDead","native":"BLOCK_PED_FROM_GENERATING_DEAD_BODY_EVENTS_WHEN_DEAD","hash":"0xE43A13C9E4CCCBCF","params":[["ped","Ped"],["toggle","BOOL"]],"aka":["_BLOCK_PED_DEAD_BODY_SHOCKING_EVENTS"]},
{"name":"setPedWillOnlyAttackWantedPlayer","native":"SET_PED_WILL_ONLY_ATTACK_WANTED_PLAYER","hash":"0x3E9679C1DFCF422C","params":[["p0","Any"],["p1","Any"]],"since":877},
{"name":"setPedCanRagdollFromPlayerImpact","native":"SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT","hash":"0xDF993EE5E90ABA25","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"givePedHelmet","native":"GIVE_PED_HELMET","hash":"0x54C7C4A94367717E","params":[["ped","Ped"],["cannotRemove","BOOL"],["helmetFlag","int"],["textureIndex","int"]],"doc":"PoliceMotorcycleHelmet   1024\nRegularMotorcycleHelmet   4096\nFiremanHelmet 16384\nPilotHeadset  32768\nPilotHelmet   65536\n--\np2 is generally 4096 or 16384 in the scripts. p1 varies between 1 and 0."},
{"name":"removePedHelmet","native":"REMOVE_PED_HELMET","hash":"0xA7B2458D0AD6DED8","params":[["ped","Ped"],["instantly","BOOL"]]},
{"name":"isPedTakingOffHelmet","native":"IS_PED_TAKING_OFF_HELMET","hash":"0x14590DDBEDB1EC85","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedHelmet","native":"SET_PED_HELMET","hash":"0x560A43136EB58105","params":[["ped","Ped"],["canWearHelmet","BOOL"]]},
{"name":"setPedHelmetFlag","native":"SET_PED_HELMET_FLAG","hash":"0xC0E78D5C2CE3EB25","params":[["ped","Ped"],["helmetFlag","int"]]},
{"name":"setPedHelmetPropIndex","native":"SET_PED_HELMET_PROP_INDEX","hash":"0x26D83693ED99291C","params":[["ped","Ped"],["propIndex","int"],["p2","BOOL"]],"doc":"List of component/props ID\ngtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html"},
{"name":"setPedHelmetVisorPropIndices","native":"SET_PED_HELMET_VISOR_PROP_INDICES","hash":"0x3F7325574E41B44D","params":[["ped","Ped"],["p1","BOOL"],["p2","int"],["p3","int"]],"since":791,"aka":["_SET_PED_HELMET_UNK"]},
{"name":"isPedHelmetVisorUp","native":"IS_PED_HELMET_VISOR_UP","hash":"0xB9496CE47546DB2C","params":[["ped","Ped"]],"ret":"BOOL","since":791,"aka":["_IS_PED_HELMET_UNK"]},
{"name":"setPedHelmetTextureIndex","native":"SET_PED_HELMET_TEXTURE_INDEX","hash":"0xF1550C4BD22582E2","params":[["ped","Ped"],["textureIndex","int"]]},
{"name":"isPedWearingHelmet","native":"IS_PED_WEARING_HELMET","hash":"0xF33BDFE19B309B19","params":[["ped","Ped"]],"ret":"BOOL","doc":"Returns true if the ped passed through the parenthesis is wearing a helmet."},
{"name":"clearPedStoredHatProp","native":"CLEAR_PED_STORED_HAT_PROP","hash":"0x687C0B594907D2E8","params":[["ped","Ped"]]},
{"name":"getPedHelmetStoredHatPropIndex","native":"GET_PED_HELMET_STORED_HAT_PROP_INDEX","hash":"0x451294E859ECC018","params":[["ped","Ped"]],"ret":"int"},
{"name":"getPedHelmetStoredHatTexIndex","native":"GET_PED_HELMET_STORED_HAT_TEX_INDEX","hash":"0x9D728C1E12BF5518","params":[["ped","Ped"]],"ret":"int"},
{"name":"isCurrentHeadPropAHelmet","native":"IS_CURRENT_HEAD_PROP_A_HELMET","hash":"0xF2385935BFFD4D92","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"setPedToLoadCover","native":"SET_PED_TO_LOAD_COVER","hash":"0x332B562EEDA62399","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanCowerInCover","native":"SET_PED_CAN_COWER_IN_COVER","hash":"0xCB7553CDCEF4A735","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"It simply makes the said ped to cower behind cover object(wall, desk, car)\n\nPeds flee attributes must be set to not to flee, first. Else, most of the peds, will just flee from gunshot sounds or any other panic situations."},
{"name":"setPedCanPeekInCover","native":"SET_PED_CAN_PEEK_IN_COVER","hash":"0xC514825C507E3736","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedPlaysHeadOnHornAnimWhenDiesInVehicle","native":"SET_PED_PLAYS_HEAD_ON_HORN_ANIM_WHEN_DIES_IN_VEHICLE","hash":"0x94D94BF1A75AED3D","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"setPedLegIkMode","native":"SET_PED_LEG_IK_MODE","hash":"0xC396F5B86FF9FEBD","params":[["ped","Ped"],["mode","int"]],"doc":"\"IK\" stands for \"Inverse kinematics.\" I assume this has something to do with how the ped uses his legs to balance. In the scripts, the second parameter is always an int with a value of 2, 0, or sometimes 1"},
{"name":"setPedMotionBlur","native":"SET_PED_MOTION_BLUR","hash":"0x0A986918B102B448","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedCanSwitchWeapon","native":"SET_PED_CAN_SWITCH_WEAPON","hash":"0xED7F7EFE9FABF340","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedDiesInstantlyInWater","native":"SET_PED_DIES_INSTANTLY_IN_WATER","hash":"0xEEB64139BA29A7CF","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setLadderClimbInputState","native":"SET_LADDER_CLIMB_INPUT_STATE","hash":"0x1A330D297AAC6BC1","params":[["ped","Ped"],["p1","int"]],"doc":"Only appears in lamar1 script."},
{"name":"stopPedWeaponFiringWhenDropped","native":"STOP_PED_WEAPON_FIRING_WHEN_DROPPED","hash":"0xC158D28142A34608","params":[["ped","Ped"]]},
{"name":"setScriptedAnimSeatOffset","native":"SET_SCRIPTED_ANIM_SEAT_OFFSET","hash":"0x5917BBA32D06C230","params":[["ped","Ped"],["p1","float"]]},
{"name":"setPedCombatMovement","native":"SET_PED_COMBAT_MOVEMENT","hash":"0x4D9CA1009AFBD057","params":[["ped","Ped"],["combatMovement","int"]]},
{"name":"getPedCombatMovement","native":"GET_PED_COMBAT_MOVEMENT","hash":"0xDEA92412FCAEB3F5","params":[["ped","Ped"]],"ret":"int","doc":"See `setPedCombatMovement`"},
{"name":"setPedCombatAbility","native":"SET_PED_COMBAT_ABILITY","hash":"0xC7622C0D36B2FDA8","params":[["ped","Ped"],["abilityLevel","int"]]},
{"name":"setPedCombatRange","native":"SET_PED_COMBAT_RANGE","hash":"0x3C606747B23E497B","params":[["ped","Ped"],["combatRange","int"]]},
{"name":"getPedCombatRange","native":"GET_PED_COMBAT_RANGE","hash":"0xF9D9F7F2DB8E2FA0","params":[["ped","Ped"]],"ret":"int","doc":"See `setPedCombatRange`"},
{"name":"setPedCombatAttributes","native":"SET_PED_COMBAT_ATTRIBUTES","hash":"0x9F7794730795E019","params":[["ped","Ped"],["attributeId","int"],["enabled","BOOL"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`attributeId` must be between `0` and `90`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"setPedTargetLossResponse","native":"SET_PED_TARGET_LOSS_RESPONSE","hash":"0x0703B9079823DA4A","params":[["ped","Ped"],["responseType","int"]]},
{"name":"isPedPerformingMeleeAction","native":"IS_PED_PERFORMING_MELEE_ACTION","hash":"0xDCCA191DF9980FD7","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedPerformingStealthKill","native":"IS_PED_PERFORMING_STEALTH_KILL","hash":"0xFD4CCDBCC59941B7","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedPerformingACounterAttack","native":"IS_PED_PERFORMING_A_COUNTER_ATTACK","hash":"0xEBD0EDBA5BE957CF","params":[["ped","Ped"]],"ret":"BOOL","aka":["IS_PED_PERFORMING_DEPENDENT_COMBO_LIMIT"]},
{"name":"isPedBeingStealthKilled","native":"IS_PED_BEING_STEALTH_KILLED","hash":"0x863B23EFDE9C5DF2","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getMeleeTargetForPed","native":"GET_MELEE_TARGET_FOR_PED","hash":"0x18A3E9EE1297FD39","params":[["ped","Ped"]],"ret":"Ped"},
{"name":"wasPedKilledByStealth","native":"WAS_PED_KILLED_BY_STEALTH","hash":"0xF9800AA1A771B000","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"wasPedKilledByTakedown","native":"WAS_PED_KILLED_BY_TAKEDOWN","hash":"0x7F08E26039C7347C","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"wasPedKnockedOut","native":"WAS_PED_KNOCKED_OUT","hash":"0x61767F73EACEED21","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedFleeAttributes","native":"SET_PED_FLEE_ATTRIBUTES","hash":"0x70A2D1137C8ED7C9","params":[["ped","Ped"],["attributeFlags","int"],["enable","BOOL"]],"doc":"bit 1 (0x2) = use vehicle\nbit 15 (0x8000) = force cower"},
{"name":"setPedCowerHash","native":"SET_PED_COWER_HASH","hash":"0xA549131166868ED3","params":[["ped","Ped"],["p1","string","Only \"CODE_HUMAN_STAND_COWER\" found in the b617d scripts."]]},
{"name":"setPedSteersAroundDeadBodies","native":"SET_PED_STEERS_AROUND_DEAD_BODIES","hash":"0x2016C603D6B8987C","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedSteersAroundPeds","native":"SET_PED_STEERS_AROUND_PEDS","hash":"0x46F2193B3AD1D891","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedSteersAroundObjects","native":"SET_PED_STEERS_AROUND_OBJECTS","hash":"0x1509C089ADC208BF","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedSteersAroundVehicles","native":"SET_PED_STEERS_AROUND_VEHICLES","hash":"0xEB6FB9D48DDE23EC","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedIsAvoidedByOthers","native":"SET_PED_IS_AVOIDED_BY_OTHERS","hash":"0xA9B61A329BFDCBEA","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"setPedIncreasedAvoidanceRadius","native":"SET_PED_INCREASED_AVOIDANCE_RADIUS","hash":"0x570389D1C3DE3C6B","params":[["ped","Ped"]]},
{"name":"setPedBlocksPathingWhenDead","native":"SET_PED_BLOCKS_PATHING_WHEN_DEAD","hash":"0x576594E8D64375E2","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedNoTimeDelayBeforeShot","native":"SET_PED_NO_TIME_DELAY_BEFORE_SHOT","hash":"0xA52D5247A4227E14","params":[["p0","Any"]]},
{"name":"isAnyPedNearPoint","native":"IS_ANY_PED_NEAR_POINT","hash":"0x083961498679DC9F","params":[["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL"},
{"name":"forcePedAiAndAnimationUpdate","native":"FORCE_PED_AI_AND_ANIMATION_UPDATE","hash":"0x2208438012482A1A","params":[["ped","Ped"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"isPedHeadingTowardsPosition","native":"IS_PED_HEADING_TOWARDS_POSITION","hash":"0xFCF37A457CB96DC0","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["p4","float"]],"ret":"BOOL"},
{"name":"requestPedVisibilityTracking","native":"REQUEST_PED_VISIBILITY_TRACKING","hash":"0x7D7A2E43E74E2EB8","params":[["ped","Ped"]]},
{"name":"requestPedVehicleVisibilityTracking","native":"REQUEST_PED_VEHICLE_VISIBILITY_TRACKING","hash":"0x2BC338A7B21F4608","params":[["ped","Ped"],["p1","BOOL"]],"aka":["GET_PED_FLOOD_INVINCIBILITY"]},
{"name":"requestPedRestrictedVehicleVisibilityTracking","native":"REQUEST_PED_RESTRICTED_VEHICLE_VISIBILITY_TRACKING","hash":"0xCD018C591F94CB43","params":[["ped","Ped"],["p1","BOOL"]]},
{"name":"requestPedUseSmallBboxVisibilityTracking","native":"REQUEST_PED_USE_SMALL_BBOX_VISIBILITY_TRACKING","hash":"0x75BA1CB3B7D40CAF","params":[["ped","Ped"],["p1","BOOL"]]},
{"name":"isTrackedPedVisible","native":"IS_TRACKED_PED_VISIBLE","hash":"0x91C8E617F64188AC","params":[["ped","Ped"]],"ret":"BOOL","doc":"returns whether or not a ped is visible within your FOV, not this check auto's to false after a certain distance.\n\nTarget needs to be tracked.. won't work otherwise."},
{"name":"getTrackedPedPixelcount","native":"GET_TRACKED_PED_PIXELCOUNT","hash":"0x511F1A683387C7E2","params":[["ped","Ped"]],"ret":"int","aka":["_GET_TRACKED_PED_VISIBILITY"]},
{"name":"isPedTracked","native":"IS_PED_TRACKED","hash":"0x4C5E1F087CD10BB7","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"hasPedReceivedEvent","native":"HAS_PED_RECEIVED_EVENT","hash":"0x8507BCB710FA6DC0","params":[["ped","Ped"],["eventId","int"]],"ret":"BOOL"},
{"name":"canPedSeeHatedPed","native":"CAN_PED_SEE_HATED_PED","hash":"0x6CD5A433374D4CFB","params":[["ped1","Ped"],["ped2","Ped"]],"ret":"BOOL","aka":["_CAN_PED_SEE_PED"]},
{"name":"canPedShuffleToOrFromTurretSeat","native":"CAN_PED_SHUFFLE_TO_OR_FROM_TURRET_SEAT","hash":"0x9C6A6C19B6C0C496","params":[["ped","Ped"]],"ret":"BOOL","outs":[["p1","int",1]]},
{"name":"canPedShuffleToOrFromExtraSeat","native":"CAN_PED_SHUFFLE_TO_OR_FROM_EXTRA_SEAT","hash":"0x2DFC81C9B9608549","params":[["ped","Ped"]],"ret":"BOOL","outs":[["p1","int",1]],"since":944},
{"name":"getPedBoneIndex","native":"GET_PED_BONE_INDEX","hash":"0x3F428D08BE5AAE31","params":[["ped","Ped"],["boneId","int"]],"ret":"int","doc":"no bone= -1\n\nboneIds:\n\n```\n       SKEL_ROOT = 0x0,\n  SKEL_Pelvis = 0x2e28,\nSKEL_L_Thigh = 0xe39f,\n   SKEL_L_Calf = 0xf9bb,\nSKEL_L_Foot = 0x3779,\nSKEL_L_Toe0 = 0x83c,\n IK_L_Foot = 0xfedd,\n  PH_L_Foot = 0xe175,\n  MH_L_Knee = 0xb3fe,\n  SKEL_R_Thigh = 0xca72,\n   SKEL_R_Calf = 0x9000,\nSKEL_R_Foot = 0xcc4d,\nSKEL_R_Toe0 = 0x512d,\nIK_R_Foot = 0x8aae,\n  PH_R_Foot = 0x60e6,\n  MH_R_Knee = 0x3fcf,\n  RB_L_ThighRoll = 0x5c57,\n RB_R_ThighRoll = 0x192a,\n SKEL_Spine_Root = 0xe0fd,\nSKEL_Spine0 = 0x5c01,\nSKEL_Spine1 = 0x60f0,\nSKEL_Spine2 = 0x60f1,\nSKEL_Spine3 = 0x60f2,\nSKEL_L_Clavicle = 0xfcd9,\nSKEL_L_UpperArm = 0xb1c5,\nSKEL_L_Forearm = 0xeeeb,\n SKEL_L_Hand = 0x49d9,\nSKEL_L_Finger00 = 0x67f2,\nSKEL_L_Finger01 = 0xff9,\n SKEL_L_Finger02 = 0xffa,\n SKEL_L_Finger10 = 0x67f3,\nSKEL_L_Finger11 = 0x1049,\nSKEL_L_Finger12 = 0x104a,\nSKEL_L_Finger20 = 0x67f4,\nSKEL_L_Finger21 = 0x1059,\nSKEL_L_Finger22 = 0x105a,\nSKEL_L_Finger30 = 0x67f5,\nSKEL_L_Finger31 = 0x1029,\nSKEL_L_Finger32 = 0x102a,\nSKEL_L_Finger40 = 0x67f6,\nSKEL_L_Finger41 = 0x1039,\nSKEL_L_Finger42 = 0x103a,\nPH_L_Hand = 0xeb95,\n  IK_L_Hand = 0x8cbd,\n  RB_L_ForeArmRoll = 0xee4f,\n   RB_L_ArmRoll = 0x1470,\n   MH_L_Elbow = 0x58b7,\n SKEL_R_Clavicle = 0x29d2,\nSKEL_R_UpperArm = 0x9d4d,\nSKEL_R_Forearm = 0x6e5c,\n SKEL_R_Hand = 0xdead,\nSKEL_R_Finger00 = 0xe5f2,\nSKEL_R_Finger01 = 0xfa10,\nSKEL_R_Finger02 = 0xfa11,\nSKEL_R_Finger10 = 0xe5f3,\nSKEL_R_Finger11 = 0xfa60,\nSKEL_R_Finger12 = 0xfa61,\nSKEL_R_Finger20 = 0xe5f4,\nSKEL_R_Finger21 = 0xfa70,\nSKEL_R_Finger22 = 0xfa71,\nSKEL_R_Finger30 = 0xe5f5,\nSKEL_R_Finger31 = 0xfa40,\nSKEL_R_Finger32 = 0xfa41,\nSKEL_R_Finger40 = 0xe5f6,\nSKEL_R_Finger41 = 0xfa50,\nSKEL_R_Finger42 = 0xfa51,\nPH_R_Hand = 0x6f06,\n  IK_R_Hand = 0x188e,\n  RB_R_ForeArmRoll = 0xab22,\n   RB_R_ArmRoll = 0x90ff,\n   MH_R_Elbow = 0xbb0,\n  SKEL_Neck_1 = 0x9995,\nSKEL_Head = 0x796e,\n  IK_Head = 0x322c,\nFACIAL_facialRoot = 0xfe2c,\n  FB_L_Brow_Out_000 = 0xe3db,\n  FB_L_Lid_Upper_000 = 0xb2b6,\n FB_L_Eye_000 = 0x62ac,\n   FB_L_CheekBone_000 = 0x542e,\n FB_L_Lip_Corner_000 = 0x74ac,\nFB_R_Lid_Upper_000 = 0xaa10,\n FB_R_Eye_000 = 0x6b52,\n   FB_R_CheekBone_000 = 0x4b88,\n FB_R_Brow_Out_000 = 0x54c,\n   FB_R_Lip_Corner_000 = 0x2ba6,\nFB_Brow_Centre_000 = 0x9149,\n FB_UpperLipRoot_000 = 0x4ed2,\nFB_UpperLip_000 = 0xf18f,\nFB_L_Lip_Top_000 = 0x4f37,\n   FB_R_Lip_Top_000 = 0x4537,\n   FB_Jaw_000 = 0xb4a0,\n FB_LowerLipRoot_000 = 0x4324,\nFB_LowerLip_000 = 0x508f,\nFB_L_Lip_Bot_000 = 0xb93b,\n   FB_R_Lip_Bot_000 = 0xc33b,\n   FB_Tongue_000 = 0xb987,\n  RB_Neck_1 = 0x8b93,\n  IK_Root = 0xdd1c\n```"},
{"name":"getPedRagdollBoneIndex","native":"GET_PED_RAGDOLL_BONE_INDEX","hash":"0x2057EF813397A772","params":[["ped","Ped"],["bone","int"]],"ret":"int"},
{"name":"setPedEnveffScale","native":"SET_PED_ENVEFF_SCALE","hash":"0xBF29516833893561","params":[["ped","Ped"],["value","float"]],"doc":"Values look to be between 0.0 and 1.0\nFrom decompiled scripts: 0.0, 0.6, 0.65, 0.8, 1.0\n\nYou are correct, just looked in IDA it breaks from the function if it's less than 0.0f or greater than 1.0f."},
{"name":"getPedEnveffScale","native":"GET_PED_ENVEFF_SCALE","hash":"0x9C14D30395A51A3C","params":[["ped","Ped"]],"ret":"float"},
{"name":"setEnablePedEnveffScale","native":"SET_ENABLE_PED_ENVEFF_SCALE","hash":"0xD2C5AA0C0E8D0F1E","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedEnveffCpvAdd","native":"SET_PED_ENVEFF_CPV_ADD","hash":"0x110F526AB784111F","params":[["ped","Ped"],["p1","float"]],"doc":"In agency_heist3b.c4, its like this 90% of the time:\n\n```\nsetPedEnveffCpvAdd(ped, 0.099);\nsetPedEnveffScale(ped, 1.0);\nsetPedEnveffCpvAdd(ped, 87, 81, 68);\nsetEnablePedEnveffScale(ped, 1);\n```\n\nand its like this 10% of the time:\n\n```\nsetPedEnveffCpvAdd(ped, 0.2);\nsetPedEnveffScale(ped, 0.65);\nsetPedEnveffColorModulator(ped, 74, 69, 60);\nsetEnablePedEnveffScale(ped, 1);\n```"},
{"name":"setPedEnveffColorModulator","native":"SET_PED_ENVEFF_COLOR_MODULATOR","hash":"0xD69411AA0CEBF9E9","params":[["ped","Ped"],["p1","int"],["p2","int"],["p3","int"]],"doc":"Something related to the environmental effects natives.\nIn the \"agency_heist3b\" script, p1 - p3 are always under 100 - usually they are {87, 81, 68}. If `setPedEnveffScale` is set to 0.65 (instead of the usual 1.0), they use {74, 69, 60}"},
{"name":"setPedEmissiveScale","native":"SET_PED_EMISSIVE_SCALE","hash":"0x4E90D746056E273D","params":[["ped","Ped"],["intensity","float","0.0f - 1.0f"]],"since":944,"aka":["_SET_PED_REFLECTION_INTENSITY","_SET_PED_ILLUMINATED_CLOTHING_GLOW_INTENSITY","_SET_PED_EMISSIVE_INTENSITY"],"doc":"This native sets the emissive intensity for the given ped. It is used for different 'glow' levels on illuminated clothing."},
{"name":"getPedEmissiveScale","native":"GET_PED_EMISSIVE_SCALE","hash":"0x1461B28A06717D68","params":[["ped","Ped"]],"ret":"float","since":944,"aka":["_GET_PED_REFLECTION_INTENSITY","_GET_PED_ILLUMINATED_CLOTHING_GLOW_INTENSITY","_GET_PED_EMISSIVE_INTENSITY"],"doc":"Use `setPedEmissiveScale` to set the illuminated clothing glow intensity for a specific ped.\nReturns a float between 0.0 and 1.0 representing the current illuminated clothing glow intensity."},
{"name":"isPedShaderReady","native":"IS_PED_SHADER_READY","hash":"0x81AA517FBBA05D39","params":[["ped","Ped"]],"ret":"BOOL","since":944,"aka":["_IS_PED_SHADER_EFFECT_VALID"]},
{"name":"setPedEnableCrewEmblem","native":"SET_PED_ENABLE_CREW_EMBLEM","hash":"0xE906EC930F5FE7C8","params":[["ped","Ped"],["toggle","BOOL"]],"since":791},
{"name":"requestRagdollBoundsUpdate","native":"REQUEST_RAGDOLL_BOUNDS_UPDATE","hash":"0x1216E0BFA72CC703","params":[["p0","Any"],["p1","Any"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"setPedAoBlobRendering","native":"SET_PED_AO_BLOB_RENDERING","hash":"0x2B5AA717A181FB4C","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Enable/disable ped shadow (ambient occlusion)."},
{"name":"isPedSheltered","native":"IS_PED_SHELTERED","hash":"0xB8B52E498014F5B0","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"createSynchronizedScene","native":"CREATE_SYNCHRONIZED_SCENE","hash":"0x8C18E0F9080ADD73","params":[["x","float"],["y","float"],["z","float"],["roll","float"],["pitch","float"],["yaw","float"],["p6","int"]],"ret":"int","doc":"p6 always 2 (but it doesnt seem to matter...)\n\nroll and pitch 0\nyaw to Ped.rotation"},
{"name":"createSynchronizedSceneAtMapObject","native":"CREATE_SYNCHRONIZED_SCENE_AT_MAP_OBJECT","hash":"0x62EC273D00187DCA","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["object","Hash"]],"ret":"int","aka":["_CREATE_SYNCHRONIZED_SCENE_2"]},
{"name":"isSynchronizedSceneRunning","native":"IS_SYNCHRONIZED_SCENE_RUNNING","hash":"0x25D39B935A038A26","params":[["sceneId","int"]],"ret":"BOOL","doc":"Returns true if a synchronized scene is running"},
{"name":"setSynchronizedSceneOrigin","native":"SET_SYNCHRONIZED_SCENE_ORIGIN","hash":"0x6ACF6B7225801CD7","params":[["sceneID","int"],["x","float"],["y","float"],["z","float"],["roll","float"],["pitch","float"],["yaw","float"],["p7","BOOL"]]},
{"name":"setSynchronizedScenePhase","native":"SET_SYNCHRONIZED_SCENE_PHASE","hash":"0x734292F4F0ABF6D0","params":[["sceneID","int"],["phase","float"]]},
{"name":"getSynchronizedScenePhase","native":"GET_SYNCHRONIZED_SCENE_PHASE","hash":"0xE4A310B1D7FA73CC","params":[["sceneID","int"]],"ret":"float"},
{"name":"setSynchronizedSceneRate","native":"SET_SYNCHRONIZED_SCENE_RATE","hash":"0xB6C49F8A5E295A5D","params":[["sceneID","int"],["rate","float"]]},
{"name":"getSynchronizedSceneRate","native":"GET_SYNCHRONIZED_SCENE_RATE","hash":"0xD80932D577274D40","params":[["sceneID","int"]],"ret":"float"},
{"name":"setSynchronizedSceneLooped","native":"SET_SYNCHRONIZED_SCENE_LOOPED","hash":"0xD9A897A4C6C2974F","params":[["sceneID","int"],["toggle","BOOL"]]},
{"name":"isSynchronizedSceneLooped","native":"IS_SYNCHRONIZED_SCENE_LOOPED","hash":"0x62522002E0C391BA","params":[["sceneID","int"]],"ret":"BOOL"},
{"name":"setSynchronizedSceneHoldLastFrame","native":"SET_SYNCHRONIZED_SCENE_HOLD_LAST_FRAME","hash":"0x394B9CD12435C981","params":[["sceneID","int"],["toggle","BOOL"]],"aka":["_SET_SYNCHRONIZED_SCENE_OCCLUSION_PORTAL"]},
{"name":"isSynchronizedSceneHoldLastFrame","native":"IS_SYNCHRONIZED_SCENE_HOLD_LAST_FRAME","hash":"0x7F2F4F13AC5257EF","params":[["sceneID","int"]],"ret":"BOOL"},
{"name":"attachSynchronizedSceneToEntity","native":"ATTACH_SYNCHRONIZED_SCENE_TO_ENTITY","hash":"0x272E4723B56A3B96","params":[["sceneID","int"],["entity","Entity"],["boneIndex","int"]]},
{"name":"detachSynchronizedScene","native":"DETACH_SYNCHRONIZED_SCENE","hash":"0x6D38F1F04CBB37EA","params":[["sceneID","int"]]},
{"name":"takeOwnershipOfSynchronizedScene","native":"TAKE_OWNERSHIP_OF_SYNCHRONIZED_SCENE","hash":"0xCD9CC7E200A52A6F","params":[["scene","int"]],"aka":["_DISPOSE_SYNCHRONIZED_SCENE"]},
{"name":"forcePedMotionState","native":"FORCE_PED_MOTION_STATE","hash":"0xF28965D04F570DCA","params":[["ped","Ped"],["motionStateHash","Hash"],["shouldReset","BOOL"],["updateState","int"],["forceAIPreCameraUpdate","BOOL"]],"ret":"BOOL"},
{"name":"getPedCurrentMoveBlendRatio","native":"GET_PED_CURRENT_MOVE_BLEND_RATIO","hash":"0xF60165E1D2C5370B","params":[["ped","Ped"]],"ret":"BOOL","outs":[["speedX","float",1],["speedY","float",2]],"aka":["_GET_PED_CURRENT_MOVEMENT_SPEED"]},
{"name":"setPedMaxMoveBlendRatio","native":"SET_PED_MAX_MOVE_BLEND_RATIO","hash":"0x433083750C5E064A","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedMinMoveBlendRatio","native":"SET_PED_MIN_MOVE_BLEND_RATIO","hash":"0x01A898D26E2333DD","params":[["ped","Ped"],["value","float"]]},
{"name":"setPedMoveRateOverride","native":"SET_PED_MOVE_RATE_OVERRIDE","hash":"0x085BF80FA50A39D1","params":[["ped","Ped"],["value","float"]],"doc":"Min: 0.00\nMax: 10.00\n\nCan be used in combo with fast run cheat.\n\nWhen value is set to 10.00:\nSprinting without fast run cheat: 66 m/s\nSprinting with fast run cheat: 77 m/s\n\nNeeds to be looped!\n\nNote: According to IDA for the Xbox360 xex, when they check bgt they seem to have the min to 0.0f, but the max set to 1.15f not 10.0f."},
{"name":"setPedMoveRateInWaterOverride","native":"SET_PED_MOVE_RATE_IN_WATER_OVERRIDE","hash":"0x0B3E35AC043707D9","params":[["ped","Ped"],["p1","float"]],"since":573},
{"name":"pedHasSexinessFlagSet","native":"PED_HAS_SEXINESS_FLAG_SET","hash":"0x46B05BCAE43856B0","params":[["ped","Ped"],["sexinessFlag","int"]],"ret":"BOOL","doc":"Checks if the specified sexiness flag is set"},
{"name":"getPedNearbyVehicles","native":"GET_PED_NEARBY_VEHICLES","hash":"0xCFF869CBFA210D82","params":[["ped","Ped"]],"ret":"int","outs":[["sizeAndVehs","EntityList",1]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Vehicle handles","md":"Pass a valid ped handle. Returns the count followed by up to 256 nearby vehicle handles from the ped scanner."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."},{"kind":"info","title":"Checked by LS:MP","md":"`sizeAndVehs` is required. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}]},
{"name":"getPedNearbyPeds","native":"GET_PED_NEARBY_PEDS","hash":"0x23F8F5FC7E8C4A6B","params":[["ped","Ped"],["ignore","int"]],"ret":"int","outs":[["sizeAndPeds","EntityList",1]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Ped handles","md":"Pass a valid ped handle and a ped type to exclude. Use `-1` for no exclusion. Returns the count followed by up to 256 nearby ped handles from the ped scanner."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."},{"kind":"info","title":"Checked by LS:MP","md":"`sizeAndPeds` is required. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}]},
{"name":"haveAllStreamingRequestsCompleted","native":"HAVE_ALL_STREAMING_REQUESTS_COMPLETED","hash":"0x7350823473013C02","params":[["ped","Ped"]],"ret":"BOOL","aka":["_HAS_STREAMED_PED_ASSETS_LOADED"]},
{"name":"isPedUsingActionMode","native":"IS_PED_USING_ACTION_MODE","hash":"0x00E73468D085F745","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"setPedUsingActionMode","native":"SET_PED_USING_ACTION_MODE","hash":"0xD75ACCF5E0FB5367","params":[["ped","Ped"],["p1","BOOL"],["p2","int"],["action","string"]],"doc":"p2 is usually -1 in the scripts. action is either 0 or \"DEFAULT_ACTION\"."},
{"name":"setMovementModeOverride","native":"SET_MOVEMENT_MODE_OVERRIDE","hash":"0x781DE8FA214E87D2","params":[["ped","Ped"],["name","string","\"MP_FEMALE_ACTION\" found multiple times in the b617d scripts."]]},
{"name":"setPedCapsule","native":"SET_PED_CAPSULE","hash":"0x364DF566EC833DE2","params":[["ped","Ped"],["value","float"]],"doc":"Overrides the ped's collision capsule radius for the current tick.\nMust be called every tick to be effective.\n\nSetting this to 0.001 will allow warping through some objects."},
{"name":"registerPedheadshot","native":"REGISTER_PEDHEADSHOT","hash":"0x4462658788425076","params":[["ped","Ped"]],"ret":"int","doc":"https://gtaforums.com/topic/885580-ped-headshotmugshot-txd/"},
{"name":"registerPedheadshotHires","native":"REGISTER_PEDHEADSHOT_HIRES","hash":"0xBA8805A1108A2515","params":[["ped","Ped"]],"ret":"int","since":877,"aka":["_REGISTER_PEDHEADSHOT_3"]},
{"name":"registerPedheadshotTransparent","native":"REGISTER_PEDHEADSHOT_TRANSPARENT","hash":"0x953563CE563143AF","params":[["ped","Ped"]],"ret":"int","doc":"Similar to `registerPedheadshot` but creates a transparent background instead of black."},
{"name":"unregisterPedheadshot","native":"UNREGISTER_PEDHEADSHOT","hash":"0x96B1361D9B24C2FF","params":[["id","int"]],"doc":"https://gtaforums.com/topic/885580-ped-headshotmugshot-txd/"},
{"name":"isPedheadshotValid","native":"IS_PEDHEADSHOT_VALID","hash":"0xA0A9668F158129A2","params":[["id","int"]],"ret":"BOOL","doc":"https://gtaforums.com/topic/885580-ped-headshotmugshot-txd/"},
{"name":"isPedheadshotReady","native":"IS_PEDHEADSHOT_READY","hash":"0x7085228842B13A67","params":[["id","int"]],"ret":"BOOL","doc":"https://gtaforums.com/topic/885580-ped-headshotmugshot-txd/"},
{"name":"getPedheadshotTxdString","native":"GET_PEDHEADSHOT_TXD_STRING","hash":"0xDB4EACD4AD0A5D6B","params":[["id","int"]],"ret":"string","doc":"https://gtaforums.com/topic/885580-ped-headshotmugshot-txd/"},
{"name":"requestPedheadshotImgUpload","native":"REQUEST_PEDHEADSHOT_IMG_UPLOAD","hash":"0xF0DAEF2F545BEE25","params":[["id","int"]],"ret":"BOOL"},
{"name":"releasePedheadshotImgUpload","native":"RELEASE_PEDHEADSHOT_IMG_UPLOAD","hash":"0x5D517B27CF6ECD04","params":[["id","int"]]},
{"name":"isPedheadshotImgUploadAvailable","native":"IS_PEDHEADSHOT_IMG_UPLOAD_AVAILABLE","hash":"0xEBB376779A760AA8","ret":"BOOL"},
{"name":"hasPedheadshotImgUploadFailed","native":"HAS_PEDHEADSHOT_IMG_UPLOAD_FAILED","hash":"0x876928DDDFCCC9CD","ret":"BOOL"},
{"name":"hasPedheadshotImgUploadSucceeded","native":"HAS_PEDHEADSHOT_IMG_UPLOAD_SUCCEEDED","hash":"0xE8A169E666CBC541","ret":"BOOL"},
{"name":"setPedHeatscaleOverride","native":"SET_PED_HEATSCALE_OVERRIDE","hash":"0xC1F6EBF9A3D55538","params":[["ped","Ped"],["heatScale","float"]]},
{"name":"disablePedHeatscaleOverride","native":"DISABLE_PED_HEATSCALE_OVERRIDE","hash":"0x600048C60D5C2C51","params":[["ped","Ped"]]},
{"name":"spawnpointsStartSearch","native":"SPAWNPOINTS_START_SEARCH","hash":"0x2DF9038C90AD5264","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["interiorFlags","int"],["scale","float"],["duration","int"]]},
{"name":"spawnpointsStartSearchInAngledArea","native":"SPAWNPOINTS_START_SEARCH_IN_ANGLED_AREA","hash":"0xB2AFF10216DEFA2F","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["width","float"],["interiorFlags","int"],["scale","float"],["duration","int"]]},
{"name":"spawnpointsCancelSearch","native":"SPAWNPOINTS_CANCEL_SEARCH","hash":"0xFEE4A5459472A9F8"},
{"name":"spawnpointsIsSearchActive","native":"SPAWNPOINTS_IS_SEARCH_ACTIVE","hash":"0x3C67506996001F5E","ret":"BOOL"},
{"name":"spawnpointsIsSearchComplete","native":"SPAWNPOINTS_IS_SEARCH_COMPLETE","hash":"0xA586FBEB32A53DBB","ret":"BOOL"},
{"name":"spawnpointsIsSearchFailed","native":"SPAWNPOINTS_IS_SEARCH_FAILED","hash":"0xF445DE8DA80A1792","ret":"BOOL"},
{"name":"spawnpointsGetNumSearchResults","native":"SPAWNPOINTS_GET_NUM_SEARCH_RESULTS","hash":"0xA635C11B8C44AFC2","ret":"int"},
{"name":"spawnpointsGetSearchResult","native":"SPAWNPOINTS_GET_SEARCH_RESULT","hash":"0x280C7E3AC7F56E90","params":[["randomInt","int"]],"outs":[["x","float",1],["y","float",2],["z","float",3]]},
{"name":"spawnpointsGetSearchResultFlags","native":"SPAWNPOINTS_GET_SEARCH_RESULT_FLAGS","hash":"0xB782F8238512BAD5","params":[["p0","int"]],"outs":[["p1","int",1]]},
{"name":"setIkTarget","native":"SET_IK_TARGET","hash":"0xC32779C16FCEECD9","params":[["ped","Ped"],["ikIndex","int"],["entityLookAt","Entity"],["boneLookAt","int"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["p7","Any"],["blendInDuration","int"],["blendOutDuration","int"]]},
{"name":"forceInstantLegIkSetup","native":"FORCE_INSTANT_LEG_IK_SETUP","hash":"0xED3C76ADFA6D07C4","params":[["ped","Ped"]]},
{"name":"requestActionModeAsset","native":"REQUEST_ACTION_MODE_ASSET","hash":"0x290E2780BB7AA598","params":[["asset","string"]]},
{"name":"hasActionModeAssetLoaded","native":"HAS_ACTION_MODE_ASSET_LOADED","hash":"0xE4B5F4BF2CB24E65","params":[["asset","string"]],"ret":"BOOL"},
{"name":"removeActionModeAsset","native":"REMOVE_ACTION_MODE_ASSET","hash":"0x13E940F88470FA51","params":[["asset","string"]]},
{"name":"requestStealthModeAsset","native":"REQUEST_STEALTH_MODE_ASSET","hash":"0x2A0A62FCDEE16D4F","params":[["asset","string"]]},
{"name":"hasStealthModeAssetLoaded","native":"HAS_STEALTH_MODE_ASSET_LOADED","hash":"0xE977FC5B08AF3441","params":[["asset","string"]],"ret":"BOOL"},
{"name":"removeStealthModeAsset","native":"REMOVE_STEALTH_MODE_ASSET","hash":"0x9219857D21F0E842","params":[["asset","string"]]},
{"name":"setPedLodMultiplier","native":"SET_PED_LOD_MULTIPLIER","hash":"0xDC2C5C242AAC342B","params":[["ped","Ped"],["multiplier","float"]]},
{"name":"setPedCanLosePropsOnDamage","native":"SET_PED_CAN_LOSE_PROPS_ON_DAMAGE","hash":"0xE861D0B05C7662B8","params":[["ped","Ped"],["toggle","BOOL"],["p2","int"]]},
{"name":"setForceFootstepUpdate","native":"SET_FORCE_FOOTSTEP_UPDATE","hash":"0x129466ED55140F8D","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setForceStepType","native":"SET_FORCE_STEP_TYPE","hash":"0xCB968B53FC7F916D","params":[["ped","Ped"],["p1","BOOL"],["type","int"],["p3","int"]]},
{"name":"isAnyHostilePedNearPoint","native":"IS_ANY_HOSTILE_PED_NEAR_POINT","hash":"0x68772DB2B2526F9F","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL"},
{"name":"setPedCanPlayInCarIdles","native":"SET_PED_CAN_PLAY_IN_CAR_IDLES","hash":"0x820E9892A77E97CD","params":[["ped","Ped"],["toggle","BOOL"]],"since":877,"aka":["_SET_PED_CAN_PLAY_IN_CAR_IDLES"]},
{"name":"isTargetPedInPerceptionArea","native":"IS_TARGET_PED_IN_PERCEPTION_AREA","hash":"0x06087579E7AA85A9","params":[["ped","Ped"],["targetPed","Ped"],["p2","float"],["p3","float"],["p4","float"],["p5","float"]],"ret":"BOOL"},
{"name":"setPopControlSphereThisFrame","native":"SET_POP_CONTROL_SPHERE_THIS_FRAME","hash":"0xD8C3BE3EE94CAF2D","params":[["x","float"],["y","float"],["z","float"],["min","float"],["max","float"]],"doc":"Min and max are usually 100.0 and 200.0"},
{"name":"forceZeroMassInCollisions","native":"FORCE_ZERO_MASS_IN_COLLISIONS","hash":"0xD33DAA36272177C4","params":[["ped","Ped"]]},
{"name":"setDisableHighFallDeath","native":"SET_DISABLE_HIGH_FALL_DEATH","hash":"0x711794453CFD692B","params":[["ped","Ped"],["toggle","BOOL"]],"since":463,"aka":["_SET_DISABLE_PED_FALL_DAMAGE"]},
{"name":"setPedPhonePaletteIdx","native":"SET_PED_PHONE_PALETTE_IDX","hash":"0x83A169EABCDB10A2","params":[["p0","Any"],["p1","Any"]]},
{"name":"setPedSteerBias","native":"SET_PED_STEER_BIAS","hash":"0x288DF530C92DAD6F","params":[["ped","Ped"],["value","float"]],"aka":["_SET_PED_STEER_BIAS"]},
{"name":"isPedSwitchingWeapon","native":"IS_PED_SWITCHING_WEAPON","hash":"0x3795688A307E1EB6","params":[["Ped","Ped"]],"ret":"BOOL","since":505,"aka":["_IS_PED_SWAPPING_WEAPON"]},
{"name":"setPedTreatedAsFriendly","native":"SET_PED_TREATED_AS_FRIENDLY","hash":"0x0F62619393661D6E","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"since":877},
{"name":"setDisablePedMapCollision","native":"SET_DISABLE_PED_MAP_COLLISION","hash":"0xDFE68C4B787E1BFB","params":[["ped","Ped"]],"since":1180},
{"name":"enableMpLight","native":"ENABLE_MP_LIGHT","hash":"0xEE2476B9EE4A094F","params":[["ped","Ped"],["toggle","BOOL"]],"since":1493,"aka":["_SET_ENABLE_SCUBA_GEAR_LIGHT"]},
{"name":"getMpLightEnabled","native":"GET_MP_LIGHT_ENABLED","hash":"0x88274C11CF0D866D","params":[["ped","Ped"]],"ret":"BOOL","since":1493,"aka":["_IS_SCUBA_GEAR_LIGHT_ENABLED"]},
{"name":"clearCoverPointForPed","native":"CLEAR_COVER_POINT_FOR_PED","hash":"0x637822DC2AFEEBF8","params":[["ped","Ped"]],"since":1493,"aka":["_CLEAR_FACIAL_CLIPSET_OVERRIDE"]},
{"name":"setAllowStuntJumpCamera","native":"SET_ALLOW_STUNT_JUMP_CAMERA","hash":"0xFAB944D4D481ACCB","params":[["ped","Ped"],["toggle","BOOL"]],"since":1734}
]},
{"id":"PHYSICS","title":"Physics","doc":"Ropes, and the physics state of entities.","natives":[
{"name":"addRope","native":"ADD_ROPE","hash":"0xE832D760399EB220","params":[["x","float"],["y","float"],["z","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["length","float"],["ropeType","int"],["maxLength","float"],["minLength","float"],["windingSpeed","float"],["p11","BOOL"],["p12","BOOL"],["rigid","BOOL"],["p14","float"],["breakWhenShot","BOOL"],["materialName","string"]],"ret":"int","checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Local rope","md":"Load rope textures first. The rope is created on the calling client. Types 0–6 are accepted. Length is 0.01–1,000, winding speed is 0–100 and the time multiplier is 0.01–10. The initial length (`maxLength`) is `-1` or between 0.01 and `length`. `minLength` must be positive and within the effective initial length. Pass `false` for `p11` and omit `materialName`. Each resource can have up to 32 live ropes created this way. A creation failure returns `0`."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"deleteRope","native":"DELETE_ROPE","hash":"0x52B4829281364649","params":[["ropeId","int"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ropeId` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"deleteChildRope","native":"DELETE_CHILD_ROPE","hash":"0xAA5D6B1888E4DB20","params":[["ropeId","int"]]},
{"name":"doesRopeExist","native":"DOES_ROPE_EXIST","hash":"0xFD5448BE3111ED96","params":[["ropeId","int"]],"ret":"BOOL","refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ropeId` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"ropeDrawEnabled","native":"ROPE_DRAW_ENABLED","hash":"0xA1AE736541B0FCA3","params":[["ropeId","int"],["p1","BOOL"]],"refs":[0],"issue":1,"since":1868,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ropeId` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"ropeDrawShadowEnabled","native":"ROPE_DRAW_SHADOW_ENABLED","hash":"0xF159A63806BB5BA8","params":[["ropeId","int"],["toggle","BOOL"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ropeId` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"loadRopeData","native":"LOAD_ROPE_DATA","hash":"0xCBB203C04D1ABD27","params":[["ropeId","int"],["rope_preset","string"]],"doc":"Rope presets can be found in the gamefiles. One example is \"ropeFamily3\", it is NOT a hash but rather a string."},
{"name":"pinRopeVertex","native":"PIN_ROPE_VERTEX","hash":"0x2B320CF14146B69A","params":[["ropeId","int"],["vertex","int"],["x","float"],["y","float"],["z","float"]]},
{"name":"unpinRopeVertex","native":"UNPIN_ROPE_VERTEX","hash":"0x4B5AE2EEE4A8F180","params":[["ropeId","int"],["vertex","int"]]},
{"name":"getRopeVertexCount","native":"GET_ROPE_VERTEX_COUNT","hash":"0x3655F544CD30F0B5","params":[["ropeId","int"]],"ret":"int"},
{"name":"attachEntitiesToRope","native":"ATTACH_ENTITIES_TO_ROPE","hash":"0x3D95EC8B6D940AC3","params":[["ropeId","int"],["ent1","Entity"],["ent2","Entity"],["ent1_x","float"],["ent1_y","float"],["ent1_z","float"],["ent2_x","float"],["ent2_y","float"],["ent2_z","float"],["length","float"],["componentA","int"],["componentB","int"],["boneA","string"],["boneB","string"]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Resource-owned attachments","md":"Use a rope and two distinct local entities with physics instances, all owned by the calling resource. Length must be 0.01–1,000 and both component indices must be `0`. Omit each bone name for the default attachment or pass an existing bone name."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"attachRopeToEntity","native":"ATTACH_ROPE_TO_ENTITY","hash":"0x4B490A6832559A65","params":[["ropeId","int"],["entity","Entity"],["x","float"],["y","float"],["z","float"],["p5","BOOL"]],"doc":"The position supplied can be anywhere, and the entity should anchor relative to that point from it's origin."},
{"name":"detachRopeFromEntity","native":"DETACH_ROPE_FROM_ENTITY","hash":"0xBCF3026912A8647D","params":[["ropeId","int"],["entity","Entity"]]},
{"name":"ropeSetUpdatePinverts","native":"ROPE_SET_UPDATE_PINVERTS","hash":"0xC8D667EE52114ABA","params":[["ropeId","int"]]},
{"name":"ropeSetUpdateOrder","native":"ROPE_SET_UPDATE_ORDER","hash":"0xDC57A637A20006ED","params":[["ropeId","int"],["p1","Any"]]},
{"name":"ropeSetSmoothReelin","native":"ROPE_SET_SMOOTH_REELIN","hash":"0x36CCB9BE67B970FD","params":[["ropeId","int"],["p1","BOOL"]]},
{"name":"isRopeAttachedAtBothEnds","native":"IS_ROPE_ATTACHED_AT_BOTH_ENDS","hash":"0x84DE3B5FB3E666F0","params":[["ropeId","int"]],"ret":"BOOL","refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `ropeId` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"getRopeLastVertexCoord","native":"GET_ROPE_LAST_VERTEX_COORD","hash":"0x21BB0FBD3E217C2D","params":[["ropeId","int"]],"ret":"Vector3"},
{"name":"getRopeVertexCoord","native":"GET_ROPE_VERTEX_COORD","hash":"0xEA61CA8E80F09E4D","params":[["ropeId","int"],["vertex","int"]],"ret":"Vector3"},
{"name":"startRopeWinding","native":"START_ROPE_WINDING","hash":"0x1461C72C889E343E","params":[["ropeId","int"]]},
{"name":"stopRopeWinding","native":"STOP_ROPE_WINDING","hash":"0xCB2D4AB84A19AA7C","params":[["ropeId","int"]]},
{"name":"startRopeUnwindingFront","native":"START_ROPE_UNWINDING_FRONT","hash":"0x538D1179EC1AA9A9","params":[["ropeId","int"]]},
{"name":"stopRopeUnwindingFront","native":"STOP_ROPE_UNWINDING_FRONT","hash":"0xFFF3A50779EFBBB3","params":[["ropeId","int"]]},
{"name":"ropeConvertToSimple","native":"ROPE_CONVERT_TO_SIMPLE","hash":"0x5389D48EFA2F079A","params":[["ropeId","int"]]},
{"name":"ropeLoadTextures","native":"ROPE_LOAD_TEXTURES","hash":"0x9B9039DBF2D258C1","doc":"Loads rope textures for all ropes in the current scene."},
{"name":"ropeAreTexturesLoaded","native":"ROPE_ARE_TEXTURES_LOADED","hash":"0xF2D0E6A75CC05597","ret":"BOOL"},
{"name":"ropeUnloadTextures","native":"ROPE_UNLOAD_TEXTURES","hash":"0x6CE36C35C1AC8163","doc":"Unloads rope textures for all ropes in the current scene."},
{"name":"doesScriptOwnRope","native":"DOES_SCRIPT_OWN_ROPE","hash":"0x271C9D3ACA5D6409","params":[["ropeId","int"]],"ret":"BOOL","aka":["_DOES_ROPE_BELONG_TO_THIS_SCRIPT"]},
{"name":"ropeAttachVirtualBoundGeom","native":"ROPE_ATTACH_VIRTUAL_BOUND_GEOM","hash":"0xBC0CE682D4D05650","params":[["ropeId","int"],["p1","int"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","float"],["p9","float"],["p10","float"],["p11","float"],["p12","float"],["p13","float"]]},
{"name":"ropeChangeScriptOwner","native":"ROPE_CHANGE_SCRIPT_OWNER","hash":"0xB1B6216CA2E7B55E","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"ropeSetRefframevelocityColliderorder","native":"ROPE_SET_REFFRAMEVELOCITY_COLLIDERORDER","hash":"0xB743F735C03D7810","params":[["ropeId","int"],["p1","int"]]},
{"name":"ropeGetDistanceBetweenEnds","native":"ROPE_GET_DISTANCE_BETWEEN_ENDS","hash":"0x73040398DFF9A4A6","params":[["ropeId","int"]],"ret":"float","aka":["_GET_ROPE_LENGTH"]},
{"name":"ropeForceLength","native":"ROPE_FORCE_LENGTH","hash":"0xD009F759A723DB1B","params":[["ropeId","int"],["length","float"]],"doc":"Forces a rope to a certain length."},
{"name":"ropeResetLength","native":"ROPE_RESET_LENGTH","hash":"0xC16DE94D9BEA14A0","params":[["ropeId","int"],["length","float"]],"doc":"Reset a rope to a certain length."},
{"name":"applyImpulseToCloth","native":"APPLY_IMPULSE_TO_CLOTH","hash":"0xE37F721824571784","params":[["posX","float"],["posY","float"],["posZ","float"],["vecX","float"],["vecY","float"],["vecZ","float"],["impulse","float"]]},
{"name":"setDamping","native":"SET_DAMPING","hash":"0xEEA3B200A6FEB65B","params":[["entity","Entity"],["vertex","int"],["value","float"]]},
{"name":"getDamping","native":"GET_DAMPING","hash":"0x8C520A929415BCD2","params":[["entity","Entity"],["type","int"]],"ret":"Vector3","na":1,"since":3407},
{"name":"activatePhysics","native":"ACTIVATE_PHYSICS","hash":"0x710311ADF0E20730","params":[["entity","Entity"]]},
{"name":"setCgoffset","native":"SET_CGOFFSET","hash":"0xD8FA3908D7B86904","params":[["entity","Entity"],["x","float"],["y","float"],["z","float"]]},
{"name":"getCgoffset","native":"GET_CGOFFSET","hash":"0x8214A4B5A7A33612","params":[["entity","Entity"]],"ret":"Vector3"},
{"name":"setCgAtBoundcenter","native":"SET_CG_AT_BOUNDCENTER","hash":"0xBE520D9761FF811F","params":[["entity","Entity"]]},
{"name":"breakEntityGlass","native":"BREAK_ENTITY_GLASS","hash":"0x2E648D16F6E308F3","params":[["entity","Entity"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","float"],["p9","Any"],["p10","BOOL"]]},
{"name":"getIsEntityAFrag","native":"GET_IS_ENTITY_A_FRAG","hash":"0x0C112765300C7E1E","params":[["object","Object"]],"ret":"BOOL","since":505,"aka":["_DOES_ENTITY_HAVE_FRAG_INST","_GET_HAS_OBJECT_FRAG_INST"]},
{"name":"setDisableBreaking","native":"SET_DISABLE_BREAKING","hash":"0x5CEC1A84620E7D5B","params":[["object","Object"],["toggle","BOOL"]]},
{"name":"resetDisableBreaking","native":"RESET_DISABLE_BREAKING","hash":"0xCC6E963682533882","params":[["object","Object"]]},
{"name":"setDisableFragDamage","native":"SET_DISABLE_FRAG_DAMAGE","hash":"0x01BA3AED21C16CFB","params":[["object","Object"],["toggle","BOOL"]]},
{"name":"setUseKinematicPhysics","native":"SET_USE_KINEMATIC_PHYSICS","hash":"0x15F944730C832252","params":[["entity","Entity"],["toggle","BOOL"]],"since":463,"aka":["_SET_ENTITY_PROOF_UNK"]},
{"name":"setInStuntMode","native":"SET_IN_STUNT_MODE","hash":"0x9EBD751E5787BAF2","params":[["p0","BOOL"]],"since":791},
{"name":"setInArenaMode","native":"SET_IN_ARENA_MODE","hash":"0xAA6A6098851C396F","params":[["toggle","BOOL"]],"since":1604,"aka":["_SET_LAUNCH_CONTROL_ENABLED"],"doc":"Related to the lower-end of a vehicles fTractionCurve, e.g., from standing starts and acceleration from low/zero speeds."}
]},
{"id":"PLAYER","title":"Player","doc":"The local player: wanted level, abilities, targeting, control, model, invincibility.","natives":[
{"name":"getPlayerPed","native":"GET_PLAYER_PED","hash":"0x43A66C31C68491C0","params":[["player","Player"]],"ret":"Ped","doc":"Gets the ped for a specified player index."},
{"name":"getPlayerPedScriptIndex","native":"GET_PLAYER_PED_SCRIPT_INDEX","hash":"0x50FAC3A3E030A6E1","params":[["player","Player"]],"ret":"Ped","doc":"Identical to `getPlayerPed`"},
{"name":"setPlayerModel","native":"SET_PLAYER_MODEL","hash":"0x00A1CADD00108836","params":[["player","Player"],["model","Hash"]],"doc":"Set the model for a specific Player. Be aware that this will destroy the current Ped for the Player and create a new one, any reference to the old ped should be reset\nMake sure to request the model first and wait until it has loaded."},
{"name":"changePlayerPed","native":"CHANGE_PLAYER_PED","hash":"0x048189FAC643DEEE","params":[["player","Player"],["ped","Ped"],["p2","BOOL"],["resetDamage","BOOL"]]},
{"name":"getPlayerRgbColour","native":"GET_PLAYER_RGB_COLOUR","hash":"0xE902EF951DCE178F","params":[["player","Player"]],"outs":[["r","int",1],["g","int",2],["b","int",3]]},
{"name":"getNumberOfPlayers","native":"GET_NUMBER_OF_PLAYERS","hash":"0x407C7F91DDB46C16","ret":"int","doc":"Gets the number of players in the current session.\nIf not multiplayer, always returns 1."},
{"name":"getPlayerTeam","native":"GET_PLAYER_TEAM","hash":"0x37039302F4E0A008","params":[["player","Player"]],"ret":"int","doc":"Gets the player's team.\nDoes nothing in singleplayer."},
{"name":"setPlayerTeam","native":"SET_PLAYER_TEAM","hash":"0x0299FA38396A4940","params":[["player","Player"],["team","int"]],"doc":"Set player team on deathmatch and last team standing.."},
{"name":"getNumberOfPlayersInTeam","native":"GET_NUMBER_OF_PLAYERS_IN_TEAM","hash":"0x1FC200409F10E6F1","params":[["team","int"]],"ret":"int","since":1180,"aka":["_GET_NUMBER_OF_PLAYERS_IN_TEAM"]},
{"name":"getPlayerName","native":"GET_PLAYER_NAME","hash":"0x6D0DE6A7B5DA71F8","params":[["player","Player"]],"ret":"string"},
{"name":"getWantedLevelRadius","native":"GET_WANTED_LEVEL_RADIUS","hash":"0x085DEB493BE80812","params":[["player","Player"]],"ret":"float","doc":"Remnant from GTA IV. Does nothing in GTA V."},
{"name":"getPlayerWantedCentrePosition","native":"GET_PLAYER_WANTED_CENTRE_POSITION","hash":"0x0C92BA89F1AF26F8","params":[["player","Player"]],"ret":"Vector3"},
{"name":"setPlayerWantedCentrePosition","native":"SET_PLAYER_WANTED_CENTRE_POSITION","hash":"0x520E541A97A13354","params":[["player","Player"],["position","Vector3"],["p2","BOOL"],["p3","BOOL"]],"refs":[1],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `position` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."},{"kind":"warn","title":"Signature under review","md":"LS:MP's table describes the parameters of this native differently from the current native database (`void SET_PLAYER_WANTED_CENTRE_POSITION(Player player, float x, float y, float z)`). Until the table is refreshed, some values may be passed or returned under the wrong type."}],"doc":"# Predominant call signatures\n\n```\nsetPlayerWantedCentrePosition(playerId(), getEntityCoords(playerPedId(), 1));\n```\n\n# Parameter value ranges\nP0: `playerId`()\nP1: `getEntityCoords`(`playerPedId`(), 1)\nP2: Not set by any call"},
{"name":"getWantedLevelThreshold","native":"GET_WANTED_LEVEL_THRESHOLD","hash":"0xFDD179EAF45B556C","params":[["wantedLevel","int"]],"ret":"int","doc":"Drft"},
{"name":"setPlayerWantedLevel","native":"SET_PLAYER_WANTED_LEVEL","hash":"0x39FF19C64EF7DA5B","params":[["player","Player"],["wantedLevel","int"],["disableNoMission","BOOL"]],"doc":"Call `setPlayerWantedLevelNow` for immediate effect\n\nwantedLevel is an integer value representing 0 to 5 stars even though the game supports the 6th wanted level but no police will appear since no definitions are present for it in the game files\n\ndisableNoMission-  Disables When Off Mission- appears to always be false"},
{"name":"setPlayerWantedLevelNoDrop","native":"SET_PLAYER_WANTED_LEVEL_NO_DROP","hash":"0x340E61DE7F471565","params":[["player","Player"],["wantedLevel","int"],["p2","BOOL"]],"doc":"p2 is always false in R* scripts"},
{"name":"setPlayerWantedLevelNow","native":"SET_PLAYER_WANTED_LEVEL_NOW","hash":"0xE0A7D1E497FFCD6F","params":[["player","Player"],["p1","BOOL"]],"doc":"Forces any pending wanted level to be applied to the specified player immediately.\n\nCall `setPlayerWantedLevel` with the desired wanted level, followed by `setPlayerWantedLevelNow`.\n\nSecond parameter is unknown (always false)."},
{"name":"arePlayerFlashingStarsAboutToDrop","native":"ARE_PLAYER_FLASHING_STARS_ABOUT_TO_DROP","hash":"0xAFAF86043E5874E9","params":[["player","Player"]],"ret":"BOOL"},
{"name":"arePlayerStarsGreyedOut","native":"ARE_PLAYER_STARS_GREYED_OUT","hash":"0x0A6EB355EE14A2DB","params":[["player","Player"]],"ret":"BOOL"},
{"name":"isWantedAndHasBeenSeenByCops","native":"IS_WANTED_AND_HAS_BEEN_SEEN_BY_COPS","hash":"0x7E07C78925D5FD96","params":[["player","Player"]],"ret":"BOOL","since":372},
{"name":"setDispatchCopsForPlayer","native":"SET_DISPATCH_COPS_FOR_PLAYER","hash":"0xDB172424876553F4","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"isPlayerWantedLevelGreater","native":"IS_PLAYER_WANTED_LEVEL_GREATER","hash":"0x238DB2A2C23EE9EF","params":[["player","Player"],["wantedLevel","int"]],"ret":"BOOL"},
{"name":"clearPlayerWantedLevel","native":"CLEAR_PLAYER_WANTED_LEVEL","hash":"0xB302540597885499","params":[["player","Player"]],"doc":"This executes at the same as speed as `setPlayerWantedLevel`(player, 0, false);\n\n`getPlayerWantedLevel`(player); executes in less than half the time. Which means that it's worth first checking if the wanted level needs to be cleared before clearing. However, this is mostly about good code practice and can important in other situations. The difference in time in this example is negligible."},
{"name":"isPlayerDead","native":"IS_PLAYER_DEAD","hash":"0x424D4687FA1E5652","params":[["player","Player"]],"ret":"BOOL"},
{"name":"isPlayerPressingHorn","native":"IS_PLAYER_PRESSING_HORN","hash":"0xFA1E2BF8B10598F9","params":[["player","Player"]],"ret":"BOOL"},
{"name":"setPlayerControl","native":"SET_PLAYER_CONTROL","hash":"0x8D32347D6D4C40A2","params":[["player","Player"],["bHasControl","BOOL"],["flags","int"]]},
{"name":"getPlayerWantedLevel","native":"GET_PLAYER_WANTED_LEVEL","hash":"0xE28E54788CE8F12D","params":[["player","Player"]],"ret":"int"},
{"name":"setMaxWantedLevel","native":"SET_MAX_WANTED_LEVEL","hash":"0xAA5F02DB48D704B9","params":[["maxWantedLevel","int"]]},
{"name":"setPoliceRadarBlips","native":"SET_POLICE_RADAR_BLIPS","hash":"0x43286D561B72B8BF","params":[["toggle","BOOL"]],"doc":"If toggle is set to false:\n The police won't be shown on the (mini)map\n\nIf toggle is set to true:\n The police will be shown on the (mini)map"},
{"name":"setPoliceIgnorePlayer","native":"SET_POLICE_IGNORE_PLAYER","hash":"0x32C62AA929C2DA6A","params":[["player","Player"],["toggle","BOOL"]],"doc":"The player will be ignored by the police if toggle is set to true"},
{"name":"isPlayerPlaying","native":"IS_PLAYER_PLAYING","hash":"0x5E9564D8246B909A","params":[["player","Player"]],"ret":"BOOL","doc":"Checks whether the specified player has a Ped, the Ped is not dead, is not injured and is not arrested."},
{"name":"setEveryoneIgnorePlayer","native":"SET_EVERYONE_IGNORE_PLAYER","hash":"0x8EEDA153AD141BA4","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setAllRandomPedsFlee","native":"SET_ALL_RANDOM_PEDS_FLEE","hash":"0x056E0FE8534C2949","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setAllRandomPedsFleeThisFrame","native":"SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME","hash":"0x471D2FF42A94B4F2","params":[["player","Player"]]},
{"name":"setAllNeutralRandomPedsFlee","native":"SET_ALL_NEUTRAL_RANDOM_PEDS_FLEE","hash":"0xDE45D1A1EF45EE61","params":[["player","Player"],["toggle","BOOL"]],"aka":["SET_HUD_ANIM_STOP_LEVEL"]},
{"name":"setAllNeutralRandomPedsFleeThisFrame","native":"SET_ALL_NEUTRAL_RANDOM_PEDS_FLEE_THIS_FRAME","hash":"0xC3376F42B1FACCC6","params":[["player","Player"]],"aka":["SET_AREAS_GENERATOR_ORIENTATION"],"doc":"- This is called after `setAllRandomPedsFleeThisFrame`"},
{"name":"setLawPedsCanAttackNonWantedPlayerThisFrame","native":"SET_LAW_PEDS_CAN_ATTACK_NON_WANTED_PLAYER_THIS_FRAME","hash":"0xFAC75988A7D078D3","params":[["player","Player"]],"since":463},
{"name":"setIgnoreLowPriorityShockingEvents","native":"SET_IGNORE_LOW_PRIORITY_SHOCKING_EVENTS","hash":"0x596976B02B6B5700","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setWantedLevelMultiplier","native":"SET_WANTED_LEVEL_MULTIPLIER","hash":"0x020E5F00CDA207BA","params":[["multiplier","float"]]},
{"name":"setWantedLevelDifficulty","native":"SET_WANTED_LEVEL_DIFFICULTY","hash":"0x9B0BB33B04405E7A","params":[["player","Player"],["difficulty","float"]],"doc":"Max value is 1.0"},
{"name":"resetWantedLevelDifficulty","native":"RESET_WANTED_LEVEL_DIFFICULTY","hash":"0xB9D0DD990DC141DD","params":[["player","Player"]]},
{"name":"getWantedLevelTimeToEscape","native":"GET_WANTED_LEVEL_TIME_TO_ESCAPE","hash":"0xA72200F51875FEA4","ret":"int","since":2372,"aka":["_GET_WANTED_LEVEL_PAROLE_DURATION"]},
{"name":"setWantedLevelHiddenEscapeTime","native":"SET_WANTED_LEVEL_HIDDEN_ESCAPE_TIME","hash":"0x49B856B1360C47C7","params":[["player","Player"],["wantedLevel","int"],["lossTime","int"]],"since":2060,"aka":["_SET_WANTED_LEVEL_HIDDEN_EVASION_TIME"]},
{"name":"resetWantedLevelHiddenEscapeTime","native":"RESET_WANTED_LEVEL_HIDDEN_ESCAPE_TIME","hash":"0x823EC8E82BA45986","params":[["player","Player"]],"since":2060,"aka":["_RESET_WANTED_LEVEL_HIDDEN_EVASION_TIME"]},
{"name":"startFiringAmnesty","native":"START_FIRING_AMNESTY","hash":"0xBF9BD71691857E48","params":[["duration","int"]]},
{"name":"reportCrime","native":"REPORT_CRIME","hash":"0xE9B09589827545E7","params":[["player","Player"],["crimeType","int"],["wantedLvlThresh","int"]],"doc":"```\nreportCrime(playerId(), 37, getWantedLevelThreshold(1));\n```\n\nFrom am_armybase.ysc.c4:\n\n```\nreportCrime(playerId(4), 36, getWantedLevelThreshold(4));\n```\n\n---\n\ncrimeType:\n1: Firearms possession\n2: Person running a red light (\"5-0-5\")\n3: Reckless driver\n4: Speeding vehicle (a \"5-10\")\n5: Traffic violation (a \"5-0-5\")\n6: Motorcycle rider without a helmet\n7: Vehicle theft (a \"5-0-3\")\n8: Grand Theft Auto\n9: ???\n10: ???\n11: Assault on a civilian (a \"2-40\")\n12: Assault on an officer\n13: Assault with a deadly weapon (a \"2-45\")\n14: Officer shot (a \"2-45\")\n15: Pedestrian struck by a vehicle\n16: Officer struck by a vehicle\n17: Helicopter down (an \"AC\"?)\n18: Civilian on fire (a \"2-40\")\n19: Officer set on fire (a \"10-99\")\n20: Car on fire\n21: Air unit down (an \"AC\"?)\n22: An explosion (a \"9-96\")\n23: A stabbing (a \"2-45\") (also something else I couldn't understand)\n24: Officer stabbed (also something else I couldn't understand)\n25: Attack on a vehicle (\"MDV\"?)\n26: Damage to property\n27: Suspect threatening officer with a firearm\n28: Shots fired\n29: ???\n30: ???\n31: ???\n32: ???\n33: ???\n34: A \"2-45\"\n35: ???\n36: A \"9-25\"\n37: ???\n38: ???\n39: ???\n40: ???\n41: ???\n42: ???\n43: Possible disturbance\n44: Civilian in need of assistance\n45: ???\n46: ???"},
{"name":"suppressCrimeThisFrame","native":"SUPPRESS_CRIME_THIS_FRAME","hash":"0x9A987297ED8BD838","params":[["player","Player"],["crimeType","int","see `reportCrime`"]],"checked":1,"aka":["_SWITCH_CRIME_TYPE"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`crimeType` must be between `0` and `48`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"updateWantedPositionThisFrame","native":"UPDATE_WANTED_POSITION_THIS_FRAME","hash":"0xBC9490CA15AEA8FB","params":[["player","Player"]],"doc":"This native is used in both singleplayer and multiplayer scripts.\n\nAlways used like this in scripts\n\n```\nupdateWantedPositionThisFrame(playerId());\n```"},
{"name":"suppressLosingWantedLevelIfHiddenThisFrame","native":"SUPPRESS_LOSING_WANTED_LEVEL_IF_HIDDEN_THIS_FRAME","hash":"0x4669B3ED80F24B4E","params":[["player","Player"]],"doc":"This has been found in use in the decompiled files."},
{"name":"allowEvasionHudIfDisablingHiddenEvasionThisFrame","native":"ALLOW_EVASION_HUD_IF_DISABLING_HIDDEN_EVASION_THIS_FRAME","hash":"0x2F41A3BAE005E5FA","params":[["player","Player"],["p1","Any"]],"since":372},
{"name":"forceStartHiddenEvasion","native":"FORCE_START_HIDDEN_EVASION","hash":"0xAD73CE5A09E42D12","params":[["player","Player"]],"doc":"This has been found in use in the decompiled files."},
{"name":"suppressWitnessesCallingPoliceThisFrame","native":"SUPPRESS_WITNESSES_CALLING_POLICE_THIS_FRAME","hash":"0x36F1B38855F2A8DF","params":[["player","Player"]]},
{"name":"reportPoliceSpottedPlayer","native":"REPORT_POLICE_SPOTTED_PLAYER","hash":"0xDC64D2C53493ED12","params":[["player","Player"]]},
{"name":"setLawResponseDelayOverride","native":"SET_LAW_RESPONSE_DELAY_OVERRIDE","hash":"0xB45EFF719D8427A6","params":[["p0","float"]],"doc":"```\nsetLawResponseDelayOverride(rPtr((&l_122) + 71)); // Found in decompilation\n```\n\n***\n\nIn \"am_hold_up.ysc\" used once:\n\n```\nl_8d._f47 = getRandomFloatInRange(18.0, 28.0);\nsetLawResponseDelayOverride((l_8d._f47));\n```"},
{"name":"resetLawResponseDelayOverride","native":"RESET_LAW_RESPONSE_DELAY_OVERRIDE","hash":"0x0032A6DBA562C518"},
{"name":"canPlayerStartMission","native":"CAN_PLAYER_START_MISSION","hash":"0xDE7465A27D403C06","params":[["player","Player"]],"ret":"BOOL"},
{"name":"isPlayerReadyForCutscene","native":"IS_PLAYER_READY_FOR_CUTSCENE","hash":"0x908CBECC2CAA3690","params":[["player","Player"]],"ret":"BOOL"},
{"name":"isPlayerTargettingEntity","native":"IS_PLAYER_TARGETTING_ENTITY","hash":"0x7912F7FC4F6264B6","params":[["player","Player"],["entity","Entity"]],"ret":"BOOL"},
{"name":"getPlayerTargetEntity","native":"GET_PLAYER_TARGET_ENTITY","hash":"0x13EDE1A5DBF797C9","params":[["player","Player"]],"ret":"BOOL","outs":[["entity","Entity",1]],"doc":"Assigns the handle of locked-on melee target to *entity that you pass it.\nReturns false if no entity found."},
{"name":"isPlayerFreeAiming","native":"IS_PLAYER_FREE_AIMING","hash":"0x2E397FD2ECD37C87","params":[["player","Player"]],"ret":"BOOL","doc":"Gets a value indicating whether the specified player is currently aiming freely."},
{"name":"isPlayerFreeAimingAtEntity","native":"IS_PLAYER_FREE_AIMING_AT_ENTITY","hash":"0x3C06B5C839B38F7B","params":[["player","Player"],["entity","Entity"]],"ret":"BOOL","doc":"Gets a value indicating whether the specified player is currently aiming freely at the specified entity."},
{"name":"getEntityPlayerIsFreeAimingAt","native":"GET_ENTITY_PLAYER_IS_FREE_AIMING_AT","hash":"0x2975C866E6713290","params":[["player","Player"]],"ret":"BOOL","outs":[["entity","Entity",1]],"doc":"Returns TRUE if it found an entity in your crosshair within range of your weapon. Assigns the handle of the target to the *entity that you pass it.\nReturns false if no entity found."},
{"name":"setPlayerLockonRangeOverride","native":"SET_PLAYER_LOCKON_RANGE_OVERRIDE","hash":"0x29961D490E5814FD","params":[["player","Player"],["range","float"]],"doc":"Affects the range of auto aim target."},
{"name":"setPlayerCanDoDriveBy","native":"SET_PLAYER_CAN_DO_DRIVE_BY","hash":"0x6E8834B52EC20C77","params":[["player","Player"],["toggle","BOOL"]],"doc":"Set whether this player should be able to do drive-bys.\n\n\"A drive-by is when a ped is aiming/shooting from vehicle. This includes middle finger taunts. By setting this value to false I confirm the player is unable to do all that. Tested on tick.\""},
{"name":"setPlayerCanBeHassledByGangs","native":"SET_PLAYER_CAN_BE_HASSLED_BY_GANGS","hash":"0xD5E460AD7020A246","params":[["player","Player"],["toggle","BOOL"]],"doc":"Sets whether this player can be hassled by gangs."},
{"name":"setPlayerCanUseCover","native":"SET_PLAYER_CAN_USE_COVER","hash":"0xD465A8599DFF6814","params":[["player","Player"],["toggle","BOOL"]],"doc":"Sets whether this player can take cover."},
{"name":"getMaxWantedLevel","native":"GET_MAX_WANTED_LEVEL","hash":"0x462E0DB9B137DC5F","ret":"int","doc":"Gets the maximum wanted level the player can get.\nRanges from 0 to 5."},
{"name":"isPlayerTargettingAnything","native":"IS_PLAYER_TARGETTING_ANYTHING","hash":"0x78CFE51896B6B8A4","params":[["player","Player"]],"ret":"BOOL"},
{"name":"setPlayerSprint","native":"SET_PLAYER_SPRINT","hash":"0xA01B8075D8B92DF4","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"resetPlayerStamina","native":"RESET_PLAYER_STAMINA","hash":"0xA6F312FCCE9C1DFE","params":[["player","Player"]]},
{"name":"restorePlayerStamina","native":"RESTORE_PLAYER_STAMINA","hash":"0xA352C1B864CAFD33","params":[["player","Player"],["p1","float"]]},
{"name":"getPlayerSprintStaminaRemaining","native":"GET_PLAYER_SPRINT_STAMINA_REMAINING","hash":"0x3F9F16F8E65A7ED7","params":[["player","Player"]],"ret":"float"},
{"name":"getPlayerSprintTimeRemaining","native":"GET_PLAYER_SPRINT_TIME_REMAINING","hash":"0x1885BC9B108B4C99","params":[["player","Player"]],"ret":"float"},
{"name":"getPlayerUnderwaterTimeRemaining","native":"GET_PLAYER_UNDERWATER_TIME_REMAINING","hash":"0xA1FCF8E6AF40B731","params":[["player","Player"]],"ret":"float"},
{"name":"setPlayerUnderwaterBreathPercentRemaining","native":"SET_PLAYER_UNDERWATER_BREATH_PERCENT_REMAINING","hash":"0xA0D3E4F7AAFB7E78","params":[["player","Player"],["time","float"]],"ret":"float","since":757,"aka":["_SET_PLAYER_UNDERWATER_TIME_REMAINING"]},
{"name":"getPlayerGroup","native":"GET_PLAYER_GROUP","hash":"0x0D127585F77030AF","params":[["player","Player"]],"ret":"int","doc":"Returns the group ID the player is member of."},
{"name":"getPlayerMaxArmour","native":"GET_PLAYER_MAX_ARMOUR","hash":"0x92659B4CE1863CB3","params":[["player","Player"]],"ret":"int"},
{"name":"isPlayerControlOn","native":"IS_PLAYER_CONTROL_ON","hash":"0x49C32D60007AFA47","params":[["player","Player"]],"ret":"BOOL","doc":"Can the player control himself, used to disable controls for player for things like a cutscene.\n\n---\n\nYou can't disable controls with this, use `setPlayerControl`(...) for this."},
{"name":"getAreCameraControlsDisabled","native":"GET_ARE_CAMERA_CONTROLS_DISABLED","hash":"0x7C814D2FB49F40C0","ret":"BOOL","aka":["_IS_PLAYER_CAM_CONTROL_DISABLED"],"doc":"Returns true when the player is not able to control the cam i.e. when running a benchmark test, switching the player or viewing a cutscene.\n\nNote: I am not 100% sure if the native actually checks if the cam control is disabled but it seems promising."},
{"name":"isPlayerScriptControlOn","native":"IS_PLAYER_SCRIPT_CONTROL_ON","hash":"0x8A876A65283DD7D7","params":[["player","Player"]],"ret":"BOOL"},
{"name":"isPlayerClimbing","native":"IS_PLAYER_CLIMBING","hash":"0x95E8F73DC65EFB9C","params":[["player","Player"]],"ret":"BOOL","doc":"Returns TRUE if the player ('s ped) is climbing at the moment."},
{"name":"isPlayerBeingArrested","native":"IS_PLAYER_BEING_ARRESTED","hash":"0x388A47C51ABDAC8E","params":[["player","Player"],["atArresting","BOOL"]],"ret":"BOOL","doc":"Return true while player is being arrested / busted.\n\nIf atArresting is set to 1, this function will return 1 when player is being arrested (while player is putting his hand up, but still have control)\n\nIf atArresting is set to 0, this function will return 1 only when the busted screen is shown."},
{"name":"resetPlayerArrestState","native":"RESET_PLAYER_ARREST_STATE","hash":"0x2D03E13C460760D6","params":[["player","Player"]]},
{"name":"getPlayersLastVehicle","native":"GET_PLAYERS_LAST_VEHICLE","hash":"0xB6997A7EB3F5C8C0","ret":"Vehicle","doc":"```\nAlternative: getVehiclePedIsIn(playerPedId(), 1);\n```"},
{"name":"getPlayerIndex","native":"GET_PLAYER_INDEX","hash":"0xA5EDC40EF369B48D","ret":"Player","doc":"Returns the same as `playerId` and `networkPlayerIdToInt`"},
{"name":"intToPlayerindex","native":"INT_TO_PLAYERINDEX","hash":"0x41BD2A6B006AF756","params":[["value","int"]],"ret":"Player","doc":"Simply returns whatever is passed to it (Regardless of whether the handle is valid or not)."},
{"name":"intToParticipantindex","native":"INT_TO_PARTICIPANTINDEX","hash":"0x9EC6603812C24710","params":[["value","int"]],"ret":"int","doc":"Simply returns whatever is passed to it (Regardless of whether the handle is valid or not).\n---\nif (`networkIsParticipantActive`(`intToParticipantindex`(i)))"},
{"name":"getTimeSincePlayerHitVehicle","native":"GET_TIME_SINCE_PLAYER_HIT_VEHICLE","hash":"0x5D35ECF3A81A0EE0","params":[["player","Player"]],"ret":"int"},
{"name":"getTimeSincePlayerHitPed","native":"GET_TIME_SINCE_PLAYER_HIT_PED","hash":"0xE36A25322DC35F42","params":[["player","Player"]],"ret":"int"},
{"name":"getTimeSincePlayerDroveOnPavement","native":"GET_TIME_SINCE_PLAYER_DROVE_ON_PAVEMENT","hash":"0xD559D2BE9E37853B","params":[["player","Player"]],"ret":"int"},
{"name":"getTimeSincePlayerDroveAgainstTraffic","native":"GET_TIME_SINCE_PLAYER_DROVE_AGAINST_TRAFFIC","hash":"0xDB89591E290D9182","params":[["player","Player"]],"ret":"int"},
{"name":"isPlayerFreeForAmbientTask","native":"IS_PLAYER_FREE_FOR_AMBIENT_TASK","hash":"0xDCCFD3F106C36AB4","params":[["player","Player"]],"ret":"BOOL"},
{"name":"playerId","native":"PLAYER_ID","hash":"0x4F8644AF03D0E0D6","ret":"Player","notes":[{"kind":"info","title":"Not your LS:MP player id","md":"This is the game's local player slot: what the `Player` parameters of other natives expect. Your LS:MP `playerId` is [lsmp.getLocalPlayer](/resources/api#local-player/fn-get-local-player)."}],"doc":"This returns YOUR 'identity' as a Player type.\n\nAlways returns 0 in story mode."},
{"name":"playerPedId","native":"PLAYER_PED_ID","hash":"0xD80958FC74E988A6","ret":"Ped","doc":"Returns current player ped"},
{"name":"networkPlayerIdToInt","native":"NETWORK_PLAYER_ID_TO_INT","hash":"0xEE68096F9F37341E","ret":"int","doc":"Does exactly the same thing as `playerId`()"},
{"name":"hasForceCleanupOccurred","native":"HAS_FORCE_CLEANUP_OCCURRED","hash":"0xC968670BFACE42D9","params":[["cleanupFlags","int"]],"ret":"BOOL"},
{"name":"forceCleanup","native":"FORCE_CLEANUP","hash":"0xBC8983F38F78ED51","params":[["cleanupFlags","int"]],"doc":"used with 1,2,8,64,128 in the scripts"},
{"name":"forceCleanupForAllThreadsWithThisName","native":"FORCE_CLEANUP_FOR_ALL_THREADS_WITH_THIS_NAME","hash":"0x4C68DDDDF0097317","params":[["name","string"],["cleanupFlags","int"]],"doc":"```\nforceCleanupForAllThreadsWithThisName(\"pb_prostitute\", 1); // Found in decompilation\n```"},
{"name":"forceCleanupForThreadWithThisId","native":"FORCE_CLEANUP_FOR_THREAD_WITH_THIS_ID","hash":"0xF745B37630DF176B","params":[["id","int"],["cleanupFlags","int"]]},
{"name":"getCauseOfMostRecentForceCleanup","native":"GET_CAUSE_OF_MOST_RECENT_FORCE_CLEANUP","hash":"0x9A41CF4674A12272","ret":"int"},
{"name":"setPlayerMayOnlyEnterThisVehicle","native":"SET_PLAYER_MAY_ONLY_ENTER_THIS_VEHICLE","hash":"0x8026FF78F208978A","params":[["player","Player"],["vehicle","Vehicle"]]},
{"name":"setPlayerMayNotEnterAnyVehicle","native":"SET_PLAYER_MAY_NOT_ENTER_ANY_VEHICLE","hash":"0x1DE37BBF9E9CC14A","params":[["player","Player"]]},
{"name":"giveAchievementToPlayer","native":"GIVE_ACHIEVEMENT_TO_PLAYER","hash":"0xBEC7076D64130195","params":[["achievementId","int"]],"ret":"BOOL","doc":"1 - Welcome to Los Santos\n2 - A Friendship Resurrected\n3 - A Fair Day's Pay\n4 - The Moment of Truth\n5 - To Live or Die in Los Santos\n6 - Diamond Hard\n7 - Subversive\n8 - Blitzed\n9 - Small Town, Big Job\n10 - The Government Gimps\n11 - The Big One!\n12 - Solid Gold, Baby!\n13 - Career Criminal\n14 - San Andreas Sightseer\n15 - All's Fare in Love and War\n16 - TP Industries Arms Race\n17 - Multi-Disciplined\n18 - From Beyond the Stars\n19 - A Mystery, Solved\n20 - Waste Management\n21 - Red Mist\n22 - Show Off\n23 - Kifflom!\n24 - Three Man Army\n25 - Out of Your Depth\n26 - Altruist Acolyte\n27 - A Lot of Cheddar\n28 - Trading Pure Alpha\n29 - Pimp My Sidearm\n30 - Wanted: Alive Or Alive\n31 - Los Santos Customs\n32 - Close Shave\n33 - Off the Plane\n34 - Three-Bit Gangster\n35 - Making Moves\n36 - Above the Law\n37 - Numero Uno\n38 - The Midnight Club\n39 - Unnatural Selection\n40 - Backseat Driver\n41 - Run Like The Wind\n42 - Clean Sweep\n43 - Decorated\n44 - Stick Up Kid\n45 - Enjoy Your Stay\n46 - Crew Cut\n47 - Full Refund\n48 - Dialling Digits\n49 - American Dream\n50 - A New Perspective\n51 - Be Prepared\n52 - In the Name of Science\n53 - Dead Presidents\n54 - Parole Day\n55 - Shot Caller\n56 - Four Way\n57 - Live a Little\n58 - Can't Touch This\n59 - Mastermind\n60 - Vinewood Visionary\n61 - Majestic\n62 - Humans of Los Santos\n63 - First Time Director\n64 - Animal Lover\n65 - Ensemble Piece\n66 - Cult Movie\n67 - Location Scout\n68 - Method Actor\n69 - Cryptozoologist\n70 - Getting Started\n71 - The Data Breaches\n72 - The Bogdan Problem\n73 - The Doomsday Scenario\n74 - A World Worth Saving\n75 - Orbital Obliteration\n76 - Elitist\n77 - Masterminds"},
{"name":"setAchievementProgress","native":"SET_ACHIEVEMENT_PROGRESS","hash":"0xC2AFFFDABBDC2C5C","params":[["achievementId","int"],["progress","int"]],"ret":"BOOL","aka":["_SET_ACHIEVEMENT_PROGRESSION","_SET_ACHIEVEMENT_PROGRESS"],"doc":"For Steam.\nDoes nothing and always returns false in the retail version of the game."},
{"name":"getAchievementProgress","native":"GET_ACHIEVEMENT_PROGRESS","hash":"0x1C186837D0619335","params":[["achievementId","int"]],"ret":"int","aka":["_GET_ACHIEVEMENT_PROGRESSION","_GET_ACHIEVEMENT_PROGRESS"],"doc":"For Steam.\nAlways returns 0 in retail version of the game."},
{"name":"hasAchievementBeenPassed","native":"HAS_ACHIEVEMENT_BEEN_PASSED","hash":"0x867365E111A3B6EB","params":[["achievementId","int"]],"ret":"BOOL","doc":"See `giveAchievementToPlayer`"},
{"name":"isPlayerOnline","native":"IS_PLAYER_ONLINE","hash":"0xF25D331DC2627BBC","ret":"BOOL","doc":"Returns TRUE if the game is in online mode and FALSE if in offline mode.\n\nThis is an alias for `networkIsSignedOnline`."},
{"name":"isPlayerLoggingInNp","native":"IS_PLAYER_LOGGING_IN_NP","hash":"0x74556E1420867ECA","ret":"BOOL","doc":"this function is hard-coded to always return 0."},
{"name":"displaySystemSigninUi","native":"DISPLAY_SYSTEM_SIGNIN_UI","hash":"0x94DD7888C10A979E","params":[["p0","BOOL"]],"doc":"Purpose of the BOOL currently unknown.\nBoth, true and false, work"},
{"name":"isSystemUiBeingDisplayed","native":"IS_SYSTEM_UI_BEING_DISPLAYED","hash":"0x5D511E3867C87139","ret":"BOOL"},
{"name":"setPlayerInvincible","native":"SET_PLAYER_INVINCIBLE","hash":"0x239528EACDC3E7DE","params":[["player","Player"],["toggle","BOOL"]],"doc":"Simply sets you as invincible (Health will not deplete)."},
{"name":"getPlayerInvincible","native":"GET_PLAYER_INVINCIBLE","hash":"0xB721981B2B939E07","params":[["player","Player"]],"ret":"BOOL","doc":"Returns the Player's Invincible status."},
{"name":"getPlayerDebugInvincible","native":"GET_PLAYER_DEBUG_INVINCIBLE","hash":"0xDCC07526B8EC45AF","params":[["player","Player"]],"ret":"BOOL","since":1868,"doc":"Always returns false."},
{"name":"setPlayerInvincibleButHasReactions","native":"SET_PLAYER_INVINCIBLE_BUT_HAS_REACTIONS","hash":"0x6BC97F4F4BB3C04B","params":[["player","Player"],["toggle","BOOL"]],"since":463,"aka":["_SET_PLAYER_INVINCIBLE_KEEP_RAGDOLL_ENABLED"]},
{"name":"setPlayerCanCollectDroppedMoney","native":"SET_PLAYER_CAN_COLLECT_DROPPED_MONEY","hash":"0xCAC57395B151135F","params":[["player","Player"],["p1","BOOL"]]},
{"name":"removePlayerHelmet","native":"REMOVE_PLAYER_HELMET","hash":"0xF3AC26D3CC576528","params":[["player","Player"],["p2","BOOL"]]},
{"name":"givePlayerRagdollControl","native":"GIVE_PLAYER_RAGDOLL_CONTROL","hash":"0x3C49C870E66F0A28","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setPlayerLockon","native":"SET_PLAYER_LOCKON","hash":"0x5C8B2F450EE4328E","params":[["player","Player"],["toggle","BOOL"]],"doc":"Example from fm_mission_controler.ysc.c4:\n\n```\nsetPlayerLockon(playerId(), 1);\n```\n\nAll other decompiled scripts using this seem to be using the player id as the first parameter, so I feel the need to confirm it as so.\n\nNo need to confirm it says `playerId`() so it uses `playerId`() lol."},
{"name":"setPlayerTargetingMode","native":"SET_PLAYER_TARGETING_MODE","hash":"0xB1906895227793F3","params":[["targetMode","int"]],"doc":"Sets your targeting mode.\n0 = Assisted Aim - Full\n1 = Assisted Aim - Partial\n2 = Free Aim - Assisted\n3 = Free Aim"},
{"name":"getPlayerTargetingMode","native":"GET_PLAYER_TARGETING_MODE","hash":"0x875BDD898B99C8CE","ret":"int","na":1,"since":3570},
{"name":"setPlayerTargetLevel","native":"SET_PLAYER_TARGET_LEVEL","hash":"0x5702B917B99DB1CD","params":[["targetLevel","int"]]},
{"name":"getIsUsingFpsThirdPersonCover","native":"GET_IS_USING_FPS_THIRD_PERSON_COVER","hash":"0xB9CF1F793A9F1BF1","ret":"BOOL","doc":"Returns profile setting 237."},
{"name":"getIsUsingHoodCamera","native":"GET_IS_USING_HOOD_CAMERA","hash":"0xCB645E85E97EA48B","ret":"BOOL","since":372,"doc":"Returns profile setting 243."},
{"name":"clearPlayerHasDamagedAtLeastOnePed","native":"CLEAR_PLAYER_HAS_DAMAGED_AT_LEAST_ONE_PED","hash":"0xF0B67A4DE6AB5F98","params":[["player","Player"]]},
{"name":"hasPlayerDamagedAtLeastOnePed","native":"HAS_PLAYER_DAMAGED_AT_LEAST_ONE_PED","hash":"0x20CE80B0C2BF4ACC","params":[["player","Player"]],"ret":"BOOL"},
{"name":"clearPlayerHasDamagedAtLeastOneNonAnimalPed","native":"CLEAR_PLAYER_HAS_DAMAGED_AT_LEAST_ONE_NON_ANIMAL_PED","hash":"0x4AACB96203D11A31","params":[["player","Player"]]},
{"name":"hasPlayerDamagedAtLeastOneNonAnimalPed","native":"HAS_PLAYER_DAMAGED_AT_LEAST_ONE_NON_ANIMAL_PED","hash":"0xE4B90F367BD81752","params":[["player","Player"]],"ret":"BOOL"},
{"name":"setAirDragMultiplierForPlayersVehicle","native":"SET_AIR_DRAG_MULTIPLIER_FOR_PLAYERS_VEHICLE","hash":"0xCA7DC8329F0A1E9E","params":[["player","Player"],["multiplier","float"]],"doc":"This can be between 1.0f - 50.0f"},
{"name":"setSwimMultiplierForPlayer","native":"SET_SWIM_MULTIPLIER_FOR_PLAYER","hash":"0xA91C6F0FF7D16A13","params":[["player","Player"],["multiplier","float"]],"doc":"Swim speed multiplier.\nMultiplier goes up to 1.49\n\nJust call it one time, it is not required to be called once every tick. - Note copied from below native."},
{"name":"setRunSprintMultiplierForPlayer","native":"SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER","hash":"0x6DB47AA77FD94E09","params":[["player","Player"],["multiplier","float"]],"doc":"Multiplier goes up to 1.49 any value above will be completely overruled by the game and the multiplier will not take effect.\n\nJust call it one time, it is not required to be called once every tick."},
{"name":"getTimeSinceLastArrest","native":"GET_TIME_SINCE_LAST_ARREST","hash":"0x5063F92F07C2A316","ret":"int","doc":"Returns the time since the character was arrested in (ms) milliseconds.\n\nexample\n\n```\nvar time = Function.call<int>(Hash.GET_TIME_SINCE_LAST_ARREST();\n\nUI.DrawSubtitle(time.ToString());\n```\n\nif player has not been arrested, the int returned will be -1."},
{"name":"getTimeSinceLastDeath","native":"GET_TIME_SINCE_LAST_DEATH","hash":"0xC7034807558DDFCA","ret":"int","doc":"Returns the time since the character died in (ms) milliseconds.\n\nexample\n\n```\nvar time = Function.call<int>(Hash.GET_TIME_SINCE_LAST_DEATH();\n\nUI.DrawSubtitle(time.ToString());\n```\n\nif player has not died, the int returned will be -1."},
{"name":"assistedMovementCloseRoute","native":"ASSISTED_MOVEMENT_CLOSE_ROUTE","hash":"0xAEBF081FFC0A0E5E"},
{"name":"assistedMovementFlushRoute","native":"ASSISTED_MOVEMENT_FLUSH_ROUTE","hash":"0x8621390F0CDCFE1F"},
{"name":"setPlayerForcedAim","native":"SET_PLAYER_FORCED_AIM","hash":"0x0FEE4F80AC44A726","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setPlayerForcedZoom","native":"SET_PLAYER_FORCED_ZOOM","hash":"0x75E7D505F2B15902","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setPlayerForceSkipAimIntro","native":"SET_PLAYER_FORCE_SKIP_AIM_INTRO","hash":"0x7651BC64AE59E128","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"disablePlayerFiring","native":"DISABLE_PLAYER_FIRING","hash":"0x5E6CC07646BBEAB8","params":[["player","Player"],["toggle","BOOL"]],"doc":"Inhibits the player from using any method of combat including melee and firearms.\n\nNOTE: Only disables the firing for one frame"},
{"name":"disablePlayerThrowGrenadeWhileUsingGun","native":"DISABLE_PLAYER_THROW_GRENADE_WHILE_USING_GUN","hash":"0xB885852C39CC265D","doc":"Used only once in R* scripts (freemode.ysc)."},
{"name":"setDisableAmbientMeleeMove","native":"SET_DISABLE_AMBIENT_MELEE_MOVE","hash":"0x2E8AABFA40A84F8C","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setPlayerMaxArmour","native":"SET_PLAYER_MAX_ARMOUR","hash":"0x77DFCCF5948B8C71","params":[["player","Player"],["value","int"]],"doc":"Default is 100. Use player id and not ped id. For instance: `setPlayerMaxArmour`(`playerId`(), 100); // main_persistent.ct4"},
{"name":"specialAbilityActivate","native":"SPECIAL_ABILITY_ACTIVATE","hash":"0x821FDC827D6F4090","params":[["player","Player"],["p1","int"]],"since":678,"aka":["_SPECIAL_ABILITY_ACTIVATE"],"doc":"p1 is always 0 in the scripts"},
{"name":"setSpecialAbilityMp","native":"SET_SPECIAL_ABILITY_MP","hash":"0xB214D570EAD7F81A","params":[["player","Player"],["p1","int"],["p2","Any"]],"since":678,"aka":["_SET_SPECIAL_ABILITY"]},
{"name":"specialAbilityDeactivateMp","native":"SPECIAL_ABILITY_DEACTIVATE_MP","hash":"0x17F7471EACA78290","params":[["player","Player"],["p1","int"]],"since":678,"aka":["_SPECIAL_ABILITY_DEPLETE"],"doc":"p1 is always 0 in the scripts"},
{"name":"specialAbilityDeactivate","native":"SPECIAL_ABILITY_DEACTIVATE","hash":"0xD6A953C6D1492057","params":[["player","Player"],["p1","Any"]]},
{"name":"specialAbilityDeactivateFast","native":"SPECIAL_ABILITY_DEACTIVATE_FAST","hash":"0x9CB5CE07A3968D5A","params":[["player","Player"],["p1","Any"]]},
{"name":"specialAbilityReset","native":"SPECIAL_ABILITY_RESET","hash":"0x375F0E738F861A94","params":[["player","Player"],["p1","Any"]]},
{"name":"specialAbilityChargeOnMissionFailed","native":"SPECIAL_ABILITY_CHARGE_ON_MISSION_FAILED","hash":"0xC9A763D8FE87436A","params":[["player","Player"],["p1","Any"]]},
{"name":"specialAbilityChargeSmall","native":"SPECIAL_ABILITY_CHARGE_SMALL","hash":"0x2E7B9B683481687D","params":[["player","Player"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"doc":"Every occurrence of p1 & p2 were both true."},
{"name":"specialAbilityChargeMedium","native":"SPECIAL_ABILITY_CHARGE_MEDIUM","hash":"0xF113E3AA9BC54613","params":[["player","Player"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"doc":"Only 1 match. Both p1 & p2 were true."},
{"name":"specialAbilityChargeLarge","native":"SPECIAL_ABILITY_CHARGE_LARGE","hash":"0xF733F45FA4497D93","params":[["player","Player"],["p1","BOOL"],["p2","BOOL"],["p3","Any"]],"doc":"2 matches. p1 was always true."},
{"name":"specialAbilityChargeContinuous","native":"SPECIAL_ABILITY_CHARGE_CONTINUOUS","hash":"0xED481732DFF7E997","params":[["player","Player"],["p1","Ped"],["p2","Any"]],"doc":"p1 appears to always be 1 (only comes up twice)"},
{"name":"specialAbilityChargeAbsolute","native":"SPECIAL_ABILITY_CHARGE_ABSOLUTE","hash":"0xB7B0870EB531D08D","params":[["player","Player"],["p1","int"],["p2","BOOL"],["p3","Any"]],"doc":"p1 appears as 5, 10, 15, 25, or 30. p2 is always true."},
{"name":"specialAbilityChargeNormalized","native":"SPECIAL_ABILITY_CHARGE_NORMALIZED","hash":"0xA0696A65F009EE18","params":[["player","Player"],["normalizedValue","float"],["p2","BOOL"],["p3","Any"]],"aka":["RESET_SPECIAL_ABILITY_CONTROLS_CINEMATIC"],"doc":"normalizedValue is from 0.0 - 1.0\np2 is always 1"},
{"name":"specialAbilityFillMeter","native":"SPECIAL_ABILITY_FILL_METER","hash":"0x3DACA8DDC6FD4980","params":[["player","Player"],["p1","BOOL"],["p2","Any"]],"aka":["_RECHARGE_SPECIAL_ABILITY"]},
{"name":"specialAbilityDepleteMeter","native":"SPECIAL_ABILITY_DEPLETE_METER","hash":"0x1D506DBBBC51E64B","params":[["player","Player"],["p1","BOOL"],["p2","Any"]],"doc":"p1 was always true."},
{"name":"specialAbilityLock","native":"SPECIAL_ABILITY_LOCK","hash":"0x6A09D0D590A47D13","params":[["playerModel","Hash"],["p1","Any"]]},
{"name":"specialAbilityUnlock","native":"SPECIAL_ABILITY_UNLOCK","hash":"0xF145F3BE2EFA9A3B","params":[["playerModel","Hash"],["p1","Any"]]},
{"name":"isSpecialAbilityUnlocked","native":"IS_SPECIAL_ABILITY_UNLOCKED","hash":"0xC6017F6A6CDFA694","params":[["playerModel","Hash"]],"ret":"BOOL"},
{"name":"isSpecialAbilityActive","native":"IS_SPECIAL_ABILITY_ACTIVE","hash":"0x3E5F7FC85D854E15","params":[["player","Player"],["p1","Any"]],"ret":"BOOL"},
{"name":"isSpecialAbilityMeterFull","native":"IS_SPECIAL_ABILITY_METER_FULL","hash":"0x05A1FE504B7F2587","params":[["player","Player"],["p1","Any"]],"ret":"BOOL"},
{"name":"enableSpecialAbility","native":"ENABLE_SPECIAL_ABILITY","hash":"0x181EC197DAEFE121","params":[["player","Player"],["toggle","BOOL"],["p2","Any"]]},
{"name":"isSpecialAbilityEnabled","native":"IS_SPECIAL_ABILITY_ENABLED","hash":"0xB1D200FE26AEF3CB","params":[["player","Player"],["p1","Any"]],"ret":"BOOL"},
{"name":"setSpecialAbilityMultiplier","native":"SET_SPECIAL_ABILITY_MULTIPLIER","hash":"0xA49C426ED0CA4AB7","params":[["multiplier","float"]]},
{"name":"updateSpecialAbilityFromStat","native":"UPDATE_SPECIAL_ABILITY_FROM_STAT","hash":"0xFFEE8FA29AB9A18E","params":[["player","Player"],["p1","Any"]]},
{"name":"getIsPlayerDrivingOnHighway","native":"GET_IS_PLAYER_DRIVING_ON_HIGHWAY","hash":"0x5FC472C501CCADB3","params":[["player","Player"]],"ret":"BOOL","doc":"Appears once in \"re_dealgonewrong\""},
{"name":"getIsPlayerDrivingWreckless","native":"GET_IS_PLAYER_DRIVING_WRECKLESS","hash":"0xF10B44FD479D69F3","params":[["player","Player"],["p1","int"]],"ret":"BOOL","doc":"Only 1 occurrence. p1 was 2."},
{"name":"getIsMoppingAreaFreeInFrontOfPlayer","native":"GET_IS_MOPPING_AREA_FREE_IN_FRONT_OF_PLAYER","hash":"0xDD2620B7B9D16FF1","params":[["player","Player"],["p1","float"]],"ret":"BOOL","doc":"2 occurrences in agency_heist3a. p1 was 0.7f then 0.4f."},
{"name":"startPlayerTeleport","native":"START_PLAYER_TELEPORT","hash":"0xAD15F075A4DA0FDE","params":[["player","Player"],["x","float"],["y","float"],["z","float"],["heading","float"],["p5","BOOL"],["findCollisionLand","BOOL"],["p7","BOOL"]],"doc":"`findCollisionLand`: This teleports the player to land when set to true and will not consider the Z coordinate parameter provided by you. It will automatically put the Z coordinate so that you don't fall from sky."},
{"name":"updatePlayerTeleport","native":"UPDATE_PLAYER_TELEPORT","hash":"0xE23D5873C2394C61","params":[["player","Player"]],"ret":"BOOL","aka":["_HAS_PLAYER_TELEPORT_FINISHED"]},
{"name":"stopPlayerTeleport","native":"STOP_PLAYER_TELEPORT","hash":"0xC449EDED9D73009C","doc":"Disables the player's teleportation"},
{"name":"isPlayerTeleportActive","native":"IS_PLAYER_TELEPORT_ACTIVE","hash":"0x02B15662D7F8886F","ret":"BOOL"},
{"name":"getPlayerCurrentStealthNoise","native":"GET_PLAYER_CURRENT_STEALTH_NOISE","hash":"0x2F395D61F3A1F877","params":[["player","Player"]],"ret":"float"},
{"name":"setPlayerHealthRechargeMultiplier","native":"SET_PLAYER_HEALTH_RECHARGE_MULTIPLIER","hash":"0x5DB660B38DD98A31","params":[["player","Player"],["regenRate","float"]],"doc":"`regenRate`: The recharge multiplier, a value between 0.0 and 1.0.\nUse 1.0 to reset it back to normal"},
{"name":"getPlayerHealthRechargeMaxPercent","native":"GET_PLAYER_HEALTH_RECHARGE_MAX_PERCENT","hash":"0x8BC515BAE4AAF8FF","params":[["player","Player"]],"ret":"float","since":617,"aka":["_GET_PLAYER_HEALTH_RECHARGE_LIMIT"]},
{"name":"setPlayerHealthRechargeMaxPercent","native":"SET_PLAYER_HEALTH_RECHARGE_MAX_PERCENT","hash":"0xC388A0F065F5BC34","params":[["player","Player"],["limit","float"]],"since":573,"aka":["_SET_PLAYER_HEALTH_RECHARGE_LIMIT"]},
{"name":"disablePlayerHealthRecharge","native":"DISABLE_PLAYER_HEALTH_RECHARGE","hash":"0xBCB06442F7E52666","params":[["player","Player"]],"since":2802,"doc":"Needs to be called every frame."},
{"name":"setPlayerFallDistanceToTriggerRagdollOverride","native":"SET_PLAYER_FALL_DISTANCE_TO_TRIGGER_RAGDOLL_OVERRIDE","hash":"0xEFD79FA81DFBA9CB","params":[["player","Player"],["p1","float"]],"since":573,"aka":["_SET_PLAYER_FALL_DISTANCE"]},
{"name":"setPlayerWeaponDamageModifier","native":"SET_PLAYER_WEAPON_DAMAGE_MODIFIER","hash":"0xCE07B9F7817AADA3","params":[["player","Player"],["modifier","float"]],"doc":"This modifies the damage value of your weapon. Whether it is a multiplier or base damage is unknown.\n\nBased on tests, it is unlikely to be a multiplier.\n\nmodifier's min value is 0.1"},
{"name":"setPlayerWeaponDefenseModifier","native":"SET_PLAYER_WEAPON_DEFENSE_MODIFIER","hash":"0x2D83BC011CA14A3C","params":[["player","Player"],["modifier","float"]],"doc":"modifier's min value is 0.1"},
{"name":"setPlayerWeaponMinigunDefenseModifier","native":"SET_PLAYER_WEAPON_MINIGUN_DEFENSE_MODIFIER","hash":"0xBCFDE9EDE4CF27DC","params":[["player","Player"],["modifier","float"]],"since":944,"aka":["_SET_PLAYER_WEAPON_DEFENSE_MODIFIER_2"],"doc":"modifier's min value is 0.1"},
{"name":"setPlayerMeleeWeaponDamageModifier","native":"SET_PLAYER_MELEE_WEAPON_DAMAGE_MODIFIER","hash":"0x4A3DC7ECCC321032","params":[["player","Player"],["modifier","float"],["p2","BOOL"]],"doc":"modifier's min value is 0.1"},
{"name":"setPlayerMeleeWeaponDefenseModifier","native":"SET_PLAYER_MELEE_WEAPON_DEFENSE_MODIFIER","hash":"0xAE540335B4ABC4E2","params":[["player","Player"],["modifier","float"]],"doc":"modifier's min value is 0.1"},
{"name":"setPlayerVehicleDamageModifier","native":"SET_PLAYER_VEHICLE_DAMAGE_MODIFIER","hash":"0xA50E117CDDF82F0C","params":[["player","Player"],["modifier","float"]],"doc":"modifier's min value is 0.1"},
{"name":"setPlayerVehicleDefenseModifier","native":"SET_PLAYER_VEHICLE_DEFENSE_MODIFIER","hash":"0x4C60E6EFDAFF2462","params":[["player","Player"],["modifier","float"]],"doc":"modifier's min value is 0.1"},
{"name":"setPlayerMaxExplosiveDamage","native":"SET_PLAYER_MAX_EXPLOSIVE_DAMAGE","hash":"0x8D768602ADEF2245","params":[["player","Player"],["p1","float"]],"since":463},
{"name":"setPlayerExplosiveDamageModifier","native":"SET_PLAYER_EXPLOSIVE_DAMAGE_MODIFIER","hash":"0xD821056B9ACF8052","params":[["player","Player"],["p1","Any"]],"since":1011},
{"name":"setPlayerWeaponTakedownDefenseModifier","native":"SET_PLAYER_WEAPON_TAKEDOWN_DEFENSE_MODIFIER","hash":"0x31E90B8873A4CD3B","params":[["player","Player"],["p1","float"]],"since":617},
{"name":"setPlayerParachuteTintIndex","native":"SET_PLAYER_PARACHUTE_TINT_INDEX","hash":"0xA3D0E54541D9A5E5","params":[["player","Player"],["tintIndex","int"]],"doc":"Tints:\n\n```\n  None = -1,\n   Rainbow = 0,\n Red = 1,\n SeasideStripes = 2,\n  WidowMaker = 3,\n  Patriot = 4,\n Blue = 5,\nBlack = 6,\n   Hornet = 7,\n  AirFocce = 8,\nDesert = 9,\n  Shadow = 10,\n HighAltitude = 11,\n   Airbone = 12,\nSunrise = 13,\n```"},
{"name":"getPlayerParachuteTintIndex","native":"GET_PLAYER_PARACHUTE_TINT_INDEX","hash":"0x75D3F7A1B0D9B145","params":[["player","Player"]],"outs":[["tintIndex","int",1]],"doc":"Tints:\n\n```\n None = -1,\n   Rainbow = 0,\n Red = 1,\n SeasideStripes = 2,\n  WidowMaker = 3,\n  Patriot = 4,\n Blue = 5,\nBlack = 6,\n   Hornet = 7,\n  AirFocce = 8,\nDesert = 9,\n  Shadow = 10,\n HighAltitude = 11,\n   Airbone = 12,\nSunrise = 13,\n```"},
{"name":"setPlayerReserveParachuteTintIndex","native":"SET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX","hash":"0xAF04C87F5DC1DF38","params":[["player","Player"],["index","int"]],"doc":"Tints:\n\n```\n  None = -1,\n   Rainbow = 0,\n Red = 1,\n SeasideStripes = 2,\n  WidowMaker = 3,\n  Patriot = 4,\n Blue = 5,\nBlack = 6,\n   Hornet = 7,\n  AirFocce = 8,\nDesert = 9,\n  Shadow = 10,\n HighAltitude = 11,\n   Airbone = 12,\nSunrise = 13,\n```"},
{"name":"getPlayerReserveParachuteTintIndex","native":"GET_PLAYER_RESERVE_PARACHUTE_TINT_INDEX","hash":"0xD5A016BC3C09CF40","params":[["player","Player"]],"outs":[["index","int",1]],"doc":"Tints:\n\n```\n None = -1,\n   Rainbow = 0,\n Red = 1,\n SeasideStripes = 2,\n  WidowMaker = 3,\n  Patriot = 4,\n Blue = 5,\nBlack = 6,\n   Hornet = 7,\n  AirFocce = 8,\nDesert = 9,\n  Shadow = 10,\n HighAltitude = 11,\n   Airbone = 12,\nSunrise = 13,\n```"},
{"name":"setPlayerParachutePackTintIndex","native":"SET_PLAYER_PARACHUTE_PACK_TINT_INDEX","hash":"0x93B0FB27C9A04060","params":[["player","Player"],["tintIndex","int"]],"doc":"tints 0- 13\n0 - unkown\n1 - unkown\n2 - unkown\n3 - unkown\n4 - unkown"},
{"name":"getPlayerParachutePackTintIndex","native":"GET_PLAYER_PARACHUTE_PACK_TINT_INDEX","hash":"0x6E9C742F340CE5A2","params":[["player","Player"]],"outs":[["tintIndex","int",1]]},
{"name":"setPlayerHasReserveParachute","native":"SET_PLAYER_HAS_RESERVE_PARACHUTE","hash":"0x7DDAB28D31FAC363","params":[["player","Player"]]},
{"name":"getPlayerHasReserveParachute","native":"GET_PLAYER_HAS_RESERVE_PARACHUTE","hash":"0x5DDFE2FF727F3CA3","params":[["player","Player"]],"ret":"BOOL"},
{"name":"setPlayerCanLeaveParachuteSmokeTrail","native":"SET_PLAYER_CAN_LEAVE_PARACHUTE_SMOKE_TRAIL","hash":"0xF401B182DBA8AF53","params":[["player","Player"],["enabled","BOOL"]]},
{"name":"setPlayerParachuteSmokeTrailColor","native":"SET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR","hash":"0x8217FD371A4625CF","params":[["player","Player"],["r","int"],["g","int"],["b","int"]]},
{"name":"getPlayerParachuteSmokeTrailColor","native":"GET_PLAYER_PARACHUTE_SMOKE_TRAIL_COLOR","hash":"0xEF56DBABD3CD4887","params":[["player","Player"]],"outs":[["r","int",1],["g","int",2],["b","int",3]]},
{"name":"setPlayerPhonePaletteIdx","native":"SET_PLAYER_PHONE_PALETTE_IDX","hash":"0x11D5F725F0E780E0","params":[["player","Player"],["idx","int"]],"aka":["SET_PLAYER_RESET_FLAG_PREFER_REAR_SEATS"]},
{"name":"setPlayerNoiseMultiplier","native":"SET_PLAYER_NOISE_MULTIPLIER","hash":"0xDB89EF50FF25FCE9","params":[["player","Player"],["multiplier","float"]]},
{"name":"setPlayerSneakingNoiseMultiplier","native":"SET_PLAYER_SNEAKING_NOISE_MULTIPLIER","hash":"0xB2C1A29588A9F47C","params":[["player","Player"],["multiplier","float"]],"doc":"Values around 1.0f to 2.0f used in game scripts."},
{"name":"canPedHearPlayer","native":"CAN_PED_HEAR_PLAYER","hash":"0xF297383AA91DCA29","params":[["player","Player"],["ped","Ped"]],"ret":"BOOL"},
{"name":"simulatePlayerInputGait","native":"SIMULATE_PLAYER_INPUT_GAIT","hash":"0x477D5D63E63ECA5D","params":[["player","Player"],["amount","float"],["gaitType","int"],["speed","float"],["p4","BOOL"],["p5","BOOL"],["p6","Any"]],"doc":"This is to make the player walk without accepting input from INPUT.\n\ngaitType is in increments of 100s. 2000, 500, 300, 200, etc.\n\np4 is always 1 and p5 is always 0.\n\nC# Example :\n\n```\nFunction.Call(Hash.SIMULATE_PLAYER_INPUT_GAIT, Game.Player, 1.0f, 100, 1.0f, 1, 0); //Player will go forward for 100ms\n```"},
{"name":"resetPlayerInputGait","native":"RESET_PLAYER_INPUT_GAIT","hash":"0x19531C47A2ABD691","params":[["player","Player"]]},
{"name":"setAutoGiveParachuteWhenEnterPlane","native":"SET_AUTO_GIVE_PARACHUTE_WHEN_ENTER_PLANE","hash":"0x9F343285A00B4BB6","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setAutoGiveScubaGearWhenExitVehicle","native":"SET_AUTO_GIVE_SCUBA_GEAR_WHEN_EXIT_VEHICLE","hash":"0xD2B315B6689D537D","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setPlayerStealthPerceptionModifier","native":"SET_PLAYER_STEALTH_PERCEPTION_MODIFIER","hash":"0x4E9021C1FCDD507A","params":[["player","Player"],["value","float"]]},
{"name":"isRemotePlayerInNonClonedVehicle","native":"IS_REMOTE_PLAYER_IN_NON_CLONED_VEHICLE","hash":"0x690A61A6D13583F6","params":[["player","Player"]],"ret":"BOOL"},
{"name":"increasePlayerJumpSuppressionRange","native":"INCREASE_PLAYER_JUMP_SUPPRESSION_RANGE","hash":"0x9EDD76E87D5D51BA","params":[["player","Player"]]},
{"name":"setPlayerSimulateAiming","native":"SET_PLAYER_SIMULATE_AIMING","hash":"0xC54C95DA968EC5B5","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setPlayerClothPinFrames","native":"SET_PLAYER_CLOTH_PIN_FRAMES","hash":"0x749FADDF97DFE930","params":[["player","Player"],["p1","int"]]},
{"name":"setPlayerClothPackageIndex","native":"SET_PLAYER_CLOTH_PACKAGE_INDEX","hash":"0x9F7BBA2EA6372500","params":[["index","int"]],"doc":"Every occurrence was either 0 or 2."},
{"name":"setPlayerClothLockCounter","native":"SET_PLAYER_CLOTH_LOCK_COUNTER","hash":"0x14D913B777DFF5DA","params":[["value","int"]],"doc":"6 matches across 4 scripts. 5 occurrences were 240. The other was 255."},
{"name":"playerAttachVirtualBound","native":"PLAYER_ATTACH_VIRTUAL_BOUND","hash":"0xED51733DC73AED51","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"]],"doc":"Only 1 match. ob_sofa_michael.\n\n```\nplayerAttachVirtualBound(-804.5928f, 173.1801f, 71.68436f, 0f, 0f, 0.590625f, 1f, 0.7f);1.0.335.2, 1.0.350.1/2, 1.0.372.2, 1.0.393.2, 1.0.393.4, 1.0.463.1;\n```"},
{"name":"playerDetachVirtualBound","native":"PLAYER_DETACH_VIRTUAL_BOUND","hash":"0x1DD5897E2FA6E7C9","doc":"1.0.335.2, 1.0.350.1/2, 1.0.372.2, 1.0.393.2, 1.0.393.4, 1.0.463.1;"},
{"name":"hasPlayerBeenSpottedInStolenVehicle","native":"HAS_PLAYER_BEEN_SPOTTED_IN_STOLEN_VEHICLE","hash":"0xD705740BB0A1CF4C","params":[["player","Player"]],"ret":"BOOL"},
{"name":"isPlayerBattleAware","native":"IS_PLAYER_BATTLE_AWARE","hash":"0x38D28DA81E4E9BF9","params":[["player","Player"]],"ret":"BOOL","doc":"Returns true if an unk value is greater than 0.0f"},
{"name":"getPlayerReceivedBattleEventRecently","native":"GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY","hash":"0xBC0753C9CA14B506","params":[["player","Player"],["p1","int"],["p2","BOOL"]],"ret":"BOOL"},
{"name":"extendWorldBoundaryForPlayer","native":"EXTEND_WORLD_BOUNDARY_FOR_PLAYER","hash":"0x5006D96C995A5827","params":[["x","float"],["y","float"],["z","float"]],"aka":["_EXPAND_WORLD_LIMITS"],"doc":"Appears only 3 times in the scripts, more specifically in michael1.ysc\n\n-\nThis can be used to prevent dying if you are \"out of the world\""},
{"name":"resetWorldBoundaryForPlayer","native":"RESET_WORLD_BOUNDARY_FOR_PLAYER","hash":"0xDA1DF03D5A315F4E"},
{"name":"isPlayerRidingTrain","native":"IS_PLAYER_RIDING_TRAIN","hash":"0x4EC12697209F2196","params":[["player","Player"]],"ret":"BOOL","doc":"Returns true if the player is riding a train."},
{"name":"hasPlayerLeftTheWorld","native":"HAS_PLAYER_LEFT_THE_WORLD","hash":"0xD55DDFB47991A294","params":[["player","Player"]],"ret":"BOOL"},
{"name":"setPlayerLeavePedBehind","native":"SET_PLAYER_LEAVE_PED_BEHIND","hash":"0xFF300C7649724A0B","params":[["player","Player"],["toggle","BOOL"]]},
{"name":"setPlayerParachuteVariationOverride","native":"SET_PLAYER_PARACHUTE_VARIATION_OVERRIDE","hash":"0xD9284A8C0D48352C","params":[["player","Player"],["p1","int"],["p2","Any"],["p3","Any"],["p4","BOOL"]],"doc":"p1 was always 5.\np4 was always false."},
{"name":"clearPlayerParachuteVariationOverride","native":"CLEAR_PLAYER_PARACHUTE_VARIATION_OVERRIDE","hash":"0x0F4CC924CF8C7B21","params":[["player","Player"]]},
{"name":"setPlayerParachuteModelOverride","native":"SET_PLAYER_PARACHUTE_MODEL_OVERRIDE","hash":"0x977DB4641F6FC3DB","params":[["player","Player"],["model","Hash"]]},
{"name":"setPlayerReserveParachuteModelOverride","native":"SET_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE","hash":"0x0764486AEDE748DB","params":[["player","Player"],["model","Hash"]],"since":2372,"aka":["_SET_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE"]},
{"name":"getPlayerParachuteModelOverride","native":"GET_PLAYER_PARACHUTE_MODEL_OVERRIDE","hash":"0xC219887CA3E65C41","params":[["player","Player"]],"ret":"Hash","since":2372,"aka":["_GET_PLAYER_PARACHUTE_MODEL_OVERRIDE"]},
{"name":"getPlayerReserveParachuteModelOverride","native":"GET_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE","hash":"0x37FAAA68DCA9D08D","params":[["player","Player"]],"ret":"Hash","since":2372,"aka":["_GET_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE"]},
{"name":"clearPlayerParachuteModelOverride","native":"CLEAR_PLAYER_PARACHUTE_MODEL_OVERRIDE","hash":"0x8753997EB5F6EE3F","params":[["player","Player"]]},
{"name":"clearPlayerReserveParachuteModelOverride","native":"CLEAR_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE","hash":"0x290D248E25815AE8","params":[["player","Player"]],"since":2372,"aka":["_CLEAR_PLAYER_RESERVE_PARACHUTE_MODEL_OVERRIDE"]},
{"name":"setPlayerParachutePackModelOverride","native":"SET_PLAYER_PARACHUTE_PACK_MODEL_OVERRIDE","hash":"0xDC80A4C2F18A2B64","params":[["player","Player"],["model","Hash"]]},
{"name":"clearPlayerParachutePackModelOverride","native":"CLEAR_PLAYER_PARACHUTE_PACK_MODEL_OVERRIDE","hash":"0x10C54E4389C12B42","params":[["player","Player"]]},
{"name":"disablePlayerVehicleRewards","native":"DISABLE_PLAYER_VEHICLE_REWARDS","hash":"0xC142BE3BB9CE125F","params":[["player","Player"]]},
{"name":"setPlayerSpectatedVehicleRadioOverride","native":"SET_PLAYER_SPECTATED_VEHICLE_RADIO_OVERRIDE","hash":"0x2F7CEB6520288061","params":[["p0","BOOL"]]},
{"name":"setPlayerBluetoothState","native":"SET_PLAYER_BLUETOOTH_STATE","hash":"0x5DC40A8869C22141","params":[["player","Player"],["state","BOOL"]]},
{"name":"isPlayerBluetoothEnable","native":"IS_PLAYER_BLUETOOTH_ENABLE","hash":"0x65FAEE425DE637B0","params":[["player","Player"]],"ret":"BOOL"},
{"name":"disableCameraViewModeCycle","native":"DISABLE_CAMERA_VIEW_MODE_CYCLE","hash":"0x5501B7A5CDB79D37","params":[["player","Player"]]},
{"name":"getPlayerFakeWantedLevel","native":"GET_PLAYER_FAKE_WANTED_LEVEL","hash":"0x56105E599CAB0EFA","params":[["player","Player"]],"ret":"int"},
{"name":"setPlayerCanDamagePlayer","native":"SET_PLAYER_CAN_DAMAGE_PLAYER","hash":"0x55FCC0C390620314","params":[["player1","Player"],["player2","Player"],["toggle","BOOL"]],"since":573},
{"name":"setApplyWaypointOfPlayer","native":"SET_APPLY_WAYPOINT_OF_PLAYER","hash":"0x2382AB11450AE7BA","params":[["player","Player"],["hudColor","int"]],"since":877},
{"name":"isPlayerVehicleWeaponToggledToNonHoming","native":"IS_PLAYER_VEHICLE_WEAPON_TOGGLED_TO_NON_HOMING","hash":"0x6E4361FF3E8CD7CA","params":[["p0","Any"]],"ret":"BOOL","since":1011},
{"name":"setPlayerVehicleWeaponToNonHoming","native":"SET_PLAYER_VEHICLE_WEAPON_TO_NON_HOMING","hash":"0x237440E46D918649","params":[["p0","Any"]],"since":1290,"doc":"Unsets playerPed+330 if the current weapon has certain flags."},
{"name":"setPlayerHomingDisabledForAllVehicleWeapons","native":"SET_PLAYER_HOMING_DISABLED_FOR_ALL_VEHICLE_WEAPONS","hash":"0xEE4EBDD2593BA844","params":[["p0","Any"],["p1","Any"]],"since":1180,"aka":["_SET_PLAYER_HOMING_ROCKET_DISABLED"]},
{"name":"addPlayerTargetableEntity","native":"ADD_PLAYER_TARGETABLE_ENTITY","hash":"0x9097EB6D4BB9A12A","params":[["player","Player"],["entity","Entity"]],"since":1868},
{"name":"removePlayerTargetableEntity","native":"REMOVE_PLAYER_TARGETABLE_ENTITY","hash":"0x9F260BFB59ADBCA3","params":[["player","Player"],["entity","Entity"]],"since":1868},
{"name":"setPlayerPreviousVariationData","native":"SET_PLAYER_PREVIOUS_VARIATION_DATA","hash":"0x7BAE68775557AE0B","params":[["player","Player"],["p1","int"],["p2","int"],["p3","Any"],["p4","Any"],["p5","Any"]],"since":1290},
{"name":"removeScriptFirePosition","native":"REMOVE_SCRIPT_FIRE_POSITION","hash":"0x7148E0F43D11F0D9","since":1604,"doc":"Resets values set by `setScriptFirePosition`"},
{"name":"setScriptFirePosition","native":"SET_SCRIPT_FIRE_POSITION","hash":"0x70A382ADEC069DD3","params":[["coordX","float"],["coordY","float"],["coordZ","float"]],"since":1604}
]},
{"id":"RECORDING","title":"Recording","doc":"Rockstar Editor recording control.","natives":[
{"name":"replayStartEvent","native":"REPLAY_START_EVENT","hash":"0x48621C9FCA3EBD28","params":[["p0","int"]],"blocked":"editor"},
{"name":"replayStopEvent","native":"REPLAY_STOP_EVENT","hash":"0x81CBAE94390F9F89","blocked":"editor"},
{"name":"replayCancelEvent","native":"REPLAY_CANCEL_EVENT","hash":"0x13B350B8AD0EEE10","blocked":"editor"},
{"name":"replayRecordBackForTime","native":"REPLAY_RECORD_BACK_FOR_TIME","hash":"0x293220DA1B46CEBC","params":[["p0","float"],["p1","float"],["p2","int"]],"blocked":"editor"},
{"name":"replayCheckForEventThisFrame","native":"REPLAY_CHECK_FOR_EVENT_THIS_FRAME","hash":"0x208784099002BC30","params":[["missionNameLabel","string"],["p1","Any"]],"blocked":"editor","doc":"-This function appears to be deprecated/ unused. Tracing the call internally leads to a _nullsub -\n\nfirst one seems to be a string of a mission name, second one seems to be a bool/toggle\n\np1 was always 0."},
{"name":"replayPreventRecordingThisFrame","native":"REPLAY_PREVENT_RECORDING_THIS_FRAME","hash":"0xEB2D525B57F42B40","blocked":"editor","aka":["_STOP_RECORDING_THIS_FRAME"],"doc":"This disable the recording feature and has to be called every frame."},
{"name":"replayResetEventInfo","native":"REPLAY_RESET_EVENT_INFO","hash":"0xF854439EFBB3B583","blocked":"editor"},
{"name":"replayDisableCameraMovementThisFrame","native":"REPLAY_DISABLE_CAMERA_MOVEMENT_THIS_FRAME","hash":"0xAF66DCEE6609B148","blocked":"editor","aka":["_DISABLE_ROCKSTAR_EDITOR_CAMERA_CHANGES"],"doc":"This will disable the ability to make camera changes in R* Editor."},
{"name":"recordGreatestMoment","native":"RECORD_GREATEST_MOMENT","hash":"0x66972397E0757E7A","params":[["p0","int"],["p1","int"],["p2","int"]],"blocked":"editor","doc":"Does nothing (it's a nullsub)."},
{"name":"startReplayRecording","native":"START_REPLAY_RECORDING","hash":"0xC3AC2FFF9612AC81","params":[["mode","int"]],"blocked":"editor","aka":["_START_RECORDING"],"doc":"Starts recording a replay.\nIf mode is 0, turns on action replay.\nIf mode is 1, starts recording.\nIf already recording a replay, does nothing."},
{"name":"stopReplayRecording","native":"STOP_REPLAY_RECORDING","hash":"0x071A5197D6AFC8B3","blocked":"editor","aka":["_STOP_RECORDING","_STOP_RECORDING_AND_SAVE_CLIP"],"doc":"Stops recording and saves the recorded clip."},
{"name":"cancelReplayRecording","native":"CANCEL_REPLAY_RECORDING","hash":"0x88BB3507ED41A240","blocked":"editor","aka":["_STOP_RECORDING_AND_DISCARD_CLIP"],"doc":"Stops recording and discards the recorded clip."},
{"name":"saveReplayRecording","native":"SAVE_REPLAY_RECORDING","hash":"0x644546EC5287471B","ret":"BOOL","blocked":"editor","aka":["_SAVE_RECORDING_CLIP"]},
{"name":"isReplayRecording","native":"IS_REPLAY_RECORDING","hash":"0x1897CA71995A90B4","ret":"BOOL","blocked":"editor","aka":["_IS_RECORDING"],"doc":"Checks if you're recording, returns TRUE when you start recording (F1) or turn on action replay (F2)"},
{"name":"isReplayInitialized","native":"IS_REPLAY_INITIALIZED","hash":"0xDF4B952F7D381B95","ret":"BOOL","blocked":"editor"},
{"name":"isReplayAvailable","native":"IS_REPLAY_AVAILABLE","hash":"0x4282E08174868BE3","ret":"BOOL","blocked":"editor"},
{"name":"isReplayRecordSpaceAvailable","native":"IS_REPLAY_RECORD_SPACE_AVAILABLE","hash":"0x33D47E85B476ABCD","params":[["p0","BOOL"]],"ret":"BOOL","blocked":"editor"}
]},
{"id":"REPLAY","title":"Replay","doc":"Rockstar Editor replay and clip state.","natives":[
{"name":"registerEffectForReplayEditor","native":"REGISTER_EFFECT_FOR_REPLAY_EDITOR","hash":"0x7E2BD3EF6C205F09","params":[["p0","string"],["p1","BOOL"]],"blocked":"editor","doc":"Does nothing (it's a nullsub)."},
{"name":"replaySystemHasRequestedAScriptCleanup","native":"REPLAY_SYSTEM_HAS_REQUESTED_A_SCRIPT_CLEANUP","hash":"0x95AB8B5C992C7B58","ret":"BOOL","blocked":"editor","aka":["_IS_INTERIOR_RENDERING_DISABLED"],"doc":"Returns a bool if interior rendering is disabled, if yes, all \"normal\" rendered interiors are invisible"},
{"name":"setScriptsHaveCleanedUpForReplaySystem","native":"SET_SCRIPTS_HAVE_CLEANED_UP_FOR_REPLAY_SYSTEM","hash":"0x5AD3932DAEB1E5D3","blocked":"editor","doc":"Disables some other rendering (internal)"},
{"name":"setReplaySystemPausedForSave","native":"SET_REPLAY_SYSTEM_PAUSED_FOR_SAVE","hash":"0xE058175F8EAFE79A","params":[["p0","BOOL"]],"blocked":"editor"},
{"name":"replayControlShutdown","native":"REPLAY_CONTROL_SHUTDOWN","hash":"0x3353D13F09307691","blocked":"editor","aka":["_RESET_EDITOR_VALUES"],"doc":"Sets (almost, not sure) all Rockstar Editor values (bIsRecording etc) to 0."},
{"name":"activateRockstarEditor","native":"ACTIVATE_ROCKSTAR_EDITOR","hash":"0x49DA8145672B2725","params":[["p0","int"]],"blocked":"editor","aka":["_ACTIVATE_ROCKSTAR_EDITOR"],"doc":"Please note that you will need to call `doScreenFadeIn` after exiting the Rockstar Editor when you call this."}
]},
{"id":"SAVEMIGRATION","title":"Save migration","doc":"Transfer of a saved game between platforms and accounts.","natives":[
{"name":"savemigrationIsMpEnabled","native":"SAVEMIGRATION_IS_MP_ENABLED","hash":"0x84B418E93894AC1C","ret":"BOOL","blocked":"rockstar","since":2372},
{"name":"savemigrationMpRequestAccounts","native":"SAVEMIGRATION_MP_REQUEST_ACCOUNTS","hash":"0x85F41F9225D08C72","ret":"BOOL","blocked":"rockstar","since":2612},
{"name":"savemigrationMpGetAccountsStatus","native":"SAVEMIGRATION_MP_GET_ACCOUNTS_STATUS","hash":"0xC8CB5999919EA2CA","ret":"int","blocked":"rockstar","since":2612},
{"name":"savemigrationMpNumAccounts","native":"SAVEMIGRATION_MP_NUM_ACCOUNTS","hash":"0x77A16200E18E0C55","ret":"int","blocked":"rockstar","since":2612},
{"name":"savemigrationMpGetAccount","native":"SAVEMIGRATION_MP_GET_ACCOUNT","hash":"0xFCE2747EEF1D05FC","params":[["p0","int"],["p1","Any*"]],"ret":"BOOL","blocked":"rockstar","since":2612},
{"name":"savemigrationMpRequestStatus","native":"SAVEMIGRATION_MP_REQUEST_STATUS","hash":"0xE5E9746A66359F9D","ret":"BOOL","blocked":"rockstar","since":2372},
{"name":"savemigrationMpGetStatus","native":"SAVEMIGRATION_MP_GET_STATUS","hash":"0x690B76BD2763E068","ret":"int","blocked":"rockstar","since":2372},
{"name":"savemigrationMpIsPlatformGeneration","native":"SAVEMIGRATION_MP_IS_PLATFORM_GENERATION","params":[["generation","int"]],"ret":"BOOL","na":1}
]},
{"id":"SCRIPT","title":"Script","doc":"Game script threads and script events.","natives":[
{"name":"requestScript","native":"REQUEST_SCRIPT","hash":"0x6EB5F71AA68F2E8E","params":[["scriptName","string"]],"blocked":"scripts"},
{"name":"setScriptAsNoLongerNeeded","native":"SET_SCRIPT_AS_NO_LONGER_NEEDED","hash":"0xC90D2DCACD56184C","params":[["scriptName","string"]],"blocked":"scripts"},
{"name":"hasScriptLoaded","native":"HAS_SCRIPT_LOADED","hash":"0xE6CC9F3BA0FB9EF1","params":[["scriptName","string"]],"ret":"BOOL","doc":"Returns if a script has been loaded into the game. Used to see if a script was loaded after requesting."},
{"name":"doesScriptExist","native":"DOES_SCRIPT_EXIST","hash":"0xFC04745FBE67C19A","params":[["scriptName","string"]],"ret":"BOOL"},
{"name":"requestScriptWithNameHash","native":"REQUEST_SCRIPT_WITH_NAME_HASH","hash":"0xD62A67D26D9653E6","params":[["scriptHash","Hash"]],"blocked":"scripts","aka":["_REQUEST_STREAMED_SCRIPT"]},
{"name":"setScriptWithNameHashAsNoLongerNeeded","native":"SET_SCRIPT_WITH_NAME_HASH_AS_NO_LONGER_NEEDED","hash":"0xC5BC038960E9DB27","params":[["scriptHash","Hash"]],"blocked":"scripts","aka":["_SET_STREAMED_SCRIPT_AS_NO_LONGER_NEEDED"]},
{"name":"hasScriptWithNameHashLoaded","native":"HAS_SCRIPT_WITH_NAME_HASH_LOADED","hash":"0x5F0F0C783EB16C04","params":[["scriptHash","Hash"]],"ret":"BOOL","aka":["_HAS_STREAMED_SCRIPT_LOADED"]},
{"name":"doesScriptWithNameHashExist","native":"DOES_SCRIPT_WITH_NAME_HASH_EXIST","hash":"0xF86AA3C56BA31381","params":[["scriptHash","Hash"]],"ret":"BOOL","aka":["_DOES_SCRIPT_WITH_NAME_HASH_EXIST"]},
{"name":"terminateThread","native":"TERMINATE_THREAD","hash":"0xC8B189ED9138BCD4","params":[["threadId","int"]],"blocked":"scripts"},
{"name":"isThreadActive","native":"IS_THREAD_ACTIVE","hash":"0x46E9AE36D8FA6417","params":[["threadId","int"]],"ret":"BOOL"},
{"name":"getNameOfScriptWithThisId","native":"GET_NAME_OF_SCRIPT_WITH_THIS_ID","hash":"0x05A42BA9FC8DA96B","params":[["threadId","int"]],"ret":"string","aka":["_GET_THREAD_NAME","_GET_NAME_OF_THREAD"]},
{"name":"scriptThreadIteratorReset","native":"SCRIPT_THREAD_ITERATOR_RESET","hash":"0xDADFADA5A20143A8","aka":["_BEGIN_ENUMERATING_THREADS"],"doc":"Starts a new iteration of the current threads.\nCall this first, then `scriptThreadIteratorGetNextThreadId` (0x30B4FA1C82DD4B9F)"},
{"name":"scriptThreadIteratorGetNextThreadId","native":"SCRIPT_THREAD_ITERATOR_GET_NEXT_THREAD_ID","hash":"0x30B4FA1C82DD4B9F","ret":"int","aka":["_GET_ID_OF_NEXT_THREAD_IN_ENUMERATION"],"doc":"If the function returns 0, the end of the iteration has been reached."},
{"name":"getIdOfThisThread","native":"GET_ID_OF_THIS_THREAD","hash":"0xC30338E8088E2E21","ret":"int"},
{"name":"terminateThisThread","native":"TERMINATE_THIS_THREAD","hash":"0x1090044AD1DA76FA","blocked":"scripts"},
{"name":"getNumberOfThreadsRunningTheScriptWithThisHash","native":"GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH","hash":"0x2C83A9DA6BFFC4F9","params":[["scriptHash","Hash"]],"ret":"int","aka":["_GET_NUMBER_OF_INSTANCES_OF_STREAMED_SCRIPT","_GET_NUMBER_OF_INSTANCES_OF_SCRIPT_WITH_NAME_HASH","_GET_NUMBER_OF_REFERENCES_OF_SCRIPT_WITH_NAME_HASH"],"doc":"Gets the number of instances of the specified script is currently running."},
{"name":"getThisScriptName","native":"GET_THIS_SCRIPT_NAME","hash":"0x442E0A7EDE4A738A","ret":"string"},
{"name":"getHashOfThisScriptName","native":"GET_HASH_OF_THIS_SCRIPT_NAME","hash":"0x8A1C8B1738FFE87E","ret":"Hash","aka":["_GET_THIS_SCRIPT_HASH"]},
{"name":"getNumberOfEvents","native":"GET_NUMBER_OF_EVENTS","hash":"0x5F92A689A06620AA","params":[["eventGroup","int"]],"ret":"int"},
{"name":"getEventExists","native":"GET_EVENT_EXISTS","hash":"0x936E6168A9BCEDB5","params":[["eventGroup","int"],["eventIndex","int"]],"ret":"BOOL"},
{"name":"getEventAtIndex","native":"GET_EVENT_AT_INDEX","hash":"0xD8F66A3A60C62153","params":[["eventGroup","int"],["eventIndex","int"]],"ret":"int"},
{"name":"getEventData","native":"GET_EVENT_DATA","hash":"0x2902843FCD2B2D79","params":[["eventGroup","int"],["eventIndex","int"],["eventData","Any*"],["eventDataSize","int"]],"ret":"BOOL","blocked":"memory","doc":"Note: eventDataSize is NOT the size in bytes, it is the size determined by the SIZE_OF operator (RAGE Script operator, not C/C++ sizeof). That is, the size in bytes divided by 8 (script variables are always 8-byte aligned!)."},
{"name":"triggerScriptEvent","native":"TRIGGER_SCRIPT_EVENT","hash":"0x5AE99C571D5BBE5D","params":[["eventGroup","int"],["eventData","Any*"],["eventDataSize","int"],["playerBits","int"]],"blocked":"memory","doc":"Note: eventDataSize is NOT the size in bytes, it is the size determined by the SIZE_OF operator (RAGE Script operator, not C/C++ sizeof). That is, the size in bytes divided by 8 (script variables are always 8-byte aligned!).\n\nplayerBits (also known as playersToBroadcastTo) is a bitset that indicates which players this event should be sent to. In order to send the event to specific players only, use (1 << playerIndex). Set all bits if it should be broadcast to all players."},
{"name":"shutdownLoadingScreen","native":"SHUTDOWN_LOADING_SCREEN","hash":"0x078EBE9809CCD637","blocked":"saves"},
{"name":"setNoLoadingScreen","native":"SET_NO_LOADING_SCREEN","hash":"0x5262CC1995D07E09","params":[["toggle","BOOL"]],"blocked":"saves"},
{"name":"getNoLoadingScreen","native":"GET_NO_LOADING_SCREEN","hash":"0x18C1270EA7F199BC","ret":"BOOL","aka":["_GET_NO_LOADING_SCREEN"]},
{"name":"setLoadingScreenBlank","native":"SET_LOADING_SCREEN_BLANK","ret":"BOOL","na":1},
{"name":"commitToLoadingscreenSelction","native":"COMMIT_TO_LOADINGSCREEN_SELCTION","hash":"0xB1577667C3708F9B","blocked":"saves"},
{"name":"bgIsExitflagSet","native":"BG_IS_EXITFLAG_SET","hash":"0x836B62713E0534CA","ret":"BOOL","aka":["_BG_EXITED_BECAUSE_BACKGROUND_THREAD_STOPPED"]},
{"name":"bgSetExitflagResponse","native":"BG_SET_EXITFLAG_RESPONSE","hash":"0x760910B49D2B98EA","blocked":"scripts"},
{"name":"bgStartContextHash","native":"BG_START_CONTEXT_HASH","hash":"0x75B18E49607874C7","params":[["contextHash","Hash"]],"blocked":"scripts","doc":"Hashed version of `bgStartContext`."},
{"name":"bgEndContextHash","native":"BG_END_CONTEXT_HASH","hash":"0x107E5CC7CA942BC1","params":[["contextHash","Hash"]],"blocked":"scripts","doc":"Hashed version of `bgEndContext`."},
{"name":"bgStartContext","native":"BG_START_CONTEXT","hash":"0x9D5A25BADB742ACD","params":[["contextName","string"]],"blocked":"scripts","doc":"Inserts the given context into the background scripts context map."},
{"name":"bgEndContext","native":"BG_END_CONTEXT","hash":"0xDC2BACD920D0A0DD","params":[["contextName","string"]],"blocked":"scripts","doc":"Deletes the given context from the background scripts context map."},
{"name":"bgDoesLaunchParamExist","native":"BG_DOES_LAUNCH_PARAM_EXIST","hash":"0x0F6F1EBBC4E1D5E6","params":[["scriptIndex","int"],["p1","string"]],"ret":"BOOL"},
{"name":"bgGetLaunchParamValue","native":"BG_GET_LAUNCH_PARAM_VALUE","hash":"0x22E21FBCFC88C149","params":[["scriptIndex","int"],["p1","string"]],"ret":"int"},
{"name":"bgGetScriptIdFromNameHash","native":"BG_GET_SCRIPT_ID_FROM_NAME_HASH","hash":"0x829CD22E043A2577","params":[["p0","Hash"]],"ret":"int"},
{"name":"sendTuScriptEventNew","native":"_SEND_TU_SCRIPT_EVENT_NEW","hash":"0x71A6F836422FDD2B","params":[["eventGroup","int"],["eventData","Any*"],["eventDataSize","int"],["playerBits","int"],["eventType","Hash"]],"na":1,"since":3095,"doc":"New variant of SEND_TU_SCRIPT_EVENT that automatically initializes the event data header.\nSee `triggerScriptEvent` for more info."}
]},
{"id":"SECURITY","title":"Security","doc":"Tamper protection of script variables.","natives":[
{"name":"registerScriptVariable","native":"REGISTER_SCRIPT_VARIABLE","hash":"0x40EB1EFD921822BC","params":[["variable","Any*"]],"blocked":"memory","since":2545,"aka":["_REGISTER_PROTECTED_VARIABLE"],"doc":"Registers a protected variable that will be checked for modifications by the anticheat"},
{"name":"unregisterScriptVariable","native":"UNREGISTER_SCRIPT_VARIABLE","hash":"0x340A36A700E99699","params":[["variable","Any*"]],"blocked":"memory","since":2545,"aka":["_UNREGISTER_PROTECTED_VARIABLE"]},
{"name":"forceCheckScriptVariables","native":"FORCE_CHECK_SCRIPT_VARIABLES","hash":"0x8E580AB902917360","blocked":"memory","since":2545,"aka":["_FORCE_CHECK_PROTECTED_VARIABLES_NOW"]}
]},
{"id":"SHAPETEST","title":"Shape tests","doc":"Raycasts and the other world probes.","natives":[
{"name":"startShapeTestLosProbe","native":"START_SHAPE_TEST_LOS_PROBE","hash":"0x7EE9F5D83DD4F90E","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["flags","int"],["entity","Entity"],["p8","int"]],"ret":"int","doc":"Asynchronously starts a line-of-sight (raycast) world probe shape test.\n\nUse the handle with `getShapeTestResult` or `getShapeTestResultIncludingMaterial` until it returns 0 or 2.\n\np8 is a bit mask with bits 1, 2 and/or 4, relating to collider types; 4 should usually be used."},
{"name":"startExpensiveSynchronousShapeTestLosProbe","native":"START_EXPENSIVE_SYNCHRONOUS_SHAPE_TEST_LOS_PROBE","hash":"0x377906D8A31E5586","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["flags","int"],["entity","Entity"],["p8","int"]],"ret":"int","aka":["_CAST_RAY_POINT_TO_POINT","_START_SHAPE_TEST_RAY"],"notes":[{"kind":"tip","title":"Friendlier helper","md":"[lsmp.raycast](/resources/api#world/fn-raycast) wraps this call and `getShapeTestResult`, and returns `{ hit, position, normal, entity }`."}],"doc":"Does the same as `startShapeTestLosProbe`, except blocking until the shape test completes."},
{"name":"startShapeTestBoundingBox","native":"START_SHAPE_TEST_BOUNDING_BOX","hash":"0x052837721A854EC7","params":[["entity","Entity"],["flags1","int"],["flags2","int"]],"ret":"int"},
{"name":"startShapeTestBox","native":"START_SHAPE_TEST_BOX","hash":"0xFE466162C4401D18","params":[["x","float"],["y","float"],["z","float"],["dimX","float"],["dimY","float"],["dimZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["p9","Any"],["flags","int"],["entity","Entity"],["p12","Any"]],"ret":"int"},
{"name":"startShapeTestBound","native":"START_SHAPE_TEST_BOUND","hash":"0x37181417CE7C8900","params":[["entity","Entity"],["flags1","int"],["flags2","int"]],"ret":"int"},
{"name":"startShapeTestCapsule","native":"START_SHAPE_TEST_CAPSULE","hash":"0x28579D1B8F8AAC80","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["radius","float"],["flags","int"],["entity","Entity"],["p9","int"]],"ret":"int","aka":["_CAST_3D_RAY_POINT_TO_POINT"],"doc":"Raycast from point to point, where the ray has a radius.\n\nflags:\nvehicles=10\npeds =12\n\nIterating through flags yields many ped / vehicle/ object combinations\n\np9 = 7, but no idea what it does\n\nEntity is an entity to ignore"},
{"name":"startShapeTestSweptSphere","native":"START_SHAPE_TEST_SWEPT_SPHERE","hash":"0xE6AC6C45FBE83004","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["radius","float"],["flags","int"],["entity","Entity"],["p9","Any"]],"ret":"int","aka":["_START_SHAPE_TEST_CAPSULE_2"]},
{"name":"startShapeTestMouseCursorLosProbe","native":"START_SHAPE_TEST_MOUSE_CURSOR_LOS_PROBE","hash":"0xFF6BE494C7987F34","params":[["flag","int"],["entity","Entity"],["flag2","int"]],"ret":"int","outs":[["pVec1","Vector3",0],["pVec2","Vector3",1]],"aka":["_START_SHAPE_TEST_SURROUNDING_COORDS"],"notes":[{"kind":"info","title":"Input while LS:MP has the focus","md":"While the LS:MP menu, the console or a focused browser holds the keyboard and mouse, this native does not reach the game: it returns `0`."}],"doc":"Returns a ShapeTest handle that can be used with `getShapeTestResult`.\n\nIn its only usage in game scripts its called with flag set to 511, entity to player_ped_id and flag2 set to 7"},
{"name":"getShapeTestResult","native":"GET_SHAPE_TEST_RESULT","hash":"0x3D87450E15D98694","params":[["shapeTestHandle","int"]],"ret":"int","outs":[["hit","BOOL",1],["endCoords","Vector3",2],["surfaceNormal","Vector3",3],["entityHit","Entity",4]],"aka":["_GET_RAYCAST_RESULT"],"notes":[{"kind":"tip","title":"Friendlier helper","md":"[lsmp.raycast](/resources/api#world/fn-raycast) wraps a synchronous shape test and this call, and returns `{ hit, position, normal, entity }`."}],"doc":"Returns the result of a shape test: 0 if the handle is invalid, 1 if the shape test is still pending, or 2 if the shape test has completed, and the handle should be invalidated.\n\nWhen used with an asynchronous shape test, this native should be looped until returning 0 or 2, after which the handle is invalidated."},
{"name":"getShapeTestResultIncludingMaterial","native":"GET_SHAPE_TEST_RESULT_INCLUDING_MATERIAL","hash":"0x65287525D951F6BE","params":[["shapeTestHandle","int"]],"ret":"int","outs":[["hit","BOOL",1],["endCoords","Vector3",2],["surfaceNormal","Vector3",3],["materialHash","Hash",4],["entityHit","Entity",5]],"aka":["_GET_SHAPE_TEST_RESULT_EX"],"doc":"Returns the result of a shape test, also returning the material of any touched surface.\n\nWhen used with an asynchronous shape test, this native should be looped until returning 0 or 2, after which the handle is invalidated.\n\nUnless the return value is 2, the other return values are undefined."},
{"name":"releaseScriptGuidFromEntity","native":"RELEASE_SCRIPT_GUID_FROM_ENTITY","hash":"0x2B3334BCA57CD799","params":[["entityHit","Entity"]],"aka":["_SHAPE_TEST_RESULT_ENTITY"],"doc":"This should be used when receiving an ambient entity from shape testing natives, but can also be used for other natives returning an 'irrelevant' entity handle."}
]},
{"id":"SOCIALCLUB","title":"Social Club","doc":"Social Club inbox, profanity checks, licence plates and presence.","natives":[
{"name":"scInboxGetTotalNumMessages","native":"SC_INBOX_GET_TOTAL_NUM_MESSAGES","hash":"0x03A93FF1A2CA0864","ret":"int","blocked":"rockstar","aka":["_GET_TOTAL_SC_INBOX_IDS"]},
{"name":"scInboxGetMessageTypeAtIndex","native":"SC_INBOX_GET_MESSAGE_TYPE_AT_INDEX","hash":"0xBB8EA16ECBC976C4","params":[["msgIndex","int"]],"ret":"Hash","blocked":"rockstar"},
{"name":"scInboxGetMessageIsReadAtIndex","native":"SC_INBOX_GET_MESSAGE_IS_READ_AT_INDEX","hash":"0x93028F1DB42BFD08","params":[["msgIndex","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scInboxSetMessageAsReadAtIndex","native":"SC_INBOX_SET_MESSAGE_AS_READ_AT_INDEX","hash":"0x2C015348CF19CA1D","params":[["msgIndex","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scInboxMessageGetDataInt","native":"SC_INBOX_MESSAGE_GET_DATA_INT","hash":"0xA00EFE4082C4056E","params":[["p0","int"],["context","string"]],"ret":"BOOL","outs":[["out","int",2]],"blocked":"rockstar"},
{"name":"scInboxMessageGetDataBool","native":"SC_INBOX_MESSAGE_GET_DATA_BOOL","hash":"0xFFE5C16F402D851D","params":[["p0","int"],["p1","string"]],"ret":"BOOL","blocked":"rockstar","aka":["_SC_INBOX_MESSAGE_GET_DATA_BOOL"]},
{"name":"scInboxMessageGetDataString","native":"SC_INBOX_MESSAGE_GET_DATA_STRING","hash":"0x7572EF42FC6A9B6D","params":[["p0","int"],["context","string"]],"ret":"BOOL","outs":[["out","string",2,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scInboxMessageDoApply","native":"SC_INBOX_MESSAGE_DO_APPLY","hash":"0x9A2C8064B6C1E41A","params":[["p0","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_SC_INBOX_MESSAGE_PUSH"]},
{"name":"scInboxMessageGetRawTypeAtIndex","native":"SC_INBOX_MESSAGE_GET_RAW_TYPE_AT_INDEX","hash":"0xF3E31D16CBDCB304","params":[["p0","int"]],"ret":"string","blocked":"rockstar","aka":["_SC_INBOX_MESSAGE_GET_STRING"]},
{"name":"scInboxMessagePushGamerT0RecipList","native":"SC_INBOX_MESSAGE_PUSH_GAMER_T0_RECIP_LIST","hash":"0xDA024BDBD600F44A","params":[["gamerHandle","Any*"]],"blocked":"rockstar"},
{"name":"scInboxSendUgcstatupdateToRecipList","native":"SC_INBOX_SEND_UGCSTATUPDATE_TO_RECIP_LIST","hash":"0xA68D3D229F4F3B06","params":[["data","Any*"]],"blocked":"rockstar","aka":["_SC_INBOX_MESSAGE_SEND_UGC_STAT_UPDATE_EVENT"]},
{"name":"scInboxMessageGetUgcdata","native":"SC_INBOX_MESSAGE_GET_UGCDATA","hash":"0x69D82604A1A5A254","params":[["p0","int"],["p1","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scInboxGetBountyDataAtIndex","native":"SC_INBOX_GET_BOUNTY_DATA_AT_INDEX","hash":"0x87E0052F08BD64E6","params":[["index","int"],["outData","Any*"]],"ret":"BOOL","blocked":"rockstar","aka":["_SC_INBOX_MESSAGE_GET_BOUNTY_DATA"]},
{"name":"scEmailRetrieveEmails","native":"SC_EMAIL_RETRIEVE_EMAILS","hash":"0x040ADDCBAFA1018A","params":[["offset","int"],["limit","int"]],"blocked":"rockstar","aka":["_SC_INBOX_GET_EMAILS"]},
{"name":"scEmailGetRetrievalStatus","native":"SC_EMAIL_GET_RETRIEVAL_STATUS","hash":"0x16DA8172459434AA","ret":"int","blocked":"rockstar"},
{"name":"scEmailGetNumRetrievedEmails","native":"SC_EMAIL_GET_NUM_RETRIEVED_EMAILS","hash":"0x7DB18CA8CAD5B098","ret":"int","blocked":"rockstar","since":505},
{"name":"scEmailGetEmailAtIndex","native":"SC_EMAIL_GET_EMAIL_AT_INDEX","hash":"0x4737980E8A283806","params":[["p0","int"],["p1","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scEmailMarketingEmailOpened","native":"_SC_EMAIL_MARKETING_EMAIL_OPENED","hash":"0x69AA35F3F391CDBA","params":[["index","int"],["type","Hash"]],"na":1,"since":3258},
{"name":"scEmailDeleteEmails","native":"SC_EMAIL_DELETE_EMAILS","hash":"0x44ACA259D67651DB","params":[["p0","Any*"],["p1","Any"]],"blocked":"rockstar"},
{"name":"scEmailMessagePushGamerToRecipList","native":"SC_EMAIL_MESSAGE_PUSH_GAMER_TO_RECIP_LIST","hash":"0x2330C12A7A605D16","params":[["gamerHandle","Any*"]],"blocked":"rockstar"},
{"name":"scEmailMessageClearRecipList","native":"SC_EMAIL_MESSAGE_CLEAR_RECIP_LIST","hash":"0x55DF6DB45179236E","blocked":"rockstar"},
{"name":"scEmailSendEmail","native":"SC_EMAIL_SEND_EMAIL","hash":"0x116FB94DC4B79F17","params":[["p0","string"]],"blocked":"rockstar"},
{"name":"scEmailSetCurrentEmailTag","native":"SC_EMAIL_SET_CURRENT_EMAIL_TAG","hash":"0x07DBD622D9533857","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar","since":505},
{"name":"scCacheNewRockstarMsgs","native":"SC_CACHE_NEW_ROCKSTAR_MSGS","hash":"0xBFA0A56A817C6C7D","params":[["toggle","BOOL"]],"blocked":"rockstar","aka":["_SET_HANDLE_ROCKSTAR_MESSAGE_VIA_SCRIPT"]},
{"name":"scHasNewRockstarMsg","native":"SC_HAS_NEW_ROCKSTAR_MSG","hash":"0xBC1CC91205EC8D6E","ret":"BOOL","blocked":"rockstar","aka":["_IS_ROCKSTAR_MESSAGE_READY_FOR_SCRIPT"]},
{"name":"scGetNewRockstarMsg","native":"SC_GET_NEW_ROCKSTAR_MSG","hash":"0xDF649C4E9AFDD788","ret":"string","blocked":"rockstar","aka":["_ROCKSTAR_MESSAGE_GET_STRING"]},
{"name":"scPresenceAttrSetInt","native":"SC_PRESENCE_ATTR_SET_INT","hash":"0x1F1E9682483697C7","params":[["attrHash","Hash"],["value","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scPresenceAttrSetFloat","native":"SC_PRESENCE_ATTR_SET_FLOAT","hash":"0xC4C4575F62534A24","params":[["attrHash","Hash"],["value","float"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scPresenceAttrSetString","native":"SC_PRESENCE_ATTR_SET_STRING","hash":"0x287F1F75D2803595","params":[["attrHash","Hash"],["value","string"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scPresenceSetActivityRating","native":"SC_PRESENCE_SET_ACTIVITY_RATING","hash":"0x487912FD248EFDDF","params":[["p0","Any"],["p1","float"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scGamerdataGetInt","native":"SC_GAMERDATA_GET_INT","hash":"0xC85A7127E7AD02AA","params":[["name","string"]],"ret":"BOOL","outs":[["value","int",1]],"blocked":"rockstar"},
{"name":"scGamerdataGetFloat","native":"SC_GAMERDATA_GET_FLOAT","hash":"0xA770C8EEC6FB2AC5","params":[["name","string"]],"ret":"BOOL","outs":[["value","float",1]],"blocked":"rockstar"},
{"name":"scGamerdataGetBool","native":"SC_GAMERDATA_GET_BOOL","hash":"0x8416FE4E4629D7D7","params":[["name","string"]],"ret":"BOOL","blocked":"rockstar","aka":["_SC_GET_IS_PROFILE_ATTRIBUTE_SET"]},
{"name":"scGamerdataGetString","native":"SC_GAMERDATA_GET_STRING","hash":"0x7FFCBFEE44ECFABF","params":[["name","string"]],"ret":"BOOL","outs":[["value","string",1,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scGamerdataGetActiveXpBonus","native":"SC_GAMERDATA_GET_ACTIVE_XP_BONUS","hash":"0x2D874D4AE612A65F","ret":"BOOL","outs":[["value","float",0]],"blocked":"rockstar"},
{"name":"scProfanityCheckString","native":"SC_PROFANITY_CHECK_STRING","hash":"0x75632C5ECD7ED843","params":[["string","string"]],"ret":"BOOL","outs":[["token","int",1]],"blocked":"rockstar","aka":["_SC_START_CHECK_STRING_TASK"],"doc":"Starts a task to check an entered string for profanity on the ROS/Social Club services.\n\nSee also: 1753344C770358AE, 82E4A58BABC15AE7."},
{"name":"scProfanityCheckStringUgc","native":"SC_PROFANITY_CHECK_STRING_UGC","hash":"0xEB2BF817463DFA28","params":[["string","string"]],"ret":"BOOL","outs":[["token","int",1]],"blocked":"rockstar","since":678,"aka":["_SC_PROFANITY_CHECK_UGC_STRING"]},
{"name":"scProfanityGetCheckIsValid","native":"SC_PROFANITY_GET_CHECK_IS_VALID","hash":"0x1753344C770358AE","params":[["token","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_SC_HAS_CHECK_STRING_TASK_COMPLETED"]},
{"name":"scProfanityGetCheckIsPending","native":"SC_PROFANITY_GET_CHECK_IS_PENDING","hash":"0x82E4A58BABC15AE7","params":[["token","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_SC_GET_CHECK_STRING_STATUS"]},
{"name":"scProfanityGetStringPassed","native":"SC_PROFANITY_GET_STRING_PASSED","hash":"0x85535ACF97FC0969","params":[["token","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scProfanityGetStringStatus","native":"SC_PROFANITY_GET_STRING_STATUS","hash":"0x930DE22F07B1CCE3","params":[["token","int"]],"ret":"int","blocked":"rockstar"},
{"name":"scProfanityGetProfaneWord","native":"SC_PROFANITY_GET_PROFANE_WORD","hash":"0x75CC8931A11128C9","params":[["token","int"]],"ret":"BOOL","outs":[["outProfaneWord","string",1,"Text the game writes into a buffer."]],"na":1,"since":3258,"doc":"Retrieves the profane part of the string with max size of 128.\nReturns true if profane term was retrieved."},
{"name":"scLicenseplateCheckString","native":"SC_LICENSEPLATE_CHECK_STRING","hash":"0xF6BAAAF762E1BF40","params":[["p0","string"]],"ret":"BOOL","outs":[["p1","int",1]],"blocked":"rockstar"},
{"name":"scLicenseplateGetCheckIsValid","native":"SC_LICENSEPLATE_GET_CHECK_IS_VALID","hash":"0xF22CA0FD74B80E7A","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scLicenseplateGetCheckIsPending","native":"SC_LICENSEPLATE_GET_CHECK_IS_PENDING","hash":"0x9237E334F6E43156","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scLicenseplateGetCount","native":"SC_LICENSEPLATE_GET_COUNT","hash":"0x700569DBA175A77C","params":[["token","int"]],"ret":"int","blocked":"rockstar"},
{"name":"scLicenseplateGetPlate","native":"SC_LICENSEPLATE_GET_PLATE","hash":"0x1D4446A62D35B0D0","params":[["token","int"],["plateIndex","int"]],"ret":"string","blocked":"rockstar"},
{"name":"scLicenseplateGetPlateData","native":"SC_LICENSEPLATE_GET_PLATE_DATA","hash":"0x2E89990DDFF670C3","params":[["token","int"],["plateIndex","int"]],"ret":"string","blocked":"rockstar"},
{"name":"scLicenseplateSetPlateData","native":"SC_LICENSEPLATE_SET_PLATE_DATA","hash":"0xD0EE05FE193646EA","params":[["oldPlateText","string"],["newPlateText","string"],["plateData","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scLicenseplateAdd","native":"SC_LICENSEPLATE_ADD","hash":"0x1989C6E6F67E76A8","params":[["plateText","string"],["plateData","Any*"]],"ret":"BOOL","outs":[["token","int",2]],"blocked":"rockstar"},
{"name":"scLicenseplateGetAddIsPending","native":"SC_LICENSEPLATE_GET_ADD_IS_PENDING","hash":"0x07C61676E5BB52CD","params":[["token","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scLicenseplateGetAddStatus","native":"SC_LICENSEPLATE_GET_ADD_STATUS","hash":"0x8147FFF6A718E1AD","params":[["token","int"]],"ret":"int","blocked":"rockstar"},
{"name":"scLicenseplateIsvalid","native":"SC_LICENSEPLATE_ISVALID","hash":"0x0F73393BAC7E6730","params":[["plateText","string"]],"ret":"BOOL","outs":[["token","int",1]],"blocked":"rockstar"},
{"name":"scLicenseplateGetIsvalidIsPending","native":"SC_LICENSEPLATE_GET_ISVALID_IS_PENDING","hash":"0xD302E99EDF0449CF","params":[["token","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scLicenseplateGetIsvalidStatus","native":"SC_LICENSEPLATE_GET_ISVALID_STATUS","hash":"0x5C4EBFFA98BDB41C","params":[["token","int"]],"ret":"int","blocked":"rockstar"},
{"name":"scCommunityEventIsActive","native":"SC_COMMUNITY_EVENT_IS_ACTIVE","hash":"0xFF8F3A92B75ED67A","ret":"BOOL","blocked":"rockstar"},
{"name":"scCommunityEventGetEventId","native":"SC_COMMUNITY_EVENT_GET_EVENT_ID","hash":"0x4ED9C8D6DA297639","ret":"int","blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataInt","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_INT","hash":"0x710BCDA8071EDED1","params":[["p0","string"]],"ret":"BOOL","outs":[["p1","int",1]],"blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataFloat","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_FLOAT","hash":"0x50A8A36201DBF83E","params":[["p0","string"]],"ret":"BOOL","outs":[["p1","float",1]],"blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataString","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_STRING","hash":"0x9DE5D2F723575ED0","params":[["p0","string"]],"ret":"BOOL","outs":[["p1","string",1,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scCommunityEventGetDisplayName","native":"SC_COMMUNITY_EVENT_GET_DISPLAY_NAME","hash":"0xC2C97EA97711D1AE","ret":"BOOL","outs":[["p0","string",0,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scCommunityEventIsActiveForType","native":"SC_COMMUNITY_EVENT_IS_ACTIVE_FOR_TYPE","hash":"0x450819D8CF90C416","params":[["p0","string"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scCommunityEventGetEventIdForType","native":"SC_COMMUNITY_EVENT_GET_EVENT_ID_FOR_TYPE","hash":"0x4A7D6E727F941747","params":[["p0","string"]],"ret":"int","blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataIntForType","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_INT_FOR_TYPE","hash":"0xE75A4A2E5E316D86","params":[["p0","string"],["p2","string"]],"ret":"BOOL","outs":[["p1","int",1]],"blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataFloatForType","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_FLOAT_FOR_TYPE","hash":"0x2570E26BE63964E3","params":[["p0","string"],["p2","string"]],"ret":"BOOL","outs":[["p1","float",1]],"blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataStringForType","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_STRING_FOR_TYPE","hash":"0x1D12A56FC95BE92E","params":[["p0","string"],["p2","string"]],"ret":"BOOL","outs":[["p1","string",1,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scCommunityEventGetDisplayNameForType","native":"SC_COMMUNITY_EVENT_GET_DISPLAY_NAME_FOR_TYPE","hash":"0x33DF47CC0642061B","params":[["p1","string"]],"ret":"BOOL","outs":[["p0","string",0,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scCommunityEventIsActiveById","native":"SC_COMMUNITY_EVENT_IS_ACTIVE_BY_ID","hash":"0xA468E0BE12B12C70","params":[["p0","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataIntById","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_INT_BY_ID","hash":"0x8CC469AB4D349B7C","params":[["p0","int"],["p1","string"]],"ret":"BOOL","outs":[["p2","int",2]],"blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataFloatById","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_FLOAT_BY_ID","hash":"0xC5A35C73B68F3C49","params":[["p0","int"],["p1","string"]],"ret":"BOOL","outs":[["p2","float",2]],"blocked":"rockstar"},
{"name":"scCommunityEventGetExtraDataStringById","native":"SC_COMMUNITY_EVENT_GET_EXTRA_DATA_STRING_BY_ID","hash":"0x699E4A5C8C893A18","params":[["p0","int"],["p1","string"]],"ret":"BOOL","outs":[["p2","string",2,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scCommunityEventGetDisplayNameById","native":"SC_COMMUNITY_EVENT_GET_DISPLAY_NAME_BY_ID","hash":"0x19853B5B17D77BCA","params":[["p0","int"]],"ret":"BOOL","outs":[["p1","string",1,"Text the game writes into a buffer."]],"blocked":"rockstar"},
{"name":"scTransitionNewsShow","native":"SC_TRANSITION_NEWS_SHOW","hash":"0x6BFB12CE158E3DD4","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scTransitionNewsShowTimed","native":"SC_TRANSITION_NEWS_SHOW_TIMED","hash":"0xFE4C1D0D3B9CC17E","params":[["p0","Any"],["p1","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"scTransitionNewsShowNextItem","native":"SC_TRANSITION_NEWS_SHOW_NEXT_ITEM","hash":"0xD8122C407663B995","ret":"BOOL","blocked":"rockstar"},
{"name":"scTransitionNewsHasExtraDataTu","native":"SC_TRANSITION_NEWS_HAS_EXTRA_DATA_TU","hash":"0x3001BEF2FECA3680","ret":"BOOL","blocked":"rockstar"},
{"name":"scTransitionNewsGetExtraDataIntTu","native":"SC_TRANSITION_NEWS_GET_EXTRA_DATA_INT_TU","hash":"0x92DA6E70EF249BD1","params":[["p0","string"]],"ret":"BOOL","outs":[["p1","int",1]],"blocked":"rockstar"},
{"name":"scTransitionNewsEnd","native":"SC_TRANSITION_NEWS_END","hash":"0x675721C9F644D161","blocked":"rockstar"},
{"name":"scPauseNewsInitStoryType","native":"SC_PAUSE_NEWS_INIT_STORY_TYPE","params":[["storyType","int"],["textOnly","BOOL"]],"ret":"BOOL","na":1},
{"name":"scPauseNewsGetPendingStory","native":"SC_PAUSE_NEWS_GET_PENDING_STORY","hash":"0x8A4416C0DB05FA66","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar","since":1290,"doc":"Fills some 0x30 sized struct"},
{"name":"scPauseNewsShutdown","native":"SC_PAUSE_NEWS_SHUTDOWN","hash":"0xEA95C0853A27888E","blocked":"rockstar","since":1290},
{"name":"scAccountInfoGetNickname","native":"SC_ACCOUNT_INFO_GET_NICKNAME","hash":"0x198D161F458ECC7F","ret":"string","blocked":"rockstar","aka":["_SC_GET_NICKNAME"],"doc":"Returns the nickname of the logged-in Rockstar Social Club account."},
{"name":"scAchievementInfoStatus","native":"SC_ACHIEVEMENT_INFO_STATUS","hash":"0x225798743970412B","ret":"BOOL","outs":[["p0","int",0]],"blocked":"rockstar"},
{"name":"scHasAchievementBeenPassed","native":"SC_HAS_ACHIEVEMENT_BEEN_PASSED","hash":"0x418DC16FAE452C1C","params":[["achievementId","int"]],"ret":"BOOL","blocked":"rockstar","aka":["_SC_GET_HAS_ACHIEVEMENT_BEEN_PASSED"],"doc":"Same as `hasAchievementBeenPassed`"}
]},
{"id":"STATS","title":"Stats","doc":"Player statistics, leaderboards and telemetry.","natives":[
{"name":"statClearSlotForReload","native":"STAT_CLEAR_SLOT_FOR_RELOAD","hash":"0xEB0A72181D4AA4AD","params":[["statSlot","int"]],"ret":"BOOL","blocked":"rockstar","doc":"Example:\n\n```\nfor (v_2 = 0; v_2 <= 4; v_2 += 1) {\n    statClearSlotForReload(v_2);\n}\n```"},
{"name":"statLoad","native":"STAT_LOAD","hash":"0xA651443F437B1CE6","params":[["statSlot","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statSave","native":"STAT_SAVE","hash":"0xE07BCA305B82D2FD","params":[["p0","int"],["p1","BOOL"],["p2","int"],["p3","BOOL"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statSetOpenSavetypeInJob","native":"STAT_SET_OPEN_SAVETYPE_IN_JOB","hash":"0x5688585E6D563CD8","params":[["p0","int"]],"blocked":"rockstar"},
{"name":"statLoadPending","native":"STAT_LOAD_PENDING","hash":"0xA1750FFAFA181661","params":[["statSlot","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statSavePending","native":"STAT_SAVE_PENDING","hash":"0x7D3A583856F2C5AC","ret":"BOOL","blocked":"rockstar"},
{"name":"statSavePendingOrRequested","native":"STAT_SAVE_PENDING_OR_REQUESTED","hash":"0xBBB6AD006F1BBEA3","ret":"BOOL","blocked":"rockstar"},
{"name":"statDeleteSlot","native":"STAT_DELETE_SLOT","hash":"0x49A49BED12794D70","params":[["p0","int"]],"ret":"BOOL","blocked":"rockstar","doc":"p0 is characterSlot? seems range from 0 to 2"},
{"name":"statSlotIsLoaded","native":"STAT_SLOT_IS_LOADED","hash":"0x0D0A9F0E7BD91E3C","params":[["statSlot","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statCloudSlotLoadFailed","native":"STAT_CLOUD_SLOT_LOAD_FAILED","hash":"0x7F2C4CDF2E82DF4C","params":[["p0","int"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statCloudSlotLoadFailedCode","native":"STAT_CLOUD_SLOT_LOAD_FAILED_CODE","hash":"0xE496A53BA5F50A56","params":[["p0","Any"]],"ret":"int","blocked":"rockstar"},
{"name":"statSetBlockSaves","native":"STAT_SET_BLOCK_SAVES","hash":"0xF434A10BA01C37D0","params":[["toggle","BOOL"]],"blocked":"rockstar"},
{"name":"statGetBlockSaves","native":"STAT_GET_BLOCK_SAVES","hash":"0x6A7F19756F1A9016","ret":"BOOL","blocked":"rockstar","since":2060},
{"name":"statCloudSlotSaveFailed","native":"STAT_CLOUD_SLOT_SAVE_FAILED","hash":"0x7E6946F68A38B74F","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statClearPendingSaves","native":"STAT_CLEAR_PENDING_SAVES","hash":"0xA8733668D1047B51","params":[["p0","Any"]],"blocked":"rockstar"},
{"name":"statLoadDirtyReadDetected","native":"STAT_LOAD_DIRTY_READ_DETECTED","hash":"0xECB41AC6AB754401","ret":"BOOL","blocked":"rockstar"},
{"name":"statClearDirtyReadDetected","native":"STAT_CLEAR_DIRTY_READ_DETECTED","hash":"0x9B4BD21D69B1E609","blocked":"rockstar"},
{"name":"statGetLoadSafeToProgressToMpFromSp","native":"STAT_GET_LOAD_SAFE_TO_PROGRESS_TO_MP_FROM_SP","hash":"0xC0E0D686DDFC6EAE","ret":"BOOL","blocked":"rockstar"},
{"name":"getStatHashForCharacterStat","native":"_GET_STAT_HASH_FOR_CHARACTER_STAT","hash":"0xD69CE161FE614531","params":[["dataType","int"],["statIndex","int"],["charSlot","int"]],"ret":"Hash","na":1,"since":2944,"doc":"Returns stat hash based on dataType, statIndex/statId and characterSlot."},
{"name":"statSetInt","native":"STAT_SET_INT","hash":"0xB3271D7AB655B441","params":[["statName","Hash"],["value","int"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar","doc":"Example:\n\n```\nstatSetInt(getHashKey(\"MPPLY_KILLS_PLAYERS\"), 1337, true);\n```"},
{"name":"statSetFloat","native":"STAT_SET_FLOAT","hash":"0x4851997F37FE9B3C","params":[["statName","Hash"],["value","float"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar","doc":"Example:\n\n```\nstatSetFloat(getHashKey(\"MP0_WEAPON_ACCURACY\"), 66.6f, true);\n```"},
{"name":"statSetBool","native":"STAT_SET_BOOL","hash":"0x4B33C4243DE0C432","params":[["statName","Hash"],["value","BOOL"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar","doc":"Example:\n\n```\nstatSetBool(getHashKey(\"MPPLY_MELEECHLENGECOMPLETED\"), trur, true);\n```"},
{"name":"statSetGxtLabel","native":"STAT_SET_GXT_LABEL","hash":"0x17695002FD8B2AE0","params":[["statName","Hash"],["value","string"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar","doc":"The following values have been found in the decompiled scripts:\n\"RC_ABI1\"\n\"RC_ABI2\"\n\"RC_BA1\"\n\"RC_BA2\"\n\"RC_BA3\"\n\"RC_BA3A\"\n\"RC_BA3C\"\n\"RC_BA4\"\n\"RC_DRE1\"\n\"RC_EPS1\"\n\"RC_EPS2\"\n\"RC_EPS3\"\n\"RC_EPS4\"\n\"RC_EPS5\"\n\"RC_EPS6\"\n\"RC_EPS7\"\n\"RC_EPS8\"\n\"RC_EXT1\"\n\"RC_EXT2\"\n\"RC_EXT3\"\n\"RC_EXT4\"\n\"RC_FAN1\"\n\"RC_FAN2\"\n\"RC_FAN3\"\n\"RC_HAO1\"\n\"RC_HUN1\"\n\"RC_HUN2\"\n\"RC_JOS1\"\n\"RC_JOS2\"\n\"RC_JOS3\"\n\"RC_JOS4\"\n\"RC_MAU1\"\n\"RC_MIN1\"\n\"RC_MIN2\"\n\"RC_MIN3\"\n\"RC_MRS1\"\n\"RC_MRS2\"\n\"RC_NI1\"\n\"RC_NI1A\"\n\"RC_NI1B\"\n\"RC_NI1C\"\n\"RC_NI1D\"\n\"RC_NI2\"\n\"RC_NI3\"\n\"RC_OME1\"\n\"RC_OME2\"\n\"RC_PA1\"\n\"RC_PA2\"\n\"RC_PA3\"\n\"RC_PA3A\"\n\"RC_PA3B\"\n\"RC_PA4\"\n\"RC_RAM1\"\n\"RC_RAM2\"\n\"RC_RAM3\"\n\"RC_RAM4\"\n\"RC_RAM5\"\n\"RC_SAS1\"\n\"RC_TON1\"\n\"RC_TON2\"\n\"RC_TON3\"\n\"RC_TON4\"\n\"RC_TON5\""},
{"name":"statSetDate","native":"STAT_SET_DATE","hash":"0x2C29BFB64F4FCBE4","params":[["statName","Hash"],["value","Any*"],["numFields","int"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar","doc":"'value' is a structure to a structure, 'numFields' is how many fields there are in said structure (usually 7).\n\nThe structure looks like this:\n\n```\nint year\nint month\nint day\nint hour\nint minute\nint second\nint millisecond\n```\n\nThe decompiled scripts use `getPosixTime` to fill this structure."},
{"name":"statSetString","native":"STAT_SET_STRING","hash":"0xA87B2335D12531D7","params":[["statName","Hash"],["value","string"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statSetPos","native":"STAT_SET_POS","hash":"0xDB283FDE680FE72E","params":[["statName","Hash"],["x","float"],["y","float"],["z","float"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statSetMaskedInt","native":"STAT_SET_MASKED_INT","hash":"0x7BBB1B54583ED410","params":[["statName","Hash"],["p1","int"],["p2","int"],["p3","int"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statSetUserId","native":"STAT_SET_USER_ID","hash":"0x8CDDF1E452BABE11","params":[["statName","Hash"],["value","string"],["save","BOOL"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statSetCurrentPosixTime","native":"STAT_SET_CURRENT_POSIX_TIME","hash":"0xC2F84B7F9C4D0C61","params":[["statName","Hash"],["p1","BOOL"]],"ret":"BOOL","blocked":"rockstar","doc":"p1 always true."},
{"name":"statGetInt","native":"STAT_GET_INT","hash":"0x767FBC2AC802EF3D","params":[["statHash","Hash"],["p2","int"]],"ret":"BOOL","outs":[["outValue","int",1]],"blocked":"rockstar","doc":"p2 appears to always be -1"},
{"name":"statGetFloat","native":"STAT_GET_FLOAT","hash":"0xD7AE6C9C9C6AC54C","params":[["statHash","Hash"],["p2","Any"]],"ret":"BOOL","outs":[["outValue","float",1]],"blocked":"rockstar"},
{"name":"statGetBool","native":"STAT_GET_BOOL","hash":"0x11B5E6D2AE73F48E","params":[["statHash","Hash"],["p2","Any"]],"ret":"BOOL","outs":[["outValue","BOOL",1]],"blocked":"rockstar"},
{"name":"statGetDate","native":"STAT_GET_DATE","hash":"0x8B0FACEFC36C824B","params":[["statHash","Hash"],["outValue","Any*"],["numFields","int"],["p3","Any"]],"ret":"BOOL","blocked":"rockstar","doc":"p3 is probably characterSlot or BOOL save, always -1"},
{"name":"statGetString","native":"STAT_GET_STRING","hash":"0xE50384ACC2C3DB74","params":[["statHash","Hash"],["p1","int"]],"ret":"string","blocked":"rockstar","doc":"p1 is always -1 in the script files"},
{"name":"statGetPos","native":"STAT_GET_POS","hash":"0x350F82CCB186AA1B","params":[["statName","Hash"],["p4","Any"]],"ret":"BOOL","outs":[["outX","float",1],["outY","float",2],["outZ","float",3]],"blocked":"rockstar","doc":"p3 is probably characterSlot or BOOL save, always -1"},
{"name":"statGetMaskedInt","native":"STAT_GET_MASKED_INT","hash":"0x655185A06D9EEAAB","params":[["statHash","Hash"],["p2","int"],["p3","int"],["p4","Any"]],"ret":"BOOL","outs":[["outValue","int",1]],"blocked":"rockstar","doc":"p4 is probably characterSlot or BOOL save"},
{"name":"statGetUserId","native":"STAT_GET_USER_ID","hash":"0x2365C388E393BBE2","params":[["statHash","Hash"]],"ret":"string","blocked":"rockstar","doc":"Returns the rockstar ID (user id) value of a given stat. Returns \"STAT_UNKNOWN\" if the statHash is invalid or the stat has no userId"},
{"name":"statGetLicensePlate","native":"STAT_GET_LICENSE_PLATE","hash":"0x5473D4195058B2E4","params":[["statName","Hash"]],"ret":"string","blocked":"rockstar"},
{"name":"statSetLicensePlate","native":"STAT_SET_LICENSE_PLATE","hash":"0x69FF13266D7296DA","params":[["statName","Hash"],["str","string"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"statIncrement","native":"STAT_INCREMENT","hash":"0x9B5A68C6489E9909","params":[["statName","Hash"],["value","float"]],"blocked":"rockstar"},
{"name":"statCommunityStartSynch","native":"STAT_COMMUNITY_START_SYNCH","hash":"0x5A556B229A169402","ret":"BOOL","blocked":"rockstar"},
{"name":"statCommunitySynchIsPending","native":"STAT_COMMUNITY_SYNCH_IS_PENDING","hash":"0xB1D2BB1E1631F5B1","ret":"BOOL","blocked":"rockstar"},
{"name":"statCommunityGetHistory","native":"STAT_COMMUNITY_GET_HISTORY","hash":"0xBED9F5693F34ED17","params":[["statName","Hash"],["p1","int"]],"ret":"BOOL","outs":[["outValue","float",2]],"blocked":"rockstar"},
{"name":"statResetAllOnlineCharacterStats","native":"STAT_RESET_ALL_ONLINE_CHARACTER_STATS","hash":"0x26D7399B9587FE89","params":[["p0","int"]],"blocked":"rockstar","doc":"p0 seems to range from 0 to 7"},
{"name":"statLocalResetAllOnlineCharacterStats","native":"STAT_LOCAL_RESET_ALL_ONLINE_CHARACTER_STATS","hash":"0xA78B8FA58200DA56","params":[["p0","int"]],"blocked":"rockstar","doc":"p0 seems to range from 0 to 7"},
{"name":"statGetNumberOfDays","native":"STAT_GET_NUMBER_OF_DAYS","hash":"0xE0E854F5280FB769","params":[["statName","Hash"]],"ret":"int","blocked":"rockstar"},
{"name":"statGetNumberOfHours","native":"STAT_GET_NUMBER_OF_HOURS","hash":"0xF2D4B2FE415AAFC3","params":[["statName","Hash"]],"ret":"int","blocked":"rockstar"},
{"name":"statGetNumberOfMinutes","native":"STAT_GET_NUMBER_OF_MINUTES","hash":"0x7583B4BE4C5A41B5","params":[["statName","Hash"]],"ret":"int","blocked":"rockstar"},
{"name":"statGetNumberOfSeconds","native":"STAT_GET_NUMBER_OF_SECONDS","hash":"0x2CE056FF3723F00B","params":[["statName","Hash"]],"ret":"int","blocked":"rockstar"},
{"name":"statSetProfileSettingValue","native":"STAT_SET_PROFILE_SETTING_VALUE","hash":"0x68F01422BE1D838F","params":[["profileSetting","int"],["value","int"]],"blocked":"rockstar","aka":["_STAT_SET_PROFILE_SETTING"],"doc":"Does not take effect immediately, unfortunately.\n\nprofileSetting seems to only be 936, 937 and 938 in scripts"},
{"name":"statsCharacterCreationOutfitSelected","native":"STATS_CHARACTER_CREATION_OUTFIT_SELECTED","params":[["outfit","int"]],"na":1},
{"name":"statsCompletedCharacterCreation","native":"STATS_COMPLETED_CHARACTER_CREATION","hash":"0xC01D2470F22CDE5A","params":[["p0","Any"]],"blocked":"rockstar","since":2372,"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"packedStatGetIntStatIndex","native":"PACKED_STAT_GET_INT_STAT_INDEX","hash":"0x94F12ABF9C79E339","params":[["p0","int"]],"ret":"int","blocked":"rockstar","aka":["_STAT_GET_PACKED_INT_MASK"],"doc":"Needs more research. Possibly used to calculate the \"mask\" when calling \"`statSetMaskedInt`\"?"},
{"name":"getPackedIntStatKey","native":"GET_PACKED_INT_STAT_KEY","hash":"0x61E111E323419E07","params":[["index","int"],["spStat","BOOL"],["charStat","BOOL"],["character","int"]],"ret":"Hash","blocked":"rockstar","aka":["_GET_PSTAT_INT_HASH"]},
{"name":"getPackedTuIntStatKey","native":"GET_PACKED_TU_INT_STAT_KEY","hash":"0xD16C2AD6B8E32854","params":[["index","int"],["spStat","BOOL"],["charStat","BOOL"],["character","int"]],"ret":"Hash","blocked":"rockstar","aka":["_GET_TUPSTAT_INT_HASH","_GET_PACKED_TITLE_UPDATE_INT_STAT_KEY"]},
{"name":"getPackedNgIntStatKey","native":"GET_PACKED_NG_INT_STAT_KEY","hash":"0x2B4CDCA6F07FF3DA","params":[["index","int"],["spStat","BOOL"],["charStat","BOOL"],["character","int"],["section","string"]],"ret":"Hash","blocked":"rockstar","aka":["_GET_NGSTAT_INT_HASH"],"doc":"Needs more research. Gets the stat name of a masked int?\n\nsection - values used in the decompiled scripts:\n\"_NGPSTAT_INT\"\n\"_MP_NGPSTAT_INT\"\n\"_MP_LRPSTAT_INT\"\n\"_MP_APAPSTAT_INT\"\n\"_MP_LR2PSTAT_INT\"\n\"_MP_BIKEPSTAT_INT\"\n\"_MP_IMPEXPPSTAT_INT\"\n\"_MP_GUNRPSTAT_INT\"\n\"_NGDLCPSTAT_INT\"\n\"_MP_NGDLCPSTAT_INT\"\n\"_DLCSMUGCHARPSTAT_INT\"\n\"_GANGOPSPSTAT_INT\"\n\"_BUSINESSBATPSTAT_INT\"\n\"_ARENAWARSPSTAT_INT\"\n\"_CASINOPSTAT_INT\"\n\"_CASINOHSTPSTAT_INT\""},
{"name":"getPackedStatBoolCode","native":"GET_PACKED_STAT_BOOL_CODE","hash":"0xDA7EBFC49AE3F1B0","params":[["index","int"],["characterSlot","int"]],"ret":"BOOL","blocked":"rockstar","since":2545,"aka":["_GET_PACKED_STAT_BOOL"]},
{"name":"getPackedStatIntCode","native":"GET_PACKED_STAT_INT_CODE","hash":"0x0BC900A6FE73770C","params":[["index","int"],["characterSlot","int"]],"ret":"int","blocked":"rockstar","since":2545,"aka":["_GET_PACKED_STAT_INT"]},
{"name":"setPackedStatBoolCode","native":"SET_PACKED_STAT_BOOL_CODE","hash":"0xDB8A58AEAA67CD07","params":[["index","int"],["value","BOOL"],["characterSlot","int"]],"blocked":"rockstar","since":2545,"aka":["_SET_PACKED_STAT_BOOL"]},
{"name":"setPackedStatIntCode","native":"SET_PACKED_STAT_INT_CODE","hash":"0x1581503AE529CD2E","params":[["index","int"],["value","int"],["characterSlot","int"]],"blocked":"rockstar","since":2545,"aka":["_SET_PACKED_STAT_INT"]},
{"name":"playstatsBackgroundScriptAction","native":"PLAYSTATS_BACKGROUND_SCRIPT_ACTION","hash":"0x5009DFD741329729","params":[["action","string"],["value","int"]],"blocked":"rockstar"},
{"name":"playstatsFlowLow","native":"_PLAYSTATS_FLOW_LOW","hash":"0xE6A27CDA42887F93","params":[["posX","float"],["posY","float"],["posZ","float"],["action","string"],["p4","BOOL"],["p5","int"]],"na":1,"since":2944},
{"name":"playstatsFlowMedium","native":"_PLAYSTATS_FLOW_MEDIUM","hash":"0xC4493521BAA12CCE","params":[["posX","float"],["posY","float"],["posZ","float"],["action","string"],["p4","BOOL"],["p5","int"]],"na":1,"since":3095},
{"name":"playstatsFlowHigh","native":"_PLAYSTATS_FLOW_HIGH","hash":"0xCFB0E9C3456319EA","params":[["posX","float"],["posY","float"],["posZ","float"],["action","string"],["p4","BOOL"],["p5","int"]],"na":1,"since":3258},
{"name":"playstatsNpcInvite","native":"PLAYSTATS_NPC_INVITE","hash":"0x93054C88E6AA7C44","params":[["p0","string"]],"blocked":"rockstar"},
{"name":"playstatsAwardXp","native":"PLAYSTATS_AWARD_XP","hash":"0x46F917F6B4128FE4","params":[["amount","int"],["type","Hash"],["category","Hash"]],"blocked":"rockstar"},
{"name":"playstatsRankUp","native":"PLAYSTATS_RANK_UP","hash":"0xC7F2DE41D102BFB4","params":[["rank","int"]],"blocked":"rockstar"},
{"name":"playstatsStartedSessionInOfflinemode","native":"PLAYSTATS_STARTED_SESSION_IN_OFFLINEMODE","hash":"0x098760C7461724CD","blocked":"rockstar"},
{"name":"playstatsActivityDone","native":"PLAYSTATS_ACTIVITY_DONE","hash":"0xA071E0ED98F91286","params":[["p0","int"],["activityId","int"],["p2","Any"]],"blocked":"rockstar"},
{"name":"playstatsLeaveJobChain","native":"PLAYSTATS_LEAVE_JOB_CHAIN","hash":"0xC5BE134EC7BA96A0","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar"},
{"name":"playstatsMissionStarted","native":"PLAYSTATS_MISSION_STARTED","hash":"0xC19A2925C34D2231","params":[["p0","string"],["p1","Any"],["p2","Any"],["p3","BOOL"]],"blocked":"rockstar"},
{"name":"playstatsMissionOver","native":"PLAYSTATS_MISSION_OVER","hash":"0x7C4BB33A8CED7324","params":[["p0","string"],["p1","Any"],["p2","Any"],["p3","BOOL"],["p4","BOOL"],["p5","BOOL"]],"blocked":"rockstar"},
{"name":"playstatsMissionCheckpoint","native":"PLAYSTATS_MISSION_CHECKPOINT","hash":"0xC900596A63978C1D","params":[["p0","string"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar"},
{"name":"playstatsRandomMissionDone","native":"PLAYSTATS_RANDOM_MISSION_DONE","hash":"0x71862B1D855F32E1","params":[["name","string"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar"},
{"name":"playstatsRosBet","native":"PLAYSTATS_ROS_BET","hash":"0x121FB4DDDC2D5291","params":[["amount","int"],["act","int"],["player","Player"],["cm","float"]],"blocked":"rockstar"},
{"name":"playstatsRaceCheckpoint","native":"PLAYSTATS_RACE_CHECKPOINT","hash":"0x9C375C315099DDE4","params":[["p0","Vehicle"],["p1","Any"],["p2","int"],["p3","int"],["p4","Any"]],"blocked":"rockstar"},
{"name":"playstatsCreateMatchHistoryId2","native":"PLAYSTATS_CREATE_MATCH_HISTORY_ID_2","hash":"0x6DEE77AFF8C21BD1","ret":"BOOL","outs":[["playerAccountId","int",0],["posixTime","int",1]],"blocked":"rockstar"},
{"name":"playstatsMatchStarted","native":"PLAYSTATS_MATCH_STARTED","hash":"0xBC80E22DED931E3D","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar"},
{"name":"playstatsShopItem","native":"PLAYSTATS_SHOP_ITEM","hash":"0x176852ACAAC173D1","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar"},
{"name":"playstatsCrateDropMissionDone","native":"PLAYSTATS_CRATE_DROP_MISSION_DONE","hash":"0x1CAE5D2E3F9A07F0","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"]],"blocked":"rockstar","aka":["_PLAYSTATS_CRATE_DROP"]},
{"name":"playstatsCrateCreated","native":"PLAYSTATS_CRATE_CREATED","hash":"0xAFC7E5E075A96F46","params":[["p0","float"],["p1","float"],["p2","float"]],"blocked":"rockstar","aka":["_PLAYSTATS_AMBIENT_MISSION_CRATE_CREATED","_PLAYSTATS_CRATE_CREATED_MISSION_DONE"]},
{"name":"playstatsHoldUpMissionDone","native":"PLAYSTATS_HOLD_UP_MISSION_DONE","hash":"0xCB00196B31C39EB1","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","aka":["_PLAYSTATS_HOLD_UP"]},
{"name":"playstatsImportExportMissionDone","native":"PLAYSTATS_IMPORT_EXPORT_MISSION_DONE","hash":"0x2B69F5074C894811","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","aka":["_PLAYSTATS_IMP_EXP"]},
{"name":"playstatsRaceToPointMissionDone","native":"PLAYSTATS_RACE_TO_POINT_MISSION_DONE","hash":"0xADDD1C754E2E2914","params":[["p0","int"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","aka":["_PLAYSTATS_RACE_TO_POINT"]},
{"name":"playstatsAcquiredHiddenPackage","native":"PLAYSTATS_ACQUIRED_HIDDEN_PACKAGE","hash":"0x79AB33F0FBFAC40C","params":[["p0","Any"]],"blocked":"rockstar"},
{"name":"playstatsWebsiteVisited","native":"PLAYSTATS_WEBSITE_VISITED","hash":"0xDDF24D535060F811","params":[["scaleformHash","Hash"],["p1","int"]],"blocked":"rockstar"},
{"name":"playstatsFriendActivity","native":"PLAYSTATS_FRIEND_ACTIVITY","hash":"0x0F71DE29AB2258F1","params":[["p0","int"],["p1","BOOL"]],"blocked":"rockstar"},
{"name":"playstatsOddjobDone","native":"PLAYSTATS_ODDJOB_DONE","hash":"0x69DEA3E9DB727B4C","params":[["totalTimeMs","int"],["p1","int"],["p2","BOOL"]],"blocked":"rockstar","doc":"This native does absolutely nothing, just a nullsub"},
{"name":"playstatsPropChange","native":"PLAYSTATS_PROP_CHANGE","hash":"0xBA739D6D5A05D6E7","params":[["p0","Ped"],["p1","int"],["p2","int"],["p3","int"]],"blocked":"rockstar"},
{"name":"playstatsClothChange","native":"PLAYSTATS_CLOTH_CHANGE","hash":"0x34B973047A2268B9","params":[["p0","Ped"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar"},
{"name":"playstatsWeaponModeChange","native":"PLAYSTATS_WEAPON_MODE_CHANGE","hash":"0xE95C8A1875A02CA4","params":[["weaponHash","Hash"],["componentHashTo","Hash"],["componentHashFrom","Hash"]],"blocked":"rockstar","doc":"This is a typo made by R*. It's supposed to be called PLAYSTATS_WEAPON_MOD_CHANGE."},
{"name":"playstatsCheatApplied","native":"PLAYSTATS_CHEAT_APPLIED","hash":"0x6058665D72302D3F","params":[["cheat","string"]],"blocked":"rockstar"},
{"name":"playstatsJobActivityEnd","native":"PLAYSTATS_JOB_ACTIVITY_END","hash":"0xF8C54A461C3E11DC","params":[["p0","Any*"],["p1","Any*"],["p2","Any*"],["p3","Any*"]],"blocked":"rockstar"},
{"name":"playstatsJobBend","native":"PLAYSTATS_JOB_BEND","hash":"0xF5BB8DAC426A52C0","params":[["p0","Any*"],["p1","Any*"],["p2","Any*"],["p3","Any*"]],"blocked":"rockstar"},
{"name":"playstatsJobLtsEnd","native":"PLAYSTATS_JOB_LTS_END","hash":"0xA736CF7FB7C5BFF4","params":[["p0","Any*"],["p1","Any*"],["p2","Any*"],["p3","Any*"]],"blocked":"rockstar"},
{"name":"playstatsJobLtsRoundEnd","native":"PLAYSTATS_JOB_LTS_ROUND_END","hash":"0x14E0B2D1AD1044E0","params":[["p0","Any*"],["p1","Any*"],["p2","Any*"],["p3","Any*"]],"blocked":"rockstar"},
{"name":"playstatsQuickfixTool","native":"PLAYSTATS_QUICKFIX_TOOL","hash":"0x90D0622866E80445","params":[["element","int"],["item","string"]],"blocked":"rockstar"},
{"name":"playstatsIdleKick","native":"PLAYSTATS_IDLE_KICK","hash":"0x5DA3A8DE8CB6226F","params":[["msStoodIdle","int"]],"blocked":"rockstar"},
{"name":"playstatsSetJoinType","native":"PLAYSTATS_SET_JOIN_TYPE","hash":"0xD1032E482629049E","params":[["joinType","int"]],"blocked":"rockstar"},
{"name":"playstatsHeistSaveCheat","native":"PLAYSTATS_HEIST_SAVE_CHEAT","hash":"0xF4FF020A08BC8863","params":[["hash","Hash"],["p1","int"]],"blocked":"rockstar","aka":["_PLAYSTATS_HEIST_SAVE_CHEAT"]},
{"name":"playstatsAppendDirectorMetric","native":"PLAYSTATS_APPEND_DIRECTOR_METRIC","hash":"0x46326E13DA4E0546","params":[["p0","Any*"]],"blocked":"rockstar","aka":["_PLAYSTATS_DIRECTOR_MODE"]},
{"name":"playstatsAwardBadSport","native":"PLAYSTATS_AWARD_BAD_SPORT","hash":"0x47B32F5611E6E483","params":[["id","int"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_AWARD_BADSPORT"]},
{"name":"playstatsPegasusAsPersonalAircraft","native":"PLAYSTATS_PEGASUS_AS_PERSONAL_AIRCRAFT","hash":"0x9572BD4DD6B72122","params":[["modelHash","Hash"]],"blocked":"rockstar","since":1180,"aka":["_PLAYSTATS_PEGASAIRCRAFT"]},
{"name":"playstatsShopmenuNav","native":"_PLAYSTATS_SHOPMENU_NAV","hash":"0xF96E9EA876D9DC92","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2802},
{"name":"playstatsFmEventChallenges","native":"PLAYSTATS_FM_EVENT_CHALLENGES","hash":"0x6A60E43998228229","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_CHALLENGES"]},
{"name":"playstatsFmEventVehicletarget","native":"PLAYSTATS_FM_EVENT_VEHICLETARGET","hash":"0xBFAFDB5FAAA5C5AB","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_VEHICLE_TARGET"]},
{"name":"playstatsFmEventUrbanwarfare","native":"PLAYSTATS_FM_EVENT_URBANWARFARE","hash":"0x8C9D11605E59D955","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_URBAN_WARFARE"]},
{"name":"playstatsFmEventCheckpointcollection","native":"PLAYSTATS_FM_EVENT_CHECKPOINTCOLLECTION","hash":"0x3DE3AA516FB126A4","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_CHECKPOINT_COLLECTION"]},
{"name":"playstatsFmEventAtob","native":"PLAYSTATS_FM_EVENT_ATOB","hash":"0xBAA2F0490E146BE8","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_ATOB"]},
{"name":"playstatsFmEventPennedin","native":"PLAYSTATS_FM_EVENT_PENNEDIN","hash":"0x1A7CE7CD3E653485","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_PENNED_IN"]},
{"name":"playstatsFmEventPasstheparcel","native":"PLAYSTATS_FM_EVENT_PASSTHEPARCEL","hash":"0x419615486BBF1956","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_PASS_THE_PARCEL"]},
{"name":"playstatsFmEventHotproperty","native":"PLAYSTATS_FM_EVENT_HOTPROPERTY","hash":"0x84DFC579C2FC214C","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_HOT_PROPERTY"]},
{"name":"playstatsFmEventDeaddrop","native":"PLAYSTATS_FM_EVENT_DEADDROP","hash":"0x0A9C7F36E5D7B683","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_DEADDROP"]},
{"name":"playstatsFmEventKingofthecastle","native":"PLAYSTATS_FM_EVENT_KINGOFTHECASTLE","hash":"0x164C5FF663790845","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_KING_OF_THE_CASTLE"]},
{"name":"playstatsFmEventCriminaldamage","native":"PLAYSTATS_FM_EVENT_CRIMINALDAMAGE","hash":"0xEDBF6C9B0D2C65C8","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_CRIMINAL_DAMAGE"]},
{"name":"playstatsFmEventCompetitiveurbanwarfare","native":"PLAYSTATS_FM_EVENT_COMPETITIVEURBANWARFARE","hash":"0x6551B1F7F6CD46EA","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_COMPETITIVE_URBAN_WARFARE"]},
{"name":"playstatsFmEventHuntbeast","native":"PLAYSTATS_FM_EVENT_HUNTBEAST","hash":"0x2CD90358F67D0AA8","params":[["p0","Any"]],"blocked":"rockstar","since":463,"aka":["_PLAYSTATS_FREEMODE_HUNT_BEAST"]},
{"name":"playstatsPimenuHideOptions","native":"PLAYSTATS_PIMENU_HIDE_OPTIONS","hash":"0x203B381133817079","params":[["data","Any*"]],"blocked":"rockstar","since":393,"aka":["_PLAYSTATS_PI_MENU_HIDE_SETTINGS"]},
{"name":"playstatsNamedUserContent","native":"_PLAYSTATS_NAMED_USER_CONTENT","hash":"0xAA434D7D0A89A95C","params":[["isBoss","BOOL"],["bossType","int"],["bossId1","int"],["bossId2","int"],["textType","int"],["textString","string"],["textSource","int"]],"na":1,"since":3258,"doc":"Known text types: NAME_YACHT, NAME_ORG_OFFICE"},
{"name":"leaderboardsGetNumberOfColumns","native":"LEADERBOARDS_GET_NUMBER_OF_COLUMNS","hash":"0x117B45156D7EFF2E","params":[["p0","int"],["p1","Any"]],"ret":"int","blocked":"rockstar"},
{"name":"leaderboardsGetColumnId","native":"LEADERBOARDS_GET_COLUMN_ID","hash":"0xC4B5467A1886EA7E","params":[["p0","int"],["p1","int"],["p2","int"]],"ret":"int","blocked":"rockstar"},
{"name":"leaderboardsGetColumnType","native":"LEADERBOARDS_GET_COLUMN_TYPE","hash":"0xBF4FEF46DB7894D3","params":[["p0","int"],["p1","Any"],["p2","Any"]],"ret":"int","blocked":"rockstar"},
{"name":"leaderboardsReadClearAll","native":"LEADERBOARDS_READ_CLEAR_ALL","hash":"0xA34CB6E6F0DF4A0B","ret":"int","blocked":"rockstar"},
{"name":"leaderboardsReadClear","native":"LEADERBOARDS_READ_CLEAR","hash":"0x7CCE5C737A665701","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"int","blocked":"rockstar"},
{"name":"leaderboardsReadPending","native":"LEADERBOARDS_READ_PENDING","hash":"0xAC392C8483342AC2","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboardsReadAnyPending","native":"LEADERBOARDS_READ_ANY_PENDING","hash":"0xA31FD15197B192BD","ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboardsReadSuccessful","native":"LEADERBOARDS_READ_SUCCESSFUL","hash":"0x2FB19228983E832C","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadFriendsByRow","native":"LEADERBOARDS2_READ_FRIENDS_BY_ROW","hash":"0x918B101666F9CB83","params":[["p0","Any*"],["p1","Any*"],["p2","Any"],["p3","BOOL"],["p4","Any"],["p5","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadByHandle","native":"LEADERBOARDS2_READ_BY_HANDLE","hash":"0xC30713A383BFBF0E","params":[["p0","Any*"],["p1","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadByRank","native":"LEADERBOARDS2_READ_BY_RANK","hash":"0xBA2C7DB0C129449A","params":[["p0","Any*"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadByRadius","native":"LEADERBOARDS2_READ_BY_RADIUS","hash":"0x5CE587FB5A42C8C4","params":[["p0","Any*"],["p1","Any"],["p2","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadByScoreInt","native":"LEADERBOARDS2_READ_BY_SCORE_INT","hash":"0x7EEC7E4F6984A16A","params":[["p0","Any*"],["p1","Any"],["p2","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadByScoreFloat","native":"LEADERBOARDS2_READ_BY_SCORE_FLOAT","hash":"0xE662C8B759D08F3C","params":[["p0","Any*"],["p1","float"],["p2","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadRankPrediction","native":"LEADERBOARDS2_READ_RANK_PREDICTION","hash":"0xC38DC1E90D22547C","params":[["p0","Any*"],["p1","Any*"],["p2","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboards2ReadByPlaform","native":"LEADERBOARDS2_READ_BY_PLAFORM","hash":"0xF1AE5DCDBFCA2721","params":[["p0","Any*"],["gamerHandleCsv","string"],["platformName","string"]],"ret":"BOOL","blocked":"rockstar","aka":["_LEADERBOARDS2_READ_BY_PLATFORM"]},
{"name":"leaderboards2ReadGetRowDataStart","native":"LEADERBOARDS2_READ_GET_ROW_DATA_START","hash":"0xA0F93D5465B3094D","params":[["p0","Any*"]],"ret":"BOOL","blocked":"rockstar","aka":["LEADERBOARDS2_READ_BY_HELP_PURPLE_START"]},
{"name":"leaderboards2ReadGetRowDataEnd","native":"LEADERBOARDS2_READ_GET_ROW_DATA_END","hash":"0x71B008056E5692D6","blocked":"rockstar","aka":["LEADERBOARDS2_READ_BY_HELP_PURPLE_END"]},
{"name":"leaderboards2ReadGetRowDataInfo","native":"LEADERBOARDS2_READ_GET_ROW_DATA_INFO","hash":"0x34770B9CE0E03B91","params":[["p0","Any"],["p1","Any*"]],"ret":"BOOL","blocked":"rockstar","aka":["LEADERBOARDS2_READ_BY_HELP_PURPLE_INFO"]},
{"name":"leaderboards2ReadGetRowDataInt","native":"LEADERBOARDS2_READ_GET_ROW_DATA_INT","hash":"0x88578F6EC36B4A3A","params":[["p0","Any"],["p1","Any"]],"ret":"int","blocked":"rockstar","aka":["LEADERBOARDS2_READ_BY_HELP_PURPLE_INT"]},
{"name":"leaderboards2ReadGetRowDataFloat","native":"LEADERBOARDS2_READ_GET_ROW_DATA_FLOAT","hash":"0x38491439B6BA7F7D","params":[["p0","Any"],["p1","Any"]],"ret":"float","blocked":"rockstar","aka":["LEADERBOARDS2_READ_BY_HELP_PURPLE_FLOAT"]},
{"name":"leaderboards2WriteData","native":"LEADERBOARDS2_WRITE_DATA","hash":"0xAE2206545888AE49","params":[["p0","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboardsWriteAddColumn","native":"LEADERBOARDS_WRITE_ADD_COLUMN","hash":"0x0BCA1D2C47B0D269","params":[["p0","Any"],["p1","Any"],["p2","float"]],"blocked":"rockstar"},
{"name":"leaderboardsWriteAddColumnLong","native":"LEADERBOARDS_WRITE_ADD_COLUMN_LONG","hash":"0x2E65248609523599","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar"},
{"name":"leaderboardsCacheDataRow","native":"LEADERBOARDS_CACHE_DATA_ROW","hash":"0xB9BB18E2C40142ED","params":[["p0","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboardsClearCacheData","native":"LEADERBOARDS_CLEAR_CACHE_DATA","hash":"0xD4B02A6B476E1FDC","blocked":"rockstar"},
{"name":"leaderboardsClearCacheDataId","native":"LEADERBOARDS_CLEAR_CACHE_DATA_ID","hash":"0x8EC74CEB042E7CFF","params":[["p0","Any"]],"blocked":"rockstar"},
{"name":"leaderboardsGetCacheExists","native":"LEADERBOARDS_GET_CACHE_EXISTS","hash":"0x9C51349BE6CDFE2C","params":[["p0","Any"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"leaderboardsGetCacheTime","native":"LEADERBOARDS_GET_CACHE_TIME","hash":"0xF04C1C27DA35F6C8","params":[["p0","Any"]],"ret":"int","blocked":"rockstar"},
{"name":"leaderboardsGetCacheNumberOfRows","native":"LEADERBOARDS_GET_CACHE_NUMBER_OF_ROWS","hash":"0x58A651CD201D89AD","params":[["p0","Any"]],"ret":"int","blocked":"rockstar"},
{"name":"leaderboardsGetCacheDataRow","native":"LEADERBOARDS_GET_CACHE_DATA_ROW","hash":"0x9120E8DBA3D69273","params":[["p0","Any"],["p1","Any"],["p2","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"presenceEventUpdatestatInt","native":"PRESENCE_EVENT_UPDATESTAT_INT","hash":"0x11FF1C80276097ED","params":[["statHash","Hash"],["value","int"],["p2","int"]],"blocked":"rockstar","aka":["_UPDATE_STAT_INT"]},
{"name":"presenceEventUpdatestatFloat","native":"PRESENCE_EVENT_UPDATESTAT_FLOAT","hash":"0x30A6614C1F7799B8","params":[["statHash","Hash"],["value","float"],["p2","int"]],"blocked":"rockstar","aka":["_UPDATE_STAT_FLOAT"]},
{"name":"presenceEventUpdatestatIntWithString","native":"PRESENCE_EVENT_UPDATESTAT_INT_WITH_STRING","hash":"0x6483C25849031C4F","params":[["statHash","Hash"],["value","int"],["p2","int"],["string","string"]],"blocked":"rockstar"},
{"name":"getPlayerHasDrivenAllVehicles","native":"GET_PLAYER_HAS_DRIVEN_ALL_VEHICLES","hash":"0x5EAD2BF6484852E4","ret":"BOOL","blocked":"rockstar"},
{"name":"setHasPostedAllVehiclesDriven","native":"SET_HAS_POSTED_ALL_VEHICLES_DRIVEN","hash":"0xC141B8917E0017EC","blocked":"rockstar"},
{"name":"setProfileSettingPrologueComplete","native":"SET_PROFILE_SETTING_PROLOGUE_COMPLETE","hash":"0xB475F27C6A994D65","blocked":"rockstar"},
{"name":"setProfileSettingSpChopMissionComplete","native":"SET_PROFILE_SETTING_SP_CHOP_MISSION_COMPLETE","hash":"0xC67E2DA1CBE759E2","blocked":"rockstar","since":1734,"doc":"Sets profile setting 939"},
{"name":"setProfileSettingCreatorRacesDone","native":"SET_PROFILE_SETTING_CREATOR_RACES_DONE","hash":"0xF1A1803D3476F215","params":[["value","int"]],"blocked":"rockstar","doc":"Sets profile setting 933"},
{"name":"setProfileSettingCreatorDmDone","native":"SET_PROFILE_SETTING_CREATOR_DM_DONE","hash":"0x38BAAA5DD4C9D19F","params":[["value","int"]],"blocked":"rockstar","doc":"Sets profile setting 934"},
{"name":"setProfileSettingCreatorCtfDone","native":"SET_PROFILE_SETTING_CREATOR_CTF_DONE","hash":"0x55384438FC55AD8E","params":[["value","int"]],"blocked":"rockstar","doc":"Sets profile setting 935"},
{"name":"setJobActivityIdStarted","native":"SET_JOB_ACTIVITY_ID_STARTED","hash":"0x723C1CE13FBFDB67","params":[["p0","Any"],["characterSlot","int"]],"blocked":"rockstar"},
{"name":"setFreemodePrologueDone","native":"SET_FREEMODE_PROLOGUE_DONE","hash":"0x0D01D20616FC73FB","params":[["p0","Any"],["characterSlot","int"]],"blocked":"rockstar"},
{"name":"setFreemodeStrandProgressionStatus","native":"SET_FREEMODE_STRAND_PROGRESSION_STATUS","hash":"0x79D310A861697CC9","params":[["profileSetting","int"],["settingValue","int"]],"blocked":"rockstar","since":2699,"doc":"Sets profile setting 940 and 941"},
{"name":"statNetworkIncrementOnSuicide","native":"STAT_NETWORK_INCREMENT_ON_SUICIDE","hash":"0x428EAF89E24F6C36","params":[["p0","Any"],["p1","float"]],"blocked":"rockstar"},
{"name":"statSetCheatIsActive","native":"STAT_SET_CHEAT_IS_ACTIVE","hash":"0x047CBED6F6F8B63C","blocked":"rockstar"},
{"name":"leaderboards2WriteDataForEventType","native":"LEADERBOARDS2_WRITE_DATA_FOR_EVENT_TYPE","hash":"0xC980E62E33DF1D5C","params":[["p0","Any*"],["p1","Any*"]],"ret":"BOOL","blocked":"rockstar"},
{"name":"forceCloudMpStatsDownloadAndOverwriteLocalSave","native":"FORCE_CLOUD_MP_STATS_DOWNLOAD_AND_OVERWRITE_LOCAL_SAVE","hash":"0x6F361B8889A792A3","blocked":"rockstar"},
{"name":"statMigrateClearForRestart","native":"STAT_MIGRATE_CLEAR_FOR_RESTART","hash":"0xC847B43F369AC0B5","blocked":"rockstar"},
{"name":"statMigrateSavegameStart","native":"STAT_MIGRATE_SAVEGAME_START","hash":"0xA5C80D8E768A9E66","params":[["platformName","string"]],"ret":"BOOL","blocked":"rockstar","aka":["_STAT_MIGRATE_SAVE"],"doc":"platformName must be one of the following: ps3, xbox360, ps4, xboxone"},
{"name":"statMigrateSavegameGetStatus","native":"STAT_MIGRATE_SAVEGAME_GET_STATUS","hash":"0x9A62EC95AE10E011","ret":"int","blocked":"rockstar"},
{"name":"statMigrateCheckAlreadyDone","native":"STAT_MIGRATE_CHECK_ALREADY_DONE","hash":"0x4C89FE2BDEB3F169","ret":"BOOL","blocked":"rockstar"},
{"name":"statMigrateCheckStart","native":"STAT_MIGRATE_CHECK_START","hash":"0xC6E0E2616A7576BB","ret":"BOOL","blocked":"rockstar"},
{"name":"statMigrateCheckGetIsPlatformAvailable","native":"STAT_MIGRATE_CHECK_GET_IS_PLATFORM_AVAILABLE","hash":"0x5BD5F255321C4AAF","params":[["p0","int"]],"ret":"int","blocked":"rockstar"},
{"name":"statMigrateCheckGetPlatformStatus","native":"STAT_MIGRATE_CHECK_GET_PLATFORM_STATUS","hash":"0xDEAAF77EB3687E97","params":[["p0","int"],["p1","Any*"]],"ret":"int","blocked":"rockstar"},
{"name":"statGetSaveMigrationStatus","native":"STAT_GET_SAVE_MIGRATION_STATUS","hash":"0x886913BBEACA68C1","params":[["data","Any*"]],"ret":"int","blocked":"rockstar"},
{"name":"statSaveMigrationCancelPendingOperation","native":"STAT_SAVE_MIGRATION_CANCEL_PENDING_OPERATION","hash":"0x4FEF53183C3C6414","ret":"BOOL","blocked":"rockstar","aka":["_STAT_SAVE_MIGRATION_CANCEL"]},
{"name":"statGetCancelSaveMigrationStatus","native":"STAT_GET_CANCEL_SAVE_MIGRATION_STATUS","hash":"0x567384DFA67029E6","ret":"int","blocked":"rockstar","aka":["_STAT_GET_CANCEL_SAVE_MIGRATION_STATUS"]},
{"name":"statSaveMigrationConsumeContent","native":"STAT_SAVE_MIGRATION_CONSUME_CONTENT","hash":"0x3270F67EED31FBC1","params":[["contentId","Hash"],["srcPlatform","string"],["srcGamerHandle","string"]],"ret":"BOOL","blocked":"rockstar","aka":["_STAT_SAVE_MIGRATION_CONSUME_CONTENT_UNLOCK"]},
{"name":"statGetSaveMigrationConsumeContentStatus","native":"STAT_GET_SAVE_MIGRATION_CONSUME_CONTENT_STATUS","hash":"0xCE5AA445ABA8DEE0","ret":"int","outs":[["p0","int",0]],"blocked":"rockstar","aka":["_STAT_GET_SAVE_MIGRATION_CONSUME_CONTENT_UNLOCK_STATUS"]},
{"name":"statEnableStatsTracking","native":"STAT_ENABLE_STATS_TRACKING","hash":"0x98E2BC1CA26287C3","blocked":"rockstar","aka":["_STAT_MANAGER_SET_MUTABLE"]},
{"name":"statDisableStatsTracking","native":"STAT_DISABLE_STATS_TRACKING","hash":"0x629526ABA383BCAA","blocked":"rockstar","aka":["_STAT_MANAGER_SET_IMMUTABLE"]},
{"name":"statIsStatsTrackingEnabled","native":"STAT_IS_STATS_TRACKING_ENABLED","hash":"0xBE3DB208333D9844","ret":"BOOL","blocked":"rockstar","since":463,"aka":["_STAT_MANAGER_IS_MUTABLE"]},
{"name":"statStartRecordStat","native":"STAT_START_RECORD_STAT","hash":"0x33D72899E24C3365","params":[["statType","int"],["valueType","int"]],"ret":"BOOL","blocked":"rockstar","since":463,"aka":["_STAT_TRACKING_ENABLE"],"doc":"```\nenum StatTrackingType\n{\n  LongestWheelie = 1,\n  LongestStoppie = 2,\n  NoCrashes = 3,\n  HighestSpeed = 4,\n  _MostFlips = 5,\n  _LongestSpin = 6,\n  _HighestJumpReached = 7,\n  LongestJump = 8,\n  _NearMissesNoCrash = 9,\n  LongestFallSurvived = 10,\n  LowestParachute = 11,\n  ReverseDriving = 12,\n  LongestFreefall = 13,\n  VehiclesStolen = 14,\n  _SomeCFireEventCount = 15,\n  _Unk16 = 16,\n  _LowFlyingTime = 17,\n  LowFlying = 18,\n  _InvertedFlyingTime = 19,\n  InvertedFlying = 20,\n  _PlaneSpinCount = 21,\n  MeleeKills = 22, // Players\n  _LongestSniperKill = 23,\n  SniperSkills = 24, // Players\n  DrivebyKills = 25, // Players\n  HeadshotKills = 26, // Players\n  LongestBail = 27,\n  _TotalRammedByCar = 28,\n  NearMissesPrecise = 29,\n  _FreefallTime = 30,\n  Unk31 = 31,\n}\n\nenum StatTrackingValueType\n{\n  Total,\n  Max,\n  Min\n}\n```"},
{"name":"statStopRecordStat","native":"STAT_STOP_RECORD_STAT","hash":"0xA761D4AC6115623D","ret":"BOOL","blocked":"rockstar","since":463,"aka":["_STAT_TRACKING_CLEAR_PROGRESS"]},
{"name":"statGetRecordedValue","native":"STAT_GET_RECORDED_VALUE","hash":"0xF11F01D98113536A","ret":"BOOL","outs":[["value","float",0]],"blocked":"rockstar","since":463,"aka":["_STAT_GET_PROGRESS_OF_TRACKED_STAT"]},
{"name":"statIsRecordingStat","native":"STAT_IS_RECORDING_STAT","hash":"0x8B9CDBD6C566C38C","ret":"BOOL","blocked":"rockstar","since":944,"aka":["_STAT_IS_TRACKING_ENABLED"]},
{"name":"statGetCurrentNearMissNocrashPrecise","native":"STAT_GET_CURRENT_NEAR_MISS_NOCRASH_PRECISE","hash":"0xE8853FBCE7D8D0D6","ret":"int","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_NEAR_MISSES"],"doc":"Perform the most near misses with other vehicles in a land vehicle without crashing"},
{"name":"statGetCurrentRearWheelDistance","native":"STAT_GET_CURRENT_REAR_WHEEL_DISTANCE","hash":"0xA943FD1722E11EFD","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_LONGEST_WHEELIE"],"doc":"Perform the longest wheelie on a motorcycle"},
{"name":"statGetCurrentFrontWheelDistance","native":"STAT_GET_CURRENT_FRONT_WHEEL_DISTANCE","hash":"0x84A810B375E69C0E","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_LONGEST_STOPPIE"],"doc":"Perform the longest stoppie on a motorcycle"},
{"name":"statGetCurrentJumpDistance","native":"STAT_GET_CURRENT_JUMP_DISTANCE","hash":"0x9EC8858184CD253A","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_LONGEST_JUMP"],"doc":"Perform the longest jump in a land vehicle"},
{"name":"statGetCurrentDriveNocrashDistance","native":"STAT_GET_CURRENT_DRIVE_NOCRASH_DISTANCE","hash":"0xBA9749CC94C1FD85","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_NO_CRASHES"],"doc":"Drive the furthest distance in a land vehicle without crashing"},
{"name":"statGetCurrentSpeed","native":"STAT_GET_CURRENT_SPEED","hash":"0x55A8BECAF28A4EB7","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_HIGHEST_SPEED"],"doc":"Achieve the highest speed in a land vehicle"},
{"name":"statGetCurrentDrivingReverseDistance","native":"STAT_GET_CURRENT_DRIVING_REVERSE_DISTANCE","hash":"0x32CAC93C9DE73D32","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_REVERSE_DRIVING"],"doc":"Reverse the longest distance without crashing"},
{"name":"statGetCurrentSkydivingDistance","native":"STAT_GET_CURRENT_SKYDIVING_DISTANCE","hash":"0xAFF47709F1D5DCCE","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_LONGEST_FREEFALL"],"doc":"Fall the longest distance with a parachute before opening it"},
{"name":"statGetChallengeFlyingDist","native":"STAT_GET_CHALLENGE_FLYING_DIST","hash":"0x6E0A5253375C4584","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_CHALLENGE_LOW_FLYING"],"doc":"Fly low to the ground for the longest distance"},
{"name":"statGetFlyingAltitude","native":"STAT_GET_FLYING_ALTITUDE","hash":"0x1A8EA222F9C67DBB","ret":"BOOL","outs":[["outValue","float",0]],"blocked":"rockstar","since":463,"aka":["_STAT_GET_HEIGHT_ABOVE_GROUND"]},
{"name":"statIsPlayerVehicleAboveOcean","native":"STAT_IS_PLAYER_VEHICLE_ABOVE_OCEAN","hash":"0xF9F2922717B819EC","ret":"BOOL","blocked":"rockstar","since":505,"aka":["_STAT_IS_ABOVE_DEEP_WATER"],"doc":"Or non-flyable area"},
{"name":"statGetVehicleBailDistance","native":"STAT_GET_VEHICLE_BAIL_DISTANCE","hash":"0x0B8B7F74BF061C6D","ret":"float","blocked":"rockstar","since":463,"aka":["_STAT_GET_LONGEST_BAIL"],"doc":"Travel the furthest distance when bailing from a vehicle"},
{"name":"statRollbackSaveMigration","native":"STAT_ROLLBACK_SAVE_MIGRATION","hash":"0xB3DA2606774A8E2D","ret":"BOOL","blocked":"rockstar","doc":"This function is hard-coded to always return 1."},
{"name":"setHasSpecialeditionContent","native":"SET_HAS_SPECIALEDITION_CONTENT","hash":"0xDAC073C7901F9E15","params":[["value","int"]],"blocked":"rockstar","aka":["_SET_HAS_CONTENT_UNLOCKS_FLAGS"],"doc":"Sets profile setting 866"},
{"name":"setSaveMigrationTransactionIdWarning","native":"SET_SAVE_MIGRATION_TRANSACTION_ID_WARNING","hash":"0xF6792800AC95350D","params":[["transactionId","int"]],"blocked":"rockstar","aka":["_SET_SAVE_MIGRATION_TRANSACTION_ID"],"doc":"Sets profile setting 501"},
{"name":"getBossGoonUuid","native":"GET_BOSS_GOON_UUID","hash":"0x6BC0ACD0673ACEBE","params":[["characterSlot","int"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573},
{"name":"playstatsBwBossonbossdeathmatch","native":"PLAYSTATS_BW_BOSSONBOSSDEATHMATCH","hash":"0x8D8ADB562F09A245","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BW_BOSS_ON_BOSS_DEATH_MATCH"]},
{"name":"playstatsBwYatchattack","native":"PLAYSTATS_BW_YATCHATTACK","hash":"0xD1A1EE3B4FA8E760","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BW_YACHT_ATTACK"]},
{"name":"playstatsBwHuntTheBoss","native":"PLAYSTATS_BW_HUNT_THE_BOSS","hash":"0x88087EE1F28024AE","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BW_HUNT_THE_BOSS"]},
{"name":"playstatsBwSightseer","native":"PLAYSTATS_BW_SIGHTSEER","hash":"0xFCC228E07217FCAC","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BW_SIGHTSEER"]},
{"name":"playstatsBwAssault","native":"PLAYSTATS_BW_ASSAULT","hash":"0x678F86D8FC040BDB","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BW_ASSAULT"]},
{"name":"playstatsBwBellyOfTheBeast","native":"PLAYSTATS_BW_BELLY_OF_THE_BEAST","hash":"0xA6F54BB2FFCA35EA","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BW_BELLY_OF_THE_BEAST"]},
{"name":"playstatsBwHeadHunter","native":"PLAYSTATS_BW_HEAD_HUNTER","hash":"0x5FF2C33B13A02A11","params":[["p0","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_BW_HEADHUNTER"]},
{"name":"playstatsBwFragileGoods","native":"PLAYSTATS_BW_FRAGILE_GOODS","hash":"0x282B6739644F4347","params":[["p0","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_BW_FRAGILE_GOOODS"]},
{"name":"playstatsBwAirFreight","native":"PLAYSTATS_BW_AIR_FREIGHT","hash":"0xF06A6F41CB445443","params":[["p0","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_BW_AIR_FREIGHT"]},
{"name":"playstatsBcCarJacking","native":"PLAYSTATS_BC_CAR_JACKING","hash":"0x7B18DA61F6BAE9D5","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BC_CAR_JACKING"]},
{"name":"playstatsBcSmashAndGrab","native":"PLAYSTATS_BC_SMASH_AND_GRAB","hash":"0x06EAF70AE066441E","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BC_SMASH_AND_GRAB"]},
{"name":"playstatsBcProtectionRacket","native":"PLAYSTATS_BC_PROTECTION_RACKET","hash":"0x14EDA9EE27BD1626","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BC_PROTECTION_RACKET"]},
{"name":"playstatsBcMostWanted","native":"PLAYSTATS_BC_MOST_WANTED","hash":"0x930F504203F561C9","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BC_MOST_WANTED"]},
{"name":"playstatsBcFindersKeepers","native":"PLAYSTATS_BC_FINDERS_KEEPERS","hash":"0xE3261D791EB44ACB","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BC_FINDERS_KEEPERS"]},
{"name":"playstatsBcPointToPoint","native":"PLAYSTATS_BC_POINT_TO_POINT","hash":"0x73001E34F85137F8","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BC_POINT_TO_POINT"]},
{"name":"playstatsBcCashing","native":"PLAYSTATS_BC_CASHING","hash":"0x53CAE13E9B426993","params":[["p0","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_BC_CASHING"]},
{"name":"playstatsBcSalvage","native":"PLAYSTATS_BC_SALVAGE","hash":"0x7D36291161859389","params":[["p0","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_BC_SALVAGE"]},
{"name":"playstatsSpentPiCustomLoadout","native":"PLAYSTATS_SPENT_PI_CUSTOM_LOADOUT","hash":"0xBE509B0A3693DE8B","params":[["amount","int"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_SPENT_PI_CUSTOM_LOADOUT"]},
{"name":"playstatsBuyContrabandMission","native":"PLAYSTATS_BUY_CONTRABAND_MISSION","hash":"0xD6781E42755531F7","params":[["data","Any*"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_BUY_CONTRABAND"]},
{"name":"playstatsSellContrabandMission","native":"PLAYSTATS_SELL_CONTRABAND_MISSION","hash":"0xC729991A9065376E","params":[["data","Any*"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_SELL_CONTRABAND"]},
{"name":"playstatsDefendContrabandMission","native":"PLAYSTATS_DEFEND_CONTRABAND_MISSION","hash":"0x2605663BD4F23B5D","params":[["data","Any*"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_DEFEND_CONTRABAND"]},
{"name":"playstatsRecoverContrabandMission","native":"PLAYSTATS_RECOVER_CONTRABAND_MISSION","hash":"0x04D90BA8207ADA2D","params":[["data","Any*"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_RECOVER_CONTRABAND"]},
{"name":"playstatsHitContrabandDestroyLimit","native":"PLAYSTATS_HIT_CONTRABAND_DESTROY_LIMIT","hash":"0x60EEDC12AF66E846","params":[["p0","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_HIT_CONTRABAND_DESTROY_LIMIT"]},
{"name":"startBeingBoss","native":"START_BEING_BOSS","hash":"0x3EBEAC6C3F81F6BD","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BECOME_BOSS"]},
{"name":"startBeingGoon","native":"START_BEING_GOON","hash":"0x96E6D5150DBF1C09","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_BECOME_GOON"]},
{"name":"endBeingBoss","native":"END_BEING_BOSS","hash":"0xA3C53804BDB68ED2","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_END_BEING_BOSS"]},
{"name":"endBeingGoon","native":"END_BEING_GOON","hash":"0x6BCCF9948492FD85","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_END_BEING_GOON"]},
{"name":"hiredLimo","native":"HIRED_LIMO","hash":"0x792271AB35C356A4","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":573,"aka":["_HIRED_LIMO"]},
{"name":"orderBossVehicle","native":"ORDER_BOSS_VEHICLE","hash":"0xCEA553E35C2246E1","params":[["p0","Any"],["p1","Any"],["vehicleHash","Hash"]],"blocked":"rockstar","since":573,"aka":["_ORDERED_BOSS_VEHICLE"]},
{"name":"changeUniform","native":"CHANGE_UNIFORM","hash":"0xD1C9B92BDD3F151D","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_CHANGE_UNIFORM"]},
{"name":"changeGoonLookingForWork","native":"CHANGE_GOON_LOOKING_FOR_WORK","hash":"0x44919CC079BB60BF","params":[["p0","Any"]],"blocked":"rockstar","since":573,"aka":["_PLAYSTATS_CHANGE_GOON_LOOKING_FOR_WORK"]},
{"name":"sendMetricGhostingToPlayer","native":"SEND_METRIC_GHOSTING_TO_PLAYER","hash":"0x7033EEFD9B28088E","params":[["p0","Any"]],"blocked":"rockstar","since":678,"aka":["_PLAYSTATS_GHOSTING_TO_PLAYER"]},
{"name":"sendMetricVipPoach","native":"SEND_METRIC_VIP_POACH","hash":"0xAA525DFF66BB82F5","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_VIP_POACH"]},
{"name":"sendMetricPunishBodyguard","native":"SEND_METRIC_PUNISH_BODYGUARD","hash":"0x015B03EE1C43E6EC","params":[["p0","Any"]],"blocked":"rockstar","since":757,"aka":["_PLAYSTATS_PUNISH_BODYGUARD"]},
{"name":"playstatsStartTrackingStunts","native":"PLAYSTATS_START_TRACKING_STUNTS","hash":"0x928DBFB892638EF3","blocked":"rockstar","since":791,"aka":["_PLAYSTATS_STUNT_PERFORMED_EVENT_ALLOW_TRIGGER"]},
{"name":"playstatsStopTrackingStunts","native":"PLAYSTATS_STOP_TRACKING_STUNTS","hash":"0x8A800DACCC0DA55D","blocked":"rockstar","since":791,"aka":["_PLAYSTATS_STUNT_PERFORMED_EVENT_DISALLOW_TRIGGER"]},
{"name":"playstatsMissionEnded","native":"PLAYSTATS_MISSION_ENDED","hash":"0xBF371CD2B64212FD","params":[["p0","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_MISSION_ENDED"]},
{"name":"playstatsImpexpMissionEnded","native":"PLAYSTATS_IMPEXP_MISSION_ENDED","hash":"0x7D8BA05688AD64C7","params":[["p0","Any"]],"blocked":"rockstar","since":944,"aka":["_PLAYSTATS_IMPEXP_MISSION_ENDED"]},
{"name":"playstatsChangeMcRole","native":"PLAYSTATS_CHANGE_MC_ROLE","hash":"0x0B565B0AAE56A0E8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["role","int"],["p5","int"],["p6","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_CHANGE_MC_ROLE"]},
{"name":"playstatsChangeMcOutfit","native":"PLAYSTATS_CHANGE_MC_OUTFIT","hash":"0x28ECB8AC2F607DB2","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_CHANGE_MC_OUTFIT"]},
{"name":"playstatsSwitchMcEmblem","native":"PLAYSTATS_SWITCH_MC_EMBLEM","hash":"0x0A50D2604E05CB94","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_CHANGE_MC_EMBLEM"]},
{"name":"playstatsMcRequestBike","native":"PLAYSTATS_MC_REQUEST_BIKE","hash":"0xCC25A4553DFBF9EA","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_MC_REQUEST_BIKE"]},
{"name":"playstatsMcKilledRivalMcMember","native":"PLAYSTATS_MC_KILLED_RIVAL_MC_MEMBER","hash":"0xF534D94DFA2EAD26","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_KILLED_RIVAL_MC_MEMBER"]},
{"name":"playstatsAbandonedMc","native":"PLAYSTATS_ABANDONED_MC","hash":"0xD558BEC0BBA7E8D2","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_ABANDONING_MC"]},
{"name":"playstatsEarnedMcPoints","native":"PLAYSTATS_EARNED_MC_POINTS","hash":"0x501478855A6074CE","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_EARNED_MC_POINTS"]},
{"name":"playstatsMcFormationEnds","native":"PLAYSTATS_MC_FORMATION_ENDS","hash":"0x03C2EEBB04B3FB72","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_MC_FORMATION_ENDS"]},
{"name":"playstatsMcClubhouseActivity","native":"PLAYSTATS_MC_CLUBHOUSE_ACTIVITY","hash":"0x8989CBD7B4E82534","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_MC_CLUBHOUSE_ACTIVITY"]},
{"name":"playstatsRivalBehavior","native":"PLAYSTATS_RIVAL_BEHAVIOR","hash":"0x27AA1C973CACFE63","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","Any"]],"blocked":"rockstar","since":944,"aka":["_PLAYSTATS_RIVAL_BEHAVIOUR"]},
{"name":"playstatsCopyRankIntoNewSlot","native":"PLAYSTATS_COPY_RANK_INTO_NEW_SLOT","hash":"0xB7257BA2550EA10A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"]],"blocked":"rockstar","since":877,"aka":["_PLAYSTATS_COPY_RANK_INTO_NEW_SLOT"]},
{"name":"playstatsDupeDetected","native":"PLAYSTATS_DUPE_DETECTED","hash":"0x848B66100EE33B05","params":[["data","Any*"]],"blocked":"rockstar","since":1011,"aka":["_PLAYSTATS_DUPE_DETECTION"]},
{"name":"playstatsBanAlert","native":"PLAYSTATS_BAN_ALERT","hash":"0x516FC96EB88EEFE5","params":[["p0","int"]],"blocked":"rockstar","since":1011,"aka":["_PLAYSTATS_BAN_ALERT"]},
{"name":"playstatsGunrunningMissionEnded","native":"PLAYSTATS_GUNRUNNING_MISSION_ENDED","hash":"0x0EACDF8487D5155A","params":[["data","Any*"]],"blocked":"rockstar","since":1103,"aka":["_PLAYSTATS_GUNRUN_MISSION_ENDED"]},
{"name":"playstatsGunrunningRnd","native":"PLAYSTATS_GUNRUNNING_RND","hash":"0xDAF80797FC534BEC","params":[["p0","Any"]],"blocked":"rockstar","since":1103,"aka":["_PLAYSTATS_GUNRUN_RND"]},
{"name":"playstatsBusinessBattleEnded","native":"PLAYSTATS_BUSINESS_BATTLE_ENDED","hash":"0x316DB59CD14C1774","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_PLAYSTATS_BUSINESS_BATTLE_ENDED"]},
{"name":"playstatsWarehouseMissionEnded","native":"PLAYSTATS_WAREHOUSE_MISSION_ENDED","hash":"0x2D7A9B577E72385E","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_PLAYSTATS_WAREHOUSE_MISSION_ENDED"]},
{"name":"playstatsNightclubMissionEnded","native":"PLAYSTATS_NIGHTCLUB_MISSION_ENDED","hash":"0x830C3A44EB3F2CF9","params":[["p0","Any"]],"blocked":"rockstar","since":1493,"aka":["_PLAYSTATS_NIGHTCLUB_MISSION_ENDED"]},
{"name":"playstatsDjUsage","native":"PLAYSTATS_DJ_USAGE","hash":"0xB26F670685631727","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":1493,"aka":["_PLAYSTATS_DJ_USAGE"]},
{"name":"playstatsMinigameUsage","native":"PLAYSTATS_MINIGAME_USAGE","hash":"0xC14BD9F5337219B2","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":1493,"aka":["_PLAYSTATS_MINIGAME_USAGE"]},
{"name":"playstatsStoneHatchetEnded","native":"PLAYSTATS_STONE_HATCHET_ENDED","hash":"0x35E39E5570358630","params":[["data","Any*"]],"blocked":"rockstar","since":1493,"aka":["_PLAYSTATS_STONE_HATCHET_END"]},
{"name":"playstatsSmugglerMissionEnded","native":"PLAYSTATS_SMUGGLER_MISSION_ENDED","hash":"0x320C35147D5B5DDD","params":[["data","Any*"]],"blocked":"rockstar","since":1180,"aka":["_PLAYSTATS_SMUG_MISSION_ENDED"]},
{"name":"playstatsFmHeistPrepEnded","native":"PLAYSTATS_FM_HEIST_PREP_ENDED","hash":"0xD8AFB345A9C5CCBB","params":[["data","Any*"]],"blocked":"rockstar","since":1290,"aka":["_PLAYSTATS_H2_FMPREP_END"]},
{"name":"playstatsInstancedHeistEnded","native":"PLAYSTATS_INSTANCED_HEIST_ENDED","hash":"0x1E1497D0D2108115","params":[["data","Any*"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":1290,"aka":["_PLAYSTATS_H2_INSTANCE_END"]},
{"name":"playstatsDarCheckpoint","native":"PLAYSTATS_DAR_CHECKPOINT","hash":"0x0BC254FF3A911501","params":[["data","Any*"]],"blocked":"rockstar","since":1290,"aka":["_PLAYSTATS_DAR_MISSION_END"]},
{"name":"playstatsEnterSessionPack","native":"PLAYSTATS_ENTER_SESSION_PACK","hash":"0x878FF156D36E9956","params":[["data","Any*"]],"blocked":"rockstar","since":1290,"aka":["_PLAYSTATS_ENTER_SESSION_PACK"]},
{"name":"playstatsDroneUsage","native":"PLAYSTATS_DRONE_USAGE","hash":"0x66C7BB2416ED3FCE","params":[["p0","int"],["p1","int"],["p2","int"]],"blocked":"rockstar","since":1493,"aka":["_PLAYSTATS_DRONE_USAGE"]},
{"name":"playstatsSpinWheel","native":"PLAYSTATS_SPIN_WHEEL","hash":"0x6731DE84A38BFAD0","params":[["p0","int"],["p1","int"],["p2","int"],["p3","int"]],"blocked":"rockstar","since":1604,"aka":["_PLAYSTATS_SPECTATOR_WHEEL_SPIN"]},
{"name":"playstatsArenaWarsSpectator","native":"PLAYSTATS_ARENA_WARS_SPECTATOR","hash":"0x6F4F599753F8200A","params":[["p0","int"],["p1","int"],["p2","int"],["p3","int"],["p4","int"]],"blocked":"rockstar","since":1604,"aka":["_PLAYSTATS_ARENA_WAR_SPECTATOR"]},
{"name":"playstatsArenaWarsEnded","native":"PLAYSTATS_ARENA_WARS_ENDED","hash":"0xB479D9F0D48A1BC5","params":[["data","Any*"]],"blocked":"rockstar","since":1604,"aka":["_PLAYSTATS_ARENA_WARS_ENDED"]},
{"name":"playstatsSwitchPassiveMode","native":"PLAYSTATS_SWITCH_PASSIVE_MODE","hash":"0x35EEC6C2BC821A71","params":[["p0","BOOL"],["p1","int"],["p2","int"],["p3","int"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_PASSIVE_MODE"]},
{"name":"playstatsCollectiblePickedUp","native":"PLAYSTATS_COLLECTIBLE_PICKED_UP","hash":"0xCD0A8A9338681CF2","params":[["p0","int"],["objectHash","Hash"],["p2","Any"],["p3","Any"],["moneyAmount","int"],["rpAmount","int"],["chipsAmount","int"],["p7","Any"],["p8","int"],["p9","Any"],["p10","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_COLLECTIBLE"]},
{"name":"playstatsCasinoStoryMissionEnded","native":"PLAYSTATS_CASINO_STORY_MISSION_ENDED","hash":"0xFCCCAC2BD3C1F180","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_STORY_MISSION_ENDED"]},
{"name":"playstatsCasinoChip","native":"PLAYSTATS_CASINO_CHIP","hash":"0x0999F3F090EC5012","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_CHIP"]},
{"name":"playstatsCasinoRoulette","native":"PLAYSTATS_CASINO_ROULETTE","hash":"0x95101C443A84E7F1","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_ROULETTE"]},
{"name":"playstatsCasinoBlackjack","native":"PLAYSTATS_CASINO_BLACKJACK","hash":"0x3EAE97309727E7AD","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_BLACKJACK"]},
{"name":"playstatsCasinoThreeCardPoker","native":"PLAYSTATS_CASINO_THREE_CARD_POKER","hash":"0xF740FB339D471C35","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_THREECARDPOKER"]},
{"name":"playstatsCasinoSlotMachine","native":"PLAYSTATS_CASINO_SLOT_MACHINE","hash":"0xEF5EC67D392B830A","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_SLOTMACHINE"]},
{"name":"playstatsCasinoInsideTrack","native":"PLAYSTATS_CASINO_INSIDE_TRACK","hash":"0x049F059625058A86","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_INSIDETRACK"]},
{"name":"playstatsCasinoLuckySeven","native":"PLAYSTATS_CASINO_LUCKY_SEVEN","hash":"0x0C432C1435F5E4FA","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_LUCKYSEVEN"]},
{"name":"playstatsCasinoRouletteLight","native":"PLAYSTATS_CASINO_ROULETTE_LIGHT","hash":"0x6572ABA3DE1197FC","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_ROULETTE_LIGHT"]},
{"name":"playstatsCasinoBlackjackLight","native":"PLAYSTATS_CASINO_BLACKJACK_LIGHT","hash":"0xD5451C7BF151EB6F","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_BLACKJACK_LIGHT"]},
{"name":"playstatsCasinoThreeCardPokerLight","native":"PLAYSTATS_CASINO_THREE_CARD_POKER_LIGHT","hash":"0xC9001364B4388F22","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_THREECARDPOKER_LIGHT"]},
{"name":"playstatsCasinoSlotMachineLight","native":"PLAYSTATS_CASINO_SLOT_MACHINE_LIGHT","hash":"0xE60054A0FAE8227F","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_SLOTMACHINE_LIGHT"]},
{"name":"playstatsCasinoInsideTrackLight","native":"PLAYSTATS_CASINO_INSIDE_TRACK_LIGHT","hash":"0x23A3CBCD50D54E47","params":[["p0","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_INSIDETRACK_LIGHT"]},
{"name":"playstatsArcadeGame","native":"PLAYSTATS_ARCADE_GAME","hash":"0x533A7D1EA58DF958","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_ARCADEGAME"]},
{"name":"playstatsArcadeLoveMatch","native":"PLAYSTATS_ARCADE_LOVE_MATCH","hash":"0x4FCDBD3F0A813C25","params":[["p0","Any"],["p1","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_ARCADE_LOVEMATCH"]},
{"name":"playstatsFreemodeCasinoMissionEnded","native":"PLAYSTATS_FREEMODE_CASINO_MISSION_ENDED","hash":"0x1A0D4A6C336B7BC5","params":[["data","Any*"]],"blocked":"rockstar","since":1734,"aka":["_PLAYSTATS_CASINO_MISSION_ENDED"]},
{"name":"playstatsHeist3Drone","native":"PLAYSTATS_HEIST3_DRONE","hash":"0xDFBD93BF2943E29B","params":[["p0","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_HEIST3_DRONE"]},
{"name":"playstatsHeist3Hack","native":"PLAYSTATS_HEIST3_HACK","hash":"0x92FC0EEDFAC04A14","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_HEIST3_HACK"]},
{"name":"playstatsNpcPhone","native":"PLAYSTATS_NPC_PHONE","hash":"0x0077F15613D36993","params":[["p0","Any*"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_NPC_PHONE"]},
{"name":"playstatsArcadeCabinet","native":"PLAYSTATS_ARCADE_CABINET","hash":"0xF9096193DF1F99D4","params":[["p0","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_ARCADE_CABINET"]},
{"name":"playstatsHeist3Finale","native":"PLAYSTATS_HEIST3_FINALE","hash":"0x2E0259BABC27A327","params":[["p0","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_HEIST3_FINALE"]},
{"name":"playstatsHeist3Prep","native":"PLAYSTATS_HEIST3_PREP","hash":"0x53C31853EC9531FF","params":[["p0","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_HEIST3_PREP"]},
{"name":"playstatsMasterControl","native":"PLAYSTATS_MASTER_CONTROL","hash":"0x810B5FCC52EC7FF0","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_MASTER_CONTROL"]},
{"name":"playstatsQuitMode","native":"PLAYSTATS_QUIT_MODE","hash":"0x5BF29846C6527C54","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_QUIT_MODE"]},
{"name":"playstatsMissionVote","native":"PLAYSTATS_MISSION_VOTE","hash":"0xC03FAB2C2F92289B","params":[["p0","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_MISSION_VOTE"]},
{"name":"playstatsNjvsVote","native":"PLAYSTATS_NJVS_VOTE","hash":"0x5CDAED54B34B0ED0","params":[["p0","Any"]],"blocked":"rockstar","since":1868,"aka":["_PLAYSTATS_NJVS_VOTE"]},
{"name":"playstatsDeathInfo","native":"_PLAYSTATS_DEATH_INFO","hash":"0x01D8B04D02F1217F","params":[["victimPed","Ped"],["killerPed","Ped"],["mentalState","int"],["revengeKill","BOOL"],["victimKvK","int"],["killerKvK","int"]],"na":1,"since":3570},
{"name":"playstatsFmMissionEnd","native":"PLAYSTATS_FM_MISSION_END","hash":"0x46A70777BE6CEAB9","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_PLAYSTATS_FREEMODE_MISSION_END"]},
{"name":"playstatsHeist4Prep","native":"PLAYSTATS_HEIST4_PREP","hash":"0xDFCDB14317A9B361","params":[["p0","Any"]],"blocked":"rockstar","since":2189,"aka":["_PLAYSTATS_HEIST4_PREP"]},
{"name":"playstatsHeist4Finale","native":"PLAYSTATS_HEIST4_FINALE","hash":"0xC1E963C58664B556","params":[["p0","Any"]],"blocked":"rockstar","since":2189,"aka":["_PLAYSTATS_HEIST4_FINALE"]},
{"name":"playstatsHeist4Hack","native":"PLAYSTATS_HEIST4_HACK","hash":"0x2FA3173480008493","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"blocked":"rockstar","since":2189,"aka":["_PLAYSTATS_HEIST4_HACK"]},
{"name":"playstatsSubWeap","native":"PLAYSTATS_SUB_WEAP","hash":"0xD4367D310F079DB0","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2189,"aka":["_PLAYSTATS_SUB_WEAP"]},
{"name":"playstatsFastTrvl","native":"PLAYSTATS_FAST_TRVL","hash":"0x4DC416F246A41FC8","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"],["p9","Any"],["p10","Any"]],"blocked":"rockstar","since":2189,"aka":["_PLAYSTATS_FAST_TRVL"]},
{"name":"playstatsHubEntry","native":"PLAYSTATS_HUB_ENTRY","hash":"0x2818FF6638CB09DE","params":[["p0","Any"]],"blocked":"rockstar","since":2189,"aka":["_PLAYSTATS_HUB_ENTRY"]},
{"name":"playstatsDjMissionEnded","native":"PLAYSTATS_DJ_MISSION_ENDED","hash":"0xD6CA58B3B53A0F22","params":[["p0","Any"]],"blocked":"rockstar","since":2189,"aka":["_PLAYSTATS_DJ_MISSION_ENDED"]},
{"name":"playstatsRobberyPrep","native":"PLAYSTATS_ROBBERY_PREP","hash":"0x1A67DFBF1F5C3835","params":[["p0","Any"]],"blocked":"rockstar","since":2372,"aka":["_PLAYSTATS_ROBBERY_PREP"]},
{"name":"playstatsRobberyFinale","native":"PLAYSTATS_ROBBERY_FINALE","hash":"0xBBA55BE9AAAABF44","params":[["p0","Any"]],"blocked":"rockstar","since":2372,"aka":["_PLAYSTATS_ROBBERY_FINALE"]},
{"name":"playstatsExtraEvent","native":"PLAYSTATS_EXTRA_EVENT","hash":"0xFA5B74BAB8A7EF99","params":[["p0","Any"]],"blocked":"rockstar","since":2372,"aka":["_PLAYSTATS_EXTRA_EVENT"]},
{"name":"playstatsCarclubPoints","native":"PLAYSTATS_CARCLUB_POINTS","hash":"0xFF14D6FEEC507BBE","params":[["p0","Any"]],"blocked":"rockstar","since":2372,"aka":["_PLAYSTATS_CARCLUB_POINTS"]},
{"name":"playstatsCarclubChallenge","native":"PLAYSTATS_CARCLUB_CHALLENGE","hash":"0x1187CB58D7F3BED7","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2372,"aka":["_PLAYSTATS_CARCLUB_CHALLENGE"]},
{"name":"playstatsCarclubPrize","native":"PLAYSTATS_CARCLUB_PRIZE","hash":"0x69C922B677621428","params":[["p0","int"],["vehicleModel","Hash"]],"blocked":"rockstar","since":2372,"aka":["_PLAYSTATS_CARCLUB_PRIZE"]},
{"name":"playstatsAwardNav","native":"PLAYSTATS_AWARD_NAV","hash":"0x70F52471E758EBAE","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]],"blocked":"rockstar","since":2545,"aka":["_PLAYSTATS_AWARDS_NAV"]},
{"name":"playstatsInitMultiplayer","native":"_PLAYSTATS_INIT_MULTIPLAYER","hash":"0x7E5EED10B11CEDBA","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"na":1,"since":3407},
{"name":"playstatsInstMissionEnd","native":"PLAYSTATS_INST_MISSION_END","hash":"0xFEA3F7E83C0610FA","params":[["p0","Any"]],"blocked":"rockstar","since":2545,"aka":["_PLAYSTATS_INST_MISSION_END"]},
{"name":"playstatsHubExit","native":"PLAYSTATS_HUB_EXIT","hash":"0x5A46ACE5C4661132","params":[["p0","Any"]],"blocked":"rockstar","since":2545,"aka":["_PLAYSTATS_HUB_EXIT"]},
{"name":"playstatsLpNav","native":"PLAYSTATS_LP_NAV","params":[["data","Any*"]],"na":1},
{"name":"playstatsLpSubtile","native":"_PLAYSTATS_LP_SUBTILE","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"na":1},
{"name":"playstatsVehDel","native":"PLAYSTATS_VEH_DEL","hash":"0x10A691F5756416D0","params":[["bossId1","int"],["bossId2","int"],["bossType","int"],["vehicleID","int"],["reason","int"]],"na":1,"since":2944},
{"name":"playstatsInventory","native":"PLAYSTATS_INVENTORY","hash":"0x887DAD63CF5B7908","params":[["p0","Any"]],"blocked":"rockstar","since":2699,"aka":["_PLAYSTATS_INVENTORY"]},
{"name":"playstatsAcidMissionEnd","native":"_PLAYSTATS_ACID_MISSION_END","hash":"0x8A23D1324F6B2BAC","params":[["p0","Any"]],"blocked":"rockstar","since":2802},
{"name":"playstatsAcidRnd","native":"_PLAYSTATS_ACID_RND","hash":"0xCEACCF0550FDC5BA","params":[["p0","Any"]],"blocked":"rockstar","since":2802},
{"name":"playstatsIdle","native":"_PLAYSTATS_IDLE","hash":"0xEC9553A178E8F1D1","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"blocked":"rockstar","since":2802},
{"name":"playstatsPlayerStyle","native":"_PLAYSTATS_PLAYER_STYLE","hash":"0x48FAC5DC7AC6EA99","params":[["p0","Any"]],"blocked":"rockstar","since":2802},
{"name":"playstatsRandomEvent","native":"_PLAYSTATS_RANDOM_EVENT","hash":"0x7EA06F970F999394","params":[["p0","Any"]],"na":1,"since":2944},
{"name":"playstatsPhSnapshot","native":"_PLAYSTATS_PH_SNAPSHOT","params":[["p0","Any"]],"na":1},
{"name":"playstatsPhProgressTiers","native":"_PLAYSTATS_PH_PROGRESS_TIERS","params":[["p0","Any"]],"na":1},
{"name":"playstatsPhNav","native":"_PLAYSTATS_PH_NAV","params":[["p0","Any"]],"na":1},
{"name":"playstatsPhActivity","native":"_PLAYSTATS_PH_ACTIVITY","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"]],"na":1},
{"name":"playstatsPhProgressObjectives","native":"_PLAYSTATS_PH_PROGRESS_OBJECTIVES","params":[["p0","Any"]],"na":1},
{"name":"playstatsAlert","native":"_PLAYSTATS_ALERT","hash":"0x5649CA22AF74E019","params":[["data","Any*"]],"na":1,"since":3095},
{"name":"playstatsAttritionStageEnd","native":"_PLAYSTATS_ATTRITION_STAGE_END","hash":"0xBD642335A732F1A8","params":[["p0","Any"]],"na":1,"since":2944},
{"name":"playstatsShowroomNav","native":"_PLAYSTATS_SHOWROOM_NAV","hash":"0x961D4157B9B428DB","params":[["p0","Any"],["p1","Any"],["entity","Hash"]],"na":1,"since":2944},
{"name":"playstatsShowroomOverview","native":"_PLAYSTATS_SHOWROOM_OVERVIEW","hash":"0x151D6C04C9E2742F","params":[["data","Any*"]],"na":1,"since":2944,"doc":"Data struct contains various tunables related to test drives at Simeons Showroom or Luxury Showcase."},
{"name":"playstatsPimenuNav","native":"_PLAYSTATS_PIMENU_NAV","hash":"0xE6D323A5E9EFFB76","params":[["data","Any*"]],"na":1,"since":3258},
{"name":"playstatsRecoverVehicle","native":"_PLAYSTATS_RECOVER_VEHICLE","hash":"0xBEB0D930B3CCE4D5","params":[["data","Any*"]],"na":1,"since":3258},
{"name":"playstatsScriptEventFpom","native":"_PLAYSTATS_SCRIPT_EVENT_FPOM","hash":"0x574A7808450E141C","params":[["data","Any*"]],"na":1,"since":3570}
]},
{"id":"STREAMING","title":"Streaming","doc":"Loading assets: models, animation and texture dictionaries, particle assets, IPLs, focus.","natives":[
{"name":"loadAllObjectsNow","native":"LOAD_ALL_OBJECTS_NOW","hash":"0xBD6E84632DD4CB3F"},
{"name":"loadScene","native":"LOAD_SCENE","hash":"0x4448EB75B4904BDB","params":[["x","float"],["y","float"],["z","float"]]},
{"name":"networkUpdateLoadScene","native":"NETWORK_UPDATE_LOAD_SCENE","hash":"0xC4582015556D1C46","ret":"BOOL"},
{"name":"isNetworkLoadingScene","native":"IS_NETWORK_LOADING_SCENE","hash":"0x41CA5A33160EA4AB","ret":"BOOL"},
{"name":"setInteriorActive","native":"SET_INTERIOR_ACTIVE","hash":"0xE37B76C387BE28ED","params":[["interiorID","int"],["toggle","BOOL"]]},
{"name":"requestModel","native":"REQUEST_MODEL","hash":"0x963D27A58DF860AC","params":[["model","Hash"]],"doc":"Request a model to be loaded into memory."},
{"name":"requestMenuPedModel","native":"REQUEST_MENU_PED_MODEL","hash":"0xA0261AEF7ACFC51E","params":[["model","Hash"]]},
{"name":"hasModelLoaded","native":"HAS_MODEL_LOADED","hash":"0x98A4EB5D89A0C952","params":[["model","Hash"]],"ret":"BOOL","doc":"Checks if the specified model has loaded into memory."},
{"name":"requestModelsInRoom","native":"REQUEST_MODELS_IN_ROOM","hash":"0x8A7A40100EDFEC58","params":[["interior","Interior"],["roomName","string"]],"aka":["_REQUEST_INTERIOR_ROOM_BY_NAME"],"doc":"```\nrequestModelsInRoom(l_13BC, \"V_FIB01_cur_elev\");\nrequestModelsInRoom(l_13BC, \"limbo\");\nrequestModelsInRoom(l_13BB, \"V_Office_gnd_lifts\");\nrequestModelsInRoom(l_13BB, \"limbo\");\nrequestModelsInRoom(l_13BC, \"v_fib01_jan_elev\");\nrequestModelsInRoom(l_13BC, \"limbo\");\n```"},
{"name":"setModelAsNoLongerNeeded","native":"SET_MODEL_AS_NO_LONGER_NEEDED","hash":"0xE532F5D78798DAAB","params":[["model","Hash"]],"doc":"Unloads model from memory"},
{"name":"isModelInCdimage","native":"IS_MODEL_IN_CDIMAGE","hash":"0x35B9E0803292B641","params":[["model","Hash"]],"ret":"BOOL","doc":"Check if model is in cdimage(rpf)"},
{"name":"isModelValid","native":"IS_MODEL_VALID","hash":"0xC0296A2EDF545E92","params":[["model","Hash"]],"ret":"BOOL","doc":"Returns whether the specified model exists in the game."},
{"name":"isModelAPed","native":"IS_MODEL_A_PED","hash":"0x75816577FEA6DAD5","params":[["model","Hash"]],"ret":"BOOL","since":1103},
{"name":"isModelAVehicle","native":"IS_MODEL_A_VEHICLE","hash":"0x19AAC8F07BFEC53E","params":[["model","Hash"]],"ret":"BOOL","doc":"Returns whether the specified model represents a vehicle."},
{"name":"requestCollisionAtCoord","native":"REQUEST_COLLISION_AT_COORD","hash":"0x07503F7948F491A7","params":[["x","float"],["y","float"],["z","float"]]},
{"name":"requestCollisionForModel","native":"REQUEST_COLLISION_FOR_MODEL","hash":"0x923CB32A3B874FCB","params":[["model","Hash"]]},
{"name":"hasCollisionForModelLoaded","native":"HAS_COLLISION_FOR_MODEL_LOADED","hash":"0x22CCA434E368F03A","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"requestAdditionalCollisionAtCoord","native":"REQUEST_ADDITIONAL_COLLISION_AT_COORD","hash":"0xC9156DC11411A9EA","params":[["x","float"],["y","float"],["z","float"]],"doc":"Alias of `requestCollisionAtCoord`."},
{"name":"doesAnimDictExist","native":"DOES_ANIM_DICT_EXIST","hash":"0x2DA49C3B79856961","params":[["animDict","string"]],"ret":"BOOL","doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"requestAnimDict","native":"REQUEST_ANIM_DICT","hash":"0xD3BD40951412FEF6","params":[["animDict","string"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"hasAnimDictLoaded","native":"HAS_ANIM_DICT_LOADED","hash":"0xD031A9162D01088C","params":[["animDict","string"]],"ret":"BOOL","doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"removeAnimDict","native":"REMOVE_ANIM_DICT","hash":"0xF66A602F829E2A06","params":[["animDict","string"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"requestAnimSet","native":"REQUEST_ANIM_SET","hash":"0x6EA47DAE7FAD0EED","params":[["animSet","string"]],"doc":"Starts loading the specified animation set. An animation set provides movement animations for a ped. See `setPedMovementClipset`.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"hasAnimSetLoaded","native":"HAS_ANIM_SET_LOADED","hash":"0xC4EA073D86FB29B0","params":[["animSet","string"]],"ret":"BOOL","doc":"Gets whether the specified animation set has finished loading. An animation set provides movement animations for a ped. See `setPedMovementClipset`.\n\nAnimation set and clip set are synonymous.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"removeAnimSet","native":"REMOVE_ANIM_SET","hash":"0x16350528F93024B3","params":[["animSet","string"]],"doc":"Unloads the specified animation set. An animation set provides movement animations for a ped. See `setPedMovementClipset`.\n\nAnimation set and clip set are synonymous.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"requestClipSet","native":"REQUEST_CLIP_SET","hash":"0xD2A71E1A77418A49","params":[["clipSet","string"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"hasClipSetLoaded","native":"HAS_CLIP_SET_LOADED","hash":"0x318234F4F3738AF3","params":[["clipSet","string"]],"ret":"BOOL","doc":"Alias for `hasAnimSetLoaded`.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"removeClipSet","native":"REMOVE_CLIP_SET","hash":"0x01F73A131C18CD94","params":[["clipSet","string"]],"doc":"Alias for `removeAnimSet`.\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nFull list of movement clipsets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/movementClipsetsCompact.json"},
{"name":"requestIpl","native":"REQUEST_IPL","hash":"0x41B4893843BBDB74","params":[["iplName","string"]],"doc":"```\nExemple: requestIpl(\"TrevorsTrailerTrash\");\n```\n\nFull list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json"},
{"name":"removeIpl","native":"REMOVE_IPL","hash":"0xEE6C5AD3ECE0A82D","params":[["iplName","string"]],"doc":"Removes an IPL from the map.\n\nFull list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json\n\nExample:\nC#:\n\n```\nFunction.Call(Hash.REMOVE_IPL, \"trevorstrailertidy\");\n```\n\nC++:\n\n```\nremoveIpl(\"trevorstrailertidy\");\n```\n\niplName = Name of IPL you want to remove."},
{"name":"isIplActive","native":"IS_IPL_ACTIVE","hash":"0x88A741E44A2B3495","params":[["iplName","string"]],"ret":"BOOL","doc":"Full list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json"},
{"name":"setStreaming","native":"SET_STREAMING","hash":"0x6E0C692677008888","params":[["toggle","BOOL"]]},
{"name":"loadGlobalWaterFile","native":"LOAD_GLOBAL_WATER_FILE","hash":"0x7E3F55ED251B76D3","params":[["waterType","int"]],"since":2189,"aka":["_LOAD_GLOBAL_WATER_TYPE"],"doc":"0 - default\n1 - HeistIsland"},
{"name":"getGlobalWaterFile","native":"GET_GLOBAL_WATER_FILE","hash":"0xF741BD853611592D","ret":"int","since":2189,"aka":["_GET_GLOBAL_WATER_TYPE"]},
{"name":"setGamePausesForStreaming","native":"SET_GAME_PAUSES_FOR_STREAMING","hash":"0x717CD6E6FAEBBEDC","params":[["toggle","BOOL"]]},
{"name":"setReducePedModelBudget","native":"SET_REDUCE_PED_MODEL_BUDGET","hash":"0x77B5F9A36BF96710","params":[["toggle","BOOL"]]},
{"name":"setReduceVehicleModelBudget","native":"SET_REDUCE_VEHICLE_MODEL_BUDGET","hash":"0x80C527893080CCF3","params":[["toggle","BOOL"]]},
{"name":"setDitchPoliceModels","native":"SET_DITCH_POLICE_MODELS","hash":"0x42CBE54462D92634","params":[["toggle","BOOL"]],"doc":"This is a NOP function. It does nothing at all."},
{"name":"getNumberOfStreamingRequests","native":"GET_NUMBER_OF_STREAMING_REQUESTS","hash":"0x4060057271CEBC89","ret":"int"},
{"name":"requestPtfxAsset","native":"REQUEST_PTFX_ASSET","hash":"0x944955FB2A3935C8","doc":"maps script name by lookup via scriptfx.dat - does nothing when script name is empty"},
{"name":"hasPtfxAssetLoaded","native":"HAS_PTFX_ASSET_LOADED","hash":"0xCA7D9B86ECA7481B","ret":"BOOL"},
{"name":"removePtfxAsset","native":"REMOVE_PTFX_ASSET","hash":"0x88C6814073DD4A73"},
{"name":"requestNamedPtfxAsset","native":"REQUEST_NAMED_PTFX_ASSET","hash":"0xB80D8756B4668AB6","params":[["fxName","string"]],"doc":"From the b678d decompiled scripts:\n\n```\nrequestNamedPtfxAsset(\"core_snow\");\nrequestNamedPtfxAsset(\"fm_mission_controler\");\nrequestNamedPtfxAsset(\"proj_xmas_firework\");\nrequestNamedPtfxAsset(\"scr_apartment_mp\");\nrequestNamedPtfxAsset(\"scr_biolab_heist\");\nrequestNamedPtfxAsset(\"scr_indep_fireworks\");\nrequestNamedPtfxAsset(\"scr_indep_parachute\");\nrequestNamedPtfxAsset(\"scr_indep_wheelsmoke\");\nrequestNamedPtfxAsset(\"scr_mp_cig_plane\");\nrequestNamedPtfxAsset(\"scr_mp_creator\");\nrequestNamedPtfxAsset(\"scr_mp_tankbattle\");\nrequestNamedPtfxAsset(\"scr_ornate_heist\");\nrequestNamedPtfxAsset(\"scr_prison_break_heist_station\");\n```"},
{"name":"hasNamedPtfxAssetLoaded","native":"HAS_NAMED_PTFX_ASSET_LOADED","hash":"0x8702416E512EC454","params":[["fxName","string"]],"ret":"BOOL"},
{"name":"removeNamedPtfxAsset","native":"REMOVE_NAMED_PTFX_ASSET","hash":"0x5F61EBBE1A00F96D","params":[["fxName","string"]],"aka":["_REMOVE_NAMED_PTFX_ASSET"]},
{"name":"setVehiclePopulationBudget","native":"SET_VEHICLE_POPULATION_BUDGET","hash":"0xCB9E1EB3BE2AF4E9","params":[["p0","int"]]},
{"name":"setPedPopulationBudget","native":"SET_PED_POPULATION_BUDGET","hash":"0x8C95333CFC3340F3","params":[["p0","int"]],"doc":"Control how many new (ambient?) peds will spawn in the game world.\nRange for p0 seems to be 0-3, where 0 is none and 3 is the normal level."},
{"name":"clearFocus","native":"CLEAR_FOCUS","hash":"0x31B73D1EA9F01DA2"},
{"name":"setFocusPosAndVel","native":"SET_FOCUS_POS_AND_VEL","hash":"0xBB7454BAFF08FE25","params":[["x","float"],["y","float"],["z","float"],["offsetX","float"],["offsetY","float"],["offsetZ","float"]],"aka":["_SET_FOCUS_AREA"],"doc":"Override the area where the camera will render the terrain.\np3, p4 and p5 are usually set to 0.0"},
{"name":"setFocusEntity","native":"SET_FOCUS_ENTITY","hash":"0x198F77705FA0931D","params":[["entity","Entity"]],"doc":"It seems to make the entity's coords mark the point from which LOD-distances are measured. In my testing, setting a vehicle as the focus entity and moving that vehicle more than 300 distance units away from the player will make the level of detail around the player go down drastically (shadows disappear, textures go extremely low res, etc). The player seems to be the default focus entity."},
{"name":"isEntityFocus","native":"IS_ENTITY_FOCUS","hash":"0x2DDFF3FB9075D747","params":[["entity","Entity"]],"ret":"BOOL"},
{"name":"setRestoreFocusEntity","native":"SET_RESTORE_FOCUS_ENTITY","hash":"0x0811381EF5062FEC","params":[["p0","Entity"]]},
{"name":"setMapdatacullboxEnabled","native":"SET_MAPDATACULLBOX_ENABLED","hash":"0xAF12610C644A35C9","params":[["name","string"],["toggle","BOOL"]],"doc":"Possible p0 values:\n\n\"prologue\"\n\"Prologue_Main\""},
{"name":"setAllMapdataCulled","native":"SET_ALL_MAPDATA_CULLED","hash":"0x4E52E752C76E7E7A","params":[["p0","Any"]],"doc":"This native does absolutely nothing, just a nullsub"},
{"name":"streamvolCreateSphere","native":"STREAMVOL_CREATE_SPHERE","hash":"0x219C7B8D53E429FD","params":[["x","float"],["y","float"],["z","float"],["rad","float"],["p4","Any"],["p5","Any"]],"ret":"int","aka":["FORMAT_FOCUS_HEADING"],"doc":"Always returns zero."},
{"name":"streamvolCreateFrustum","native":"STREAMVOL_CREATE_FRUSTUM","hash":"0x1F3F018BC3AFA77C","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","Any"],["p8","Any"]],"ret":"int","doc":"Always returns zero."},
{"name":"streamvolCreateLine","native":"STREAMVOL_CREATE_LINE","hash":"0x0AD9710CEE2F590F","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","Any"]],"ret":"int","doc":"Always returns zero."},
{"name":"streamvolDelete","native":"STREAMVOL_DELETE","hash":"0x1EE7D8DF4425F053","params":[["unused","Any"]]},
{"name":"streamvolHasLoaded","native":"STREAMVOL_HAS_LOADED","hash":"0x7D41E9D2D17C5B2D","params":[["unused","Any"]],"ret":"BOOL"},
{"name":"streamvolIsValid","native":"STREAMVOL_IS_VALID","hash":"0x07C313F94746702C","params":[["unused","Any"]],"ret":"BOOL"},
{"name":"isStreamvolActive","native":"IS_STREAMVOL_ACTIVE","hash":"0xBC9823AB80A3DCAC","ret":"BOOL"},
{"name":"newLoadSceneStart","native":"NEW_LOAD_SCENE_START","hash":"0x212A8D0D2BABFAC2","params":[["posX","float"],["posY","float"],["posZ","float"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["radius","float"],["p7","int"]],"ret":"BOOL","doc":"`radius` value is usually between `3f` and `7000f` in original 1868 scripts.\n`p7` is 0, 1, 2, 3 or 4 used in decompiled scripts, 0 is by far the most common.\nReturns True if success, used only 7 times in decompiled scripts of 1868"},
{"name":"newLoadSceneStartSphere","native":"NEW_LOAD_SCENE_START_SPHERE","hash":"0xACCFB4ACF53551B0","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["p4","Any"]],"ret":"BOOL"},
{"name":"newLoadSceneStop","native":"NEW_LOAD_SCENE_STOP","hash":"0xC197616D221FF4A4"},
{"name":"isNewLoadSceneActive","native":"IS_NEW_LOAD_SCENE_ACTIVE","hash":"0xA41A05B6CB741B85","ret":"BOOL"},
{"name":"isNewLoadSceneLoaded","native":"IS_NEW_LOAD_SCENE_LOADED","hash":"0x01B8247A7A8B9AD1","ret":"BOOL"},
{"name":"isSafeToStartPlayerSwitch","native":"IS_SAFE_TO_START_PLAYER_SWITCH","hash":"0x71E7B2E657449AAD","ret":"BOOL"},
{"name":"startPlayerSwitch","native":"START_PLAYER_SWITCH","hash":"0xFAA23F2CBA159D67","params":[["from","Ped"],["to","Ped"],["flags","int"],["switchType","int"]],"doc":"Use `getIdealPlayerSwitchType` for the best switch type.\n\n---\n\nExamples from the decompiled scripts:\n\n```\nstartPlayerSwitch(l_832._f3, playerPedId(), 0, 3);\nstartPlayerSwitch(l_832._f3, playerPedId(), 2050, 3);\nstartPlayerSwitch(playerPedId(), l_832._f3, 1024, 3);\nstartPlayerSwitch(g_141F27, playerPedId(), 513, v_14);\n```"},
{"name":"stopPlayerSwitch","native":"STOP_PLAYER_SWITCH","hash":"0x95C0A5BBDC189AA1"},
{"name":"isPlayerSwitchInProgress","native":"IS_PLAYER_SWITCH_IN_PROGRESS","hash":"0xD9D2CFFF49FAB35F","ret":"BOOL","doc":"Returns true if the player is currently switching, false otherwise.\n(When the camera is in the sky moving from Trevor to Franklin for example)"},
{"name":"getPlayerSwitchType","native":"GET_PLAYER_SWITCH_TYPE","hash":"0xB3C94A90D9FC9E62","ret":"int"},
{"name":"getIdealPlayerSwitchType","native":"GET_IDEAL_PLAYER_SWITCH_TYPE","hash":"0xB5D7B26B45720E05","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"int","doc":"x1, y1, z1 -- Coords of your ped model\nx2, y2, z2 -- Coords of the ped you want to switch to"},
{"name":"getPlayerSwitchState","native":"GET_PLAYER_SWITCH_STATE","hash":"0x470555300D10B2A5","ret":"int"},
{"name":"getPlayerShortSwitchState","native":"GET_PLAYER_SHORT_SWITCH_STATE","hash":"0x20F898A5D9782800","ret":"int"},
{"name":"setPlayerShortSwitchStyle","native":"SET_PLAYER_SHORT_SWITCH_STYLE","hash":"0x5F2013F8BC24EE69","params":[["p0","int"]]},
{"name":"getPlayerSwitchJumpCutIndex","native":"GET_PLAYER_SWITCH_JUMP_CUT_INDEX","hash":"0x78C0D93253149435","ret":"int"},
{"name":"setPlayerSwitchOutro","native":"SET_PLAYER_SWITCH_OUTRO","hash":"0xC208B673CE446B61","params":[["cameraCoordX","float"],["cameraCoordY","float"],["cameraCoordZ","float"],["camRotationX","float"],["camRotationY","float"],["camRotationZ","float"],["camFov","float"],["camFarClip","float"],["rotationOrder","int"]]},
{"name":"setPlayerSwitchEstablishingShot","native":"SET_PLAYER_SWITCH_ESTABLISHING_SHOT","hash":"0x0FDE9DBFC0A6BC65","params":[["name","string"]],"doc":"All names can be found in playerswitchestablishingshots.meta"},
{"name":"allowPlayerSwitchPan","native":"ALLOW_PLAYER_SWITCH_PAN","hash":"0x43D1680C6D19A8E9"},
{"name":"allowPlayerSwitchOutro","native":"ALLOW_PLAYER_SWITCH_OUTRO","hash":"0x74DE2E8739086740"},
{"name":"allowPlayerSwitchAscent","native":"ALLOW_PLAYER_SWITCH_ASCENT","hash":"0x8E2A065ABDAE6994"},
{"name":"allowPlayerSwitchDescent","native":"ALLOW_PLAYER_SWITCH_DESCENT","hash":"0xAD5FDF34B81BFE79"},
{"name":"isSwitchReadyForDescent","native":"IS_SWITCH_READY_FOR_DESCENT","hash":"0xDFA80CB25D0A19B3","ret":"BOOL"},
{"name":"enableSwitchPauseBeforeDescent","native":"ENABLE_SWITCH_PAUSE_BEFORE_DESCENT","hash":"0xD4793DFF3AF2ABCD"},
{"name":"disableSwitchOutroFx","native":"DISABLE_SWITCH_OUTRO_FX","hash":"0xBD605B8E0E18B3BB"},
{"name":"switchToMultiFirstpart","native":"SWITCH_TO_MULTI_FIRSTPART","hash":"0xAAB3200ED59016BC","params":[["ped","Ped"],["flags","int"],["switchType","int"]],"aka":["_SWITCH_OUT_PLAYER"],"doc":"doesn't act normally when used on mount chilliad\nFlags is a bitflag:\n2^n - Enabled Functionality:\n0 - Skip camera rotate up\n3 - Wait for `setPlayerSwitchEstablishingShot` / hang at last step. You will still need to run `allowPlayerSwitchOutro` to exit \"properly\" and then `stopPlayerSwitch`\n6 - Invert Switch Direction (false = out, true = in)\n8 - Hang above ped\n\nswitchType: 0 - 3\n0: 1 step towards ped\n1: 3 steps out from ped\n2: 1 step out from ped\n3: 1 step towards ped"},
{"name":"switchToMultiSecondpart","native":"SWITCH_TO_MULTI_SECONDPART","hash":"0xD8295AF639FD9CB8","params":[["ped","Ped"]],"aka":["_SWITCH_IN_PLAYER"]},
{"name":"isSwitchToMultiFirstpartFinished","native":"IS_SWITCH_TO_MULTI_FIRSTPART_FINISHED","hash":"0x933BBEEB8C61B5F4","ret":"BOOL"},
{"name":"getPlayerSwitchInterpOutDuration","native":"GET_PLAYER_SWITCH_INTERP_OUT_DURATION","hash":"0x08C2D6C52A3104BB","ret":"int","aka":["SET_PLAYER_INVERTED_UP"]},
{"name":"getPlayerSwitchInterpOutCurrentTime","native":"GET_PLAYER_SWITCH_INTERP_OUT_CURRENT_TIME","hash":"0x5B48A06DD0E792A5","ret":"int"},
{"name":"isSwitchSkippingDescent","native":"IS_SWITCH_SKIPPING_DESCENT","hash":"0x5B74EA8CFD5E3E7E","ret":"BOOL","aka":["DESTROY_PLAYER_IN_PAUSE_MENU"]},
{"name":"setSceneStreamingTracksCamPosThisFrame","native":"SET_SCENE_STREAMING_TRACKS_CAM_POS_THIS_FRAME","hash":"0x1E9057A74FD73E23"},
{"name":"getLodscale","native":"GET_LODSCALE","hash":"0x0C15B0E443B2349D","ret":"float"},
{"name":"overrideLodscaleThisFrame","native":"OVERRIDE_LODSCALE_THIS_FRAME","hash":"0xA76359FC80B2438E","params":[["scaling","float"]],"doc":"This allows you to override \"extended distance scaling\" setting. Needs to be called each frame.\nMax scaling seems to be 200.0, normal is 1.0"},
{"name":"remapLodscaleRangeThisFrame","native":"REMAP_LODSCALE_RANGE_THIS_FRAME","hash":"0xBED8CA5FF5E04113","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"]]},
{"name":"suppressHdMapStreamingThisFrame","native":"SUPPRESS_HD_MAP_STREAMING_THIS_FRAME","hash":"0x472397322E92A856"},
{"name":"setRenderHdOnly","native":"SET_RENDER_HD_ONLY","hash":"0x40AEFD1A244741F2","params":[["toggle","BOOL"]]},
{"name":"forceAllowTimeBasedFadingThisFrame","native":"FORCE_ALLOW_TIME_BASED_FADING_THIS_FRAME","hash":"0x03F1A106BDA7DD3E"},
{"name":"iplGroupSwapStart","native":"IPL_GROUP_SWAP_START","hash":"0x95A7DABDDBB78AE7","params":[["iplName1","string"],["iplName2","string"]]},
{"name":"iplGroupSwapCancel","native":"IPL_GROUP_SWAP_CANCEL","hash":"0x63EB2B972A218CAC"},
{"name":"iplGroupSwapIsReady","native":"IPL_GROUP_SWAP_IS_READY","hash":"0xFB199266061F820A","ret":"BOOL"},
{"name":"iplGroupSwapFinish","native":"IPL_GROUP_SWAP_FINISH","hash":"0xF4A0DADB70F57FA6"},
{"name":"iplGroupSwapIsActive","native":"IPL_GROUP_SWAP_IS_ACTIVE","hash":"0x5068F488DDB54DD8","ret":"BOOL"},
{"name":"prefetchSrl","native":"PREFETCH_SRL","hash":"0x3D245789CE12982C","params":[["srl","string"]],"doc":"This native is used to attribute the SRL that `beginSrl` is going to load. This is usually used for 'in-game' cinematics (not cutscenes but camera stuff) instead of `setFocusPosAndVel` because it loads a specific area of the map which is pretty useful when the camera moves from distant areas.\nFor instance, GTA:O opening cutscene.\nhttps://pastebin.com/2EeKVeLA : a list of SRL found in srllist.meta\nhttps://pastebin.com/zd9XYUWY here is the content of a SRL file opened with codewalker."},
{"name":"isSrlLoaded","native":"IS_SRL_LOADED","hash":"0xD0263801A4C5B0BB","ret":"BOOL","doc":"Returns true when the srl from `beginSrl` is loaded."},
{"name":"beginSrl","native":"BEGIN_SRL","hash":"0x9BADDC94EF83B823"},
{"name":"endSrl","native":"END_SRL","hash":"0x0A41540E63C9EE17","doc":"Clear the current srl and stop rendering the area selected by `prefetchSrl` and started with `beginSrl`."},
{"name":"setSrlTime","native":"SET_SRL_TIME","hash":"0xA74A541C6884E7B8","params":[["p0","float"]]},
{"name":"setSrlPostCutsceneCamera","native":"SET_SRL_POST_CUTSCENE_CAMERA","hash":"0xEF39EE20C537E98C","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]]},
{"name":"setSrlReadaheadTimes","native":"SET_SRL_READAHEAD_TIMES","hash":"0xBEB2D9A1D9A8F55A","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"]]},
{"name":"setSrlLongJumpMode","native":"SET_SRL_LONG_JUMP_MODE","hash":"0x20C6C7E4EB082A7F","params":[["p0","BOOL"]]},
{"name":"setSrlForcePrestream","native":"SET_SRL_FORCE_PRESTREAM","hash":"0xF8155A7F03DDFC8E","params":[["p0","Any"]]},
{"name":"setHdArea","native":"SET_HD_AREA","hash":"0xB85F26619073E775","params":[["x","float"],["y","float"],["z","float"],["radius","float"]]},
{"name":"clearHdArea","native":"CLEAR_HD_AREA","hash":"0xCE58B1CFB9290813"},
{"name":"initCreatorBudget","native":"INIT_CREATOR_BUDGET","hash":"0xB5A4DB34FE89B88A","aka":["_LOAD_MISSION_CREATOR_DATA"]},
{"name":"shutdownCreatorBudget","native":"SHUTDOWN_CREATOR_BUDGET","hash":"0xCCE26000E9A6FAD7"},
{"name":"addModelToCreatorBudget","native":"ADD_MODEL_TO_CREATOR_BUDGET","hash":"0x0BC3144DEB678666","params":[["modelHash","Hash"]],"ret":"BOOL"},
{"name":"removeModelFromCreatorBudget","native":"REMOVE_MODEL_FROM_CREATOR_BUDGET","hash":"0xF086AD9354FAC3A3","params":[["modelHash","Hash"]]},
{"name":"getUsedCreatorBudget","native":"GET_USED_CREATOR_BUDGET","hash":"0x3D3D8B3BE5A83D35","ret":"float","aka":["_GET_USED_CREATOR_MODEL_MEMORY_PERCENTAGE"],"doc":"0.0 = no memory used\n1.0 = all memory used\n\nMaximum model memory (as defined in common\\data\\missioncreatordata.meta) is 100 MiB"},
{"name":"setIslandEnabled","native":"SET_ISLAND_ENABLED","hash":"0x9A9D1BA639675CF1","params":[["name","string"],["toggle","BOOL"]],"since":2189,"aka":["_SET_ISLAND_HOPPER_ENABLED"],"doc":"Enables the specified island. For more information, see islandhopper.meta"},
{"name":"isGameInstalled","native":"IS_GAME_INSTALLED","ret":"BOOL","na":1}
]},
{"id":"TASK","title":"Tasks","doc":"AI tasks: movement, combat, animations, driving, scenarios and sequences.","natives":[
{"name":"taskPause","native":"TASK_PAUSE","hash":"0xE73A266DB0CA9042","params":[["ped","Ped"],["ms","int"]],"doc":"Stand still (?)"},
{"name":"taskStandStill","native":"TASK_STAND_STILL","hash":"0x919BE13EED931959","params":[["ped","Ped"],["time","int"]],"doc":"Makes the specified ped stand still for (time) milliseconds."},
{"name":"taskJump","native":"TASK_JUMP","hash":"0x0AE4086104E067B1","params":[["ped","Ped"],["usePlayerLaunchForce","BOOL"],["doSuperJump","BOOL"],["useFullSuperJumpForce","BOOL"]],"doc":"Definition is wrong. This has 4 parameters (Not sure when they were added. v350 has 2, v678 has 4).\n\nv350: Ped ped, bool unused\nv678: Ped ped, bool unused, bool flag1, bool flag2\n\nflag1 = super jump, flag2 = do nothing if flag1 is false and doubles super jump height if flag1 is true."},
{"name":"taskCower","native":"TASK_COWER","hash":"0x3EB1FE9E8E908E15","params":[["ped","Ped"],["duration","int"]]},
{"name":"taskHandsUp","native":"TASK_HANDS_UP","hash":"0xF2EAB31979A7F910","params":[["ped","Ped"],["duration","int"],["facingPed","Ped"],["timeToFacePed","int"],["flags","int"]],"doc":"In the scripts, p3 was always -1.\n\np3 seems to be duration or timeout of turn animation.\nAlso facingPed can be 0 or -1 so ped will just raise hands up."},
{"name":"updateTaskHandsUpDuration","native":"UPDATE_TASK_HANDS_UP_DURATION","hash":"0xA98FCAFD7893C834","params":[["ped","Ped"],["duration","int"]]},
{"name":"taskOpenVehicleDoor","native":"TASK_OPEN_VEHICLE_DOOR","hash":"0x965791A9A488A062","params":[["ped","Ped"],["vehicle","Vehicle"],["timeOut","int"],["seat","int"],["speed","float"]],"doc":"The given ped will try to open the nearest door to 'seat'.\nExample: telling the ped to open the door for the driver seat does not necessarily mean it will open the driver door, it may choose to open the passenger door instead if that one is closer."},
{"name":"taskEnterVehicle","native":"TASK_ENTER_VEHICLE","hash":"0xC20E50AA46D09CA8","params":[["ped","Ped"],["vehicle","Vehicle"],["timeout","int"],["seat","int"],["speed","float"],["flag","int"],["overrideEntryClipsetName","string"]],"doc":"speed 1.0 = walk, 2.0 = run\np5 1 = normal, 3 = teleport to vehicle, 16 = teleport directly into vehicle\np6 is always 0\n\nUsage of seat\n-1 = driver\n0 = passenger\n1 = left back seat\n2 = right back seat\n3 = outside left\n4 = outside right"},
{"name":"taskLeaveVehicle","native":"TASK_LEAVE_VEHICLE","hash":"0xD3DBCE61A490BE02","params":[["ped","Ped"],["vehicle","Vehicle"],["flags","int"]],"doc":"Flags from decompiled scripts:\n0 = normal exit and closes door.\n1 = normal exit and closes door.\n16 = teleports outside, door kept closed.\n64 = normal exit and closes door, maybe a bit slower animation than 0.\n256 = normal exit but does not close the door.\n4160 = ped is throwing himself out, even when the vehicle is still.\n262144 = ped moves to passenger seat first, then exits normally\n\nOthers to be tried out: 320, 512, 131072."},
{"name":"taskGetOffBoat","native":"TASK_GET_OFF_BOAT","hash":"0x9C00E77AF14B2DFF","params":[["ped","Ped"],["boat","Vehicle"]],"aka":["_TASK_GET_OFF_BOAT"]},
{"name":"taskSkyDive","native":"TASK_SKY_DIVE","hash":"0x601736CFE536B0A0","params":[["ped","Ped"],["instant","BOOL"]]},
{"name":"taskParachute","native":"TASK_PARACHUTE","hash":"0xD2F1C53C97EE81AB","params":[["ped","Ped"],["giveParachuteItem","BOOL"],["instant","BOOL"]],"doc":"Second parameter is unused.\n\nsecond parameter was for jetpack in the early stages of gta and the hard coded code is now removed"},
{"name":"taskParachuteToTarget","native":"TASK_PARACHUTE_TO_TARGET","hash":"0xB33E291AFA6BD03A","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"]],"doc":"makes ped parachute to coords x y z. Works well with `getSafeCoordForPed`"},
{"name":"setParachuteTaskTarget","native":"SET_PARACHUTE_TASK_TARGET","hash":"0xC313379AF0FCEDA7","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"]]},
{"name":"setParachuteTaskThrust","native":"SET_PARACHUTE_TASK_THRUST","hash":"0x0729BAC1B8C64317","params":[["ped","Ped"],["thrust","float"]]},
{"name":"taskRappelFromHeli","native":"TASK_RAPPEL_FROM_HELI","hash":"0x09693B0312F91649","params":[["ped","Ped"],["minHeightAboveGround","float","the minimum height above ground the heli must be at before the ped can start rappelling"]],"doc":"Only appears twice in the scripts.\n\n```\ntaskRappelFromHeli(playerPedId(), 10.0f);\ntaskRappelFromHeli(a_0, 10.0f);\n```"},
{"name":"taskVehicleDriveToCoord","native":"TASK_VEHICLE_DRIVE_TO_COORD","hash":"0xE2A2AA2F659D77A7","params":[["ped","Ped"],["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["speed","float"],["p6","Any"],["vehicleModel","Hash"],["drivingMode","int"],["stopRange","float"],["straightLineDistance","float"]],"doc":"info about driving modes: https://gtaforums.com/topic/822314-guide-driving-styles/"},
{"name":"taskVehicleDriveToCoordLongrange","native":"TASK_VEHICLE_DRIVE_TO_COORD_LONGRANGE","hash":"0x158BB33F920D360C","params":[["ped","Ped"],["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["speed","float"],["driveMode","int"],["stopRange","float"]]},
{"name":"taskVehicleDriveWander","native":"TASK_VEHICLE_DRIVE_WANDER","hash":"0x480142959D337D00","params":[["ped","Ped"],["vehicle","Vehicle"],["speed","float"],["drivingStyle","int"]]},
{"name":"taskFollowToOffsetOfEntity","native":"TASK_FOLLOW_TO_OFFSET_OF_ENTITY","hash":"0x304AE42E357B8C7E","params":[["ped","Ped"],["entity","Entity"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["movementSpeed","float"],["timeout","int"],["stoppingRange","float"],["persistFollowing","BOOL"]],"doc":"p6 always -1\np7 always 10.0\np8 always 1"},
{"name":"taskGoStraightToCoord","native":"TASK_GO_STRAIGHT_TO_COORD","hash":"0xD76B57B44F1E6F8B","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["speed","float"],["timeout","int"],["targetHeading","float"],["distanceToSlide","float"]]},
{"name":"taskGoStraightToCoordRelativeToEntity","native":"TASK_GO_STRAIGHT_TO_COORD_RELATIVE_TO_ENTITY","hash":"0x61E360B7E040D12E","params":[["ped","Ped"],["entity","Entity"],["x","float"],["y","float"],["z","float"],["moveBlendRatio","float"],["time","int"]]},
{"name":"taskAchieveHeading","native":"TASK_ACHIEVE_HEADING","hash":"0x93B93A37987F1F3D","params":[["ped","Ped"],["heading","float"],["timeout","int"]],"doc":"Makes the specified ped achieve the specified heading.\n\npedHandle: The handle of the ped to assign the task to.\nheading: The desired heading.\ntimeout: The time, in milliseconds, to allow the task to complete. If the task times out, it is cancelled, and the ped will stay at the heading it managed to reach in the time."},
{"name":"taskFlushRoute","native":"TASK_FLUSH_ROUTE","hash":"0x841142A1376E9006","doc":"MulleKD19: Clears the current point route. Call this before `taskExtendRoute` and `taskFollowPointRoute`."},
{"name":"taskExtendRoute","native":"TASK_EXTEND_ROUTE","hash":"0x1E7889778264843A","params":[["x","float"],["y","float"],["z","float"]],"doc":"MulleKD19: Adds a new point to the current point route. Call `taskFlushRoute` before the first call to this. Call `taskFollowPointRoute` to make the Ped go the route.\n\nA maximum of 8 points can be added."},
{"name":"taskFollowPointRoute","native":"TASK_FOLLOW_POINT_ROUTE","hash":"0x595583281858626E","params":[["ped","Ped"],["speed","float"],["mode","int"]],"doc":"MulleKD19: Makes the ped go on the created point route.\n\nped: The ped to give the task to.\nspeed: The speed to move at in m/s.\nint: Unknown. Can be 0, 1, 2 or 3.\n\nExample:\n\n```\ntaskFlushRoute();\ntaskExtendRoute(0f, 0f, 70f);\ntaskExtendRoute(10f, 0f, 70f);\ntaskExtendRoute(10f, 10f, 70f);\ntaskFollowPointRoute(getPlayerPed(), 1f, 0);\n```"},
{"name":"taskGoToEntity","native":"TASK_GO_TO_ENTITY","hash":"0x6A071245EB0D1882","params":[["entity","Entity"],["target","Entity"],["duration","int"],["distance","float"],["moveBlendRatio","float"],["slowDownDistance","float"],["flags","int"]],"doc":"The entity will move towards the target until time is over (duration) or get in target's range (distance). p5 and p6 are unknown, but you could leave p5 = 1073741824 or 100 or even 0 (didn't see any difference but on the decompiled scripts, they use 1073741824 mostly) and p6 = 0\n\nNote: I've only tested it on entity -> ped and target -> vehicle. It could work differently on other entities, didn't try it yet.\n\nExample: `taskGoToEntity`(pedHandle, vehicleHandle, 5000, 4.0, 100, 1073741824, 0)\n\nPed will run towards the vehicle for 5 seconds and stop when time is over or when he gets 4 meters(?) around the vehicle (with duration = -1, the task duration will be ignored)."},
{"name":"taskSmartFleeCoord","native":"TASK_SMART_FLEE_COORD","hash":"0x94587F17E9C365D5","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["distance","float"],["time","int"],["preferPavements","BOOL"],["quitIfOutOfRange","BOOL"]],"doc":"Makes the specified ped flee the specified distance from the specified position."},
{"name":"taskSmartFleePed","native":"TASK_SMART_FLEE_PED","hash":"0x22B0D0E37CCB840D","params":[["ped","Ped"],["fleeTarget","Ped"],["safeDistance","float"],["fleeTime","int"],["preferPavements","BOOL"],["updateToNearestHatedPed","BOOL"]],"doc":"Makes a ped run away from another ped (fleeTarget).\n\ndistance = ped will flee this distance.\nfleeTime = ped will flee for this amount of time, set to \"-1\" to flee forever"},
{"name":"taskReactAndFleePed","native":"TASK_REACT_AND_FLEE_PED","hash":"0x72C896464915D1B1","params":[["ped","Ped"],["fleeTarget","Ped"]]},
{"name":"taskShockingEventReact","native":"TASK_SHOCKING_EVENT_REACT","hash":"0x452419CBD838065B","params":[["ped","Ped"],["eventHandle","int"]]},
{"name":"taskWanderInArea","native":"TASK_WANDER_IN_AREA","hash":"0xE054346CA3A0F315","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"],["minimalLength","float"],["timeBetweenWalks","float"]]},
{"name":"taskWanderStandard","native":"TASK_WANDER_STANDARD","hash":"0xBB9CE077274F6A1B","params":[["ped","Ped"],["heading","float"],["flags","int"]],"doc":"Makes ped walk around the area.\n\nset p1 to 10.0f and p2 to 10 if you want the ped to walk anywhere without a duration."},
{"name":"taskWanderSpecific","native":"TASK_WANDER_SPECIFIC","hash":"0x6919A2F136426098","params":[["ped","Ped"],["conditionalAnimGroupStr","string"],["conditionalAnimStr","string"],["heading","float"]],"since":1868},
{"name":"taskVehiclePark","native":"TASK_VEHICLE_PARK","hash":"0x0F3E34E968EA374E","params":[["ped","Ped"],["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["heading","float"],["mode","int"],["radius","float"],["keepEngineOn","BOOL"]],"doc":"Modes:\n0 - ignore heading\n1 - park forward\n2 - park backwards\n\nDepending on the angle of approach, the vehicle can park at the specified heading or at its exact opposite (-180) angle.\n\nRadius seems to define how close the vehicle has to be -after parking- to the position for this task considered completed. If the value is too small, the vehicle will try to park again until it's exactly where it should be. 20.0 Works well but lower values don't, like the radius is measured in centimeters or something."},
{"name":"taskStealthKill","native":"TASK_STEALTH_KILL","hash":"0xAA5DC05579D60BD9","params":[["killer","Ped"],["target","Ped"],["stealthKillActionResultHash","Hash"],["desiredMoveBlendRatio","float"],["stealthFlags","int"]],"doc":"known \"killTypes\" are: \"AR_stealth_kill_knife\" and \"AR_stealth_kill_a\"."},
{"name":"taskPlantBomb","native":"TASK_PLANT_BOMB","hash":"0x965FEC691D55E9BF","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["heading","float"]]},
{"name":"taskSharkCircleCoord","native":"TASK_SHARK_CIRCLE_COORD","hash":"0x60A19CF85FF4CEFA","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["moveBlendRatio","float"],["radius","float"]],"na":1,"since":3407},
{"name":"taskFollowNavMeshToCoord","native":"TASK_FOLLOW_NAV_MESH_TO_COORD","hash":"0x15D3A79D4E44B913","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["moveBlendRatio","float"],["time","int"],["targetRadius","float"],["flags","int"],["targetHeading","float"]],"doc":"If no timeout, set timeout to -1."},
{"name":"taskFollowNavMeshToCoordAdvanced","native":"TASK_FOLLOW_NAV_MESH_TO_COORD_ADVANCED","hash":"0x17F58B88D085DBAC","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["moveBlendRatio","float"],["time","int"],["targetRadius","float"],["flags","int"],["slideToCoordHeading","float"],["maxSlopeNavigable","float"],["clampMaxSearchDistance","float"],["targetHeading","float"]]},
{"name":"setPedPathCanUseClimbovers","native":"SET_PED_PATH_CAN_USE_CLIMBOVERS","hash":"0x8E06A6FE76C9EFF4","params":[["ped","Ped"],["Toggle","BOOL"]]},
{"name":"setPedPathCanUseLadders","native":"SET_PED_PATH_CAN_USE_LADDERS","hash":"0x77A5B103C87F476E","params":[["ped","Ped"],["Toggle","BOOL"]]},
{"name":"setPedPathCanDropFromHeight","native":"SET_PED_PATH_CAN_DROP_FROM_HEIGHT","hash":"0xE361C5C71C431A4F","params":[["ped","Ped"],["Toggle","BOOL"]]},
{"name":"setPedPathClimbCostModifier","native":"SET_PED_PATH_CLIMB_COST_MODIFIER","hash":"0x88E32DB8C1A4AA4B","params":[["ped","Ped"],["modifier","float"]],"doc":"Default modifier is 1.0, minimum is 0.0 and maximum is 10.0."},
{"name":"setPedPathMayEnterWater","native":"SET_PED_PATH_MAY_ENTER_WATER","hash":"0xF35425A4204367EC","params":[["ped","Ped"],["mayEnterWater","BOOL"]],"aka":["SET_PED_PATHS_WIDTH_PLANT"]},
{"name":"setPedPathPreferToAvoidWater","native":"SET_PED_PATH_PREFER_TO_AVOID_WATER","hash":"0x38FE1EC73743793C","params":[["ped","Ped"],["avoidWater","BOOL"]]},
{"name":"setPedPathAvoidFire","native":"SET_PED_PATH_AVOID_FIRE","hash":"0x4455517B28441E60","params":[["ped","Ped"],["avoidFire","BOOL"]]},
{"name":"setGlobalMinBirdFlightHeight","native":"SET_GLOBAL_MIN_BIRD_FLIGHT_HEIGHT","hash":"0x6C6B148586F934F7","params":[["height","float"]],"doc":"Needs to be looped! And yes, it does work and is not a hash collision.\nBirds will try to reach the given height."},
{"name":"getNavmeshRouteDistanceRemaining","native":"GET_NAVMESH_ROUTE_DISTANCE_REMAINING","hash":"0xC6F5C0BCDC74D62D","params":[["ped","Ped"]],"ret":"int","outs":[["distanceRemaining","float",1],["isPathReady","BOOL",2]],"doc":"Looks like the last parameter returns true if the path has been calculated, while the first returns the remaining distance to the end of the path.\nReturn value of native is the same as `getNavmeshRouteResult`\nLooks like the native returns an int for the path's state:\n1 - ???\n2 - ???\n3 - Finished Generating"},
{"name":"getNavmeshRouteResult","native":"GET_NAVMESH_ROUTE_RESULT","hash":"0x632E831F382A0FA8","params":[["ped","Ped"]],"ret":"int","doc":"See `getNavmeshRouteDistanceRemaining` for more details."},
{"name":"isControlledVehicleUnableToGetToRoad","native":"IS_CONTROLLED_VEHICLE_UNABLE_TO_GET_TO_ROAD","hash":"0x3E38E28A1D80DDF6","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"taskGoToCoordAnyMeans","native":"TASK_GO_TO_COORD_ANY_MEANS","hash":"0x5BC448CB78FA3E88","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["moveBlendRatio","float"],["vehicle","Vehicle"],["useLongRangeVehiclePathing","BOOL"],["drivingFlags","int"],["maxRangeToShootTargets","float"]],"doc":"example from fm_mission_controller\n\n```\ntaskGoToCoordAnyMeans(l_649, sub_f7e86(-1, 0), 1.0, 0, 0, 786603, 0xbf800000);\n```"},
{"name":"taskGoToCoordAnyMeansExtraParams","native":"TASK_GO_TO_COORD_ANY_MEANS_EXTRA_PARAMS","hash":"0x1DD45F9ECFDB1BC9","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["moveBlendRatio","float"],["vehicle","Vehicle"],["useLongRangeVehiclePathing","BOOL"],["drivingFlags","int"],["maxRangeToShootTargets","float"],["extraVehToTargetDistToPreferVehicle","float"],["driveStraightLineDistance","float"],["extraFlags","int"],["warpTimerMS","float"]]},
{"name":"taskGoToCoordAnyMeansExtraParamsWithCruiseSpeed","native":"TASK_GO_TO_COORD_ANY_MEANS_EXTRA_PARAMS_WITH_CRUISE_SPEED","hash":"0xB8ECD61F531A7B02","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["moveBlendRatio","float"],["vehicle","Vehicle"],["useLongRangeVehiclePathing","BOOL"],["drivingFlags","int"],["maxRangeToShootTargets","float"],["extraVehToTargetDistToPreferVehicle","float"],["driveStraightLineDistance","float"],["extraFlags","int"],["cruiseSpeed","float"],["targetArriveDist","float"]]},
{"name":"taskPlayAnim","native":"TASK_PLAY_ANIM","hash":"0xEA47FE3719165B94","params":[["ped","Ped"],["animDictionary","string"],["animationName","string"],["blendInSpeed","float"],["blendOutSpeed","float"],["duration","int"],["flag","int"],["playbackRate","float"],["lockX","BOOL"],["lockY","BOOL"],["lockZ","BOOL"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json\n\nfloat speed > normal speed is 8.0f\n---\n\nfloat speedMultiplier > multiply the playback speed\n---\n\nint duration: time in millisecond\n---\n-1 _ _ _ _ _ _ _> Default (see flag)\n0 _ _ _ _ _ _ _ > Not play at all\nSmall value _ _ > Slow down animation speed\nOther _ _ _ _ _ > freeze player control until specific time (ms) has\n_ _ _ _ _ _ _ _ _ passed. (No effect if flag is set to be\n_ _ _ _ _ _ _ _ _ controllable.)\n\n01 to 15 > Full body\n10 to 31 > Upper body\n32 to 47 > Full body > Controllable\n48 to 63 > Upper body > Controllable\n...\n001 to 255 > Normal\n256 to 511 > Garbled\n...\n\nplaybackRate:\n\nvalues are between 0.0 and 1.0\n\nlockX:\n\n0 in most cases 1 for rcmepsilonism8 and rcmpaparazzo_3\n> 1 for mini@sprunk\n\nlockY:\n\n0 in most cases\n1 for missfam5_yoga, missfra1mcs_2_crew_react\n\nlockZ:\n\n    0 for single player\n    Can be 1 but only for MP"},
{"name":"taskPlayAnimAdvanced","native":"TASK_PLAY_ANIM_ADVANCED","hash":"0x83CDB10EA29B370B","params":[["ped","Ped"],["animDict","string"],["animName","string"],["posX","float"],["posY","float"],["posZ","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["animEnterSpeed","float"],["animExitSpeed","float"],["duration","int"],["flag","Any"],["animTime","float"],["rotOrder","int"],["ikFlags","int"]],"doc":"It's similar to `taskPlayAnim`, except the first 6 floats let you specify the initial position and rotation of the task. (Ped gets teleported to the position).\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"stopAnimTask","native":"STOP_ANIM_TASK","hash":"0x97FF36A1D40EA00A","params":[["entity","Entity"],["animDictionary","string"],["animationName","string"],["blendDelta","float"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"taskScriptedAnimation","native":"TASK_SCRIPTED_ANIMATION","hash":"0x126EF75F1E17ABE5","params":[["ped","Ped"],["priorityLowData","ScriptedAnimSlot"],["priorityMidData","ScriptedAnimSlot"],["priorityHighData","ScriptedAnimSlot"],["blendInDelta","float"],["blendOutDelta","float"]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Local ped animation","md":"Use a local ped owned by the calling resource. Supply up to three priority records and load each animation dictionary before calling. Both blend deltas must be between 0 and 1,000."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"playEntityScriptedAnim","native":"PLAY_ENTITY_SCRIPTED_ANIM","hash":"0x77A1EEC547E7FCF1","params":[["entity","Entity"],["priorityLowData","ScriptedAnimSlot"],["priorityMidData","ScriptedAnimSlot"],["priorityHighData","ScriptedAnimSlot"],["blendInDelta","float"],["blendOutDelta","float"]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Local entity animation","md":"Use a local vehicle or object owned by the calling resource. Supply up to three priority records and load each animation dictionary before calling. Both blend deltas must be between 0 and 1,000."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"stopAnimPlayback","native":"STOP_ANIM_PLAYBACK","hash":"0xEE08C992D238C5D1","params":[["entity","Entity"],["priority","int"],["secondary","BOOL"]],"doc":"Looks like p1 may be a flag, still need to do some research, though."},
{"name":"setAnimWeight","native":"SET_ANIM_WEIGHT","hash":"0x207F1A47C0342F48","params":[["entity","Entity"],["weight","float"],["priority","int"],["index","int"],["secondary","BOOL"]]},
{"name":"setAnimPhase","native":"SET_ANIM_PHASE","hash":"0xDDF3CB5A0A4C0B49","params":[["entity","Entity"],["phase","float"],["priority","int"],["secondary","BOOL"]],"since":2372,"aka":["_SET_ANIM_PLAYBACK_TIME"]},
{"name":"setAnimRate","native":"SET_ANIM_RATE","hash":"0x032D49C5E359C847","params":[["entity","Entity"],["rate","float"],["priority","int"],["secondary","BOOL"]]},
{"name":"setAnimLooped","native":"SET_ANIM_LOOPED","hash":"0x70033C3CC29A1FF4","params":[["entity","Entity"],["looped","BOOL"],["priority","int"],["secondary","BOOL"]]},
{"name":"taskPlayPhoneGestureAnimation","native":"TASK_PLAY_PHONE_GESTURE_ANIMATION","hash":"0x8FBB6758B3B3E9EC","params":[["ped","Ped"],["animDict","string"],["animation","string"],["boneMaskType","string"],["blendInDuration","float"],["blendOutDuration","float"],["isLooping","BOOL"],["holdLastFrame","BOOL"]],"doc":"Known boneMaskTypes\n\"BONEMASK_HEADONLY\"\n\"BONEMASK_HEAD_NECK_AND_ARMS\"\n\"BONEMASK_HEAD_NECK_AND_L_ARM\"\n\"BONEMASK_HEAD_NECK_AND_R_ARM\"\n\np4 known args - 0.0f, 0.5f, 0.25f\np5 known args - 0.0f, 0.25f\np6 known args - 1 if a global if check is passed.\np7 known args - 1 if a global if check is passed.\n\nThe values found above, I found within the 5 scripts this is ever called in. (fmmc_launcher, fm_deathmatch_controller, fm_impromptu_dm_controller, fm_mission_controller, and freemode).\n---\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"taskStopPhoneGestureAnimation","native":"TASK_STOP_PHONE_GESTURE_ANIMATION","hash":"0x3FA00D4F4641BFAE","params":[["ped","Ped"],["blendOutOverride","float"]],"aka":["_TASK_STOP_PHONE_GESTURE_ANIMATION"]},
{"name":"isPlayingPhoneGestureAnim","native":"IS_PLAYING_PHONE_GESTURE_ANIM","hash":"0xB8EBB1E9D3588C10","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getPhoneGestureAnimCurrentTime","native":"GET_PHONE_GESTURE_ANIM_CURRENT_TIME","hash":"0x47619ABE8B268C60","params":[["ped","Ped"]],"ret":"float"},
{"name":"getPhoneGestureAnimTotalTime","native":"GET_PHONE_GESTURE_ANIM_TOTAL_TIME","hash":"0x1EE0F68A7C25DEC6","params":[["ped","Ped"]],"ret":"float"},
{"name":"taskVehiclePlayAnim","native":"TASK_VEHICLE_PLAY_ANIM","hash":"0x69F5C3BD0F3EBD89","params":[["vehicle","Vehicle"],["animationSet","string"],["animationName","string"]],"doc":"Most probably plays a specific animation on vehicle. For example getting chop out of van etc...\n\nHere's how its used -\n\n```\ntaskVehiclePlayAnim(l_325, \"rcmnigel1b\", \"idle_speedo\");\n\ntaskVehiclePlayAnim(l_556[0/*1*/], \"missfra0_chop_drhome\", \"InCar_GetOutofBack_Speedo\");\n```\n\nFYI : Speedo is the name of van in which chop was put in the mission."},
{"name":"taskLookAtCoord","native":"TASK_LOOK_AT_COORD","hash":"0x6FA46612594F7973","params":[["entity","Entity"],["x","float"],["y","float"],["z","float"],["duration","int"],["flags","int"],["priority","int"]]},
{"name":"taskLookAtEntity","native":"TASK_LOOK_AT_ENTITY","hash":"0x69F4BE8C8CC4796C","params":[["ped","Ped"],["lookAt","Entity"],["duration","int"],["flags","int"],["priority","int"]],"doc":"For flags, please refer to `taskLookAtCoord`."},
{"name":"taskClearLookAt","native":"TASK_CLEAR_LOOK_AT","hash":"0x0F804F1DB19B9689","params":[["ped","Ped"]]},
{"name":"openSequenceTask","native":"OPEN_SEQUENCE_TASK","hash":"0xE8854A4326B9E12B","outs":[["taskSequenceId","int",0,"The id of the sequence just opened. Give it to the tasks you add, to `closeSequenceTask` and to `taskPerformSequence`."]]},
{"name":"closeSequenceTask","native":"CLOSE_SEQUENCE_TASK","hash":"0x39E72BC99E6360CB","params":[["taskSequenceId","int"]]},
{"name":"taskPerformSequence","native":"TASK_PERFORM_SEQUENCE","hash":"0x5ABA3986D90D8A3B","params":[["ped","Ped"],["taskSequenceId","int"]]},
{"name":"taskPerformSequenceLocally","native":"TASK_PERFORM_SEQUENCE_LOCALLY","hash":"0x8C33220C8D78CA0D","params":[["ped","Ped"],["taskSequenceId","int"]],"since":944},
{"name":"clearSequenceTask","native":"CLEAR_SEQUENCE_TASK","hash":"0x3841422E9C488D8C","params":[["taskSequenceId","int"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `taskSequenceId` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"setSequenceToRepeat","native":"SET_SEQUENCE_TO_REPEAT","hash":"0x58C70CF3A41E4AE7","params":[["taskSequenceId","int"],["repeat","BOOL"]]},
{"name":"setSequencePreventMigration","native":"SET_SEQUENCE_PREVENT_MIGRATION","hash":"0xF5D1F489147CB683","params":[["taskSequenceId","int"]],"na":1,"since":3570},
{"name":"getSequenceProgress","native":"GET_SEQUENCE_PROGRESS","hash":"0x00A9010CFE1E3533","params":[["ped","Ped"]],"ret":"int","doc":"returned values:\n0 to 7 = task that's currently in progress, 0 meaning the first one.\n-1 no task sequence in progress."},
{"name":"getIsTaskActive","native":"GET_IS_TASK_ACTIVE","hash":"0xB0760331C7AA4155","params":[["ped","Ped"],["taskType","int"]],"ret":"BOOL"},
{"name":"getScriptTaskStatus","native":"GET_SCRIPT_TASK_STATUS","hash":"0x77F1BEB8863288D5","params":[["ped","Ped"],["taskHash","Hash"]],"ret":"int","doc":"Gets the status of a script-assigned task."},
{"name":"getActiveVehicleMissionType","native":"GET_ACTIVE_VEHICLE_MISSION_TYPE","hash":"0x534AEBA6E5ED4CAB","params":[["vehicle","Vehicle"]],"ret":"int","doc":"See `taskVehicleMission`"},
{"name":"taskLeaveAnyVehicle","native":"TASK_LEAVE_ANY_VEHICLE","hash":"0x504D54DF3F6F2247","params":[["ped","Ped"],["delayTime","int"],["flags","int"]],"doc":"Flags are the same flags used in `taskLeaveVehicle`"},
{"name":"taskAimGunScripted","native":"TASK_AIM_GUN_SCRIPTED","hash":"0x7A192BE16D373D00","params":[["ped","Ped"],["scriptTask","Hash"],["disableBlockingClip","BOOL"],["instantBlendToAim","BOOL"]]},
{"name":"taskAimGunScriptedWithTarget","native":"TASK_AIM_GUN_SCRIPTED_WITH_TARGET","hash":"0x8605AF0DE8B3A5AC","params":[["ped","Ped"],["target","Ped"],["x","float"],["y","float"],["z","float"],["gunTaskType","int"],["disableBlockingClip","BOOL"],["forceAim","BOOL"]]},
{"name":"updateTaskAimGunScriptedTarget","native":"UPDATE_TASK_AIM_GUN_SCRIPTED_TARGET","hash":"0x9724FB59A3E72AD0","params":[["ped","Ped"],["target","Ped"],["x","float"],["y","float"],["z","float"],["disableBlockingClip","BOOL"]]},
{"name":"getClipSetForScriptedGunTask","native":"GET_CLIP_SET_FOR_SCRIPTED_GUN_TASK","hash":"0x3A8CADC7D37AACC5","params":[["gunTaskType","int"]],"ret":"string"},
{"name":"taskAimGunAtEntity","native":"TASK_AIM_GUN_AT_ENTITY","hash":"0x9B53BB6E8943AF53","params":[["ped","Ped"],["entity","Entity"],["duration","int","the amount of time in milliseconds to do the task.  -1 will keep the task going until either another task is applied, or CLEAR_ALL_TASKS() is called with the ped"],["instantBlendToAim","BOOL"]]},
{"name":"taskTurnPedToFaceEntity","native":"TASK_TURN_PED_TO_FACE_ENTITY","hash":"0x5AD23D40115353AC","params":[["ped","Ped"],["entity","Entity"],["duration","int","the amount of time in milliseconds to do the task. -1 will keep the task going until either another task is applied, or CLEAR_ALL_TASKS() is called with the ped"]]},
{"name":"taskAimGunAtCoord","native":"TASK_AIM_GUN_AT_COORD","hash":"0x6671F3EEC681BDA1","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["time","int"],["instantBlendToAim","BOOL"],["playAnimIntro","BOOL"]]},
{"name":"taskShootAtCoord","native":"TASK_SHOOT_AT_COORD","hash":"0x46A6CC01E0826106","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["duration","int"],["firingPattern","Hash"]],"doc":"Firing Pattern Hash Information: https://pastebin.com/Px036isB"},
{"name":"taskShuffleToNextVehicleSeat","native":"TASK_SHUFFLE_TO_NEXT_VEHICLE_SEAT","hash":"0x7AA80209BDA643EB","params":[["ped","Ped"],["vehicle","Vehicle"],["useAlternateShuffle","BOOL"]],"doc":"Makes the specified ped shuffle to the next vehicle seat.\nThe ped MUST be in a vehicle and the vehicle parameter MUST be the ped's current vehicle."},
{"name":"clearPedTasks","native":"CLEAR_PED_TASKS","hash":"0xE1EF3C1216AFF2CD","params":[["ped","Ped"]]},
{"name":"clearPedScriptTaskIfRunningThreatResponseNonTempTask","native":"CLEAR_PED_SCRIPT_TASK_IF_RUNNING_THREAT_RESPONSE_NON_TEMP_TASK","hash":"0xF6DC48E56BE1243A","params":[["ped","Ped"]],"na":1,"since":3407},
{"name":"clearPedSecondaryTask","native":"CLEAR_PED_SECONDARY_TASK","hash":"0x176CECF6F920D707","params":[["ped","Ped"]]},
{"name":"taskEveryoneLeaveVehicle","native":"TASK_EVERYONE_LEAVE_VEHICLE","hash":"0x7F93691AB4B92272","params":[["vehicle","Vehicle"]]},
{"name":"taskGotoEntityOffset","native":"TASK_GOTO_ENTITY_OFFSET","hash":"0xE39B4FF4FDEBDE27","params":[["ped","Ped"],["entity","Entity"],["time","int"],["seekRadius","float"],["seekAngleDeg","float"],["moveBlendRatio","float"],["gotoEntityOffsetFlags","int"]]},
{"name":"taskGotoEntityOffsetXy","native":"TASK_GOTO_ENTITY_OFFSET_XY","hash":"0x338E7EF52B6095A9","params":[["ped","Ped"],["entity","Entity"],["duration","int"],["targetRadius","float"],["offsetX","float"],["offsetY","float"],["moveBlendRatio","float"],["gotoEntityOffsetFlags","int"]]},
{"name":"taskTurnPedToFaceCoord","native":"TASK_TURN_PED_TO_FACE_COORD","hash":"0x1DDA930A0AC38571","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["duration","int"]],"doc":"duration in milliseconds"},
{"name":"taskVehicleTempAction","native":"TASK_VEHICLE_TEMP_ACTION","hash":"0xC429DCEEB339E129","params":[["driver","Ped"],["vehicle","Vehicle"],["action","int"],["time","int"]],"doc":"'1 - brake\n'3 - brake + reverse\n'4 - turn left 90 + braking\n'5 - turn right 90 + braking\n'6 - brake strong (handbrake?) until time ends\n'7 - turn left + accelerate\n'8 - turn right + accelerate\n'9 - weak acceleration\n'10 - turn left + restore wheel pos to center in the end\n'11 - turn right + restore wheel pos to center in the end\n'13 - turn left + go reverse\n'14 - turn left + go reverse\n'16 - crash the game after like 2 seconds :)\n'17 - keep actual state, game crashed after few tries\n'18 - game crash\n'19 - strong brake + turn left/right\n'20 - weak brake + turn left then turn right\n'21 - weak brake + turn right then turn left\n'22 - brake + reverse\n'23 - accelerate fast\n'24 - brake\n'25 - brake turning left then when almost stopping it turns left more\n'26 - brake turning right then when almost stopping it turns right more\n'27 - brake until car stop or until time ends\n'28 - brake + strong reverse acceleration\n'30 - performs a burnout (brake until stop + brake and accelerate)\n'31 - accelerate + handbrake\n'32 - accelerate very strong\n\nSeems to be this:\nWorks on NPCs, but overrides their current task. If inside a task sequence (and not being the last task), \"time\" will work, otherwise the task will be performed forever until tasked with something else"},
{"name":"taskVehicleMission","native":"TASK_VEHICLE_MISSION","hash":"0x659427E0EF36BCDE","params":[["driver","Ped"],["vehicle","Vehicle"],["vehicleTarget","Vehicle"],["missionType","int"],["cruiseSpeed","float"],["drivingStyle","int"],["targetReached","float"],["straightLineDistance","float"],["DriveAgainstTraffic","BOOL"]]},
{"name":"taskVehicleMissionPedTarget","native":"TASK_VEHICLE_MISSION_PED_TARGET","hash":"0x9454528DF15D657A","params":[["ped","Ped"],["vehicle","Vehicle"],["pedTarget","Ped"],["missionType","int"],["maxSpeed","float"],["drivingStyle","int"],["minDistance","float"],["straightLineDistance","float"],["DriveAgainstTraffic","BOOL"]],"doc":"See `taskVehicleMission`"},
{"name":"taskVehicleMissionCoorsTarget","native":"TASK_VEHICLE_MISSION_COORS_TARGET","hash":"0xF0AF20AA7731F8C3","params":[["ped","Ped"],["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["mission","int"],["cruiseSpeed","float"],["drivingStyle","int"],["targetReached","float"],["straightLineDistance","float"],["DriveAgainstTraffic","BOOL"]],"doc":"See `taskVehicleMission`"},
{"name":"taskVehicleEscort","native":"TASK_VEHICLE_ESCORT","hash":"0x0FA6E4B75F302400","params":[["ped","Ped"],["vehicle","Vehicle"],["targetVehicle","Vehicle"],["mode","int"],["speed","float"],["drivingStyle","int"],["minDistance","float"],["minHeightAboveTerrain","int"],["noRoadsDistance","float"]],"doc":"Makes a ped follow the targetVehicle with <minDistance> in between.\n\nnote: minDistance is ignored if drivingstyle is avoiding traffic, but Rushed is fine.\n\nMode: The mode defines the relative position to the targetVehicle. The ped will try to position its vehicle there.\n-1 = behind\n0 = ahead\n1 = left\n2 = right\n3 = back left\n4 = back right\n\nif the target is closer than noRoadsDistance, the driver will ignore pathing/roads and follow you directly.\n\nDriving Styles guide: https://gtaforums.com/topic/822314-guide-driving-styles/"},
{"name":"taskVehicleFollow","native":"TASK_VEHICLE_FOLLOW","hash":"0xFC545A9F0626E3B6","params":[["driver","Ped"],["vehicle","Vehicle"],["targetEntity","Entity"],["speed","float"],["drivingStyle","int","https://gtaforums.com/topic/822314-guide-driving-styles/"],["minDistance","int"]],"aka":["_TASK_VEHICLE_FOLLOW"],"doc":"Makes a ped in a vehicle follow an entity (ped, vehicle, etc.)"},
{"name":"taskVehicleChase","native":"TASK_VEHICLE_CHASE","hash":"0x3C08A8E30363B353","params":[["driver","Ped"],["targetEnt","Entity"]],"doc":"chases targetEnt fast and aggressively\n--\nMakes ped (needs to be in vehicle) chase targetEnt."},
{"name":"taskVehicleHeliProtect","native":"TASK_VEHICLE_HELI_PROTECT","hash":"0x1E09C32048FEFD1C","params":[["pilot","Ped"],["vehicle","Vehicle"],["entityToFollow","Entity","you can provide a Vehicle entity or a Ped entity, the heli will protect them."],["targetSpeed","float"],["drivingFlags","int"],["radius","float"],["altitude","int"],["heliFlags","int"]],"doc":"pilot, vehicle and altitude are rather self-explanatory.\n\np4: is unused variable in the function.\n\n'targetSpeed':  The pilot will dip the nose AS MUCH AS POSSIBLE so as to reach this value AS FAST AS POSSIBLE.  As such, you'll want to modulate it as opposed to calling it via a hard-wired, constant #.\n\n'radius' isn't just \"stop within radius of X of target\" like with ground vehicles.  In this case, the pilot will fly an entire circle around 'radius' and continue to do so.\n\nNOT CONFIRMED:  p7 appears to be a FlyingStyle enum.  Still investigating it as of this writing, but playing around with values here appears to result in different -behavior- as opposed to offsetting coordinates, altitude, target speed, etc.\n\nNOTE: If the pilot finds enemies, it will engage them until it kills them, but will return to protect the ped/vehicle given shortly thereafter."},
{"name":"setTaskVehicleChaseBehaviorFlag","native":"SET_TASK_VEHICLE_CHASE_BEHAVIOR_FLAG","hash":"0xCC665AAC360D31E7","params":[["ped","Ped"],["flag","int"],["set","BOOL"]],"doc":"Flag 8: Medium-aggressive boxing tactic with a bit of PIT\nFlag 1: Aggressive ramming of suspect\nFlag 2: Ram attempts\nFlag 32: Stay back from suspect, no tactical contact. Convoy-like.\nFlag 16: Ramming, seems to be slightly less aggressive than 1-2."},
{"name":"setTaskVehicleChaseIdealPursuitDistance","native":"SET_TASK_VEHICLE_CHASE_IDEAL_PURSUIT_DISTANCE","hash":"0x639B642FACBE4EDD","params":[["ped","Ped"],["distance","float"]]},
{"name":"taskHeliChase","native":"TASK_HELI_CHASE","hash":"0xAC83B1DB38D0ADA0","params":[["pilot","Ped"],["entityToFollow","Entity"],["x","float"],["y","float"],["z","float"]],"doc":"Ped pilot should be in a heli.\nEntityToFollow can be a vehicle or Ped.\n\nx,y,z appear to be how close to the EntityToFollow the heli should be. Scripts use 0.0, 0.0, 80.0. Then the heli tries to position itself 80 units above the EntityToFollow. If you reduce it to -5.0, it tries to go below (if the EntityToFollow is a heli or plane)\n\nNOTE: If the pilot finds enemies, it will engage them, then remain there idle, not continuing to chase the Entity given."},
{"name":"taskPlaneChase","native":"TASK_PLANE_CHASE","hash":"0x2D2386F273FF7A25","params":[["pilot","Ped"],["entityToFollow","Entity"],["x","float"],["y","float"],["z","float"]]},
{"name":"taskPlaneLand","native":"TASK_PLANE_LAND","hash":"0xBF19721FA34D32C0","params":[["pilot","Ped"],["plane","Vehicle"],["runwayStartX","float"],["runwayStartY","float"],["runwayStartZ","float"],["runwayEndX","float"],["runwayEndY","float"],["runwayEndZ","float"]]},
{"name":"clearDefaultPrimaryTask","native":"CLEAR_DEFAULT_PRIMARY_TASK","hash":"0x6100B3CEFD43452E","params":[["ped","Ped"]],"since":2189},
{"name":"clearPrimaryVehicleTask","native":"CLEAR_PRIMARY_VEHICLE_TASK","hash":"0xDBBC7A2432524127","params":[["vehicle","Vehicle"]],"since":1290,"aka":["_CLEAR_VEHICLE_TASKS"],"doc":"This native is very useful when switching the player to a ped inside a vehicle that has a task assigned prior to the player switch.\nIt is necessary to clear the ped's tasks AND call this native with the vehicle the player is switching into in order to allow the player to control the vehicle after the player switches."},
{"name":"clearVehicleCrashTask","native":"CLEAR_VEHICLE_CRASH_TASK","hash":"0x53DDC75BC3AC0A90","params":[["vehicle","Vehicle"]],"since":1290},
{"name":"taskPlaneGotoPreciseVtol","native":"TASK_PLANE_GOTO_PRECISE_VTOL","hash":"0xF7F9DCCA89E7505B","params":[["ped","Ped"],["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["flightHeight","int"],["minHeightAboveTerrain","int"],["useDesiredOrientation","BOOL"],["desiredOrientation","float"],["autopilot","BOOL"]],"since":1290},
{"name":"taskSubmarineGotoAndStop","native":"TASK_SUBMARINE_GOTO_AND_STOP","hash":"0xC22B40579A498CA4","params":[["ped","Ped"],["submarine","Vehicle"],["x","float"],["y","float"],["z","float"],["autopilot","BOOL"]],"since":2189,"doc":"Used in am_vehicle_spawn.ysc and am_mp_submarine.ysc.\n\np0 is always 0, p5 is always 1\n\np1 is the vehicle handle of the submarine. Submarine must have a driver, but the ped handle is not passed to the native.\n\nSpeed can be set by calling `setDriveTaskCruiseSpeed` after"},
{"name":"taskHeliMission","native":"TASK_HELI_MISSION","hash":"0xDAD029E187A2BEB4","params":[["pilot","Ped"],["aircraft","Vehicle"],["targetVehicle","Vehicle"],["targetPed","Ped"],["destinationX","float"],["destinationY","float"],["destinationZ","float"],["missionFlag","int"],["maxSpeed","float"],["radius","float"],["targetHeading","float"],["maxHeight","int"],["minHeight","int"],["slowDownDistance","float"],["behaviorFlags","int"]],"doc":"Must have targetVehicle, targetPed, OR destination X/Y/Z set\nWill follow targeted vehicle/ped, or fly to destination\nSet whichever is not being used to 0\n\nMission mode type:\n - 4, 7: Forces heli to snap to the heading if set, flies to destination or tracks specified entity (mode 4 only works for coordinates, 7 works for coordinates OR ped/vehicle)\n - 6: Attacks the target ped/vehicle with mounted weapons. If radius is set, will maintain that distance from target.\n - 8: Makes the heli flee from the ped/vehicle/coordinate\n - 9: Circles around target ped/vehicle, snaps to angle if set. Behavior flag (last parameter) of 2048 switches from counter-clockwise to clockwise circling. Does not work with coordinate destination.\n - 10, 11: Follows ped/vehicle target and imitates target heading. Only works with ped/vehicle target, not coord target\n - 19: Heli lands at specified coordinate, ignores heading (lands facing whatever direction it is facing when the task is started)\n - 20: Makes the heli land when near target ped. It won't resume chasing.\n - 21: Emulates a helicopter crash\n - 23: makes the heli circle erratically around ped\n\nHeli will fly at maxSpeed (up to actual maximum speed defined by the model's handling config)\nYou can use `setDriveTaskCruiseSpeed` to modulate the speed based on distance to the target without having to re-invoke the task native. Setting to 8.0 when close to the destination results in a much smoother approach.\n\nIf minHeight and maxHeight are set, heli will fly between those specified elevations, relative to ground level and any obstructions/buildings below. You can specify -1 for either if you only want to specify one. Usually it is easiest to leave maxHeight at -1, and specify a reasonable minHeight to ensure clearance over any obstacles. Note this MUST be passed as an INT, not a FLOAT.\n\nRadius affects how closely the heli will follow tracked ped/vehicle, and when circling (mission type 9) sets the radius (in meters) that it will circle the target from\n\nHeading is -1.0 for default behavior, which will point the nose of the helicopter towards the destination. Set a heading and the heli will lock to that direction when near its destination/target, but may still turn towards the destination when flying at higher speed from a further distance.\n\nBehavior Flags is a bitwise value that modifies the AI behavior. Not clear what all flags do, but here are some guesses/notes:\n   1: Forces heading to face E\n   2: Unknown\n   4: Tight circles around coordinate destination\n   8: Unknown\n  16: Circles around coordinate destination facing towards destination\n  32: Flys to normally, then lands at coordinate destination and stays on the ground (using mission type 4)\n  64: Ignores obstacles when flying, will follow at specified minHeight above ground level but will not avoid buildings, vehicles, etc.\n 128: Unknown\n 256: Unknown\n 512: Unknown\n1024: Unknown\n2048: Reverses direction of circling (mission type 9) to clockwise\n4096: Hugs closer to the ground, maintains minHeight from ground generally, but barely clears buildings and dips down more between buildings instead of taking a more efficient/safe route\n8192: Unknown\n\nUnk3 is a float value, you may see -1082130432 for this value in decompiled native scripts, this is the equivalent to -1.0f. Seems to affect acceleration/aggressiveness, but not sure exactly how it works. Higher value seems to result in lower acceleration/less aggressive flying. Almost always -1.0 in native scripts, occasionally 20.0 or 50.0. Setting to 400.0 seems to work well for making the pilot not overshoot the destination when using coordinate destination.\n\nNotes updated by PNWParksFan, May 2021"},
{"name":"taskHeliEscortHeli","native":"TASK_HELI_ESCORT_HELI","hash":"0xB385523325077210","params":[["pilot","Ped"],["heli1","Vehicle"],["heli2","Vehicle"],["offsetX","float"],["offsetY","float"],["offsetZ","float"]],"since":1290},
{"name":"taskPlaneMission","native":"TASK_PLANE_MISSION","hash":"0x23703CD154E83B88","params":[["pilot","Ped"],["aircraft","Vehicle"],["targetVehicle","Vehicle"],["targetPed","Ped"],["destinationX","float"],["destinationY","float"],["destinationZ","float"],["missionFlag","int"],["angularDrag","float"],["targetReached","float"],["targetHeading","float"],["maxZ","float"],["minZ","float"],["precise","BOOL"]],"doc":"EXAMPLE USAGE:\n\nFly around target (Precautiously, keeps high altitude):\n\n```\nFunction.Call(Hash.TASK_PLANE_MISSION, pilot, selectedAirplane, 0, 0, Target.X, Target.Y, Target.Z, 4, 100f, 0f, 90f, 0, 200f);\n```\n\nFly around target (Dangerously, keeps VERY low altitude):\n\n```\nFunction.Call(Hash.TASK_PLANE_MISSION, pilot, selectedAirplane, 0, 0, Target.X, Target.Y, Target.Z, 4, 100f, 0f, 90f, 0, -500f);\n```\n\nFly directly into target:\n\n```\nFunction.Call(Hash.TASK_PLANE_MISSION, pilot, selectedAirplane, 0, 0, Target.X, Target.Y, Target.Z, 4, 100f, 0f, 90f, 0, -5000f);\n```\n\nEXPANDED INFORMATION FOR ADVANCED USAGE (custom pilot)\n\n'physicsSpeed': (THIS IS NOT YOUR ORDINARY SPEED PARAMETER: READ!!)\nThink of this -first- as a radius value, not a true speed value.  The ACTUAL effective speed of the plane will be that of the maximum speed permissible to successfully fly in a -circle- with a radius of 'physicsSpeed'.  This also means that the plane must complete a circle before it can begin its \"bombing run\", its straight line pass towards the target.  p9 appears to influence the angle at which a \"bombing run\" begins, although I can't confirm yet.\n\nVERY IMPORTANT: A \"bombing run\" will only occur if a plane can successfully determine a possible navigable route (the slower the value of 'physicsSpeed', the more precise the pilot can be due to less influence of physics on flightpath).  Otherwise, the pilot will continue to patrol around Destination (be it a dynamic Entity position vector or a fixed world coordinate vector.)\n\n0 = Plane's physics are almost entirely frozen, plane appears to \"orbit\" around precise destination point\n1-299 = Blend of \"frozen, small radius\" vs. normal vs. \"accelerated, hyperfast, large radius\"\n300+ =  Vehicle behaves entirely like a normal gameplay plane.\n\n'patrolBlend' (The lower the value, the more the Destination is treated as a \"fly AT\" rather than a \"fly AROUND point\".)\n\nScenario: Destination is an Entity on ground level, wide open field\n-5000 = Pilot kamikazes directly into Entity\n-1000 = Pilot flies extremely low -around- Entity, very prone to crashing\n-200 = Pilot flies lower than average around Entity.\n0 = Pilot flies around Entity, normal altitude\n200 = Pilot flies an extra eighty units or so higher than 0 while flying around Destination (this doesn't seem to correlate directly into distance units.)"},
{"name":"taskPlaneTaxi","native":"TASK_PLANE_TAXI","hash":"0x92C360B5F15D2302","params":[["pilot","Ped"],["aircraft","Vehicle"],["x","float"],["y","float"],["z","float"],["cruiseSpeed","float"],["targetReached","float"]],"since":1103},
{"name":"taskBoatMission","native":"TASK_BOAT_MISSION","hash":"0x15C86013127CE63F","params":[["pedDriver","Ped"],["vehicle","Vehicle"],["targetVehicle","Vehicle"],["targetPed","Ped"],["x","float"],["y","float"],["z","float"],["mission","int"],["maxSpeed","float"],["drivingStyle","int"],["targetReached","float"],["boatFlags","Any"]],"doc":"You need to call `setBlockingOfNonTemporaryEvents` after `taskBoatMission` in order for the task to execute.\n\nWorking example\n\n```\nfloat vehicleMaxSpeed = getVehicleEstimatedMaxSpeed(getEntityModel(pedVehicle));\ntaskBoatMission(pedDriver, pedVehicle, 0, 0, waypointCoord.x, waypointCoord.y, waypointCoord.z, 4, vehicleMaxSpeed, 786469, -1.0, 7);\nsetBlockingOfNonTemporaryEvents(pedDriver, 1);\n```\n\nP8 appears to be driving style flag - see https://gtaforums.com/topic/822314-guide-driving-styles/ for documentation"},
{"name":"taskDriveBy","native":"TASK_DRIVE_BY","hash":"0x2F8AF0E82773A171","params":[["driverPed","Ped"],["targetPed","Ped"],["targetVehicle","Vehicle"],["targetX","float"],["targetY","float"],["targetZ","float"],["distanceToShoot","float"],["pedAccuracy","int"],["pushUnderneathDrivingTaskIfDriving","BOOL"],["firingPattern","Hash"]],"doc":"Example:\n\n```\ntaskDriveBy(l_467[1/*22*/], playerPedId(), 0, 0.0, 0.0, 2.0, 300.0, 100, 0, ${firing_pattern_burst_fire_driveby});\n```\n\nNeeds working example. Doesn't seem to do anything.\n\nI marked p2 as targetVehicle as all these shooting related tasks seem to have that in common.\nI marked p6 as distanceToShoot as if you think of GTA's Logic with the native SET_VEHICLE_SHOOT natives, it won't shoot till it gets within a certain distance of the target.\nI marked p7 as pedAccuracy as it seems it's mostly 100 (Completely Accurate), 75, 90, etc. Although this could be the ammo count within the gun, but I highly doubt it. I will change this comment once I find out if it's ammo count or not."},
{"name":"setDrivebyTaskTarget","native":"SET_DRIVEBY_TASK_TARGET","hash":"0xE5B302114D8162EE","params":[["shootingPed","Ped"],["targetPed","Ped"],["targetVehicle","Vehicle"],["x","float"],["y","float"],["z","float"]],"doc":"For p1 & p2 (Ped, Vehicle). I could be wrong, as the only time this native is called in scripts is once and both are 0, but I assume this native will work like `setMountedWeaponTarget` in which has the same exact amount of parameters and the 1st and last 3 parameters are right and the same for both natives."},
{"name":"clearDrivebyTaskUnderneathDrivingTask","native":"CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK","hash":"0xC35B5CDB2824CF69","params":[["ped","Ped"]]},
{"name":"isDrivebyTaskUnderneathDrivingTask","native":"IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK","hash":"0x8785E6E40C7A8818","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"controlMountedWeapon","native":"CONTROL_MOUNTED_WEAPON","hash":"0xDCFE42068FE0135A","params":[["ped","Ped"]],"ret":"BOOL","doc":"Forces the ped to use the mounted weapon.\nReturns false if task is not possible."},
{"name":"setMountedWeaponTarget","native":"SET_MOUNTED_WEAPON_TARGET","hash":"0xCCD892192C6D2BB9","params":[["shootingPed","Ped"],["targetPed","Ped"],["targetVehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["taskMode","int"],["ignoreTargetVehDeadCheck","BOOL"]],"doc":"Note: Look in decompiled scripts and the times that p1 and p2 aren't 0. They are filled with vars. If you look through out that script what other natives those vars are used in, you can tell p1 is a ped and p2 is a vehicle. Which most likely means if you want the mounted weapon to target a ped set targetVehicle to 0 or vice-versa."},
{"name":"isMountedWeaponTaskUnderneathDrivingTask","native":"IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK","hash":"0xA320EF046186FA3B","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"taskUseMobilePhone","native":"TASK_USE_MOBILE_PHONE","hash":"0xBD2A8EC3AF4DE7DB","params":[["ped","Ped"],["usePhone","BOOL"],["desiredPhoneMode","int"]]},
{"name":"taskUseMobilePhoneTimed","native":"TASK_USE_MOBILE_PHONE_TIMED","hash":"0x5EE02954A14C69DB","params":[["ped","Ped"],["duration","int"]]},
{"name":"taskChatToPed","native":"TASK_CHAT_TO_PED","hash":"0x8C338E0263E4FD19","params":[["ped","Ped"],["target","Ped"],["flags","int"],["goToLocationX","float"],["goToLocationY","float"],["goToLocationZ","float"],["headingDegs","float"],["idleTime","float"]],"doc":"p2 tend to be 16, 17 or 1\np3 to p7 tend to be 0.0"},
{"name":"taskWarpPedIntoVehicle","native":"TASK_WARP_PED_INTO_VEHICLE","hash":"0x9A7D091411C5F684","params":[["ped","Ped"],["vehicle","Vehicle"],["seat","int"]],"doc":"Seat Numbers\n---\nDriver = -1\nAny = -2\nLeft-Rear = 1\nRight-Front = 0\nRight-Rear = 2\nExtra seats = 3-14(This may differ from vehicle type e.g. Firetruck Rear Stand, Ambulance Rear)"},
{"name":"taskShootAtEntity","native":"TASK_SHOOT_AT_ENTITY","hash":"0x08DA95E8298AE772","params":[["entity","Entity"],["target","Entity"],["duration","int"],["firingPattern","Hash"]],"doc":"```\n//this part of the code is to determine at which entity the player is aiming, for example if you want to create a mod where you give orders to peds\nEntity aimedentity;\nPlayer player = playerId();\nPLAYER::_GET_AIMED_ENTITY(player, &aimedentity);\n\n//bg is an array of peds\ntaskShootAtEntity(bg[i], aimedentity, 5000, getHashKey(\"FIRING_PATTERN_FULL_AUTO\"));\n```\n\nin practical usage, getting the entity the player is aiming at and then task the peds to shoot at the entity, at a button press event would be better.\n\nFiring Pattern Hash Information: https://pastebin.com/Px036isB"},
{"name":"taskClimb","native":"TASK_CLIMB","hash":"0x89D9FCC2435112F1","params":[["ped","Ped"],["usePlayerLaunchForce","BOOL"]],"doc":"Climbs or vaults the nearest thing.\nusePlayerLaunchForce is unused."},
{"name":"taskClimbLadder","native":"TASK_CLIMB_LADDER","hash":"0xB6C987F9285A3814","params":[["ped","Ped"],["fast","BOOL"]]},
{"name":"taskRappelDownWallUsingClipsetOverride","native":"TASK_RAPPEL_DOWN_WALL_USING_CLIPSET_OVERRIDE","hash":"0xEAF66ACDDC794793","params":[["ped","Ped"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["minZ","float"],["ropeHandle","int"],["clipSet","string"],["p10","Any"],["p11","Any"]],"since":1868,"aka":["TASK_RAPPEL_DOWN_WALL"],"doc":"Attaches a ped to a rope and allows player control to rappel down a wall. Disables all collisions while on the rope.\np10: Usually 1 in the scripts, clipSet: Clipset to use for the task, minZ: Minimum Z that the player can descend to, ropeHandle: Rope to attach this task to created with `addRope`"},
{"name":"getTaskRappelDownWallState","native":"GET_TASK_RAPPEL_DOWN_WALL_STATE","hash":"0x9D252648778160DF","params":[["ped","Ped"]],"ret":"int","since":1868},
{"name":"clearPedTasksImmediately","native":"CLEAR_PED_TASKS_IMMEDIATELY","hash":"0xAAA34F8A7CB32098","params":[["ped","Ped"]],"doc":"Immediately stops the pedestrian from whatever it's doing. They stop fighting, animations, etc. they forget what they were doing."},
{"name":"taskPerformSequenceFromProgress","native":"TASK_PERFORM_SEQUENCE_FROM_PROGRESS","hash":"0x89221B16730234F0","params":[["ped","Ped"],["taskIndex","int"],["progress1","int"],["progress2","int"]]},
{"name":"setNextDesiredMoveState","native":"SET_NEXT_DESIRED_MOVE_STATE","hash":"0xF1B9F16E89E2C93A","params":[["nextMoveState","float"]],"doc":"This native does absolutely nothing, just a nullsub\n\nR* Comment:\n`setNextDesiredMoveState` - Function is deprecated - do not use anymore"},
{"name":"setPedDesiredMoveBlendRatio","native":"SET_PED_DESIRED_MOVE_BLEND_RATIO","hash":"0x1E982AC8716912C5","params":[["ped","Ped"],["newMoveBlendRatio","float"]]},
{"name":"getPedDesiredMoveBlendRatio","native":"GET_PED_DESIRED_MOVE_BLEND_RATIO","hash":"0x8517D4A6CA8513ED","params":[["ped","Ped"]],"ret":"float"},
{"name":"taskGotoEntityAiming","native":"TASK_GOTO_ENTITY_AIMING","hash":"0xA9DA48FAB8A76C12","params":[["ped","Ped"],["target","Entity"],["distanceToStopAt","float"],["StartAimingDist","float"]],"doc":"eg\n\n```\ntaskGotoEntityAiming(v_2, playerPedId(), 5.0, 25.0);\n```\n\nped = Ped you want to perform this task.\ntarget = the Entity they should aim at.\ndistanceToStopAt = distance from the target, where the ped should stop to aim.\nStartAimingDist = distance where the ped should start to aim."},
{"name":"taskSetDecisionMaker","native":"TASK_SET_DECISION_MAKER","hash":"0xEB8517DDA73720DA","params":[["ped","Ped"],["decisionMakerId","Hash"]],"doc":"p1 is always `getHashKey`(\"empty\") in scripts, for the rare times this is used"},
{"name":"taskSetSphereDefensiveArea","native":"TASK_SET_SPHERE_DEFENSIVE_AREA","hash":"0x933C06518B52A9A4","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"]]},
{"name":"taskClearDefensiveArea","native":"TASK_CLEAR_DEFENSIVE_AREA","hash":"0x95A6C46A31D1917D","params":[["ped","Ped"]]},
{"name":"taskPedSlideToCoord","native":"TASK_PED_SLIDE_TO_COORD","hash":"0xD04FE6765D990A06","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["heading","float"],["speed","float"]]},
{"name":"taskPedSlideToCoordHdgRate","native":"TASK_PED_SLIDE_TO_COORD_HDG_RATE","hash":"0x5A4A6A6D3DC64F52","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["heading","float"],["speed","float"],["headingChangeRate","float"]]},
{"name":"addCoverPoint","native":"ADD_COVER_POINT","hash":"0xD5C12A75C7B9497F","params":[["x","float"],["y","float"],["z","float"],["direction","float"],["usage","int"],["height","int"],["arc","int"],["isPriority","BOOL"]],"ret":"ScrHandle"},
{"name":"removeCoverPoint","native":"REMOVE_COVER_POINT","hash":"0xAE287C923D891715","params":[["coverpoint","ScrHandle"]]},
{"name":"doesScriptedCoverPointExistAtCoords","native":"DOES_SCRIPTED_COVER_POINT_EXIST_AT_COORDS","hash":"0xA98B8E3C088E5A31","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","doc":"Checks if there is a cover point at position"},
{"name":"getScriptedCoverPointCoords","native":"GET_SCRIPTED_COVER_POINT_COORDS","hash":"0x594A1028FC2A3E85","params":[["coverpoint","ScrHandle"]],"ret":"Vector3"},
{"name":"addScriptedCoverArea","native":"ADD_SCRIPTED_COVER_AREA","hash":"0x28B7B9BFDAF274AA","params":[["x","float"],["y","float"],["z","float"],["radius","float"]],"since":2545,"aka":["_ADD_SCRIPTED_BLOCKING_AREA"]},
{"name":"taskCombatPed","native":"TASK_COMBAT_PED","hash":"0xF166E48407BAC484","params":[["ped","Ped"],["targetPed","Ped"],["combatFlags","int"],["threatResponseFlags","int"]],"doc":"Makes the specified ped attack the target ped.\np2 should be 0\np3 should be 16"},
{"name":"taskCombatPedTimed","native":"TASK_COMBAT_PED_TIMED","hash":"0x944F30DCB7096BDE","params":[["ped","Ped"],["target","Ped"],["time","int"],["flags","int"]]},
{"name":"taskSeekCoverFromPos","native":"TASK_SEEK_COVER_FROM_POS","hash":"0x75AC2B60386D89F2","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["duration","int"],["allowPeekingAndFiring","BOOL"]]},
{"name":"taskSeekCoverFromPed","native":"TASK_SEEK_COVER_FROM_PED","hash":"0x84D32B3BEC531324","params":[["ped","Ped"],["target","Ped"],["duration","int"],["allowPeekingAndFiring","BOOL"]]},
{"name":"taskSeekCoverToCoverPoint","native":"TASK_SEEK_COVER_TO_COVER_POINT","hash":"0xD43D95C7A869447F","params":[["ped","Ped"],["coverpoint","ScrHandle"],["x","float"],["y","float"],["z","float"],["time","int"],["allowPeekingAndFiring","BOOL"]],"doc":"p5 is always -1"},
{"name":"taskSeekCoverToCoords","native":"TASK_SEEK_COVER_TO_COORDS","hash":"0x39246A6958EF072C","params":[["ped","Ped"],["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["timeout","int"],["shortRoute","BOOL"]],"doc":"p8 causes the ped to take the shortest route to the cover position. It may have something to do with navmesh or pathfinding mechanics.\n\nfrom michael2:\n\n```\ntaskSeekCoverToCoords(ped, 967.5164794921875, -2121.603515625, 30.479299545288086, 978.94677734375, -2125.84130859375, 29.4752, -1, 1);\n```\n\nappears to be shorter variation\nfrom michael3:\n\n```\ntaskSeekCoverToCoords(ped, -2231.011474609375, 263.6326599121094, 173.60195922851562, -1, 0);\n```"},
{"name":"taskPutPedDirectlyIntoCover","native":"TASK_PUT_PED_DIRECTLY_INTO_COVER","hash":"0x4172393E6BE1FECE","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["time","int"],["allowPeekingAndFiring","BOOL"],["blendInDuration","float"],["forceInitialFacingDirection","BOOL"],["forceFaceLeft","BOOL"],["identifier","int"],["doEntry","BOOL"]]},
{"name":"taskWarpPedDirectlyIntoCover","native":"TASK_WARP_PED_DIRECTLY_INTO_COVER","hash":"0x6E01E9E8D89F8276","params":[["ped","Ped"],["time","int"],["allowPeekingAndFiring","BOOL"],["forceInitialFacingDirection","BOOL"],["forceFaceLeft","BOOL"],["identifier","int"]],"since":2545},
{"name":"taskExitCover","native":"TASK_EXIT_COVER","hash":"0x79B258E397854D29","params":[["ped","Ped"],["exitType","int"],["x","float"],["y","float"],["z","float"]],"doc":"p1 is 1, 2, or 3 in scripts"},
{"name":"taskPutPedDirectlyIntoMelee","native":"TASK_PUT_PED_DIRECTLY_INTO_MELEE","hash":"0x1C6CD14A876FFE39","params":[["ped","Ped"],["meleeTarget","Ped"],["blendInDuration","float"],["timeInMelee","float"],["strafePhaseSync","float"],["aiCombatFlags","int"]],"doc":"from armenian3.c4\n\n```\ntaskPutPedDirectlyIntoMelee(PlayerPed, armenianPed, 0.0, -1.0, 0.0, 0);\n```"},
{"name":"taskToggleDuck","native":"TASK_TOGGLE_DUCK","hash":"0xAC96609B9995EDF8","params":[["ped","Ped"],["toggleType","int"]],"doc":"used in sequence task\n\nboth parameters seems to be always 0"},
{"name":"taskGuardCurrentPosition","native":"TASK_GUARD_CURRENT_POSITION","hash":"0x4A58A47A72E3FCB4","params":[["ped","Ped"],["maxPatrolProximity","float"],["defensiveAreaRadius","float"],["setDefensiveArea","BOOL"]],"doc":"From re_prisonvanbreak:\n\n```\ntaskGuardCurrentPosition(l_DD, 35.0, 35.0, 1);\n```"},
{"name":"taskGuardAssignedDefensiveArea","native":"TASK_GUARD_ASSIGNED_DEFENSIVE_AREA","hash":"0xD2A207EEBDF9889B","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["heading","float"],["maxPatrolProximity","float"],["timer","int"]]},
{"name":"taskGuardSphereDefensiveArea","native":"TASK_GUARD_SPHERE_DEFENSIVE_AREA","hash":"0xC946FE14BE0EB5E2","params":[["ped","Ped"],["defendPositionX","float"],["defendPositionY","float"],["defendPositionZ","float"],["heading","float"],["maxPatrolProximity","float"],["time","int"],["x","float"],["y","float"],["z","float"],["defensiveAreaRadius","float"]]},
{"name":"taskStandGuard","native":"TASK_STAND_GUARD","hash":"0xAE032F8BBA959E90","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["heading","float"],["scenarioName","string"]],"doc":"scenarioName example: \"WORLD_HUMAN_GUARD_STAND\""},
{"name":"setDriveTaskCruiseSpeed","native":"SET_DRIVE_TASK_CRUISE_SPEED","hash":"0x5C9B84BD7D31D908","params":[["driver","Ped"],["cruiseSpeed","float"]]},
{"name":"setDriveTaskMaxCruiseSpeed","native":"SET_DRIVE_TASK_MAX_CRUISE_SPEED","hash":"0x404A5AA9B9F0B746","params":[["ped","Ped"],["speed","float"],["updateBaseTask","BOOL"]]},
{"name":"setDriveTaskDrivingStyle","native":"SET_DRIVE_TASK_DRIVING_STYLE","hash":"0xDACE1BE37D88AF67","params":[["ped","Ped"],["drivingStyle","int"]],"doc":"This native is used to set the driving style for specific ped.\n\nDriving styles id seems to be:\n786468\n262144\n786469\n\nhttps://gtaforums.com/topic/822314-guide-driving-styles/"},
{"name":"addCoverBlockingArea","native":"ADD_COVER_BLOCKING_AREA","hash":"0x45C597097DD7CB81","params":[["startX","float"],["startY","float"],["startZ","float"],["endX","float"],["endY","float"],["endZ","float"],["blockObjects","BOOL"],["blockVehicles","BOOL"],["blockMap","BOOL"],["blockPlayer","BOOL"]]},
{"name":"removeAllCoverBlockingAreas","native":"REMOVE_ALL_COVER_BLOCKING_AREAS","hash":"0xDB6708C0B46F56D8"},
{"name":"removeCoverBlockingAreasAtPosition","native":"REMOVE_COVER_BLOCKING_AREAS_AT_POSITION","hash":"0xFA83CA6776038F64","params":[["x","float"],["y","float"],["z","float"]],"since":1493,"aka":["_REMOVE_COVER_BLOCKING_AREAS_AT_COORD"]},
{"name":"removeSpecificCoverBlockingAreas","native":"REMOVE_SPECIFIC_COVER_BLOCKING_AREAS","hash":"0x1F351CF1C6475734","params":[["startX","float"],["startY","float"],["startZ","float"],["endX","float"],["endY","float"],["endZ","float"],["blockObjects","BOOL"],["blockVehicles","BOOL"],["blockMap","BOOL"],["blockPlayer","BOOL"]],"since":505,"aka":["_REMOVE_SPECIFIC_COVER_BLOCKING_AREA"]},
{"name":"taskStartScenarioInPlace","native":"TASK_START_SCENARIO_IN_PLACE","hash":"0x142A02425FF02BD9","params":[["ped","Ped"],["scenarioName","string"],["unkDelay","int"],["playEnterAnim","BOOL"]],"doc":"Plays a scenario on a Ped at their current location.\n\nunkDelay - Usually 0 or -1, doesn't seem to have any effect. Might be a delay between sequences.\nplayEnterAnim - Plays the \"Enter\" anim if true, otherwise plays the \"Exit\" anim. Scenarios that don't have any \"Enter\" anims won't play if this is set to true.\n\n---\n\nFrom \"am_hold_up.ysc.c4\" at line 339:\n\n```\ntaskStartScenarioInPlace(netToPed(l_8D._f4), sub_adf(), 0, 1);\n```\n\nI'm unsure of what the last two parameters are, however sub_adf() randomly returns 1 of 3 scenarios, those being:\nWORLD_HUMAN_SMOKING\nWORLD_HUMAN_HANG_OUT_STREET\nWORLD_HUMAN_STAND_MOBILE\n\nThis makes sense, as these are what I commonly see when going by a liquor store.\n---\nList of scenarioNames: https://pastebin.com/6mrYTdQv\n\nAlso these:\nWORLD_FISH_FLEE\nDRIVE\nWORLD_HUMAN_HIKER\nWORLD_VEHICLE_ATTRACTOR\nWORLD_VEHICLE_BICYCLE_MOUNTAIN\nWORLD_VEHICLE_BIKE_OFF_ROAD_RACE\nWORLD_VEHICLE_BIKER\nWORLD_VEHICLE_CONSTRUCTION_PASSENGERS\nWORLD_VEHICLE_CONSTRUCTION_SOLO\nWORLD_VEHICLE_DRIVE_PASSENGERS\nWORLD_VEHICLE_DRIVE_SOLO\nWORLD_VEHICLE_EMPTY\nWORLD_VEHICLE_PARK_PARALLEL\nWORLD_VEHICLE_PARK_PERPENDICULAR_NOSE_IN\nWORLD_VEHICLE_POLICE_BIKE\nWORLD_VEHICLE_POLICE_CAR\nWORLD_VEHICLE_POLICE_NEXT_TO_CAR\nWORLD_VEHICLE_SALTON_DIRT_BIKE\nWORLD_VEHICLE_TRUCK_LOGS\n\nFull list of ped scenarios by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenariosCompact.json"},
{"name":"taskStartScenarioAtPosition","native":"TASK_START_SCENARIO_AT_POSITION","hash":"0xFA4EFC79F69D4F07","params":[["ped","Ped"],["scenarioName","string"],["x","float"],["y","float"],["z","float"],["heading","float"],["duration","int"],["sittingScenario","BOOL"],["teleport","BOOL"]],"doc":"Full list of ped scenarios by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenariosCompact.json\n\nAlso a few more listed at `taskStartScenarioInPlace` just above.\n---\nThe first parameter in every scenario has always been a Ped of some sort. The second like `taskStartScenarioInPlace` is the name of the scenario.\n\nThe next 4 parameters were harder to decipher. After viewing \"hairdo_shop_mp.ysc.c4\", and being confused from seeing the case in other scripts, they passed the first three of the arguments as one array from a function, and it looked like it was obviously x, y, and z.\n\nI haven't seen the sixth parameter go to or over 360, making me believe that it is rotation, but I really can't confirm anything.\n\nI have no idea what the last 3 parameters are, but I'll try to find out.\n\n-going on the last 3 parameters, they appear to always be \"0, 0, 1\"\n\np6 -1 also used in scrips\n\np7 used for sitting scenarios\n\np8 teleports ped to position"},
{"name":"taskUseNearestScenarioToCoord","native":"TASK_USE_NEAREST_SCENARIO_TO_COORD","hash":"0x277F471BA9DB000B","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["distance","float"],["duration","int"]],"doc":"Updated variables\n\nAn alternative to `taskUseNearestScenarioToCoordWarp`. Makes the ped walk to the scenario instead."},
{"name":"taskUseNearestScenarioToCoordWarp","native":"TASK_USE_NEAREST_SCENARIO_TO_COORD_WARP","hash":"0x58E2E0F23F6B76C3","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"],["timeToLeave","int"]]},
{"name":"taskUseNearestScenarioChainToCoord","native":"TASK_USE_NEAREST_SCENARIO_CHAIN_TO_COORD","hash":"0x9FDA1B3D7E7028B3","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["maxRange","float"],["timeToLeave","int"]],"doc":"p5 is always 0 in scripts"},
{"name":"taskUseNearestScenarioChainToCoordWarp","native":"TASK_USE_NEAREST_SCENARIO_CHAIN_TO_COORD_WARP","hash":"0x97A28E63F0BA5631","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"],["timeToLeave","int"]],"doc":"p5 is always -1 or 0 in scripts"},
{"name":"doesScenarioExistInArea","native":"DOES_SCENARIO_EXIST_IN_AREA","hash":"0x5A59271FFADD33C1","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["mustBeFree","BOOL"]],"ret":"BOOL"},
{"name":"doesScenarioOfTypeExistInArea","native":"DOES_SCENARIO_OF_TYPE_EXIST_IN_AREA","hash":"0x0A9D0C2A3BBC86C1","params":[["x","float"],["y","float"],["z","float"],["scenarioName","string"],["radius","float"],["mustBeFree","BOOL"]],"ret":"BOOL"},
{"name":"isScenarioOccupied","native":"IS_SCENARIO_OCCUPIED","hash":"0x788756D73AC2E07C","params":[["x","float"],["y","float"],["z","float"],["maxRange","float"],["onlyUsersActuallyAtScenario","BOOL"]],"ret":"BOOL"},
{"name":"pedHasUseScenarioTask","native":"PED_HAS_USE_SCENARIO_TASK","hash":"0x295E3CCEC879CCD7","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"playAnimOnRunningScenario","native":"PLAY_ANIM_ON_RUNNING_SCENARIO","hash":"0x748040460F8DF5DC","params":[["ped","Ped"],["animDict","string"],["animName","string"]],"doc":"Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"doesScenarioGroupExist","native":"DOES_SCENARIO_GROUP_EXIST","hash":"0xF9034C136C9E00D3","params":[["scenarioGroup","string"]],"ret":"BOOL","doc":"Full list of scenario groups used in scripts by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenarioGroupNames.json\nOccurrences in the b617d scripts:\n\n\"ARMY_GUARD\",\n\"ARMY_HELI\",\n\"Cinema_Downtown\",\n\"Cinema_Morningwood\",\n\"Cinema_Textile\",\n\"City_Banks\",\n\"Countryside_Banks\",\n\"DEALERSHIP\",\n\"GRAPESEED_PLANES\",\n\"KORTZ_SECURITY\",\n\"LOST_BIKERS\",\n\"LSA_Planes\",\n\"LSA_Planes\",\n\"MP_POLICE\",\n\"Observatory_Bikers\",\n\"POLICE_POUND1\",\n\"POLICE_POUND2\",\n\"POLICE_POUND3\",\n\"POLICE_POUND4\",\n\"POLICE_POUND5\"\n\"QUARRY\",\n\"SANDY_PLANES\",\n\"SCRAP_SECURITY\",\n\"SEW_MACHINE\",\n\"SOLOMON_GATE\",\n\"Triathlon_1_Start\",\n\"Triathlon_2_Start\",\n\"Triathlon_3_Start\"\n\nSometimes used with IS_SCENARIO_GROUP_ENABLED:\n\n```\nif (doesScenarioGroupExist(\"Observatory_Bikers\") && (!isScenarioGroupEnabled(\"Observatory_Bikers\"))) {\nelse if (isScenarioGroupEnabled(\"BLIMP\")) {\n```"},
{"name":"isScenarioGroupEnabled","native":"IS_SCENARIO_GROUP_ENABLED","hash":"0x367A09DED4E05B99","params":[["scenarioGroup","string"]],"ret":"BOOL","doc":"Full list of scenario groups used in scripts by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenarioGroupNames.json\nOccurrences in the b617d scripts:\n\n \"ARMY_GUARD\",\n \"ARMY_HELI\",\n \"BLIMP\",\n \"Cinema_Downtown\",\n \"Cinema_Morningwood\",\n \"Cinema_Textile\",\n \"City_Banks\",\n \"Countryside_Banks\",\n \"DEALERSHIP\",\n \"KORTZ_SECURITY\",\n \"LSA_Planes\",\n \"MP_POLICE\",\n \"Observatory_Bikers\",\n \"POLICE_POUND1\",\n \"POLICE_POUND2\",\n \"POLICE_POUND3\",\n \"POLICE_POUND4\",\n \"POLICE_POUND5\",\n \"Rampage1\",\n \"SANDY_PLANES\",\n \"SCRAP_SECURITY\",\n \"SEW_MACHINE\",\n \"SOLOMON_GATE\"\n\nSometimes used with DOES_SCENARIO_GROUP_EXIST:\n\n```\nif (doesScenarioGroupExist(\"Observatory_Bikers\") &&   (!isScenarioGroupEnabled(\"Observatory_Bikers\"))) {\nelse if (isScenarioGroupEnabled(\"BLIMP\")) {\n```"},
{"name":"setScenarioGroupEnabled","native":"SET_SCENARIO_GROUP_ENABLED","hash":"0x02C8E5B49848664E","params":[["scenarioGroup","string"],["enabled","BOOL"]],"doc":"Full list of scenario groups used in scripts by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenarioGroupNames.json\nOccurrences in the b617d scripts: https://pastebin.com/Tvg2PRHU"},
{"name":"resetScenarioGroupsEnabled","native":"RESET_SCENARIO_GROUPS_ENABLED","hash":"0xDD902D0349AFAD3A"},
{"name":"setExclusiveScenarioGroup","native":"SET_EXCLUSIVE_SCENARIO_GROUP","hash":"0x535E97E1F7FC0C6A","params":[["scenarioGroup","string"]],"doc":"Full list of scenario groups used in scripts by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenarioGroupNames.json\nGroups found in the scripts used with this native:\n\n\"AMMUNATION\",\n\"QUARRY\",\n\"Triathlon_1\",\n\"Triathlon_2\",\n\"Triathlon_3\""},
{"name":"resetExclusiveScenarioGroup","native":"RESET_EXCLUSIVE_SCENARIO_GROUP","hash":"0x4202BBCB8684563D"},
{"name":"isScenarioTypeEnabled","native":"IS_SCENARIO_TYPE_ENABLED","hash":"0x3A815DB3EA088722","params":[["scenarioType","string"]],"ret":"BOOL","doc":"Full list of scenario types used in scripts by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenariosCompact.json\nOccurrences in the b617d scripts:\n\"PROP_HUMAN_SEAT_CHAIR\",\n\"WORLD_HUMAN_DRINKING\",\n\"WORLD_HUMAN_HANG_OUT_STREET\",\n\"WORLD_HUMAN_SMOKING\",\n\"WORLD_MOUNTAIN_LION_WANDER\",\n\"WORLD_HUMAN_DRINKING\"\n\nSometimes used together with `isStringNullOrEmpty` in the scripts.\n\nscenarioType could be the same as scenarioName, used in for example `taskStartScenarioAtPosition`."},
{"name":"setScenarioTypeEnabled","native":"SET_SCENARIO_TYPE_ENABLED","hash":"0xEB47EC4E34FB7EE1","params":[["scenarioType","string"],["toggle","BOOL"]],"doc":"Full list of scenario types used in scripts by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenariosCompact.json\nseems to enable/disable specific scenario-types from happening in the game world.\n\nHere are some scenario types from the scripts:\n\"WORLD_MOUNTAIN_LION_REST\"\n\"WORLD_MOUNTAIN_LION_WANDER\"\n\"DRIVE\"\n\"WORLD_VEHICLE_POLICE_BIKE\"\n\"WORLD_VEHICLE_POLICE_CAR\"\n\"WORLD_VEHICLE_POLICE_NEXT_TO_CAR\"\n\"WORLD_VEHICLE_DRIVE_SOLO\"\n\"WORLD_VEHICLE_BIKER\"\n\"WORLD_VEHICLE_DRIVE_PASSENGERS\"\n\"WORLD_VEHICLE_SALTON_DIRT_BIKE\"\n\"WORLD_VEHICLE_BICYCLE_MOUNTAIN\"\n\"PROP_HUMAN_SEAT_CHAIR\"\n\"WORLD_VEHICLE_ATTRACTOR\"\n\"WORLD_HUMAN_LEANING\"\n\"WORLD_HUMAN_HANG_OUT_STREET\"\n\"WORLD_HUMAN_DRINKING\"\n\"WORLD_HUMAN_SMOKING\"\n\"WORLD_HUMAN_GUARD_STAND\"\n\"WORLD_HUMAN_CLIPBOARD\"\n\"WORLD_HUMAN_HIKER\"\n\"WORLD_VEHICLE_EMPTY\"\n\"WORLD_VEHICLE_BIKE_OFF_ROAD_RACE\"\n\"WORLD_HUMAN_PAPARAZZI\"\n\"WORLD_VEHICLE_PARK_PERPENDICULAR_NOSE_IN\"\n\"WORLD_VEHICLE_PARK_PARALLEL\"\n\"WORLD_VEHICLE_CONSTRUCTION_SOLO\"\n\"WORLD_VEHICLE_CONSTRUCTION_PASSENGERS\"\n\"WORLD_VEHICLE_TRUCK_LOGS\"\n\nscenarioType could be the same as scenarioName, used in for example `taskStartScenarioAtPosition`."},
{"name":"resetScenarioTypesEnabled","native":"RESET_SCENARIO_TYPES_ENABLED","hash":"0x0D40EE2A7F2B2D6D"},
{"name":"isPedActiveInScenario","native":"IS_PED_ACTIVE_IN_SCENARIO","hash":"0xAA135F9482C82CC3","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedPlayingBaseClipInScenario","native":"IS_PED_PLAYING_BASE_CLIP_IN_SCENARIO","hash":"0x621C6E4729388E41","params":[["ped","Ped"]],"ret":"BOOL","doc":"Used only once (am_mp_property_int)\n\nped was `playerPedId`()"},
{"name":"setPedCanPlayAmbientIdles","native":"SET_PED_CAN_PLAY_AMBIENT_IDLES","hash":"0x8FD89A6240813FD0","params":[["ped","Ped"],["blockIdleClips","BOOL"],["removeIdleClipIfPlaying","BOOL"]],"doc":"Appears only in fm_mission_controller and used only 3 times.\n\nped was always `playerPedId`()\np1 was always true\np2 was always true"},
{"name":"taskCombatHatedTargetsInArea","native":"TASK_COMBAT_HATED_TARGETS_IN_AREA","hash":"0x4CF5F55DAC3280A0","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["radius","float"],["combatFlags","int"]],"doc":"Despite its name, it only attacks ONE hated target. The one closest to the specified position."},
{"name":"taskCombatHatedTargetsAroundPed","native":"TASK_COMBAT_HATED_TARGETS_AROUND_PED","hash":"0x7BF835BB9E2698C8","params":[["ped","Ped"],["radius","float"],["combatFlags","int"]],"doc":"Despite its name, it only attacks ONE hated target. The one closest hated target.\n\np2 seems to be always 0"},
{"name":"taskCombatHatedTargetsAroundPedTimed","native":"TASK_COMBAT_HATED_TARGETS_AROUND_PED_TIMED","hash":"0x2BBA30B854534A0C","params":[["ped","Ped"],["radius","float"],["time","int"],["combatFlags","int"]]},
{"name":"taskThrowProjectile","native":"TASK_THROW_PROJECTILE","hash":"0x7285951DBF6B5A51","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["ignoreCollisionEntityIndex","int"],["createInvincibleProjectile","BOOL"]],"doc":"In every case of this native, I've only seen the first parameter passed as 0, although I believe it's a Ped after seeing tasks around it using 0. That's because it's used in a Sequence Task.\n\nThe last 3 parameters are definitely coordinates after seeing them passed in other scripts, and even being used straight from the player's coordinates.\n---\nIt seems that - in the decompiled scripts - this native was used on a ped who was in a vehicle to throw a projectile out the window at the player. This is something any ped will naturally do if they have a throwable and they are doing driveby-combat (although not very accurately).\nIt is possible, however, that this is how SWAT throws smoke grenades at the player when in cover.\n---\nThe first comment is right it definately is the ped as if you look in script finale_heist2b.c line 59628 in Xbox Scripts atleast you will see task_throw_projectile and the first param is Local_559[2 <14>] if you look above it a little bit line 59622 give_weapon_to_ped uses the same exact param Local_559[2 <14>] and we all know the first param of that native is ped. So it guaranteed has to be ped. 0 just may mean to use your ped by default for some reason."},
{"name":"taskSwapWeapon","native":"TASK_SWAP_WEAPON","hash":"0xA21C51255B205245","params":[["ped","Ped"],["drawWeapon","BOOL"]]},
{"name":"taskReloadWeapon","native":"TASK_RELOAD_WEAPON","hash":"0x62D2916F56B9CD2D","params":[["ped","Ped"],["drawWeapon","BOOL"]],"doc":"The 2nd param (drawWeapon) is not implemented.\n\n---\n\nThe only occurrence I found in a R* script (\"assassin_construction.ysc.c4\"):\n\n```\nif (((v_3 < v_4) && (getScriptTaskStatus(playerPedId(), 0x6a67a5cc) != 1)) && (v_5 > v_3)) {\n    taskReloadWeapon(playerPedId(), 1);\n}\n```"},
{"name":"isPedGettingUp","native":"IS_PED_GETTING_UP","hash":"0x2A74E1D5F2F00EEC","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"taskWrithe","native":"TASK_WRITHE","hash":"0xCDDC2B77CE54AC6E","params":[["ped","Ped"],["target","Ped"],["minFireLoops","int"],["startState","int"],["forceShootOnGround","BOOL"],["shootFromGroundTimer","int"]],"doc":"```\nEX: Function.Call(Ped1, Ped2, Time, 0);\n```\n\nThe last parameter is always 0 for some reason I do not know. The first parameter is the pedestrian who will writhe to the pedestrian in the other parameter. The third paremeter is how long until the Writhe task ends. When the task ends, the ped will die. If set to -1, he will not die automatically, and the task will continue until something causes it to end. This can be being touched by an entity, being shot, explosion, going into ragdoll, having task cleared. Anything that ends the current task will kill the ped at this point.\n\nThird parameter does not appear to be time. The last parameter is not implemented (It's not used, regardless of value)."},
{"name":"isPedInWrithe","native":"IS_PED_IN_WRITHE","hash":"0xDEB6D52126E7D640","params":[["ped","Ped"]],"ret":"BOOL","doc":"This native checks if a ped is on the ground, in pain from a (gunshot) wound.\nReturns `true` if the ped is in writhe, `false` otherwise."},
{"name":"openPatrolRoute","native":"OPEN_PATROL_ROUTE","hash":"0xA36BFB5EE89F3D82","params":[["patrolRoute","string"]],"doc":"patrolRoutes found in the b617d scripts:\n \"miss_Ass0\",\n \"miss_Ass1\",\n \"miss_Ass2\",\n \"miss_Ass3\",\n \"miss_Ass4\",\n \"miss_Ass5\",\n \"miss_Ass6\",\n \"MISS_PATROL_6\",\n \"MISS_PATROL_7\",\n \"MISS_PATROL_8\",\n \"MISS_PATROL_9\",\n \"miss_Tower_01\",\n \"miss_Tower_02\",\n \"miss_Tower_03\",\n \"miss_Tower_04\",\n \"miss_Tower_05\",\n \"miss_Tower_06\",\n \"miss_Tower_07\",\n \"miss_Tower_08\",\n \"miss_Tower_10\""},
{"name":"closePatrolRoute","native":"CLOSE_PATROL_ROUTE","hash":"0xB043ECA801B8CBC1"},
{"name":"addPatrolRouteNode","native":"ADD_PATROL_ROUTE_NODE","hash":"0x8EDF950167586B7C","params":[["nodeId","int"],["nodeType","string"],["posX","float"],["posY","float"],["posZ","float"],["headingX","float"],["headingY","float"],["headingZ","float"],["duration","int"]],"doc":"Example:\n\n```\naddPatrolRouteNode(2, \"WORLD_HUMAN_GUARD_STAND\", -193.4915, -2378.864990234375, 10.9719, -193.4915, -2378.864990234375, 10.9719, 3000);\n```\n\np0 is between 0 and 4 in the scripts.\n\np1 is \"WORLD_HUMAN_GUARD_STAND\" or \"StandGuard\".\n\np2, p3 and p4 is only one parameter sometimes in the scripts. Most likely a Vector3 hence p2, p3 and p4 are coordinates.\nExamples:\n\n```\naddPatrolRouteNode(1, \"WORLD_HUMAN_GUARD_STAND\", l_739[7/*3*/], 0.0, 0.0, 0.0, 0);\n\naddPatrolRouteNode(1, \"WORLD_HUMAN_GUARD_STAND\", l_B0[17/*44*/]._f3, l_B0[17/*44*/]._f3, 2000);\n```\n\np5, p6 and p7 are for example set to: 1599.0406494140625, 2713.392578125, 44.4309.\n\np8 is an int, often random set to for example: `getRandomIntInRange`(5000, 10000)."},
{"name":"addPatrolRouteLink","native":"ADD_PATROL_ROUTE_LINK","hash":"0x23083260DEC3A551","params":[["nodeId1","int"],["nodeId2","int"]]},
{"name":"createPatrolRoute","native":"CREATE_PATROL_ROUTE","hash":"0xAF8A443CCC8018DC"},
{"name":"deletePatrolRoute","native":"DELETE_PATROL_ROUTE","hash":"0x7767DD9D65E91319","params":[["patrolRoute","string"]],"doc":"From the b617d scripts:\n\n```\ndeletePatrolRoute(\"miss_merc0\");\ndeletePatrolRoute(\"miss_merc1\");\ndeletePatrolRoute(\"miss_merc2\");\ndeletePatrolRoute(\"miss_dock\");\n```"},
{"name":"getPatrolTaskInfo","native":"GET_PATROL_TASK_INFO","hash":"0x52F734CEBE20DFBA","params":[["ped","Ped"]],"ret":"BOOL","outs":[["timeLeftAtNode","int",1],["nodeId","int",2]],"since":2545,"aka":["_GET_PATROL_TASK_STATUS"]},
{"name":"taskPatrol","native":"TASK_PATROL","hash":"0xBDA5DF49D080FE4E","params":[["ped","Ped"],["patrolRouteName","string"],["alertState","int"],["canChatToPeds","BOOL"],["useHeadLookAt","BOOL"]],"doc":"After looking at some scripts the second parameter seems to be an id of some kind. Here are some I found from some R* scripts:\n\n\"miss_Tower_01\" (this went from 01 - 10)\n\"miss_Ass0\" (0, 4, 6, 3)\n\"MISS_PATROL_8\"\n\nI think they're patrol routes, but I'm not sure. And I believe the 3rd parameter is a BOOL, but I can't confirm other than only seeing 0 and 1 being passed.\n\nAs far as I can see the patrol routes names such as \"miss_Ass0\" have been defined earlier in the scripts. This leads me to believe we can defined our own new patrol routes by following the same approach.\nFrom the scripts\n\n```\nopenPatrolRoute(\"miss_Ass0\");\naddPatrolRouteNode(0, \"WORLD_HUMAN_GUARD_STAND\", l_738[0/*3*/], -139.4076690673828, -993.4732055664062, 26.2754, getRandomIntInRange(5000, 10000));\naddPatrolRouteNode(1, \"WORLD_HUMAN_GUARD_STAND\", l_738[1/*3*/], -116.1391830444336, -987.4984130859375, 26.38541030883789, getRandomIntInRange(5000, 10000));\naddPatrolRouteNode(2, \"WORLD_HUMAN_GUARD_STAND\", l_738[2/*3*/], -128.46847534179688, -979.0340576171875, 26.2754, getRandomIntInRange(5000, 10000));\naddPatrolRouteLink(0, 1);\naddPatrolRouteLink(1, 2);\naddPatrolRouteLink(2, 0);\nclosePatrolRoute();\ncreatePatrolRoute();\n```"},
{"name":"taskStayInCover","native":"TASK_STAY_IN_COVER","hash":"0xE5DA8615A6180789","params":[["ped","Ped"]],"doc":"Makes the ped run to take cover"},
{"name":"addVehicleSubtaskAttackCoord","native":"ADD_VEHICLE_SUBTASK_ATTACK_COORD","hash":"0x5CF0D8F9BBA0DD75","params":[["ped","Ped"],["x","float","offset in world coords from some entity."],["y","float","offset in world coords from some entity."],["z","float","offset in world coords from some entity."]]},
{"name":"addVehicleSubtaskAttackPed","native":"ADD_VEHICLE_SUBTASK_ATTACK_PED","hash":"0x85F462BADC7DA47F","params":[["ped","Ped"],["target","Ped"]]},
{"name":"taskVehicleShootAtPed","native":"TASK_VEHICLE_SHOOT_AT_PED","hash":"0x10AB107B887214D8","params":[["ped","Ped"],["target","Ped"],["fireTolerance","float"]]},
{"name":"taskVehicleAimAtPed","native":"TASK_VEHICLE_AIM_AT_PED","hash":"0xE41885592B08B097","params":[["ped","Ped"],["target","Ped"]]},
{"name":"taskVehicleShootAtCoord","native":"TASK_VEHICLE_SHOOT_AT_COORD","hash":"0x5190796ED39C9B6D","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["fireTolerance","float"]]},
{"name":"taskVehicleAimAtCoord","native":"TASK_VEHICLE_AIM_AT_COORD","hash":"0x447C1E9EF844BC0F","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"]]},
{"name":"taskVehicleGotoNavmesh","native":"TASK_VEHICLE_GOTO_NAVMESH","hash":"0x195AEEB13CEFE2EE","params":[["ped","Ped"],["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["speed","float"],["behaviorFlag","int"],["stoppingRange","float"]],"doc":"Differs from TASK_VEHICLE_DRIVE_TO_COORDS in that it will pick the shortest possible road route without taking one-way streets and other \"road laws\" into consideration.\n\nWARNING:\nA behaviorFlag value of 0 will result in a clunky, stupid driver!\n\nRecommended settings:\nspeed = 30.0f,\n\n```\nbehaviorFlag = 156,\nstoppingRange = 5.0f;\n```\n\nIf you simply want to have your driver move to a fixed location, call it only once, or, when necessary in the event of interruption.\n\nIf using this to continually follow a Ped who is on foot:  You will need to run this in a tick loop.  Call it in with the Ped's updated coordinates every 20 ticks or so and you will have one hell of a smart, fast-reacting NPC driver -- provided he doesn't get stuck.  If your update frequency is too fast, the Ped may not have enough time to figure his way out of being stuck, and thus, remain stuck.  One way around this would be to implement an \"anti-stuck\" mechanism, which allows the driver to realize he's stuck, temporarily pause the tick, unstuck, then resume the tick.\n\nEDIT: This is being discussed in more detail at https://gtaforums.com/topic/818504-any-idea-on-how-to-make-peds-clever-and-insanely-fast-c/"},
{"name":"taskGoToCoordWhileAimingAtCoord","native":"TASK_GO_TO_COORD_WHILE_AIMING_AT_COORD","hash":"0x11315AB3385B8AC0","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["aimAtX","float"],["aimAtY","float"],["aimAtZ","float"],["moveBlendRatio","float"],["shoot","BOOL"],["targetRadius","float"],["slowDistance","float"],["useNavMesh","BOOL"],["navFlags","int"],["instantBlendToAim","BOOL"],["firingPattern","Hash"]],"doc":"movement_speed: mostly 2f, but also 1/1.2f, etc.\np8: always false\np9: 2f\np10: 0.5f\np11: true\np12: 0 / 512 / 513, etc.\np13: 0\nfiring_pattern: ${firing_pattern_full_auto}, 0xC6EE6B4C"},
{"name":"taskGoToCoordWhileAimingAtEntity","native":"TASK_GO_TO_COORD_WHILE_AIMING_AT_ENTITY","hash":"0xB2A16444EAD9AE47","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["aimAtID","Entity"],["moveBlendRatio","float"],["shoot","BOOL"],["targetRadius","float"],["slowDistance","float"],["useNavMesh","BOOL"],["navFlags","int"],["instantBlendToAim","BOOL"],["firingPattern","Hash"],["time","int"]]},
{"name":"taskGoToCoordAndAimAtHatedEntitiesNearCoord","native":"TASK_GO_TO_COORD_AND_AIM_AT_HATED_ENTITIES_NEAR_COORD","hash":"0xA55547801EB331FC","params":[["pedHandle","Ped"],["goToLocationX","float"],["goToLocationY","float"],["goToLocationZ","float"],["focusLocationX","float"],["focusLocationY","float"],["focusLocationZ","float"],["speed","float"],["shootAtEnemies","BOOL"],["distanceToStopAt","float"],["noRoadsDistance","float"],["useNavMesh","BOOL"],["navFlags","int"],["taskFlags","int"],["firingPattern","Hash"]],"doc":"The ped will walk or run towards goToLocation, aiming towards goToLocation or focusLocation (depending on the aimingFlag) and shooting if shootAtEnemies = true to any enemy in his path.\n\nIf the ped is closer than noRoadsDistance, the ped will ignore pathing/navmesh and go towards goToLocation directly. This could cause the ped to get stuck behind tall walls if the goToLocation is on the other side. To avoid this, use 0.0f and the ped will always use pathing/navmesh to reach his destination.\n\nIf the speed is set to 0.0f, the ped will just stand there while aiming, if set to 1.0f he will walk while aiming, 2.0f will run while aiming.\n\nThe ped will stop aiming when he is closer than distanceToStopAt to goToLocation.\n\nI still can't figure out what unkTrue is used for. I don't notice any difference if I set it to false but in the decompiled scripts is always true.\n\nI think that unkFlag, like the driving styles, could be a flag that \"work as a list of 32 bits converted to a decimal integer. Each bit acts as a flag, and enables or disables a function\". What leads me to this conclusion is the fact that in the decompiled scripts, unkFlag takes values like: 0, 1, 5 (101 in binary) and 4097 (4096 + 1 or 1000000000001 in binary). For now, I don't know what behavior enable or disable this possible flag so I leave it at 0.\n\nNote: After some testing, using unkFlag = 16 (0x10) enables the use of sidewalks while moving towards goToLocation.\n\nThe aimingFlag takes 2 values: 0 to aim at the focusLocation, 1 to aim at where the ped is heading (goToLocation).\n\nExample:\n\n```\nenum AimFlag\n{\n   AimAtFocusLocation,\n   AimAtGoToLocation\n};\n\nVector3 goToLocation1 = { 996.2867f, 0, -2143.044f, 0, 28.4763f, 0 }; // remember the padding.\n\nVector3 goToLocation2 = { 990.2867f, 0, -2140.044f, 0, 28.4763f, 0 }; // remember the padding.\n\nVector3 focusLocation = { 994.3478f, 0, -2136.118f, 0, 29.2463f, 0 }; // the coord z should be a little higher, around +1.0f to avoid aiming at the ground\n\n// 1st example\ntaskGoToCoordAndAimAtHatedEntitiesNearCoord(pedHandle, goToLocation1.x, goToLocation1.y, goToLocation1.z, focusLocation.x, focusLocation.y, focusLocation.z, 2.0f /*run*/, true /*shoot*/, 3.0f /*stop at*/, 0.0f /*noRoadsDistance*/, true /*always true*/, 0 /*possible flag*/, AimFlag::AimAtGoToLocation, -957453492 /*FullAuto pattern*/);\n\n// 2nd example\ntaskGoToCoordAndAimAtHatedEntitiesNearCoord(pedHandle, goToLocation2.x, goToLocation2.y, goToLocation2.z, focusLocation.x, focusLocation.y, focusLocation.z, 1.0f /*walk*/, false /*don't shoot*/, 3.0f /*stop at*/, 0.0f /*noRoadsDistance*/, true /*always true*/, 0 /*possible flag*/, AimFlag::AimAtFocusLocation, -957453492 /*FullAuto pattern*/);\n```\n\n1st example: The ped (pedhandle) will run towards goToLocation1. While running and aiming towards goToLocation1, the ped will shoot on sight to any enemy in his path, using \"FullAuto\" firing pattern. The ped will stop once he is closer than distanceToStopAt to goToLocation1.\n\n2nd example: The ped will walk towards goToLocation2. This time, while walking towards goToLocation2 and aiming at focusLocation, the ped will point his weapon on sight to any enemy in his path without shooting. The ped will stop once he is closer than distanceToStopAt to goToLocation2."},
{"name":"taskGoToEntityWhileAimingAtCoord","native":"TASK_GO_TO_ENTITY_WHILE_AIMING_AT_COORD","hash":"0x04701832B739DCE5","params":[["ped","Ped"],["entity","Entity"],["aimX","float"],["aimY","float"],["aimZ","float"],["moveBlendRatio","float"],["shoot","BOOL"],["targetRadius","float"],["slowDistance","float"],["useNavMesh","BOOL"],["instantBlendToAim","BOOL"],["firingPattern","Hash"]]},
{"name":"taskGoToEntityWhileAimingAtEntity","native":"TASK_GO_TO_ENTITY_WHILE_AIMING_AT_ENTITY","hash":"0x97465886D35210E9","params":[["ped","Ped"],["entityToWalkTo","Entity"],["entityToAimAt","Entity"],["speed","float"],["shootatEntity","BOOL"],["targetRadius","float"],["slowDistance","float"],["useNavMesh","BOOL"],["instantBlendToAim","BOOL"],["firingPattern","Hash"]],"doc":"shootatEntity:\nIf true, peds will shoot at Entity till it is dead.\nIf false, peds will just walk till they reach the entity and will cease shooting."},
{"name":"setHighFallTask","native":"SET_HIGH_FALL_TASK","hash":"0x8C825BDC7741D37C","params":[["ped","Ped"],["minTime","int"],["maxTime","int"],["entryType","int"]],"doc":"Makes the ped ragdoll like when falling from a great height"},
{"name":"requestWaypointRecording","native":"REQUEST_WAYPOINT_RECORDING","hash":"0x9EEFB62EB27B5792","params":[["name","string"]],"doc":"Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json\nFor a full list of the points, see here: goo.gl/wIH0vn\n\nMax number of loaded recordings is 32."},
{"name":"getIsWaypointRecordingLoaded","native":"GET_IS_WAYPOINT_RECORDING_LOADED","hash":"0xCB4E8BE8A0063C5D","params":[["name","string"]],"ret":"BOOL","doc":"Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json"},
{"name":"removeWaypointRecording","native":"REMOVE_WAYPOINT_RECORDING","hash":"0xFF1B8B4AA1C25DC8","params":[["name","string"]],"doc":"Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json"},
{"name":"waypointRecordingGetNumPoints","native":"WAYPOINT_RECORDING_GET_NUM_POINTS","hash":"0x5343532C01A07234","params":[["name","string"]],"ret":"BOOL","outs":[["points","int",1]],"doc":"Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json\nFor a full list of the points, see here: goo.gl/wIH0vn"},
{"name":"waypointRecordingGetCoord","native":"WAYPOINT_RECORDING_GET_COORD","hash":"0x2FB897405C90B361","params":[["name","string"],["point","int"]],"ret":"BOOL","outs":[["coord","Vector3",2]],"doc":"Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json\nFor a full list of the points, see here: goo.gl/wIH0vn"},
{"name":"waypointRecordingGetSpeedAtPoint","native":"WAYPOINT_RECORDING_GET_SPEED_AT_POINT","hash":"0x005622AEBC33ACA9","params":[["name","string"],["point","int"]],"ret":"float","doc":"Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json"},
{"name":"waypointRecordingGetClosestWaypoint","native":"WAYPOINT_RECORDING_GET_CLOSEST_WAYPOINT","hash":"0xB629A298081F876F","params":[["name","string"],["x","float"],["y","float"],["z","float"]],"ret":"BOOL","outs":[["point","int",4]],"doc":"Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json\nFor a full list of the points, see here: goo.gl/wIH0vn"},
{"name":"taskFollowWaypointRecording","native":"TASK_FOLLOW_WAYPOINT_RECORDING","hash":"0x0759591819534F7B","params":[["ped","Ped"],["name","string"],["p2","int"],["p3","int"],["p4","int"]]},
{"name":"isWaypointPlaybackGoingOnForPed","native":"IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_PED","hash":"0xE03B3F2D3DC59B64","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getPedWaypointProgress","native":"GET_PED_WAYPOINT_PROGRESS","hash":"0x2720AAA75001E094","params":[["ped","Ped"]],"ret":"int"},
{"name":"setPedWaypointProgress","native":"SET_PED_WAYPOINT_PROGRESS","hash":"0x686ECCD99D4E61BB","params":[["ped","Ped"],["progress","int"]],"na":1,"since":3570},
{"name":"getPedWaypointDistance","native":"GET_PED_WAYPOINT_DISTANCE","hash":"0xE6A877C64CAF1BC5","params":[["p0","Any"]],"ret":"float"},
{"name":"setPedWaypointRouteOffset","native":"SET_PED_WAYPOINT_ROUTE_OFFSET","hash":"0xED98E10B0AFCE4B4","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"]],"ret":"BOOL"},
{"name":"getWaypointDistanceAlongRoute","native":"GET_WAYPOINT_DISTANCE_ALONG_ROUTE","hash":"0xA5B769058763E497","params":[["name","string"],["point","int"]],"ret":"float"},
{"name":"waypointPlaybackGetIsPaused","native":"WAYPOINT_PLAYBACK_GET_IS_PAUSED","hash":"0x701375A7D43F01CB","params":[["p0","Any"]],"ret":"BOOL"},
{"name":"waypointPlaybackPause","native":"WAYPOINT_PLAYBACK_PAUSE","hash":"0x0F342546AA06FED5","params":[["p0","Any"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"waypointPlaybackResume","native":"WAYPOINT_PLAYBACK_RESUME","hash":"0x244F70C84C547D2D","params":[["p0","Any"],["p1","BOOL"],["p2","Any"],["p3","Any"]]},
{"name":"waypointPlaybackOverrideSpeed","native":"WAYPOINT_PLAYBACK_OVERRIDE_SPEED","hash":"0x7D7D2B47FA788E85","params":[["p0","Any"],["p1","float"],["p2","BOOL"]]},
{"name":"waypointPlaybackUseDefaultSpeed","native":"WAYPOINT_PLAYBACK_USE_DEFAULT_SPEED","hash":"0x6599D834B12D0800","params":[["p0","Any"]]},
{"name":"useWaypointRecordingAsAssistedMovementRoute","native":"USE_WAYPOINT_RECORDING_AS_ASSISTED_MOVEMENT_ROUTE","hash":"0x5A353B8E6B1095B5","params":[["name","string"],["p1","BOOL"],["p2","float"],["p3","float"]]},
{"name":"waypointPlaybackStartAimingAtPed","native":"WAYPOINT_PLAYBACK_START_AIMING_AT_PED","hash":"0x20E330937C399D29","params":[["ped","Ped"],["target","Ped"],["p2","BOOL"]]},
{"name":"waypointPlaybackStartAimingAtCoord","native":"WAYPOINT_PLAYBACK_START_AIMING_AT_COORD","hash":"0x8968400D900ED8B3","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["p4","BOOL"]]},
{"name":"waypointPlaybackStartShootingAtPed","native":"WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED","hash":"0xE70BA7B90F8390DC","params":[["ped","Ped"],["ped2","Ped"],["p2","BOOL"],["p3","BOOL"]]},
{"name":"waypointPlaybackStartShootingAtCoord","native":"WAYPOINT_PLAYBACK_START_SHOOTING_AT_COORD","hash":"0x057A25CFCC9DB671","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"],["p4","BOOL"],["firingPattern","Hash"]]},
{"name":"waypointPlaybackStopAimingOrShooting","native":"WAYPOINT_PLAYBACK_STOP_AIMING_OR_SHOOTING","hash":"0x47EFA040EBB8E2EA","params":[["ped","Ped"]]},
{"name":"assistedMovementRequestRoute","native":"ASSISTED_MOVEMENT_REQUEST_ROUTE","hash":"0x817268968605947A","params":[["route","string"]],"doc":"Routes: \"1_FIBStairs\", \"2_FIBStairs\", \"3_FIBStairs\", \"4_FIBStairs\", \"5_FIBStairs\", \"5_TowardsFire\", \"6a_FIBStairs\", \"7_FIBStairs\", \"8_FIBStairs\", \"Aprtmnt_1\", \"AssAfterLift\", \"ATM_1\", \"coroner2\", \"coroner_stairs\", \"f5_jimmy1\", \"fame1\", \"family5b\", \"family5c\", \"Family5d\", \"family5d\", \"FIB_Glass1\", \"FIB_Glass2\", \"FIB_Glass3\", \"finaBroute1A\", \"finalb1st\", \"finalB1sta\", \"finalbround\", \"finalbroute2\", \"Hairdresser1\", \"jan_foyet_ft_door\", \"Jo_3\", \"Lemar1\", \"Lemar2\", \"mansion_1\", \"Mansion_1\", \"pols_1\", \"pols_2\", \"pols_3\", \"pols_4\", \"pols_5\", \"pols_6\", \"pols_7\", \"pols_8\", \"Pro_S1\", \"Pro_S1a\", \"Pro_S2\", \"Towards_case\", \"trev_steps\", \"tunrs1\", \"tunrs2\", \"tunrs3\", \"Wave01457s\""},
{"name":"assistedMovementRemoveRoute","native":"ASSISTED_MOVEMENT_REMOVE_ROUTE","hash":"0x3548536485DD792B","params":[["route","string"]]},
{"name":"assistedMovementIsRouteLoaded","native":"ASSISTED_MOVEMENT_IS_ROUTE_LOADED","hash":"0x60F9A4393A21F741","params":[["route","string"]],"ret":"BOOL"},
{"name":"assistedMovementSetRouteProperties","native":"ASSISTED_MOVEMENT_SET_ROUTE_PROPERTIES","hash":"0xD5002D78B7162E1B","params":[["route","string"],["props","int"]]},
{"name":"assistedMovementOverrideLoadDistanceThisFrame","native":"ASSISTED_MOVEMENT_OVERRIDE_LOAD_DISTANCE_THIS_FRAME","hash":"0x13945951E16EF912","params":[["dist","float"]]},
{"name":"taskVehicleFollowWaypointRecording","native":"TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING","hash":"0x3123FAA6DB1CF7ED","params":[["ped","Ped"],["vehicle","Vehicle"],["WPRecording","string"],["p3","int"],["p4","int"],["p5","int"],["p6","int"],["p7","float"],["p8","BOOL"],["p9","float"]],"doc":"p2 = Waypoint recording string (found in update\\update.rpf\\x64\\levels\\gta5\\waypointrec.rpf\np3 = 786468\np4 = 0\np5 = 16\np6 = -1 (angle?)\np7/8/9 = usually v3.zero\np10 = bool (repeat?)\np11 = 1073741824\n\nFull list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json"},
{"name":"isWaypointPlaybackGoingOnForVehicle","native":"IS_WAYPOINT_PLAYBACK_GOING_ON_FOR_VEHICLE","hash":"0xF5134943EA29868C","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"getVehicleWaypointProgress","native":"GET_VEHICLE_WAYPOINT_PROGRESS","hash":"0x9824CFF8FC66E159","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"getVehicleWaypointTargetPoint","native":"GET_VEHICLE_WAYPOINT_TARGET_POINT","hash":"0x416B62AC8B9E5BBD","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"vehicleWaypointPlaybackPause","native":"VEHICLE_WAYPOINT_PLAYBACK_PAUSE","hash":"0x8A4E6AC373666BC5","params":[["vehicle","Vehicle"]]},
{"name":"vehicleWaypointPlaybackGetIsPaused","native":"VEHICLE_WAYPOINT_PLAYBACK_GET_IS_PAUSED","hash":"0xE435D3539EFDCD1B","params":[["vehicle","Vehicle"]],"ret":"BOOL","na":1,"since":3570},
{"name":"vehicleWaypointPlaybackResume","native":"VEHICLE_WAYPOINT_PLAYBACK_RESUME","hash":"0xDC04FCAA7839D492","params":[["vehicle","Vehicle"]]},
{"name":"vehicleWaypointPlaybackUseDefaultSpeed","native":"VEHICLE_WAYPOINT_PLAYBACK_USE_DEFAULT_SPEED","hash":"0x5CEB25A7D2848963","params":[["vehicle","Vehicle"]]},
{"name":"vehicleWaypointPlaybackOverrideSpeed","native":"VEHICLE_WAYPOINT_PLAYBACK_OVERRIDE_SPEED","hash":"0x121F0593E0A431D7","params":[["vehicle","Vehicle"],["speed","float"]]},
{"name":"taskSetBlockingOfNonTemporaryEvents","native":"TASK_SET_BLOCKING_OF_NON_TEMPORARY_EVENTS","hash":"0x90D2156198831D69","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"I cant believe I have to define this, this is one of the best natives.\n\nIt makes the ped ignore basically all shocking events around it. Occasionally the ped may comment or gesture, but other than that they just continue their daily activities. This includes shooting and wounding the ped. And - most importantly - they do not flee.\n\nSince it is a task, every time the native is called the ped will stop for a moment."},
{"name":"taskForceMotionState","native":"TASK_FORCE_MOTION_STATE","hash":"0x4F056E1AFFEF17AB","params":[["ped","Ped"],["state","Hash"],["forceRestart","BOOL"]],"doc":"p2 always false\n\n[30/03/2017] ins1de :\n\nSee `forcePedMotionState`"},
{"name":"taskMoveNetworkByName","native":"TASK_MOVE_NETWORK_BY_NAME","hash":"0x2D537BA194896636","params":[["ped","Ped"],["task","string"],["multiplier","float"],["allowOverrideCloneUpdate","BOOL"],["animDict","string"],["flags","int"]],"aka":["_TASK_MOVE_NETWORK"],"doc":"Example:\n\n```\ntaskMoveNetworkByName(playerPedId(), \"arm_wrestling_sweep_paired_a_rev3\", 0.0f, true, \"mini@arm_wrestling\", 0);\n```"},
{"name":"taskMoveNetworkAdvancedByName","native":"TASK_MOVE_NETWORK_ADVANCED_BY_NAME","hash":"0xD5B35BEA41919ACB","params":[["ped","Ped"],["network","string"],["x","float"],["y","float"],["z","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["rotOrder","int"],["blendDuration","float"],["allowOverrideCloneUpdate","BOOL"],["animDict","string"],["flags","int"]],"aka":["_TASK_MOVE_NETWORK_ADVANCED"],"doc":"Example:\n\n```\ntaskMoveNetworkAdvancedByName(playerPedId(), \"minigame_tattoo_michael_parts\", 324.13f, 181.29f, 102.6f, 0.0f, 0.0f, 22.32f, 2, 0, false, 0, 0);\n```"},
{"name":"taskMoveNetworkByNameWithInitParams","native":"TASK_MOVE_NETWORK_BY_NAME_WITH_INIT_PARAMS","hash":"0x3D45B0B355C5E0C9","params":[["ped","Ped"],["network","string"],["initialParameters","MoveInitialParams"],["blendDuration","float"],["allowOverrideCloneUpdate","BOOL"],["animDict","string"],["flags","int"]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Local movement graph","md":"Use a local ped owned by the calling resource. `blendDuration` must be 0–60 and `allowOverrideCloneUpdate` must be false. Flags may use only bits `0x04` and `0x08`. The animation runs on the calling client."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"taskMoveNetworkAdvancedByNameWithInitParams","native":"TASK_MOVE_NETWORK_ADVANCED_BY_NAME_WITH_INIT_PARAMS","hash":"0x29682E2CCF21E9B5","params":[["ped","Ped"],["network","string"],["initialParameters","MoveInitialParams"],["x","float"],["y","float"],["z","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["rotOrder","int"],["blendDuration","float"],["allowOverrideCloneUpdate","BOOL"],["dictionary","string"],["flags","int"]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Local movement graph with origin","md":"Use a local ped owned by the calling resource. `blendDuration` must be 0–60 and `allowOverrideCloneUpdate` must be false. Flags may use only bits `0x04` and `0x08`. Use finite origin and rotation components within ±100,000 and a rotation order from 0 to 5. The animation runs on the calling client."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"isTaskMoveNetworkActive","native":"IS_TASK_MOVE_NETWORK_ACTIVE","hash":"0x921CE12C489C4C41","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isTaskMoveNetworkReadyForTransition","native":"IS_TASK_MOVE_NETWORK_READY_FOR_TRANSITION","hash":"0x30ED88D5E0C56A37","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"requestTaskMoveNetworkStateTransition","native":"REQUEST_TASK_MOVE_NETWORK_STATE_TRANSITION","hash":"0xD01015C7316AE176","params":[["ped","Ped"],["name","string"]],"ret":"BOOL"},
{"name":"setExpectedCloneNextTaskMoveNetworkState","native":"SET_EXPECTED_CLONE_NEXT_TASK_MOVE_NETWORK_STATE","hash":"0xAB13A5565480B6D9","params":[["ped","Ped"],["state","string"]],"ret":"BOOL","doc":"Used only once in the scripts (fm_mission_controller) like so:\n\n```\nsetExpectedCloneNextTaskMoveNetworkState(iLocal_3160, \"Cutting\");\n```"},
{"name":"getTaskMoveNetworkState","native":"GET_TASK_MOVE_NETWORK_STATE","hash":"0x717E4D1F2048376D","params":[["ped","Ped"]],"ret":"string"},
{"name":"setTaskMoveNetworkAnimSet","native":"SET_TASK_MOVE_NETWORK_ANIM_SET","hash":"0x8423541E8B3A1589","params":[["ped","Ped"],["clipSet","Hash"],["variableClipSet","Hash"]],"since":1493},
{"name":"setTaskMoveNetworkSignalFloat","native":"SET_TASK_MOVE_NETWORK_SIGNAL_FLOAT","hash":"0xD5BB4025AE449A4E","params":[["ped","Ped"],["signalName","string"],["value","float"]],"aka":["_SET_TASK_PROPERTY_FLOAT"],"doc":"signalName - \"Phase\", \"Wobble\", \"x_axis\",\"y_axis\",\"introphase\",\"speed\".\np2 - From what i can see it goes up to 1f (maybe).\n\n```\nExample: setTaskMoveNetworkSignalFloat(playerPedId(), \"Phase\", 0.5);\n```"},
{"name":"setTaskMoveNetworkSignalLocalFloat","native":"SET_TASK_MOVE_NETWORK_SIGNAL_LOCAL_FLOAT","hash":"0x373EF409B82697A3","params":[["ped","Ped"],["signalName","string"],["value","float"]],"since":1493,"aka":["_SET_TASK_MOVE_NETWORK_SIGNAL_FLOAT_2"]},
{"name":"setTaskMoveNetworkSignalFloatLerpRate","native":"SET_TASK_MOVE_NETWORK_SIGNAL_FLOAT_LERP_RATE","hash":"0x8634CEF2522D987B","params":[["ped","Ped"],["signalName","string"],["value","float"]],"since":1493},
{"name":"setTaskMoveNetworkSignalBool","native":"SET_TASK_MOVE_NETWORK_SIGNAL_BOOL","hash":"0xB0A6CFD2C69C1088","params":[["ped","Ped"],["signalName","string"],["value","BOOL"]],"aka":["_SET_TASK_PROPERTY_BOOL"]},
{"name":"getTaskMoveNetworkSignalFloat","native":"GET_TASK_MOVE_NETWORK_SIGNAL_FLOAT","hash":"0x44AB0B3AFECCE242","params":[["ped","Ped"],["signalName","string"]],"ret":"float","since":1493,"aka":["_GET_TASK_MOVE_NETWORK_SIGNAL_FLOAT"]},
{"name":"getTaskMoveNetworkSignalBool","native":"GET_TASK_MOVE_NETWORK_SIGNAL_BOOL","hash":"0xA7FFBA498E4AAF67","params":[["ped","Ped"],["signalName","string"]],"ret":"BOOL"},
{"name":"getTaskMoveNetworkEvent","native":"GET_TASK_MOVE_NETWORK_EVENT","hash":"0xB4F47213DF45A64C","params":[["ped","Ped"],["eventName","string"]],"ret":"BOOL"},
{"name":"setTaskMoveNetworkEnableCollisionOnNetworkCloneWhenFixed","native":"SET_TASK_MOVE_NETWORK_ENABLE_COLLISION_ON_NETWORK_CLONE_WHEN_FIXED","hash":"0x0FFB3C758E8C07B9","params":[["ped","Ped"],["enable","BOOL"]],"ret":"BOOL","since":2060,"doc":"Doesn't actually return anything."},
{"name":"setScriptTaskEnableCollisionOnNetworkCloneWhenFixed","native":"_SET_SCRIPT_TASK_ENABLE_COLLISION_ON_NETWORK_CLONE_WHEN_FIXED","hash":"0x32F6EEF031F943DC","params":[["ped","Ped"],["enable","BOOL"]],"na":1,"since":3095},
{"name":"setAmbientPedEnableCollisionOnNetworkCloneWhenFixed","native":"_SET_AMBIENT_PED_ENABLE_COLLISION_ON_NETWORK_CLONE_WHEN_FIXED","hash":"0x0EFE4834A2F40563","params":[["ped","Ped"],["enable","BOOL"]],"na":1,"since":3570},
{"name":"isMoveBlendRatioStill","native":"IS_MOVE_BLEND_RATIO_STILL","hash":"0x349CE7B56DAFD95C","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isMoveBlendRatioWalking","native":"IS_MOVE_BLEND_RATIO_WALKING","hash":"0xF133BBBE91E1691F","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isMoveBlendRatioRunning","native":"IS_MOVE_BLEND_RATIO_RUNNING","hash":"0xD4D8636C0199A939","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isMoveBlendRatioSprinting","native":"IS_MOVE_BLEND_RATIO_SPRINTING","hash":"0x24A2AD74FA9814E2","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedStill","native":"IS_PED_STILL","hash":"0xAC29253EEF8F0180","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedWalking","native":"IS_PED_WALKING","hash":"0xDE4C184B2B9B071A","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedRunning","native":"IS_PED_RUNNING","hash":"0xC5286FFC176F28A2","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedSprinting","native":"IS_PED_SPRINTING","hash":"0x57E457CD2C0FC168","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedStrafing","native":"IS_PED_STRAFING","hash":"0xE45B7F222DE47E09","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"taskSynchronizedScene","native":"TASK_SYNCHRONIZED_SCENE","hash":"0xEEA929141F699854","params":[["ped","Ped"],["scene","int"],["animDictionary","string"],["animationName","string"],["blendIn","float"],["blendOut","float"],["flags","int"],["ragdollBlockingFlags","int"],["moverBlendDelta","float"],["ikFlags","int"]],"doc":"```\ntaskSynchronizedScene(ped, scene, \"creatures@rottweiler@in_vehicle@std_car\", \"get_in\", 1000.0, -8.0, 4, 0, 0x447a0000, 0);\n```\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json"},
{"name":"taskAgitatedActionConfrontResponse","native":"TASK_AGITATED_ACTION_CONFRONT_RESPONSE","hash":"0x19D1B791CB3670FE","params":[["ped","Ped"],["ped2","Ped"]],"since":877,"aka":["TASK_AGITATED_ACTION"]},
{"name":"taskSweepAimEntity","native":"TASK_SWEEP_AIM_ENTITY","hash":"0x2047C02158D6405A","params":[["ped","Ped"],["animDict","string"],["lowAnimName","string"],["medAnimName","string"],["hiAnimName","string"],["runtime","int"],["targetEntity","Entity"],["turnRate","float"],["blendInDuration","float"]],"doc":"This function is called on peds in vehicles.\n\nanim: animation name\np2, p3, p4: \"sweep_low\", \"sweep_med\" or \"sweep_high\"\np5: no idea what it does but is usually -1"},
{"name":"updateTaskSweepAimEntity","native":"UPDATE_TASK_SWEEP_AIM_ENTITY","hash":"0xE4973DBDBE6E44B3","params":[["ped","Ped"],["entity","Entity"]]},
{"name":"taskSweepAimPosition","native":"TASK_SWEEP_AIM_POSITION","hash":"0x7AFE8FDC10BC07D2","params":[["ped","Ped"],["animDict","string"],["lowAnimName","string"],["medAnimName","string"],["hiAnimName","string"],["runtime","int"],["x","float"],["y","float"],["z","float"],["turnRate","float"],["blendInDuration","float"]]},
{"name":"updateTaskSweepAimPosition","native":"UPDATE_TASK_SWEEP_AIM_POSITION","hash":"0xBB106883F5201FC4","params":[["ped","Ped"],["x","float"],["y","float"],["z","float"]]},
{"name":"taskArrestPed","native":"TASK_ARREST_PED","hash":"0xF3B9A78A178572B1","params":[["ped","Ped"],["target","Ped"]],"doc":"Example from \"me_amanda1.ysc.c4\":\n\n```\ntaskArrestPed(l_19F /* This is a Ped */ , playerPedId());\n```\n\nExample from \"armenian1.ysc.c4\":\n\n```\nif (!isPedInjured(l_B18[0/*1*/])) {\n    taskArrestPed(l_B18[0/*1*/], playerPedId());\n}\n```\n\nI would love to have time to experiment to see if a player Ped can arrest another Ped. Might make for a good cop mod.\n\nLooks like only the player can be arrested this way. Peds react and try to arrest you if you task them, but the player charater doesn't do anything if tasked to arrest another ped."},
{"name":"isPedRunningArrestTask","native":"IS_PED_RUNNING_ARREST_TASK","hash":"0x3DC52677769B4AE0","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"isPedBeingArrested","native":"IS_PED_BEING_ARRESTED","hash":"0x90A09F3A45FED688","params":[["ped","Ped"]],"ret":"BOOL","doc":"This function is hard-coded to always return 0."},
{"name":"uncuffPed","native":"UNCUFF_PED","hash":"0x67406F2C8F87FC4F","params":[["ped","Ped"]]},
{"name":"isPedCuffed","native":"IS_PED_CUFFED","hash":"0x74E559B3BC910685","params":[["ped","Ped"]],"ret":"BOOL"}
]},
{"id":"VEHICLE","title":"Vehicle","doc":"Vehicles: creation, mods, colours, doors, damage, handling flags.","natives":[
{"name":"createVehicle","native":"CREATE_VEHICLE","hash":"0xAF35D0D2583051B0","params":[["modelHash","Hash"],["x","float"],["y","float"],["z","float"],["heading","float"],["isNetwork","BOOL"],["bScriptHostVeh","BOOL"],["p7","BOOL"]],"ret":"Vehicle","doc":"p7 when set to true allows you to spawn vehicles under -100 z.\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"deleteVehicle","native":"DELETE_VEHICLE","hash":"0xEA386986E786A54F","params":[["vehicle","Vehicle"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `vehicle` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"Deletes a vehicle.\nThe vehicle must be a mission entity to delete, so call this before deleting: `setEntityAsMissionEntity`(vehicle, true, true);\n\neg how to use:\n\n```\nsetEntityAsMissionEntity(vehicle, true, true);\ndeleteVehicle(&vehicle);\n```\n\nDeletes the specified vehicle, then sets the handle pointed to by the pointer to NULL."},
{"name":"setVehicleAllowHomingMissleLockon","native":"SET_VEHICLE_ALLOW_HOMING_MISSLE_LOCKON","hash":"0x7D6F9A3EF26136A0","params":[["vehicle","Vehicle"],["toggle","BOOL"],["p2","BOOL"]]},
{"name":"setVehicleAllowHomingMissleLockonSynced","native":"SET_VEHICLE_ALLOW_HOMING_MISSLE_LOCKON_SYNCED","hash":"0x1DDA078D12879EEE","params":[["vehicle","Vehicle"],["canBeLockedOn","BOOL"],["p2","BOOL"]],"since":463,"aka":["_SET_VEHICLE_CAN_BE_LOCKED_ON"]},
{"name":"setVehicleAllowNoPassengersLockon","native":"SET_VEHICLE_ALLOW_NO_PASSENGERS_LOCKON","hash":"0x5D14D4154BFE7B2C","params":[["veh","Vehicle"],["toggle","BOOL"]],"doc":"Makes the vehicle accept no passengers."},
{"name":"getVehicleHomingLockonState","native":"GET_VEHICLE_HOMING_LOCKON_STATE","hash":"0xE6B0E8CFC3633BF0","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Returns a value depending on the lock-on state of vehicle weapons.\n0: not locked on\n1: locking on\n2: locked on"},
{"name":"getVehicleHomingLockedontoState","native":"GET_VEHICLE_HOMING_LOCKEDONTO_STATE","hash":"0x6EAAEFC76ACC311F","params":[["p0","Any"]],"ret":"int","since":757},
{"name":"setVehicleHomingLockedontoState","native":"SET_VEHICLE_HOMING_LOCKEDONTO_STATE","hash":"0x407DC5E97DB1A4D3","params":[["p0","Any"],["p1","Any"]],"since":1493},
{"name":"isVehicleModel","native":"IS_VEHICLE_MODEL","hash":"0x423E8DE37D934D89","params":[["vehicle","Vehicle"],["model","Hash"]],"ret":"BOOL"},
{"name":"doesScriptVehicleGeneratorExist","native":"DOES_SCRIPT_VEHICLE_GENERATOR_EXIST","hash":"0xF6086BC836400876","params":[["vehicleGenerator","int"]],"ret":"BOOL"},
{"name":"createScriptVehicleGenerator","native":"CREATE_SCRIPT_VEHICLE_GENERATOR","hash":"0x9DEF883114668116","params":[["x","float"],["y","float"],["z","float"],["heading","float"],["p4","float"],["p5","float"],["modelHash","Hash"],["p7","int"],["p8","int"],["p9","int"],["p10","int"],["p11","BOOL"],["p12","BOOL"],["p13","BOOL"],["p14","BOOL"],["p15","BOOL"],["p16","int"]],"ret":"int","doc":"Creates a script vehicle generator at the given coordinates. Most parameters after the model hash are unknown.\n\nParameters:\nx/y/z - Generator position\nheading - Generator heading\np4 - Unknown (always 5.0)\np5 - Unknown (always 3.0)\nmodelHash - Vehicle model hash\np7/8/9/10 - Unknown (always -1)\np11 - Unknown (usually TRUE, only one instance of FALSE)\np12/13 - Unknown (always FALSE)\np14 - Unknown (usally FALSE, only two instances of TRUE)\np15 - Unknown (always TRUE)\np16 - Unknown (always -1)\n\n```\nVector3 coords = getEntityCoords(playerPedId(), 0);    createScriptVehicleGenerator(coords.x, coords.y, coords.z, 1.0f, 5.0f, 3.0f, getHashKey(\"adder\"), -1. -1, -1, -1, -1, true, false, false, false, true, -1);\n```"},
{"name":"deleteScriptVehicleGenerator","native":"DELETE_SCRIPT_VEHICLE_GENERATOR","hash":"0x22102C9ABFCF125D","params":[["vehicleGenerator","int"]]},
{"name":"setScriptVehicleGenerator","native":"SET_SCRIPT_VEHICLE_GENERATOR","hash":"0xD9D620E0AC6DC4B0","params":[["vehicleGenerator","int"],["enabled","BOOL"]],"doc":"Only called once in the decompiled scripts. Presumably activates the specified generator."},
{"name":"setAllVehicleGeneratorsActiveInArea","native":"SET_ALL_VEHICLE_GENERATORS_ACTIVE_IN_AREA","hash":"0xC12321827687FE4D","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["toggle","BOOL"],["p7","BOOL"]],"doc":"When p6 is true, vehicle generators are active.\np7 seems to always be true in story mode scripts, but it's sometimes false in online scripts."},
{"name":"setAllVehicleGeneratorsActive","native":"SET_ALL_VEHICLE_GENERATORS_ACTIVE","hash":"0x34AD89078831A4BC"},
{"name":"setAllLowPriorityVehicleGeneratorsActive","native":"SET_ALL_LOW_PRIORITY_VEHICLE_GENERATORS_ACTIVE","hash":"0x608207E7A8FB787C","params":[["active","BOOL"]]},
{"name":"setVehicleGeneratorAreaOfInterest","native":"SET_VEHICLE_GENERATOR_AREA_OF_INTEREST","hash":"0x9A75585FB2E54FAD","params":[["x","float"],["y","float"],["z","float"],["radius","float"]]},
{"name":"clearVehicleGeneratorAreaOfInterest","native":"CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST","hash":"0x0A436B8643716D14"},
{"name":"setVehicleOnGroundProperly","native":"SET_VEHICLE_ON_GROUND_PROPERLY","hash":"0x49733E92263139D1","params":[["vehicle","Vehicle"],["p1","float"]],"ret":"BOOL","doc":"Sets a vehicle on the ground on all wheels.  Returns whether or not the operation was successful.\n\nsfink: This has an additional param(Vehicle vehicle, float p1) which is always set to 5.0f in the b944 scripts."},
{"name":"setVehicleUseCutsceneWheelCompression","native":"SET_VEHICLE_USE_CUTSCENE_WHEEL_COMPRESSION","hash":"0xE023E8AC4EF7C117","params":[["p0","Vehicle"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"]],"ret":"BOOL","aka":["SET_ALL_VEHICLES_SPAWN"]},
{"name":"isVehicleStuckOnRoof","native":"IS_VEHICLE_STUCK_ON_ROOF","hash":"0xB497F06B288DCFDF","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"addVehicleUpsidedownCheck","native":"ADD_VEHICLE_UPSIDEDOWN_CHECK","hash":"0xB72E26D81006005B","params":[["vehicle","Vehicle"]]},
{"name":"removeVehicleUpsidedownCheck","native":"REMOVE_VEHICLE_UPSIDEDOWN_CHECK","hash":"0xC53EB42A499A7E90","params":[["vehicle","Vehicle"]]},
{"name":"isVehicleStopped","native":"IS_VEHICLE_STOPPED","hash":"0x5721B434AD84D57A","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Returns true if the vehicle's current speed is less than, or equal to 0.0025f.\n\nFor some vehicles it returns true if the current speed is <= 0.00039999999."},
{"name":"getVehicleNumberOfPassengers","native":"GET_VEHICLE_NUMBER_OF_PASSENGERS","hash":"0x24CB2137731FFE89","params":[["vehicle","Vehicle"],["includeDriver","BOOL"],["includeDeadOccupants","BOOL"]],"ret":"int","doc":"Gets the number of passengers.\n\nThis native was modified in b2545 to take two additional parameters, allowing you to include the driver or exclude dead passengers.\n\nTo keep it working like before b2545, set includeDriver to false and includeDeadOccupants to true."},
{"name":"getVehicleMaxNumberOfPassengers","native":"GET_VEHICLE_MAX_NUMBER_OF_PASSENGERS","hash":"0xA7C4F2C6E744A550","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"getVehicleModelNumberOfSeats","native":"GET_VEHICLE_MODEL_NUMBER_OF_SEATS","hash":"0x2AD93716F184EDA4","params":[["modelHash","Hash"]],"ret":"int","aka":["_GET_VEHICLE_MODEL_MAX_NUMBER_OF_PASSENGERS"],"doc":"Returns max number of passengers (including the driver) for the specified vehicle model.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"isSeatWarpOnly","native":"IS_SEAT_WARP_ONLY","hash":"0xF7F203E31F96F6A1","params":[["vehicle","Vehicle"],["seatIndex","int"]],"ret":"BOOL"},
{"name":"isTurretSeat","native":"IS_TURRET_SEAT","hash":"0xE33FFA906CE74880","params":[["vehicle","Vehicle"],["seatIndex","int"]],"ret":"BOOL"},
{"name":"doesVehicleAllowRappel","native":"DOES_VEHICLE_ALLOW_RAPPEL","hash":"0x4E417C547182C84D","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":757,"aka":["_DOES_VEHICLE_ALLOW_RAPPEL"],"doc":"Returns true if the vehicle has the FLAG_ALLOWS_RAPPEL flag set."},
{"name":"setVehicleDensityMultiplierThisFrame","native":"SET_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME","hash":"0x245A6883D966D537","params":[["multiplier","float"]],"doc":"Use this native inside a looped function.\nValues:\n- `0.0` = no vehicles on streets\n- `1.0` = normal vehicles on streets"},
{"name":"setRandomVehicleDensityMultiplierThisFrame","native":"SET_RANDOM_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME","hash":"0xB3B3359379FE77D3","params":[["multiplier","float"]]},
{"name":"setParkedVehicleDensityMultiplierThisFrame","native":"SET_PARKED_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME","hash":"0xEAE6DCC7EEE3DB1D","params":[["multiplier","float"]]},
{"name":"setDisableRandomTrainsThisFrame","native":"SET_DISABLE_RANDOM_TRAINS_THIS_FRAME","hash":"0xD4B8E3D1917BC86B","params":[["toggle","BOOL"]],"aka":["_SET_SOMETHING_MULTIPLIER_THIS_FRAME"]},
{"name":"setAmbientVehicleRangeMultiplierThisFrame","native":"SET_AMBIENT_VEHICLE_RANGE_MULTIPLIER_THIS_FRAME","hash":"0x90B6DA738A9A25DA","params":[["value","float"]],"aka":["_SET_SOME_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME"]},
{"name":"setFarDrawVehicles","native":"SET_FAR_DRAW_VEHICLES","hash":"0x26324F33423F3CC3","params":[["toggle","BOOL"]]},
{"name":"setNumberOfParkedVehicles","native":"SET_NUMBER_OF_PARKED_VEHICLES","hash":"0xCAA15F13EBD417FF","params":[["value","int"]]},
{"name":"setVehicleDoorsLocked","native":"SET_VEHICLE_DOORS_LOCKED","hash":"0xB664292EAECF7FA6","params":[["vehicle","Vehicle"],["doorLockStatus","int"]]},
{"name":"setVehicleIndividualDoorsLocked","native":"SET_VEHICLE_INDIVIDUAL_DOORS_LOCKED","hash":"0xBE70724027F85BCD","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"],["doorLockStatus","int"]],"aka":["SET_PED_TARGETTABLE_VEHICLE_DESTROY","_SET_VEHICLE_DOOR_DESTROY_TYPE"]},
{"name":"setVehicleHasMutedSirens","native":"SET_VEHICLE_HAS_MUTED_SIRENS","hash":"0xD8050E0EB60CF274","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["DISABLE_VEHICLE_IMPACT_EXPLOSION_ACTIVATION","_SET_DISABLE_VEHICLE_SIREN_SOUND"],"doc":"If set to true, prevents vehicle sirens from having sound, leaving only the lights."},
{"name":"setVehicleDoorsLockedForPlayer","native":"SET_VEHICLE_DOORS_LOCKED_FOR_PLAYER","hash":"0x517AAF684BB50CD1","params":[["vehicle","Vehicle"],["player","Player"],["toggle","BOOL"]]},
{"name":"getVehicleDoorsLockedForPlayer","native":"GET_VEHICLE_DOORS_LOCKED_FOR_PLAYER","hash":"0xF6AF6CB341349015","params":[["vehicle","Vehicle"],["player","Player"]],"ret":"BOOL"},
{"name":"setVehicleDoorsLockedForAllPlayers","native":"SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS","hash":"0xA2F80B8D040727CC","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"After some analysis, I've decided that these are what the parameters are.\n\nWe can see this being used in R* scripts such as \"am_mp_property_int.ysc.c4\":\n\n```\nl_11A1 = getVehiclePedIsIn(playerPedId(), 1);\n```\n\n...\n\n```\nsetVehicleDoorsLockedForAllPlayers(l_11A1, 1);\n```"},
{"name":"setVehicleDoorsLockedForNonScriptPlayers","native":"SET_VEHICLE_DOORS_LOCKED_FOR_NON_SCRIPT_PLAYERS","hash":"0x9737A37136F07E75","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleDoorsLockedForTeam","native":"SET_VEHICLE_DOORS_LOCKED_FOR_TEAM","hash":"0xB81F6D4A8F5EEBA8","params":[["vehicle","Vehicle"],["team","int"],["toggle","BOOL"]]},
{"name":"setVehicleDoorsLockedForAllTeams","native":"SET_VEHICLE_DOORS_LOCKED_FOR_ALL_TEAMS","hash":"0x203B527D1B77904C","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1365,"aka":["_SET_VEHICLE_DOORS_LOCKED_FOR_UNK"]},
{"name":"setVehicleDontTerminateTaskWhenAchieved","native":"SET_VEHICLE_DONT_TERMINATE_TASK_WHEN_ACHIEVED","hash":"0x76D26A22750E849E","params":[["vehicle","Vehicle"]],"since":1103},
{"name":"setVehicleMaxLaunchEngineRevs","native":"_SET_VEHICLE_MAX_LAUNCH_ENGINE_REVS","hash":"0x5AE614ECA5FDD423","params":[["vehicle","Vehicle"],["modifier","float"]],"na":1,"since":3095,"doc":"0.0f = engine rev minimum\n1.0f = engine rev limit"},
{"name":"getVehicleThrottle","native":"_GET_VEHICLE_THROTTLE","hash":"0x92D96892FC06AF22","params":[["vehicle","Vehicle"]],"ret":"float","na":1,"since":3095},
{"name":"explodeVehicle","native":"EXPLODE_VEHICLE","hash":"0xBA71116ADF5B514C","params":[["vehicle","Vehicle"],["isAudible","BOOL"],["isInvisible","BOOL"]],"doc":"Explodes a selected vehicle.\n\n```\nVehicle vehicle = Vehicle you want to explode.\nBOOL isAudible = If explosion makes a sound.\nBOOL isInvisible = If the explosion is invisible or not.\n```\n\nFirst BOOL does not give any visual explosion, the vehicle just falls apart completely but slowly and starts to burn."},
{"name":"setVehicleOutOfControl","native":"SET_VEHICLE_OUT_OF_CONTROL","hash":"0xF19D095E42D430CC","params":[["vehicle","Vehicle"],["killDriver","BOOL"],["explodeOnImpact","BOOL"]],"doc":"Tested on the player's current vehicle. Unless you kill the driver, the vehicle doesn't loose control, however, if enabled, explodeOnImpact is still active. The moment you crash, boom."},
{"name":"setVehicleTimedExplosion","native":"SET_VEHICLE_TIMED_EXPLOSION","hash":"0x2E0A74E1002380B1","params":[["vehicle","Vehicle"],["ped","Ped"],["toggle","BOOL"]]},
{"name":"addVehiclePhoneExplosiveDevice","native":"ADD_VEHICLE_PHONE_EXPLOSIVE_DEVICE","hash":"0x99AD4CCCB128CBC9","params":[["vehicle","Vehicle"]]},
{"name":"clearVehiclePhoneExplosiveDevice","native":"CLEAR_VEHICLE_PHONE_EXPLOSIVE_DEVICE","hash":"0xAA3F739ABDDCF21F","since":463,"aka":["_CLEAR_VEHICLE_PHONE_EXPLOSIVE_DEVICE"]},
{"name":"hasVehiclePhoneExplosiveDevice","native":"HAS_VEHICLE_PHONE_EXPLOSIVE_DEVICE","hash":"0x6ADAABD3068C5235","ret":"BOOL"},
{"name":"detonateVehiclePhoneExplosiveDevice","native":"DETONATE_VEHICLE_PHONE_EXPLOSIVE_DEVICE","hash":"0xEF49CF0270307CBE","aka":["_REQUEST_VEHICLE_PHONE_EXPLOSION"]},
{"name":"haveVehicleRearDoorsBeenBlownOpenByStickybomb","native":"HAVE_VEHICLE_REAR_DOORS_BEEN_BLOWN_OPEN_BY_STICKYBOMB","hash":"0x6B407F2525E93644","params":[["vehicle","Vehicle"]],"ret":"BOOL","na":1,"since":2944},
{"name":"setTaxiLights","native":"SET_TAXI_LIGHTS","hash":"0x598803E85E8448D9","params":[["vehicle","Vehicle"],["state","BOOL"]],"doc":"This is not tested - it's just an assumption.\n- Nac\n\nDoesn't seem to work.  I'll try with an int instead. --JT\n\nRead the scripts, im dumpass.\n\n```\nif (!isTaxiLightOn(l_115)) {\n    setTaxiLights(l_115, 1);\n}\n```"},
{"name":"isTaxiLightOn","native":"IS_TAXI_LIGHT_ON","hash":"0x7504C0F113AB50FC","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"isVehicleInGarageArea","native":"IS_VEHICLE_IN_GARAGE_AREA","hash":"0xCEE4490CD57BB3C2","params":[["garageName","string"],["vehicle","Vehicle"]],"ret":"BOOL","doc":"garageName example \"Michael - Beverly Hills\"\n\nFull list of garages by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/garages.json"},
{"name":"setVehicleColours","native":"SET_VEHICLE_COLOURS","hash":"0x4F1D4BE3A7F24601","params":[["vehicle","Vehicle"],["colorPrimary","int"],["colorSecondary","int"]],"doc":"colorPrimary & colorSecondary are the paint index for the vehicle.\nFor a list of valid paint indexes, view: https://pastebin.com/pwHci0xK\n---\nNote: minimum color index is 0, maximum color index is (numColorIndices - 1)\n\nFull list of vehicle colors by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleColors.json"},
{"name":"setVehicleFullbeam","native":"SET_VEHICLE_FULLBEAM","hash":"0x8B7FD87F0DDB421E","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"It switch to highbeam when p1 is set to true."},
{"name":"setVehicleIsRacing","native":"SET_VEHICLE_IS_RACING","hash":"0x07116E24E9D1929D","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["STEER_UNLOCK_BIAS"],"doc":"p1 (toggle) was always 1 (true) except in one case in the b678 scripts."},
{"name":"setVehicleCustomPrimaryColour","native":"SET_VEHICLE_CUSTOM_PRIMARY_COLOUR","hash":"0x7141766F91D15BEA","params":[["vehicle","Vehicle"],["r","int"],["g","int"],["b","int"]],"doc":"p1, p2, p3 are RGB values for color (255,0,0 for Red, ect)"},
{"name":"getVehicleCustomPrimaryColour","native":"GET_VEHICLE_CUSTOM_PRIMARY_COLOUR","hash":"0xB64CF2CCA9D95F52","params":[["vehicle","Vehicle"]],"outs":[["r","int",1],["g","int",2],["b","int",3]]},
{"name":"clearVehicleCustomPrimaryColour","native":"CLEAR_VEHICLE_CUSTOM_PRIMARY_COLOUR","hash":"0x55E1D2758F34E437","params":[["vehicle","Vehicle"]]},
{"name":"getIsVehiclePrimaryColourCustom","native":"GET_IS_VEHICLE_PRIMARY_COLOUR_CUSTOM","hash":"0xF095C0405307B21B","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleCustomSecondaryColour","native":"SET_VEHICLE_CUSTOM_SECONDARY_COLOUR","hash":"0x36CED73BFED89754","params":[["vehicle","Vehicle"],["r","int"],["g","int"],["b","int"]],"doc":"p1, p2, p3 are RGB values for color (255,0,0 for Red, ect)"},
{"name":"getVehicleCustomSecondaryColour","native":"GET_VEHICLE_CUSTOM_SECONDARY_COLOUR","hash":"0x8389CD56CA8072DC","params":[["vehicle","Vehicle"]],"outs":[["r","int",1],["g","int",2],["b","int",3]]},
{"name":"clearVehicleCustomSecondaryColour","native":"CLEAR_VEHICLE_CUSTOM_SECONDARY_COLOUR","hash":"0x5FFBDEEC3E8E2009","params":[["vehicle","Vehicle"]]},
{"name":"getIsVehicleSecondaryColourCustom","native":"GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM","hash":"0x910A32E7AAD2656C","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Check if Vehicle Secondary is avaliable for customize"},
{"name":"setVehicleEnveffScale","native":"SET_VEHICLE_ENVEFF_SCALE","hash":"0x3AFDC536C3D01674","params":[["vehicle","Vehicle"],["fade","float"]],"aka":["_SET_VEHICLE_PAINT_FADE"],"doc":"The parameter fade is a value from 0-1, where 0 is fresh paint."},
{"name":"getVehicleEnveffScale","native":"GET_VEHICLE_ENVEFF_SCALE","hash":"0xA82819CAC9C4C403","params":[["vehicle","Vehicle"]],"ret":"float","aka":["_GET_VEHICLE_PAINT_FADE"],"doc":"The result is a value from 0-1, where 0 is fresh paint."},
{"name":"setCanResprayVehicle","native":"SET_CAN_RESPRAY_VEHICLE","hash":"0x52BBA29D5EC69356","params":[["vehicle","Vehicle"],["state","BOOL"]],"doc":"Hardcoded to not work in multiplayer."},
{"name":"setGoonBossVehicle","native":"SET_GOON_BOSS_VEHICLE","hash":"0xAB31EF4DE6800CE9","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":573,"doc":"Used for GTAO CEO/Associate spawned vehicles."},
{"name":"setOpenRearDoorsOnExplosion","native":"SET_OPEN_REAR_DOORS_ON_EXPLOSION","hash":"0x1B212B26DD3C04DF","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":757},
{"name":"forceSubmarineSurfaceMode","native":"FORCE_SUBMARINE_SURFACE_MODE","hash":"0x33506883545AC0DF","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"forceSubmarineNeurtalBuoyancy","native":"FORCE_SUBMARINE_NEURTAL_BUOYANCY","hash":"0xC67DB108A9ADE3BE","params":[["p0","Any"],["p1","Any"]],"since":2189},
{"name":"setSubmarineCrushDepths","native":"SET_SUBMARINE_CRUSH_DEPTHS","hash":"0xC59872A5134879C7","params":[["vehicle","Vehicle"],["p1","BOOL"],["depth1","float"],["depth2","float"],["depth3","float"]],"aka":["_JITTER_VEHICLE"]},
{"name":"getSubmarineIsUnderDesignDepth","native":"GET_SUBMARINE_IS_UNDER_DESIGN_DEPTH","hash":"0x3E71D0B300B7AA79","params":[["submarine","Vehicle"]],"ret":"BOOL","since":2189,"aka":["_GET_SUBMARINE_IS_BELOW_FIRST_CRUSH_DEPTH"]},
{"name":"getSubmarineNumberOfAirLeaks","native":"GET_SUBMARINE_NUMBER_OF_AIR_LEAKS","hash":"0x093D6DDCA5B8FBAE","params":[["submarine","Vehicle"]],"ret":"int","since":2189,"aka":["_GET_SUBMARINE_CRUSH_DEPTH_WARNING_STATE"]},
{"name":"setBoatIgnoreLandProbes","native":"SET_BOAT_IGNORE_LAND_PROBES","hash":"0xED5EDE9E676643C9","params":[["p0","Any"],["p1","Any"]],"since":944},
{"name":"setBoundsAffectWaterProbes","native":"_SET_BOUNDS_AFFECT_WATER_PROBES","hash":"0x85FC953F6C6CBDE1","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":2802,"doc":"Use the vehicle bounds (instead of viewport) when deciding if a vehicle is sufficiently above the water (waterheight.dat), bypassing wave simulation checks"},
{"name":"setBoatAnchor","native":"SET_BOAT_ANCHOR","hash":"0x75DBEC174AEEAD10","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"canAnchorBoatHere","native":"CAN_ANCHOR_BOAT_HERE","hash":"0x26C10ECBDA5D043B","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_GET_BOAT_ANCHOR","_CAN_BOAT_BE_ANCHORED"]},
{"name":"canAnchorBoatHereIgnorePlayers","native":"CAN_ANCHOR_BOAT_HERE_IGNORE_PLAYERS","hash":"0x24F4121D07579880","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":678,"aka":["_CAN_BOAT_BE_ANCHORED_2","_CAN_ANCHOR_BOAT_HERE_2"]},
{"name":"setBoatRemainsAnchoredWhilePlayerIsDriver","native":"SET_BOAT_REMAINS_ANCHORED_WHILE_PLAYER_IS_DRIVER","hash":"0xE3EBAAE484798530","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_BOAT_FROZEN_WHEN_ANCHORED"]},
{"name":"setForceLowLodAnchorMode","native":"SET_FORCE_LOW_LOD_ANCHOR_MODE","hash":"0xB28B1FE5BFADD7F5","params":[["vehicle","Vehicle"],["p1","BOOL"]],"doc":"No observed effect."},
{"name":"setBoatLowLodAnchorDistance","native":"SET_BOAT_LOW_LOD_ANCHOR_DISTANCE","hash":"0xE842A9398079BD82","params":[["vehicle","Vehicle"],["value","float"]],"aka":["_SET_BOAT_ANCHOR_BUOYANCY_COEFFICIENT","_SET_BOAT_MOVEMENT_RESISTANCE"]},
{"name":"isBoatAnchored","native":"IS_BOAT_ANCHORED","hash":"0xB0AD1238A709B1A2","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":573,"aka":["_IS_BOAT_ANCHORED_AND_FROZEN"]},
{"name":"setBoatSinksWhenWrecked","native":"SET_BOAT_SINKS_WHEN_WRECKED","hash":"0x8F719973E1445BA2","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_BOAT_EXPLODES_ON_WRECKED_ACTION"]},
{"name":"setBoatWrecked","native":"SET_BOAT_WRECKED","hash":"0xBD32E46AA95C1DD2","params":[["vehicle","Vehicle"]],"since":757,"aka":["_SET_BOAT_SINKING","_SET_BOAT_IS_SINKING"]},
{"name":"setVehicleSiren","native":"SET_VEHICLE_SIREN","hash":"0xF4924635A19EB37D","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Activate siren on vehicle (Only works if the vehicle has a siren)."},
{"name":"isVehicleSirenOn","native":"IS_VEHICLE_SIREN_ON","hash":"0x4C9BF537BE2634B2","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"isVehicleSirenAudioOn","native":"IS_VEHICLE_SIREN_AUDIO_ON","hash":"0xB5CC40FBCB586380","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_VEHICLE_SIREN_SOUND_ON"]},
{"name":"setVehicleStrong","native":"SET_VEHICLE_STRONG","hash":"0x3E8C8727991A8A0B","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"If set to true, vehicle will not take crash damage, but is still susceptible to damage from bullets and explosives"},
{"name":"removeVehicleStuckCheck","native":"REMOVE_VEHICLE_STUCK_CHECK","hash":"0x8386BFB614D06749","params":[["vehicle","Vehicle"]]},
{"name":"getVehicleColours","native":"GET_VEHICLE_COLOURS","hash":"0xA19435F193E081AC","params":[["vehicle","Vehicle"]],"outs":[["colorPrimary","int",1],["colorSecondary","int",2]]},
{"name":"isVehicleSeatFree","native":"IS_VEHICLE_SEAT_FREE","hash":"0x22AC59A870E6A669","params":[["vehicle","Vehicle"],["seatIndex","int"],["isTaskRunning","BOOL"]],"ret":"BOOL","doc":"Check if a vehicle seat is free.\n\nseatIndex  = -1 being the driver seat.\nUse `getVehicleMaxNumberOfPassengers`(vehicle) - 1 for last seat index.\nisTaskRunning = on true the function returns already false while a task on the target seat is running (`taskEnterVehicle`/`taskShuffleToNextVehicleSeat`) - on false only when a ped is finally sitting in the seat."},
{"name":"getPedInVehicleSeat","native":"GET_PED_IN_VEHICLE_SEAT","hash":"0xBB40DD2270B65366","params":[["vehicle","Vehicle"],["seatIndex","int"],["p2","BOOL"]],"ret":"Ped","doc":"If there is no ped in the seat, and the game considers the vehicle as ambient population, this will create a random occupant ped in the seat, which may be cleaned up by the game fairly soon if not marked as script-owned mission entity.\n\nSeat indexes:\n-1 = Driver\n0 = Front Right Passenger\n1 = Back Left Passenger\n2 = Back Right Passenger\n3 = Further Back Left Passenger (vehicles > 4 seats)\n4 = Further Back Right Passenger (vehicles > 4 seats)\netc.\n\nIf p2 is true it uses a different GetOccupant function."},
{"name":"getLastPedInVehicleSeat","native":"GET_LAST_PED_IN_VEHICLE_SEAT","hash":"0x83F969AA1EE2A664","params":[["vehicle","Vehicle"],["seatIndex","int"]],"ret":"Ped"},
{"name":"getVehicleLightsState","native":"GET_VEHICLE_LIGHTS_STATE","hash":"0xB91B4C20085BD12F","params":[["vehicle","Vehicle"]],"ret":"BOOL","outs":[["lightsOn","BOOL",1],["highbeamsOn","BOOL",2]]},
{"name":"isVehicleTyreBurst","native":"IS_VEHICLE_TYRE_BURST","hash":"0xBA291848A0815CA9","params":[["vehicle","Vehicle"],["wheelID","int"],["completely","BOOL"]],"ret":"BOOL","doc":"wheelID used for 4 wheelers seem to be (0, 1, 4, 5)\ncompletely - is to check if tire completely gone from rim.\n\n'0 = wheel_lf / bike, plane or jet front\n'1 = wheel_rf\n'2 = wheel_lm / in 6 wheels trailer, plane or jet is first one on left\n'3 = wheel_rm / in 6 wheels trailer, plane or jet is first one on right\n'4 = wheel_lr / bike rear / in 6 wheels trailer, plane or jet is last one on left\n'5 = wheel_rr / in 6 wheels trailer, plane or jet is last one on right\n'45 = 6 wheels trailer mid wheel left\n'47 = 6 wheels trailer mid wheel right"},
{"name":"setVehicleForwardSpeed","native":"SET_VEHICLE_FORWARD_SPEED","hash":"0xAB54A438726D25D5","params":[["vehicle","Vehicle"],["speed","float"]],"doc":"SCALE: Setting the speed to 30 would result in a speed of roughly 60mph, according to speedometer.\n\nSpeed is in meters per second\nYou can convert meters/s to mph here:\nhttps://www.calculateme.com/speed/meters-per-second/to-miles-per-hour/"},
{"name":"setVehicleForwardSpeedXy","native":"SET_VEHICLE_FORWARD_SPEED_XY","hash":"0x6501129C9E0FFA05","params":[["vehicle","Vehicle"],["speed","float"]],"since":877,"doc":"Seems to be identical to `setVehicleForwardSpeed`"},
{"name":"bringVehicleToHalt","native":"BRING_VEHICLE_TO_HALT","hash":"0x260BE8F09E326A20","params":[["vehicle","Vehicle"],["distance","float"],["duration","int"],["p3","BOOL"]],"aka":["_SET_VEHICLE_HALT"],"doc":"This native makes the vehicle stop immediately, as happens when we enter a MP garage.\n\n. distance defines how far it will travel until stopping. Garage doors use 3.0.\n\n. If killEngine is set to 1, you cannot resume driving the vehicle once it stops. This looks like is a bitmapped integer."},
{"name":"setVehicleSteerForBuildings","native":"SET_VEHICLE_STEER_FOR_BUILDINGS","hash":"0xDCE97BDF8A0EABC8","params":[["vehicle","Vehicle"],["p1","Any"]],"since":1103},
{"name":"setVehicleCausesSwerving","native":"SET_VEHICLE_CAUSES_SWERVING","hash":"0x9849DE24FCF23CCC","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1604},
{"name":"setIgnorePlanesSmallPitchChange","native":"SET_IGNORE_PLANES_SMALL_PITCH_CHANGE","hash":"0x8664170EF165C4A6","params":[["p0","Any"],["p1","Any"]],"since":2189},
{"name":"stopBringingVehicleToHalt","native":"STOP_BRINGING_VEHICLE_TO_HALT","hash":"0x7C06330BFDDA182E","params":[["vehicle","Vehicle"]],"since":1103,"aka":["_STOP_BRING_VEHICLE_TO_HALT"]},
{"name":"isVehicleBeingBroughtToHalt","native":"IS_VEHICLE_BEING_BROUGHT_TO_HALT","hash":"0xC69BB1D832A710EF","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1493,"aka":["_IS_VEHICLE_BEING_HALTED"],"doc":"Returns true if vehicle is halted by `bringVehicleToHalt`"},
{"name":"lowerForkliftForks","native":"LOWER_FORKLIFT_FORKS","hash":"0x923A293361DF44E5","params":[["forklift","Vehicle"]],"since":2802},
{"name":"setForkliftForkHeight","native":"SET_FORKLIFT_FORK_HEIGHT","hash":"0x37EBBF3117BD6A25","params":[["vehicle","Vehicle"],["height","float"]],"doc":"0.0 = Lowest 1.0 = Highest. This is best to be used if you wanna pick-up a car since un-realistically on GTA V forklifts can't pick up much of anything due to vehicle mass. If you put this under a car then set it above 0.0 to a 'lifted-value' it will raise the car with no issue lol"},
{"name":"isEntityAttachedToHandlerFrame","native":"IS_ENTITY_ATTACHED_TO_HANDLER_FRAME","hash":"0x57715966069157AD","params":[["vehicle","Vehicle"],["entity","Entity"]],"ret":"BOOL","aka":["SET_PED_ENABLED_BIKE_RINGTONE","_IS_VEHICLE_NEAR_ENTITY"]},
{"name":"isAnyEntityAttachedToHandlerFrame","native":"IS_ANY_ENTITY_ATTACHED_TO_HANDLER_FRAME","hash":"0x62CA17B74C435651","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"findHandlerVehicleContainerIsAttachedTo","native":"FIND_HANDLER_VEHICLE_CONTAINER_IS_ATTACHED_TO","hash":"0x375E7FC44F21C8AB","params":[["entity","Entity"]],"ret":"Vehicle","aka":["_GET_VEHICLE_ATTACHED_TO_ENTITY","_FIND_VEHICLE_CARRYING_THIS_ENTITY"],"doc":"Finds the vehicle that is carrying this entity with a handler frame.\nThe model of the entity must be prop_contr_03b_ld or the function will return 0."},
{"name":"isHandlerFrameLinedUpWithContainer","native":"IS_HANDLER_FRAME_LINED_UP_WITH_CONTAINER","hash":"0x89D630CF5EA96D23","params":[["vehicle","Vehicle"],["entity","Entity"]],"ret":"BOOL","aka":["_IS_HANDLER_FRAME_ABOVE_CONTAINER"]},
{"name":"attachContainerToHandlerFrameWhenLinedUp","native":"ATTACH_CONTAINER_TO_HANDLER_FRAME_WHEN_LINED_UP","hash":"0x6A98C2ECF57FA5D4","params":[["vehicle","Vehicle"],["entity","Entity"]]},
{"name":"detachContainerFromHandlerFrame","native":"DETACH_CONTAINER_FROM_HANDLER_FRAME","hash":"0x7C0043FDFF6436BC","params":[["vehicle","Vehicle"]]},
{"name":"setVehicleDisableHeightMapAvoidance","native":"SET_VEHICLE_DISABLE_HEIGHT_MAP_AVOIDANCE","hash":"0x8AA9180DE2FEDD45","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setPlaneAvoidsOthers","native":"_SET_PLANE_AVOIDS_OTHERS","hash":"0xBAFB99B304BC52A7","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"na":1,"since":3407},
{"name":"setBoatDisableAvoidance","native":"SET_BOAT_DISABLE_AVOIDANCE","hash":"0x0A6A279F3AA4FD70","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"isHeliLandingAreaBlocked","native":"IS_HELI_LANDING_AREA_BLOCKED","hash":"0x634148744F385576","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setShortSlowdownForLanding","native":"SET_SHORT_SLOWDOWN_FOR_LANDING","hash":"0x107A473D7A6647A9","params":[["vehicle","Vehicle"]],"since":1290,"doc":"Sets a value on the task to 10f"},
{"name":"setHeliTurbulenceScalar","native":"SET_HELI_TURBULENCE_SCALAR","hash":"0xE6F13851780394DA","params":[["vehicle","Vehicle"],["p1","float"]]},
{"name":"setCarBootOpen","native":"SET_CAR_BOOT_OPEN","hash":"0xFC40CBF7B90CA77C","params":[["vehicle","Vehicle"]],"since":877},
{"name":"setVehicleTyreBurst","native":"SET_VEHICLE_TYRE_BURST","hash":"0xEC6A202EE4960385","params":[["vehicle","Vehicle"],["index","int"],["onRim","BOOL"],["p3","float"]],"doc":"\"To burst tyres `setVehicleTyreBurst`(vehicle, 0, true, 1000.0)\nto burst all tyres type it 8 times where p1 = 0 to 7.\n\np3 seems to be how much damage it has taken. 0 doesn't deflate them, 1000 completely deflates them.\n\n'0 = wheel_lf / bike, plane or jet front\n'1 = wheel_rf\n'2 = wheel_lm / in 6 wheels trailer, plane or jet is first one on left\n'3 = wheel_rm / in 6 wheels trailer, plane or jet is first one on right\n'4 = wheel_lr / bike rear / in 6 wheels trailer, plane or jet is last one on left\n'5 = wheel_rr / in 6 wheels trailer, plane or jet is last one on right\n'45 = 6 wheels trailer mid wheel left\n'47 = 6 wheels trailer mid wheel right"},
{"name":"setVehicleDoorsShut","native":"SET_VEHICLE_DOORS_SHUT","hash":"0x781B3D62BB013EF5","params":[["vehicle","Vehicle"],["closeInstantly","BOOL"]],"doc":"Closes all doors of a vehicle:"},
{"name":"setVehicleTyresCanBurst","native":"SET_VEHICLE_TYRES_CAN_BURST","hash":"0xEB9DC3C7D8596C46","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Allows you to toggle bulletproof tires."},
{"name":"getVehicleTyresCanBurst","native":"GET_VEHICLE_TYRES_CAN_BURST","hash":"0x678B9BB8C3F58FEB","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleWheelsCanBreak","native":"SET_VEHICLE_WHEELS_CAN_BREAK","hash":"0x29B18B4FD460CA8F","params":[["vehicle","Vehicle"],["enabled","BOOL"]]},
{"name":"setVehicleDoorOpen","native":"SET_VEHICLE_DOOR_OPEN","hash":"0x7C65DAC73C35C862","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"],["loose","BOOL"],["openInstantly","BOOL"]]},
{"name":"setVehicleDoorAutoLock","native":"SET_VEHICLE_DOOR_AUTO_LOCK","hash":"0x3B458DDB57038F08","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"],["toggle","BOOL"]],"since":877,"doc":"Usually used alongside other vehicle door natives."},
{"name":"setFleeingVehiclesUseSwitchedOffNodes","native":"SET_FLEEING_VEHICLES_USE_SWITCHED_OFF_NODES","hash":"0xA247F9EF01D8082E","params":[["p0","Any"]],"since":1103},
{"name":"removeVehicleWindow","native":"REMOVE_VEHICLE_WINDOW","hash":"0xA711568EEDB43069","params":[["vehicle","Vehicle"],["windowIndex","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`windowIndex` must be between `0` and `7`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"windowIndex:\n0 = Front Right Window\n1 = Front Left Window\n2 = Back Right Window\n3 = Back Left Window\n4 = Unknown\n5 = Unknown\n6 = Windscreen\n7 = Rear Windscreen"},
{"name":"rollDownWindows","native":"ROLL_DOWN_WINDOWS","hash":"0x85796B0549DDE156","params":[["vehicle","Vehicle"]],"doc":"Roll down all the windows of the vehicle passed through the first parameter."},
{"name":"rollDownWindow","native":"ROLL_DOWN_WINDOW","hash":"0x7AD9E6CE657D69E3","params":[["vehicle","Vehicle"],["windowIndex","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`windowIndex` must be between `0` and `7`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"windowIndex:\n0 = Front Left Window\n1 = Front Right Window\n2 = Rear Left Window\n3 = Rear Right Window\n4 = Front Windscreen\n5 = Rear Windscreen\n6 = Mid Left\n7 = Mid Right\n8 = Invalid"},
{"name":"rollUpWindow","native":"ROLL_UP_WINDOW","hash":"0x602E548F46E24D59","params":[["vehicle","Vehicle"],["windowIndex","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`windowIndex` must be between `0` and `7`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"windowIndex:\n0 = Front Left Window\n1 = Front Right Window\n2 = Rear Left Window\n3 = Rear Right Window\n4 = Front Windscreen\n5 = Rear Windscreen\n6 = Mid Left\n7 = Mid Right\n8 = Invalid"},
{"name":"smashVehicleWindow","native":"SMASH_VEHICLE_WINDOW","hash":"0x9E5B5E4D2CCD2259","params":[["vehicle","Vehicle"],["windowIndex","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`windowIndex` must be between `0` and `7`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"windowIndex:\n0 = Front Left Window\n1 = Front Right Window\n2 = Rear Left Window\n3 = Rear Right Window\n4 = Front Windscreen\n5 = Rear Windscreen\n6 = Mid Left\n7 = Mid Right\n8 = Invalid"},
{"name":"fixVehicleWindow","native":"FIX_VEHICLE_WINDOW","hash":"0x772282EBEB95E682","params":[["vehicle","Vehicle"],["windowIndex","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`windowIndex` must be between `0` and `7`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"windowIndex:\n0 = Front Left Window\n1 = Front Right Window\n2 = Rear Left Window\n3 = Rear Right Window\n4 = Front Windscreen\n5 = Rear Windscreen\n6 = Mid Left\n7 = Mid Right\n8 = Invalid\n\nAdditional information: `fixVehicleWindow` (0x140D0BB88) references an array of bone vehicle indices (0x141D4B3E0) { 2Ah, 2Bh, 2Ch, 2Dh, 2Eh, 2Fh, 28h, 29h } that correspond to: window_lf, window_rf, window_lr, window_rr, window_lm, window_rm, windscreen, windscreen_r. This array is used by most vehwindow natives."},
{"name":"popOutVehicleWindscreen","native":"POP_OUT_VEHICLE_WINDSCREEN","hash":"0x6D645D59FB5F5AD3","params":[["vehicle","Vehicle"]],"aka":["_DETACH_VEHICLE_WINDSCREEN"],"doc":"Detaches the vehicle's windscreen.\nFor further information, see : https://gtaforums.com/topic/859570-glass/#entry1068894566"},
{"name":"popOffVehicleRoofWithImpulse","native":"POP_OFF_VEHICLE_ROOF_WITH_IMPULSE","hash":"0xE38CB9D7D39FDBCC","params":[["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"]],"aka":["_EJECT_JB700_ROOF"],"doc":"Pops off the \"roof\" bone in the direction of the specified offset from the vehicle."},
{"name":"setVehicleLights","native":"SET_VEHICLE_LIGHTS","hash":"0x34E710FF01247C5A","params":[["vehicle","Vehicle"],["state","int"]],"doc":"set's if the vehicle has lights or not.\nnot an on off toggle.\np1 = 0 ;vehicle normal lights, off then lowbeams, then highbeams\np1 = 1 ;vehicle doesn't have lights, always off\np1 = 2 ;vehicle has always on lights\np1 = 3 ;or even larger like 4,5,... normal lights like =1\nnote1: when using =2 on day it's lowbeam,highbeam\nbut at night it's lowbeam,lowbeam,highbeam\nnote2: when using =0 it's affected by day or night for highbeams don't exist in daytime."},
{"name":"setVehicleUsePlayerLightSettings","native":"SET_VEHICLE_USE_PLAYER_LIGHT_SETTINGS","hash":"0xC45C27EF50F36ADC","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_USE_PLAYER_LIGHT_SETTINGS"]},
{"name":"setVehicleHeadlightShadows","native":"SET_VEHICLE_HEADLIGHT_SHADOWS","hash":"0x1FD09E7390A74D54","params":[["vehicle","Vehicle"],["p1","int"]],"aka":["_SET_VEHICLE_LIGHTS_MODE"],"doc":"p1 can be either 0, 1 or 2.\n\nDetermines how vehicle lights behave when toggled.\n\n0 = Default (Lights can be toggled between off, normal and high beams)\n1 = Lights Disabled (Lights are fully disabled, cannot be toggled)\n2 = Always On (Lights can be toggled between normal and high beams)"},
{"name":"setVehicleAlarm","native":"SET_VEHICLE_ALARM","hash":"0xCDE5E70C1DDB954C","params":[["vehicle","Vehicle"],["state","BOOL"]]},
{"name":"startVehicleAlarm","native":"START_VEHICLE_ALARM","hash":"0xB8FF7AB45305C345","params":[["vehicle","Vehicle"]]},
{"name":"isVehicleAlarmActivated","native":"IS_VEHICLE_ALARM_ACTIVATED","hash":"0x4319E335B71FFF34","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleInteriorlight","native":"SET_VEHICLE_INTERIORLIGHT","hash":"0xBC2042F090AF6AD3","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleForceInteriorlight","native":"SET_VEHICLE_FORCE_INTERIORLIGHT","hash":"0x8821196D91FA2DE5","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1290,"doc":"Sets some bit of vehicle"},
{"name":"setVehicleLightMultiplier","native":"SET_VEHICLE_LIGHT_MULTIPLIER","hash":"0xB385454F8791F57C","params":[["vehicle","Vehicle"],["multiplier","float"]],"doc":"multiplier = brightness of head lights.\nthis value isn't capped afaik.\n\nmultiplier = 0.0 no lights\nmultiplier = 1.0 default game value"},
{"name":"attachVehicleToTrailer","native":"ATTACH_VEHICLE_TO_TRAILER","hash":"0x3C7D42D58F770B54","params":[["vehicle","Vehicle"],["trailer","Vehicle"],["radius","float"]]},
{"name":"attachVehicleOnToTrailer","native":"ATTACH_VEHICLE_ON_TO_TRAILER","hash":"0x16B5E274BDE402F8","params":[["vehicle","Vehicle"],["trailer","Vehicle"],["offsetX","float"],["offsetY","float"],["offsetZ","float"],["coordsX","float"],["coordsY","float"],["coordsZ","float"],["rotationX","float"],["rotationY","float"],["rotationZ","float"],["disableCollisions","float"]],"notes":[{"kind":"warn","title":"Signature under review","md":"LS:MP's table describes the parameters of this native differently from the current native database (`void ATTACH_VEHICLE_ON_TO_TRAILER(Vehicle vehicle, Vehicle trailer, float offsetX, float offsetY, float offsetZ, float coordsX, float coordsY, float coordsZ, float rotationX, float rotationY, float rotationZ, BOOL disableCollisions)`). Until the table is refreshed, some values may be passed or returned under the wrong type."}],"doc":"This is the proper way of attaching vehicles to the car carrier, it's what Rockstar uses. Video Demo: https://www.youtube.com/watch?v=2lVEIzf7bgo"},
{"name":"stabiliseEntityAttachedToHeli","native":"STABILISE_ENTITY_ATTACHED_TO_HELI","hash":"0x374706271354CB18","params":[["vehicle","Vehicle"],["entity","Entity"],["p2","float"]]},
{"name":"detachVehicleFromTrailer","native":"DETACH_VEHICLE_FROM_TRAILER","hash":"0x90532EDF0D2BDD86","params":[["vehicle","Vehicle"]]},
{"name":"isVehicleAttachedToTrailer","native":"IS_VEHICLE_ATTACHED_TO_TRAILER","hash":"0xE7CF3C4F9F489F0C","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setTrailerInverseMassScale","native":"SET_TRAILER_INVERSE_MASS_SCALE","hash":"0x2A8F319B392E7B3F","params":[["vehicle","Vehicle"],["scale","float"]]},
{"name":"setTrailerLegsRaised","native":"SET_TRAILER_LEGS_RAISED","hash":"0x95CF53B3D687F9FA","params":[["vehicle","Vehicle"]],"doc":"in the decompiled scripts, seems to be always called on the vehicle right after being attached to a trailer."},
{"name":"setTrailerLegsLowered","native":"SET_TRAILER_LEGS_LOWERED","hash":"0x878C75C09FBDB942","params":[["vehicle","Vehicle"]],"since":1103,"aka":["_SET_TRAILER_LEGS_LOWERED"]},
{"name":"setVehicleTyreFixed","native":"SET_VEHICLE_TYRE_FIXED","hash":"0x6E13FC662B882D1D","params":[["vehicle","Vehicle"],["tyreIndex","int"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`tyreIndex` must be between `0` and `7`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"tyreIndex = 0 to 4 on normal vehicles\n\n'0 = wheel_lf / bike, plane or jet front\n'1 = wheel_rf\n'2 = wheel_lm / in 6 wheels trailer, plane or jet is first one on left\n'3 = wheel_rm / in 6 wheels trailer, plane or jet is first one on right\n'4 = wheel_lr / bike rear / in 6 wheels trailer, plane or jet is last one on left\n'5 = wheel_rr / in 6 wheels trailer, plane or jet is last one on right\n'45 = 6 wheels trailer mid wheel left\n'47 = 6 wheels trailer mid wheel right"},
{"name":"setVehicleNumberPlateText","native":"SET_VEHICLE_NUMBER_PLATE_TEXT","hash":"0x95A88F0B409CDA47","params":[["vehicle","Vehicle"],["plateText","string"]],"doc":"Sets a vehicle's license plate text.  8 chars maximum.\n\nExample:\n\n```\nPed playerPed = playerPedId();\nVehicle veh = getVehiclePedIsUsing(playerPed);\nchar *plateText = \"KING\";\nsetVehicleNumberPlateText(veh, plateText);\n```"},
{"name":"getVehicleNumberPlateText","native":"GET_VEHICLE_NUMBER_PLATE_TEXT","hash":"0x7CE1CCB9B293020E","params":[["vehicle","Vehicle"]],"ret":"string","doc":"Returns the license plate text from a vehicle. 8 chars maximum."},
{"name":"getNumberOfVehicleNumberPlates","native":"GET_NUMBER_OF_VEHICLE_NUMBER_PLATES","hash":"0x4C4D6B2644F458CB","ret":"int","doc":"Returns the number of *types* of licence plates, enumerated below in `setVehicleNumberPlateTextIndex`."},
{"name":"setVehicleNumberPlateTextIndex","native":"SET_VEHICLE_NUMBER_PLATE_TEXT_INDEX","hash":"0x9088EB5A43FFB0A1","params":[["vehicle","Vehicle"],["plateIndex","int"]],"doc":"Plates:\nBlue/White - 0\nYellow/black - 1\nYellow/Blue - 2\nBlue/White2 - 3\nBlue/White3 - 4\nYankton - 5"},
{"name":"getVehicleNumberPlateTextIndex","native":"GET_VEHICLE_NUMBER_PLATE_TEXT_INDEX","hash":"0xF11BC2DD9A3E7195","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Returns the PlateType of a vehicle\n\n```\nBlue_on_White_1 = 3,\nBlue_on_White_2 = 0,\nBlue_on_White_3 = 4,\nYellow_on_Blue = 2,\n Yellow_on_Black = 1,\nNorth_Yankton = 5,\n```"},
{"name":"setRandomTrains","native":"SET_RANDOM_TRAINS","hash":"0x80D9F74197EA47D9","params":[["toggle","BOOL"]]},
{"name":"createMissionTrain","native":"CREATE_MISSION_TRAIN","hash":"0x63C6CCA8E68AE8C8","params":[["variation","int"],["x","float"],["y","float"],["z","float"],["direction","BOOL"],["networked","BOOL"],["scriptHost","BOOL"]],"ret":"Vehicle","checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Local mission train","md":"Pass `false` for `networked` and `scriptHost`. Select an existing variation of up to 32 carriages, load every train model in that variation and place the origin near a loaded track. Returns the local locomotive handle, or `0` on failure."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"switchTrainTrack","native":"SWITCH_TRAIN_TRACK","hash":"0xFD813BB7DB977F20","params":[["trackId","int"],["state","BOOL"]],"doc":"Toggles whether ambient trains can spawn on the specified track or not\n\n`trackId` is the internal id of the train track to switch.\n`state` is whether ambient trains can spawn or not\n\ntrackIds\n0 (`trains1.dat`) Main track around SA\n1 (`trains2.dat`) Davis Quartz Quarry branch\n2 (`trains3.dat`) Second track alongside live track along Roy Lewenstein Blv.\n3 (`trains4.dat`) Metro track circuit\n4 (`trains5.dat`) Branch in Mirror Park Railyard\n5 (`trains6.dat`) Branch in Mirror Park Railyard\n6 (`trains7.dat`) LS branch to Mirror Park Railyard\n7 (`trains8.dat`) Overground part of metro track along Forum Dr.\n8 (`trains9.dat`) Branch to Mirror Park Railyard\n9 (`trains10.dat`) Yankton train\n10 (`trains11.dat`) Part of metro track near mission row\n11 (`trains12.dat`) Yankton prologue mission train\nFull list of all train tracks + track nodes by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/traintracks.json"},
{"name":"setTrainTrackSpawnFrequency","native":"SET_TRAIN_TRACK_SPAWN_FREQUENCY","hash":"0x21973BBF8D17EDFA","params":[["trackIndex","int"],["frequency","int"]],"doc":"Only called once inside main_persitant with the parameters p0 = 0, p1 = 120000\n\ntrackIndex: 0 - 26\nFull list of all train tracks + track nodes by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/traintracks.json"},
{"name":"allowTrainToBeRemovedByPopulation","native":"ALLOW_TRAIN_TO_BE_REMOVED_BY_POPULATION","hash":"0x2310A8F9421EBF43","params":[["p0","Any"]],"since":2372},
{"name":"deleteAllTrains","native":"DELETE_ALL_TRAINS","hash":"0x736A718577F39C7D"},
{"name":"setTrainSpeed","native":"SET_TRAIN_SPEED","hash":"0xAA0BC91BE0B796E3","params":[["train","Vehicle"],["speed","float"]]},
{"name":"setTrainCruiseSpeed","native":"SET_TRAIN_CRUISE_SPEED","hash":"0x16469284DB8C62B5","params":[["train","Vehicle"],["speed","float"]]},
{"name":"setRandomBoats","native":"SET_RANDOM_BOATS","hash":"0x84436EC293B1415F","params":[["toggle","BOOL"]]},
{"name":"setRandomBoatsMp","native":"SET_RANDOM_BOATS_MP","hash":"0xDA5E12F728DB30CA","params":[["toggle","BOOL"]],"since":2372,"aka":["_SET_RANDOM_BOATS_IN_MP"]},
{"name":"setGarbageTrucks","native":"SET_GARBAGE_TRUCKS","hash":"0x2AFD795EEAC8D30D","params":[["toggle","BOOL"]]},
{"name":"doesVehicleHaveStuckVehicleCheck","native":"DOES_VEHICLE_HAVE_STUCK_VEHICLE_CHECK","hash":"0x57E4C39DE5EE8470","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Maximum amount of vehicles with vehicle stuck check appears to be 16."},
{"name":"getVehicleRecordingId","native":"GET_VEHICLE_RECORDING_ID","hash":"0x21543C612379DB3C","params":[["recording","int"],["script","string"]],"ret":"int","doc":"See `requestVehicleRecording`"},
{"name":"requestVehicleRecording","native":"REQUEST_VEHICLE_RECORDING","hash":"0xAF514CABE74CBF15","params":[["recording","int"],["script","string"]],"doc":"Request the vehicle recording defined by the lowercase format string \"%s%03d.yvr\". For example, `requestVehicleRecording`(1, \"FBIs1UBER\") corresponds to fbis1uber001.yvr.\nFor all vehicle recording/playback natives, \"script\" is a common prefix that usually corresponds to the script/mission the recording is used in, \"recording\" is its int suffix, and \"id\" (e.g., in native `getTotalDurationOfVehicleRecordingId`) corresponds to a unique identifier within the recording streaming module.\nNote that only 24 recordings (hardcoded in multiple places) can ever active at a given time before clobbering begins."},
{"name":"hasVehicleRecordingBeenLoaded","native":"HAS_VEHICLE_RECORDING_BEEN_LOADED","hash":"0x300D614A4C785FC4","params":[["recording","int"],["script","string"]],"ret":"BOOL","doc":"See `requestVehicleRecording`"},
{"name":"removeVehicleRecording","native":"REMOVE_VEHICLE_RECORDING","hash":"0xF1160ACCF98A3FC8","params":[["recording","int"],["script","string"]],"doc":"See `requestVehicleRecording`"},
{"name":"getPositionOfVehicleRecordingIdAtTime","native":"GET_POSITION_OF_VEHICLE_RECORDING_ID_AT_TIME","hash":"0x92523B76657A517D","params":[["id","int"],["time","float"]],"ret":"Vector3"},
{"name":"getPositionOfVehicleRecordingAtTime","native":"GET_POSITION_OF_VEHICLE_RECORDING_AT_TIME","hash":"0xD242728AA6F0FBA2","params":[["recording","int"],["time","float"],["script","string"]],"ret":"Vector3","doc":"This native does no interpolation between pathpoints. The same position will be returned for all times up to the next pathpoint in the recording.\n\nSee `requestVehicleRecording`"},
{"name":"getRotationOfVehicleRecordingIdAtTime","native":"GET_ROTATION_OF_VEHICLE_RECORDING_ID_AT_TIME","hash":"0xF0F2103EFAF8CBA7","params":[["id","int"],["time","float"]],"ret":"Vector3"},
{"name":"getRotationOfVehicleRecordingAtTime","native":"GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME","hash":"0x2058206FBE79A8AD","params":[["recording","int"],["time","float"],["script","string"]],"ret":"Vector3","doc":"This native does no interpolation between pathpoints. The same rotation will be returned for all times up to the next pathpoint in the recording.\n\nSee `requestVehicleRecording`"},
{"name":"getTotalDurationOfVehicleRecordingId","native":"GET_TOTAL_DURATION_OF_VEHICLE_RECORDING_ID","hash":"0x102D125411A7B6E6","params":[["id","int"]],"ret":"float"},
{"name":"getTotalDurationOfVehicleRecording","native":"GET_TOTAL_DURATION_OF_VEHICLE_RECORDING","hash":"0x0E48D1C262390950","params":[["recording","int"],["script","string"]],"ret":"float","doc":"See `requestVehicleRecording`"},
{"name":"getPositionInRecording","native":"GET_POSITION_IN_RECORDING","hash":"0x2DACD605FC681475","params":[["vehicle","Vehicle"]],"ret":"float","doc":"Distance traveled in the vehicles current recording."},
{"name":"getTimePositionInRecording","native":"GET_TIME_POSITION_IN_RECORDING","hash":"0x5746F3A7AB7FE544","params":[["vehicle","Vehicle"]],"ret":"float","doc":"Can be used with `getTotalDurationOfVehicleRecording`{_ID} to compute a percentage."},
{"name":"startPlaybackRecordedVehicle","native":"START_PLAYBACK_RECORDED_VEHICLE","hash":"0x3F878F92B3A7A071","params":[["vehicle","Vehicle"],["recording","int"],["script","string"],["p3","BOOL"]],"doc":"p3 is some flag related to 'trailers'.\n\nSee `requestVehicleRecording`"},
{"name":"startPlaybackRecordedVehicleWithFlags","native":"START_PLAYBACK_RECORDED_VEHICLE_WITH_FLAGS","hash":"0x7D80FD645D4DA346","params":[["vehicle","Vehicle"],["recording","int"],["script","string"],["flags","int"],["time","int"],["drivingStyle","int"]],"doc":"flags requires further research, e.g., 0x4/0x8 are related to the AI driving task and 0x20 is internally set and interacts with dynamic entity components.\n\ntime, often zero and capped at 500, is related to `setPlaybackToUseAiTryToRevertBackLater`"},
{"name":"forcePlaybackRecordedVehicleUpdate","native":"FORCE_PLAYBACK_RECORDED_VEHICLE_UPDATE","hash":"0x1F2E4E06DEA8992B","params":[["vehicle","Vehicle"],["p1","BOOL"]],"doc":"Often called after `startPlaybackRecordedVehicle` and `skipTimeInPlaybackRecordedVehicle`; similar in use to `forceEntityAiAndAnimationUpdate`."},
{"name":"stopPlaybackRecordedVehicle","native":"STOP_PLAYBACK_RECORDED_VEHICLE","hash":"0x54833611C17ABDEA","params":[["vehicle","Vehicle"]]},
{"name":"pausePlaybackRecordedVehicle","native":"PAUSE_PLAYBACK_RECORDED_VEHICLE","hash":"0x632A689BF42301B1","params":[["vehicle","Vehicle"]]},
{"name":"unpausePlaybackRecordedVehicle","native":"UNPAUSE_PLAYBACK_RECORDED_VEHICLE","hash":"0x8879EE09268305D5","params":[["vehicle","Vehicle"]]},
{"name":"isPlaybackGoingOnForVehicle","native":"IS_PLAYBACK_GOING_ON_FOR_VEHICLE","hash":"0x1C8A4C2C19E68EEC","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"isPlaybackUsingAiGoingOnForVehicle","native":"IS_PLAYBACK_USING_AI_GOING_ON_FOR_VEHICLE","hash":"0xAEA8FD591FAD4106","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"getCurrentPlaybackForVehicle","native":"GET_CURRENT_PLAYBACK_FOR_VEHICLE","hash":"0x42BC05C27A946054","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"skipToEndAndStopPlaybackRecordedVehicle","native":"SKIP_TO_END_AND_STOP_PLAYBACK_RECORDED_VEHICLE","hash":"0xAB8E2EDA0C0A5883","params":[["vehicle","Vehicle"]]},
{"name":"setPlaybackSpeed","native":"SET_PLAYBACK_SPEED","hash":"0x6683AB880E427778","params":[["vehicle","Vehicle"],["speed","float"]]},
{"name":"startPlaybackRecordedVehicleUsingAi","native":"START_PLAYBACK_RECORDED_VEHICLE_USING_AI","hash":"0x29DE5FA52D00428C","params":[["vehicle","Vehicle"],["recording","int"],["script","string"],["speed","float"],["drivingStyle","int"]],"doc":"AI abides by the provided driving style (e.g., stopping at red lights or waiting behind traffic) while executing the specificed vehicle recording.\n\n`forcePlaybackRecordedVehicleUpdate` is a related native that deals with the AI physics for such recordings."},
{"name":"skipTimeInPlaybackRecordedVehicle","native":"SKIP_TIME_IN_PLAYBACK_RECORDED_VEHICLE","hash":"0x9438F7AD68771A20","params":[["vehicle","Vehicle"],["time","float"]],"doc":"SET_TIME_POSITION_IN_RECORDING can be emulated by: desired_time - `getTimePositionInRecording`(vehicle)"},
{"name":"setPlaybackToUseAi","native":"SET_PLAYBACK_TO_USE_AI","hash":"0xA549C3B37EA28131","params":[["vehicle","Vehicle"],["drivingStyle","int"]],"doc":"Identical to `setPlaybackToUseAiTryToRevertBackLater` with 0 as arguments for p1 and p3."},
{"name":"setPlaybackToUseAiTryToRevertBackLater","native":"SET_PLAYBACK_TO_USE_AI_TRY_TO_REVERT_BACK_LATER","hash":"0x6E63860BBB190730","params":[["vehicle","Vehicle"],["time","int"],["drivingStyle","int"],["p3","BOOL"]],"doc":"Time is number of milliseconds before reverting, zero for indefinitely."},
{"name":"setAdditionalRotationForRecordedVehiclePlayback","native":"SET_ADDITIONAL_ROTATION_FOR_RECORDED_VEHICLE_PLAYBACK","hash":"0x5845066D8A1EA7F7","params":[["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["p4","Any"]]},
{"name":"setPositionOffsetForRecordedVehiclePlayback","native":"SET_POSITION_OFFSET_FOR_RECORDED_VEHICLE_PLAYBACK","hash":"0x796A877E459B99EA","params":[["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"]]},
{"name":"setGlobalPositionOffsetForRecordedVehiclePlayback","native":"SET_GLOBAL_POSITION_OFFSET_FOR_RECORDED_VEHICLE_PLAYBACK","hash":"0xFAF2A78061FD9EF4","params":[["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"]]},
{"name":"setShouldLerpFromAiToFullRecording","native":"SET_SHOULD_LERP_FROM_AI_TO_FULL_RECORDING","hash":"0x063AE2B2CC273588","params":[["vehicle","Vehicle"],["p1","BOOL"]],"doc":"A vehicle recording playback flag only used in jewelry_heist"},
{"name":"explodeVehicleInCutscene","native":"EXPLODE_VEHICLE_IN_CUTSCENE","hash":"0x786A4EB67B01BF0B","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"addVehicleStuckCheckWithWarp","native":"ADD_VEHICLE_STUCK_CHECK_WITH_WARP","hash":"0x2FA9923062DD396C","params":[["p0","Any"],["p1","float"],["p2","Any"],["p3","BOOL"],["p4","BOOL"],["p5","BOOL"],["p6","Any"]]},
{"name":"setVehicleModelIsSuppressed","native":"SET_VEHICLE_MODEL_IS_SUPPRESSED","hash":"0x0FC2D89AC25A5814","params":[["model","Hash"],["suppressed","BOOL"]],"doc":"Makes the vehicle stop spawning naturally in traffic. Here's an essential example:\n\n```\nsetVehicleModelIsSuppressed(getHashKey(\"taco\"), true);\n```\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getRandomVehicleInSphere","native":"GET_RANDOM_VEHICLE_IN_SPHERE","hash":"0x386F6CE5BAF6091C","params":[["x","float","The X-component of the position of the sphere."],["y","float","The Y-component of the position of the sphere."],["z","float","The Z-component of the position of the sphere."],["radius","float","The radius of the sphere. Max is 9999.9004."],["modelHash","Hash","The vehicle model to limit the selection to. Pass 0 for any model."],["flags","int","The bitwise flags that modifies the behaviour of this function."]],"ret":"Vehicle","doc":"Gets a random vehicle in a sphere at the specified position, of the specified radius.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getRandomVehicleFrontBumperInSphere","native":"GET_RANDOM_VEHICLE_FRONT_BUMPER_IN_SPHERE","hash":"0xC5574E0AEB86BA68","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","int"],["p5","int"],["p6","int"]],"ret":"Vehicle"},
{"name":"getRandomVehicleBackBumperInSphere","native":"GET_RANDOM_VEHICLE_BACK_BUMPER_IN_SPHERE","hash":"0xB50807EABE20A8DC","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","int"],["p5","int"],["p6","int"]],"ret":"Vehicle"},
{"name":"getClosestVehicle","native":"GET_CLOSEST_VEHICLE","hash":"0xF73EB622C4F1689B","params":[["x","float","Position to get closest vehicle to."],["y","float","Position to get closest vehicle to."],["z","float","Position to get closest vehicle to."],["radius","float","Max radius to get a vehicle."],["modelHash","Hash","Limit to vehicles with this model. 0 for any."],["flags","int","The bitwise flags altering the function's behaviour."]],"ret":"Vehicle","doc":"Example usage\n`getClosestVehicle`(x, y, z, radius, hash, unknown leave at 70)\n\nDoes not return police cars or helicopters.\n\nIt seems to return police cars for me, does not seem to return helicopters, planes or boats for some reason\n\nOnly returns non police cars and motorbikes with the flag set to 70 and modelHash to 0. ModelHash seems to always be 0 when not a modelHash in the scripts, as stated above.\n\nThese flags were found in the b617d scripts: 0,2,4,6,7,23,127,260,2146,2175,12294,16384,16386,20503,32768,67590,67711,98309,100359.\nConverted to binary, each bit probably represents a flag as explained regarding another native here: https://gtaforums.com/topic/822314-guide-driving-styles\n\nConversion of found flags to binary: https://pastebin.com/kghNFkRi\n\nAt exactly 16384 which is 0100000000000000 in binary and 4000 in hexadecimal only planes are returned.\n\nIt's probably more convenient to use worldGetAllVehicles(int *arr, int arrSize) and check the shortest distance yourself and sort if you want by checking the vehicle type with for example `isThisModelABoat`\n\n---\n\nConclusion: This native is not worth trying to use. Use something like this instead: https://pastebin.com/xiFdXa7h\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getTrainCarriage","native":"GET_TRAIN_CARRIAGE","hash":"0x08AAFD0814722BC3","params":[["train","Vehicle"],["trailerNumber","int"]],"ret":"Vehicle","doc":"Corrected p1. it's basically the 'carriage/trailer number'. So if the train has 3 trailers you'd call the native once with a var or 3 times with 1, 2, 3."},
{"name":"isMissionTrain","native":"IS_MISSION_TRAIN","hash":"0xAD464F2E18836BFC","params":[["train","Vehicle"]],"ret":"BOOL","since":2372,"aka":["_IS_MISSION_TRAIN"]},
{"name":"deleteMissionTrain","native":"DELETE_MISSION_TRAIN","hash":"0x5B76B14AE875C795","params":[["train","Vehicle"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `train` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}]},
{"name":"setMissionTrainAsNoLongerNeeded","native":"SET_MISSION_TRAIN_AS_NO_LONGER_NEEDED","hash":"0xBBE7648349B49BE8","params":[["train","Vehicle"],["p1","BOOL"]],"refs":[0],"issue":1,"notes":[{"kind":"warn","title":"Known issue","md":"The value of `train` does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours."}],"doc":"p1 is always 0"},
{"name":"setMissionTrainCoords","native":"SET_MISSION_TRAIN_COORDS","hash":"0x591CA673AA6AB736","params":[["train","Vehicle"],["x","float"],["y","float"],["z","float"]]},
{"name":"isThisModelABoat","native":"IS_THIS_MODEL_A_BOAT","hash":"0x45A9187928F4B9E3","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"isThisModelAJetski","native":"IS_THIS_MODEL_A_JETSKI","hash":"0x9537097412CF75FE","params":[["model","Hash"]],"ret":"BOOL","aka":["_IS_THIS_MODEL_A_SUBMERSIBLE","_IS_THIS_MODEL_AN_EMERGENCY_BOAT"],"doc":"Checks if model is a boat, then checks for FLAG_IS_JETSKI."},
{"name":"isThisModelAPlane","native":"IS_THIS_MODEL_A_PLANE","hash":"0xA0948AB42D7BA0DE","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"isThisModelAHeli","native":"IS_THIS_MODEL_A_HELI","hash":"0xDCE4334788AF94EA","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"isThisModelACar","native":"IS_THIS_MODEL_A_CAR","hash":"0x7F6DB52EEFC96DF8","params":[["model","Hash"]],"ret":"BOOL","doc":"To check if the model is an amphibious car, use `isThisModelAnAmphibiousCar`."},
{"name":"isThisModelATrain","native":"IS_THIS_MODEL_A_TRAIN","hash":"0xAB935175B22E822B","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"isThisModelABike","native":"IS_THIS_MODEL_A_BIKE","hash":"0xB50C0B0CEDC6CE84","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"isThisModelABicycle","native":"IS_THIS_MODEL_A_BICYCLE","hash":"0xBF94DD42F63BDED2","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"isThisModelAQuadbike","native":"IS_THIS_MODEL_A_QUADBIKE","hash":"0x39DAC362EE65FA28","params":[["model","Hash"]],"ret":"BOOL"},
{"name":"isThisModelAnAmphibiousCar","native":"IS_THIS_MODEL_AN_AMPHIBIOUS_CAR","hash":"0x633F6F44A537EBB6","params":[["model","Hash"]],"ret":"BOOL","since":944,"aka":["_IS_THIS_MODEL_AN_AMPHIBIOUS_CAR"]},
{"name":"isThisModelAnAmphibiousQuadbike","native":"IS_THIS_MODEL_AN_AMPHIBIOUS_QUADBIKE","hash":"0xA1A9FC1C76A6730D","params":[["model","Hash"]],"ret":"BOOL","since":1103,"aka":["_IS_THIS_MODEL_AN_AMPHIBIOUS_QUADBIKE"]},
{"name":"setHeliBladesFullSpeed","native":"SET_HELI_BLADES_FULL_SPEED","hash":"0xA178472EBB8AE60D","params":[["vehicle","Vehicle"]],"doc":"Equivalent of `setHeliBladesSpeed`(vehicleHandle, 1.0f);"},
{"name":"setHeliBladesSpeed","native":"SET_HELI_BLADES_SPEED","hash":"0xFD280B4D7F3ABC4D","params":[["vehicle","Vehicle"],["speed","float"]],"doc":"Sets the speed of the helicopter blades in percentage of the full speed.\n\nvehicleHandle: The helicopter.\nspeed: The speed in percentage, 0.0f being 0% and 1.0f being 100%."},
{"name":"forceSubThrottleForTime","native":"FORCE_SUB_THROTTLE_FOR_TIME","hash":"0x99CAD8E7AFDB60FA","params":[["vehicle","Vehicle"],["p1","float"],["p2","float"]]},
{"name":"setVehicleCanBeTargetted","native":"SET_VEHICLE_CAN_BE_TARGETTED","hash":"0x3750146A28097A82","params":[["vehicle","Vehicle"],["state","BOOL"]],"doc":"This has not yet been tested - it's just an assumption of what the types could be."},
{"name":"setDontAllowPlayerToEnterVehicleIfLockedForPlayer","native":"SET_DONT_ALLOW_PLAYER_TO_ENTER_VEHICLE_IF_LOCKED_FOR_PLAYER","hash":"0xDBC631F109350B8C","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setVehicleCanBeVisiblyDamaged","native":"SET_VEHICLE_CAN_BE_VISIBLY_DAMAGED","hash":"0x4C7028F78FFD3681","params":[["vehicle","Vehicle"],["state","BOOL"]]},
{"name":"setVehicleHasUnbreakableLights","native":"SET_VEHICLE_HAS_UNBREAKABLE_LIGHTS","hash":"0x1AA8A837D2169D94","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_LIGHTS_CAN_BE_VISIBLY_DAMAGED"]},
{"name":"setVehicleRespectsLocksWhenHasDriver","native":"SET_VEHICLE_RESPECTS_LOCKS_WHEN_HAS_DRIVER","hash":"0x2311DD7159F00582","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setVehicleCanEjectPassengersIfLocked","native":"SET_VEHICLE_CAN_EJECT_PASSENGERS_IF_LOCKED","hash":"0x065D03A9D6B2C6B5","params":[["p0","Any"],["p1","Any"]],"since":463},
{"name":"getVehicleDirtLevel","native":"GET_VEHICLE_DIRT_LEVEL","hash":"0x8F17BC8BA08DA62B","params":[["vehicle","Vehicle"]],"ret":"float","doc":"Dirt level does not become greater than 15.0"},
{"name":"setVehicleDirtLevel","native":"SET_VEHICLE_DIRT_LEVEL","hash":"0x79D3B596FE44EE8B","params":[["vehicle","Vehicle"],["dirtLevel","float"]],"doc":"You can't use values greater than 15.0\nAlso, R* does (float)(rand() % 15) to get a random dirt level when generating a vehicle."},
{"name":"getDoesVehicleHaveDamageDecals","native":"GET_DOES_VEHICLE_HAVE_DAMAGE_DECALS","hash":"0xBCDC5017D3CE1E9E","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_VEHICLE_DAMAGED"],"doc":"Appears to return true if the vehicle has any damage, including cosmetically."},
{"name":"isVehicleDoorFullyOpen","native":"IS_VEHICLE_DOOR_FULLY_OPEN","hash":"0x3E933CFF7B111C22","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`doorId` must be between `0` and `6`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"setVehicleEngineOn","native":"SET_VEHICLE_ENGINE_ON","hash":"0x2497C4717C8B881E","params":[["vehicle","Vehicle","The vehicle to start or stop the engine on."],["value","BOOL","true to turn the vehicle on; false to turn it off."],["instantly","BOOL","if true, the vehicle will be set to the state immediately; otherwise, the current driver will physically turn on or off the engine."],["disableAutoStart","BOOL","If true, the system will prevent the engine from starting when the player got into it."]],"doc":"Starts or stops the engine on the specified vehicle."},
{"name":"setVehicleUndriveable","native":"SET_VEHICLE_UNDRIVEABLE","hash":"0x8ABA6AF54B942B95","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleProvidesCover","native":"SET_VEHICLE_PROVIDES_COVER","hash":"0x5AFEEDD9BB2899D7","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleDoorControl","native":"SET_VEHICLE_DOOR_CONTROL","hash":"0xF2BFA0430F0A0FCB","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"],["speed","int"],["angle","float"]]},
{"name":"setVehicleDoorLatched","native":"SET_VEHICLE_DOOR_LATCHED","hash":"0xA5A9653A8D2CAF48","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"],["p2","BOOL"],["p3","BOOL"],["p4","BOOL"]]},
{"name":"getVehicleDoorAngleRatio","native":"GET_VEHICLE_DOOR_ANGLE_RATIO","hash":"0xFE3F9C29F7B32BD5","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"]],"ret":"float"},
{"name":"getPedUsingVehicleDoor","native":"GET_PED_USING_VEHICLE_DOOR","hash":"0x218297BF0CFD853B","params":[["vehicle","Vehicle"],["doord","int"]],"ret":"Ped","aka":["_GET_PED_USING_VEHICLE_DOOR"],"doc":"doorId: see `setVehicleDoorShut`"},
{"name":"setVehicleDoorShut","native":"SET_VEHICLE_DOOR_SHUT","hash":"0x93D9BD300D7789E5","params":[["vehicle","Vehicle"],["doorId","int"],["closeInstantly","BOOL"]]},
{"name":"setVehicleDoorBroken","native":"SET_VEHICLE_DOOR_BROKEN","hash":"0xD4D4F6A4AB575A33","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"],["deleteDoor","BOOL"]]},
{"name":"setVehicleCanBreak","native":"SET_VEHICLE_CAN_BREAK","hash":"0x59BF8C3D52C92F66","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"doesVehicleHaveRoof","native":"DOES_VEHICLE_HAVE_ROOF","hash":"0x8AC862B0B32C5B80","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleRemoveAggressiveCarjackMission","native":"SET_VEHICLE_REMOVE_AGGRESSIVE_CARJACK_MISSION","hash":"0xC4B3347BD68BD609","params":[["p0","Any"]],"since":573},
{"name":"setVehicleAvoidPlayerVehicleRiotVanMission","native":"SET_VEHICLE_AVOID_PLAYER_VEHICLE_RIOT_VAN_MISSION","hash":"0xD3301660A57C9272","params":[["p0","Any"]],"since":757},
{"name":"setCarjackMissionRemovalParameters","native":"SET_CARJACK_MISSION_REMOVAL_PARAMETERS","hash":"0xB9562064627FF9DB","params":[["p0","Any"],["p1","Any"]],"since":573},
{"name":"isBigVehicle","native":"IS_BIG_VEHICLE","hash":"0x9F243D3919F442FE","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Returns true if MF_IS_BIG (strModelFlags 0x8) handling model flag is set."},
{"name":"getNumberOfVehicleColours","native":"GET_NUMBER_OF_VEHICLE_COLOURS","hash":"0x3B963160CD65D41E","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Returns the total amount of color combinations found in the vehicle's carvariations.meta entry."},
{"name":"setVehicleColourCombination","native":"SET_VEHICLE_COLOUR_COMBINATION","hash":"0x33E8CD3322E2FE31","params":[["vehicle","Vehicle"],["colorCombination","int"]],"doc":"Sets the selected vehicle's colors to the specified index of the color combination found in the vehicle's carvariations.meta entry."},
{"name":"getVehicleColourCombination","native":"GET_VEHICLE_COLOUR_COMBINATION","hash":"0x6A842D197F845D56","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Returns the index of the color combination found in the vehicle's carvariations.meta entry."},
{"name":"setVehicleXenonLightColorIndex","native":"SET_VEHICLE_XENON_LIGHT_COLOR_INDEX","hash":"0xE41033B25D003A07","params":[["vehicle","Vehicle"],["colorIndex","int"]],"since":1604,"aka":["_SET_VEHICLE_HEADLIGHTS_COLOUR","_SET_VEHICLE_XENON_LIGHTS_COLOUR","_SET_VEHICLE_XENON_LIGHTS_COLOR"],"doc":"`color`: is the paint index for the vehicle.\nPaint index goes from 0 to 12.\nBe aware that it only works on xenon lights. Example: https://i.imgur.com/yV3cpG9.png\nFull list of all vehicle xenon lights by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleColors.json"},
{"name":"getVehicleXenonLightColorIndex","native":"GET_VEHICLE_XENON_LIGHT_COLOR_INDEX","hash":"0x3DFF319A831E0CDB","params":[["vehicle","Vehicle"]],"ret":"int","since":1604,"aka":["_GET_VEHICLE_HEADLIGHTS_COLOUR","_GET_VEHICLE_XENON_LIGHTS_COLOUR","_GET_VEHICLE_XENON_LIGHTS_COLOR"],"doc":"Returns the headlight color index from the vehicle. Value between 0, 12.\nUse `setVehicleXenonLightColorIndex` to set the headlights color for the vehicle.\nMust enable xenon headlights before it'll take affect.\n\nReturns an int, value between 0-12 or 255 if no color is set."},
{"name":"setVehicleIsConsideredByPlayer","native":"SET_VEHICLE_IS_CONSIDERED_BY_PLAYER","hash":"0x31B927BBC44156CD","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Setting this to false, makes the specified vehicle to where if you press Y your character doesn't even attempt the animation to enter the vehicle. Hence it's not considered aka ignored."},
{"name":"setVehicleWillForceOtherVehiclesToStop","native":"SET_VEHICLE_WILL_FORCE_OTHER_VEHICLES_TO_STOP","hash":"0xBE5C1255A1830FF5","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleActAsIfHasSirenOn","native":"SET_VEHICLE_ACT_AS_IF_HAS_SIREN_ON","hash":"0x9BECD4B9FEF3F8A6","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setVehicleUseMoreRestrictiveSpawnChecks","native":"SET_VEHICLE_USE_MORE_RESTRICTIVE_SPAWN_CHECKS","hash":"0x88BC673CA9E0AE99","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setVehicleMayBeUsedByGotoPointAnyMeans","native":"SET_VEHICLE_MAY_BE_USED_BY_GOTO_POINT_ANY_MEANS","hash":"0xE851E480B814D4BA","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"getRandomVehicleModelInMemory","native":"GET_RANDOM_VEHICLE_MODEL_IN_MEMORY","hash":"0x055BF0AC0C34F4FD","params":[["p0","BOOL"]],"outs":[["modelHash","Hash",1],["successIndicator","int",2]],"doc":"Not present in the retail version! It's just a nullsub.\n\np0 always true (except in one case)\nsuccessIndicator: 0 if success, -1 if failed"},
{"name":"getVehicleDoorLockStatus","native":"GET_VEHICLE_DOOR_LOCK_STATUS","hash":"0x25BC98A59C2EA962","params":[["vehicle","Vehicle"]],"ret":"int","doc":"```\nenum VehicleLockStatus = {\n    None = 0,\n    Unlocked = 1,\n    Locked = 2,\n    LockedForPlayer = 3,\n    StickPlayerInside = 4, -- Doesn't allow players to exit the vehicle with the exit vehicle key.\n    CanBeBrokenInto = 7, -- Can be broken into the car. If the glass is broken, the value will be set to 1\n    CanBeBrokenIntoPersist = 8, -- Can be broken into persist\n    CannotBeTriedToEnter = 10, -- Cannot be tried to enter (Nothing happens when you press the vehicle enter key).\n}\n```"},
{"name":"getVehicleIndividualDoorLockStatus","native":"GET_VEHICLE_INDIVIDUAL_DOOR_LOCK_STATUS","hash":"0xCA4AC3EAAE46EC7B","params":[["vehicle","Vehicle"],["doorId","int"]],"ret":"int","checked":1,"since":1103,"aka":["_GET_VEHICLE_DOOR_DESTROY_TYPE"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`doorId` must be between `0` and `6`. Otherwise the call is ignored and returns `0`: nothing reaches the game, and no error is raised."}],"doc":"Returns vehicle door lock state previously set with `setVehicleIndividualDoorsLocked`"},
{"name":"isVehicleDoorDamaged","native":"IS_VEHICLE_DOOR_DAMAGED","hash":"0xB8E181E559464527","params":[["veh","Vehicle"],["doorID","int"]],"ret":"BOOL","doc":"doorID starts at 0, not seeming to skip any numbers. Four door vehicles intuitively range from 0 to 3."},
{"name":"setDoorAllowedToBeBrokenOff","native":"SET_DOOR_ALLOWED_TO_BE_BROKEN_OFF","hash":"0x2FA133A4A9D37ED8","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"],["isBreakable","BOOL"]],"aka":["_SET_VEHICLE_DOOR_BREAKABLE","_SET_VEHICLE_DOOR_CAN_BREAK"]},
{"name":"isVehicleBumperBouncing","native":"IS_VEHICLE_BUMPER_BOUNCING","hash":"0x27B926779DEB502D","params":[["vehicle","Vehicle"],["frontBumper","BOOL"]],"ret":"BOOL"},
{"name":"isVehicleBumperBrokenOff","native":"IS_VEHICLE_BUMPER_BROKEN_OFF","hash":"0x468056A6BB6F3846","params":[["vehicle","Vehicle"],["frontBumper","BOOL"]],"ret":"BOOL"},
{"name":"isCopVehicleInArea3d","native":"IS_COP_VEHICLE_IN_AREA_3D","hash":"0x7EEF65D5F153E26A","params":[["x1","float"],["x2","float"],["y1","float"],["y2","float"],["z1","float"],["z2","float"]],"ret":"BOOL","doc":"Usage:\n\n```\npublic bool isCopInRange(Vector3 Location, float Range)\n        {\n            return Function.Call<bool>(Hash.IS_COP_PED_IN_AREA_3D, Location.X - Range, Location.Y - Range, Location.Z - Range, Location.X + Range, Location.Y + Range, Location.Z + Range);\n        }\n```"},
{"name":"isVehicleOnAllWheels","native":"IS_VEHICLE_ON_ALL_WHEELS","hash":"0xB104CD1BABF302E2","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"```\nPublic Function isVehicleOnAllWheels(vh As Vehicle) As Boolean\n        Return Native.Function.Call(Of Boolean)(Hash.IS_VEHICLE_ON_ALL_WHEELS, vh)\n    End Function\n```"},
{"name":"getVehicleModelValue","native":"GET_VEHICLE_MODEL_VALUE","hash":"0x5873C14A52D74236","params":[["vehicleModel","Hash"]],"ret":"int","since":463,"aka":["_GET_VEHICLE_MODEL_MONETARY_VALUE"],"doc":"Returns `nMonetaryValue` from handling.meta for specific model."},
{"name":"getVehicleLayoutHash","native":"GET_VEHICLE_LAYOUT_HASH","hash":"0x28D37D4F71AC5C58","params":[["vehicle","Vehicle"]],"ret":"Hash","doc":"Full list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getInVehicleClipsetHashForSeat","native":"GET_IN_VEHICLE_CLIPSET_HASH_FOR_SEAT","hash":"0xA01BC64DD4BFBBAC","params":[["vehicle","Vehicle"],["p1","int"]],"ret":"Hash"},
{"name":"setRenderTrainAsDerailed","native":"SET_RENDER_TRAIN_AS_DERAILED","hash":"0x317B11A312DF5534","params":[["train","Vehicle"],["toggle","BOOL"]],"doc":"Makes the train all jumbled up and derailed as it moves on the tracks (though that wont stop it from its normal operations)"},
{"name":"setVehicleExtraColours","native":"SET_VEHICLE_EXTRA_COLOURS","hash":"0x2036F561ADD12E33","params":[["vehicle","Vehicle"],["pearlescentColor","int"],["wheelColor","int"]],"doc":"They use the same color indexs as `setVehicleColours`."},
{"name":"getVehicleExtraColours","native":"GET_VEHICLE_EXTRA_COLOURS","hash":"0x3BC4245933A166F7","params":[["vehicle","Vehicle"]],"outs":[["pearlescentColor","int",1],["wheelColor","int",2]]},
{"name":"setVehicleExtraColour5","native":"SET_VEHICLE_EXTRA_COLOUR_5","hash":"0xF40DD601A65F7F19","params":[["vehicle","Vehicle"],["color","int"]],"since":505,"aka":["_SET_VEHICLE_INTERIOR_COLOUR","_SET_VEHICLE_INTERIOR_COLOR"]},
{"name":"getVehicleExtraColour5","native":"GET_VEHICLE_EXTRA_COLOUR_5","hash":"0x7D1464D472D32136","params":[["vehicle","Vehicle"]],"outs":[["color","int",1]],"since":505,"aka":["_GET_VEHICLE_INTERIOR_COLOUR","_GET_VEHICLE_INTERIOR_COLOR"]},
{"name":"setVehicleExtraColour6","native":"SET_VEHICLE_EXTRA_COLOUR_6","hash":"0x6089CDF6A57F326C","params":[["vehicle","Vehicle"],["color","int"]],"since":505,"aka":["_SET_VEHICLE_DASHBOARD_COLOUR","_SET_VEHICLE_DASHBOARD_COLOR"]},
{"name":"getVehicleExtraColour6","native":"GET_VEHICLE_EXTRA_COLOUR_6","hash":"0xB7635E80A5C31BFF","params":[["vehicle","Vehicle"]],"outs":[["color","int",1]],"since":505,"aka":["_GET_VEHICLE_DASHBOARD_COLOUR","_GET_VEHICLE_DASHBOARD_COLOR"]},
{"name":"stopAllGarageActivity","native":"STOP_ALL_GARAGE_ACTIVITY","hash":"0x0F87E938BDF29D66"},
{"name":"setVehicleFixed","native":"SET_VEHICLE_FIXED","hash":"0x115722B1B9C14C1C","params":[["vehicle","Vehicle"]],"doc":"This fixes a vehicle.\nIf the vehicle's engine's broken then you cannot fix it with this native."},
{"name":"setVehicleDeformationFixed","native":"SET_VEHICLE_DEFORMATION_FIXED","hash":"0x953DA1E1B12C0491","params":[["vehicle","Vehicle"]],"doc":"This fixes the deformation of a vehicle but the vehicle health doesn't improve"},
{"name":"setVehicleCanEngineMissfire","native":"SET_VEHICLE_CAN_ENGINE_MISSFIRE","hash":"0x206BC5DC9D1AC70A","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_CAN_ENGINE_OPERATE_ON_FIRE"]},
{"name":"setVehicleCanLeakOil","native":"SET_VEHICLE_CAN_LEAK_OIL","hash":"0x51BB2D88D31A914B","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleCanLeakPetrol","native":"SET_VEHICLE_CAN_LEAK_PETROL","hash":"0x192547247864DFDD","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setDisableVehiclePetrolTankFires","native":"SET_DISABLE_VEHICLE_PETROL_TANK_FIRES","hash":"0x465BF26AB9684352","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setDisableVehiclePetrolTankDamage","native":"SET_DISABLE_VEHICLE_PETROL_TANK_DAMAGE","hash":"0x37C8252A7C92D017","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setDisableVehicleEngineFires","native":"SET_DISABLE_VEHICLE_ENGINE_FIRES","hash":"0x91A0BD635321F145","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleLimitSpeedWhenPlayerInactive","native":"SET_VEHICLE_LIMIT_SPEED_WHEN_PLAYER_INACTIVE","hash":"0xC50CE861B55EAB8B","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleStopInstantlyWhenPlayerInactive","native":"SET_VEHICLE_STOP_INSTANTLY_WHEN_PLAYER_INACTIVE","hash":"0x6EBFB22D646FFC18","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setDisablePretendOccupants","native":"SET_DISABLE_PRETEND_OCCUPANTS","hash":"0x25367DE49D64CF16","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"removeVehiclesFromGeneratorsInArea","native":"REMOVE_VEHICLES_FROM_GENERATORS_IN_AREA","hash":"0x46A1E1A299EC4BBA","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["p6","Any"]]},
{"name":"setVehicleSteerBias","native":"SET_VEHICLE_STEER_BIAS","hash":"0x42A8EC77D5150CBE","params":[["vehicle","Vehicle"],["value","float"]],"doc":"Locks the vehicle's steering to the desired angle, explained below.\n\nRequires to be called onTick. Steering is unlocked the moment the function stops being called on the vehicle.\n\nSteer bias:\n-1.0 = full right\n0.0 = centered steering\n1.0 = full left"},
{"name":"isVehicleExtraTurnedOn","native":"IS_VEHICLE_EXTRA_TURNED_ON","hash":"0xD2E6822DBFD6C8BD","params":[["vehicle","Vehicle"],["extraId","int"]],"ret":"BOOL"},
{"name":"setVehicleExtra","native":"SET_VEHICLE_EXTRA","hash":"0x7EE3A3C5E4A40CC9","params":[["vehicle","Vehicle"],["extraId","int"],["disable","BOOL"]],"doc":"Available extraIds are 1-14, however none of the vehicles have extras above 12."},
{"name":"doesExtraExist","native":"DOES_EXTRA_EXIST","hash":"0x1262D55792428154","params":[["vehicle","Vehicle"],["extraId","int"]],"ret":"BOOL"},
{"name":"isExtraBrokenOff","native":"IS_EXTRA_BROKEN_OFF","hash":"0x534E36D4DB9ECC5D","params":[["vehicle","Vehicle"],["extraId","int"]],"ret":"BOOL","since":1493,"aka":["_DOES_VEHICLE_TYRE_EXIST"],"doc":"Returns true if specified extra part is broken off. It only works for extras that can break off during collisions, non-breakable extras always return false. Also returns true if the breakable extra is toggled off through script."},
{"name":"setConvertibleRoof","native":"SET_CONVERTIBLE_ROOF","hash":"0xF39C4F538B5124C2","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"lowerConvertibleRoof","native":"LOWER_CONVERTIBLE_ROOF","hash":"0xDED51F703D0FA83D","params":[["vehicle","Vehicle"],["instantlyLower","BOOL"]]},
{"name":"raiseConvertibleRoof","native":"RAISE_CONVERTIBLE_ROOF","hash":"0x8F5FB35D7E88FC70","params":[["vehicle","Vehicle"],["instantlyRaise","BOOL"]]},
{"name":"getConvertibleRoofState","native":"GET_CONVERTIBLE_ROOF_STATE","hash":"0xF8C397922FC03F41","params":[["vehicle","Vehicle"]],"ret":"int","doc":"0 -> up\n1 -> lowering down\n2 -> down\n3 -> raising up"},
{"name":"isVehicleAConvertible","native":"IS_VEHICLE_A_CONVERTIBLE","hash":"0x52F357A30698BCCE","params":[["vehicle","Vehicle"],["p1","BOOL"]],"ret":"BOOL","doc":"Returns true if the vehicle has a convertible roof.\n\np1 is false almost always. However, in launcher_carwash/carwash1/carwash2 scripts, p1 is true and is accompanied by `doesVehicleHaveRoof`. If p1 is true, it seems that every single vehicle will return true irrespective of being a convertible."},
{"name":"transformToSubmarine","native":"TRANSFORM_TO_SUBMARINE","hash":"0xBE4C854FFDB6EEBE","params":[["vehicle","Vehicle"],["noAnimation","BOOL"]],"ret":"BOOL","since":1365,"aka":["_TRANSFORM_STORMBERG_TO_WATER_VEHICLE","_TRANSFORM_VEHICLE_TO_SUBMARINE"],"doc":"Transforms the `stormberg`/`toreador` to its \"submarine\" variant. If the vehicle is already in that state then the vehicle transformation audio will still play, but the vehicle won't change at all."},
{"name":"transformToCar","native":"TRANSFORM_TO_CAR","hash":"0x2A69FFD1B42BFF9E","params":[["vehicle","Vehicle"],["noAnimation","BOOL"]],"since":1290,"aka":["_TRANSFORM_STORMBERG_TO_ROAD_VEHICLE","_TRANSFORM_SUBMARINE_TO_VEHICLE"],"doc":"Transforms the `stormberg`/`toreador` to its \"road vehicle\" variant. If the vehicle is already in that state then the vehicle transformation audio will still play, but the vehicle won't change at all."},
{"name":"isVehicleInSubmarineMode","native":"IS_VEHICLE_IN_SUBMARINE_MODE","hash":"0xA77DC70BD689A1E5","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1290,"aka":["_GET_IS_SUBMARINE_VEHICLE_TRANSFORMED"]},
{"name":"isVehicleStoppedAtTrafficLights","native":"IS_VEHICLE_STOPPED_AT_TRAFFIC_LIGHTS","hash":"0x2959F696AE390A99","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleDamage","native":"SET_VEHICLE_DAMAGE","hash":"0xA1DD317EA8FD4F29","params":[["vehicle","Vehicle"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["damage","float"],["radius","float"],["focusOnModel","BOOL"]],"doc":"Apply damage to vehicle at a location. Location is relative to vehicle model (not world).\n\nRadius of effect damage applied in a sphere at impact location\nWhen `focusOnModel` set to `true`, the damage sphere will travel towards the vehicle from the given point, thus guaranteeing an impact"},
{"name":"setVehicleOccupantsTakeExplosiveDamage","native":"SET_VEHICLE_OCCUPANTS_TAKE_EXPLOSIVE_DAMAGE","hash":"0x35BB21DE06784373","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":463},
{"name":"getVehicleEngineHealth","native":"GET_VEHICLE_ENGINE_HEALTH","hash":"0xC45D23BAF168AAB8","params":[["vehicle","Vehicle"]],"ret":"float","doc":"Returns 1000.0 if the function is unable to get the address of the specified vehicle or if it's not a vehicle.\n\nMinimum: -4000\nMaximum: 1000\n\n-4000: Engine is destroyed\n0 and below: Engine catches fire and health rapidly declines\n300: Engine is smoking and losing functionality\n1000: Engine is perfect"},
{"name":"setVehicleEngineHealth","native":"SET_VEHICLE_ENGINE_HEALTH","hash":"0x45F6D8EEF34ABEF1","params":[["vehicle","Vehicle"],["health","float"]],"doc":"1000 is max health\nBegins leaking gas at around 650 health\nMinimum: -4000\nMaximum: 1000\n\n-4000: Engine is destroyed\n0 and below: Engine catches fire and health rapidly declines\n300: Engine is smoking and losing functionality\n1000: Engine is perfect"},
{"name":"setPlaneEngineHealth","native":"SET_PLANE_ENGINE_HEALTH","hash":"0x2A86A0475B6A1434","params":[["vehicle","Vehicle"],["health","float"]],"since":1103,"aka":["_SET_PLANE_ENGINE_HEALTH"],"doc":"Works just like `setVehicleEngineHealth`, but only for planes."},
{"name":"getVehiclePetrolTankHealth","native":"GET_VEHICLE_PETROL_TANK_HEALTH","hash":"0x7D5DABE888D2D074","params":[["vehicle","Vehicle"]],"ret":"float","doc":"1000 is max health\nBegins leaking gas at around 650 health\n-999.90002441406 appears to be minimum health, although nothing special occurs"},
{"name":"setVehiclePetrolTankHealth","native":"SET_VEHICLE_PETROL_TANK_HEALTH","hash":"0x70DB57649FA8D0D8","params":[["vehicle","Vehicle"],["health","float"]],"doc":"1000 is max health\nBegins leaking gas at around 650 health\n-999.90002441406 appears to be minimum health, although nothing special occurs"},
{"name":"isVehicleStuckTimerUp","native":"IS_VEHICLE_STUCK_TIMER_UP","hash":"0x679BE1DAF71DA874","params":[["vehicle","Vehicle"],["p1","int"],["ms","int"]],"ret":"BOOL","doc":"p1 can be anywhere from 0 to 3 in the scripts.\np2 being how long in milliseconds the vehicle has been stuck"},
{"name":"resetVehicleStuckTimer","native":"RESET_VEHICLE_STUCK_TIMER","hash":"0xD7591B0065AFAA7A","params":[["vehicle","Vehicle"],["nullAttributes","int"]],"doc":"The inner function has a switch on the second parameter. It's the stuck timer index."},
{"name":"isVehicleDriveable","native":"IS_VEHICLE_DRIVEABLE","hash":"0x4C241E39B23DF959","params":[["vehicle","Vehicle"],["isOnFireCheck","BOOL"]],"ret":"BOOL","doc":"p1 is always 0 in the scripts.\n\np1 = check if vehicle is on fire"},
{"name":"setVehicleHasBeenOwnedByPlayer","native":"SET_VEHICLE_HAS_BEEN_OWNED_BY_PLAYER","hash":"0x2B5F9D2AF1F1722D","params":[["vehicle","Vehicle"],["owned","BOOL"]]},
{"name":"setVehicleNeedsToBeHotwired","native":"SET_VEHICLE_NEEDS_TO_BE_HOTWIRED","hash":"0xFBA550EA44404EE6","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleBlipThrottleRandomly","native":"SET_VEHICLE_BLIP_THROTTLE_RANDOMLY","hash":"0x9F3F689B814F2599","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setPoliceFocusWillTrackVehicle","native":"SET_POLICE_FOCUS_WILL_TRACK_VEHICLE","hash":"0x4E74E62E0A97E901","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"startVehicleHorn","native":"START_VEHICLE_HORN","hash":"0x9C8C6504B5B63D2C","params":[["vehicle","Vehicle","The vehicle to activate the horn for."],["duration","int","The duration to sound the horn, in milliseconds."],["mode","Hash","The hash of \"NORMAL\" or \"HELDDOWN\". Can be 0."],["forever","BOOL"]],"doc":"Sounds the horn for the specified vehicle.\n\nNote: If a player is in the vehicle, it will only sound briefly."},
{"name":"setVehicleInCarModShop","native":"SET_VEHICLE_IN_CAR_MOD_SHOP","hash":"0x9D44FCCE98450843","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_SILENT"],"doc":"If set to TRUE, it seems to suppress door noises and doesn't allow the horn to be continuous."},
{"name":"setVehicleHasStrongAxles","native":"SET_VEHICLE_HAS_STRONG_AXLES","hash":"0x92F0CF722BC4202F","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"if true, axles won't bend."},
{"name":"getDisplayNameFromVehicleModel","native":"GET_DISPLAY_NAME_FROM_VEHICLE_MODEL","hash":"0xB215AAC32D25D019","params":[["modelHash","Hash"]],"ret":"string","doc":"Returns model name of vehicle in all caps. Needs to be displayed through localizing text natives to get proper display name.\n---\nWhile often the case, this does not simply return the model name of the vehicle (which could be hashed to return the model hash). Variations of the same vehicle may also use the same display name.\n---\n\nReturns \"CARNOTFOUND\" if the hash doesn't match a vehicle hash.\n\nUsing `getFilenameForAudioConversation`, you can get the localized name.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getMakeNameFromVehicleModel","native":"GET_MAKE_NAME_FROM_VEHICLE_MODEL","hash":"0xF7AF4F159FF99F97","params":[["modelHash","Hash"]],"ret":"string","since":1868,"aka":["_GET_MAKE_NAME_FROM_VEHICLE_MODEL"],"doc":"Will return a vehicle's manufacturer display label.\nReturns \"CARNOTFOUND\" if the hash doesn't match a vehicle hash.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getVehicleDeformationAtPos","native":"GET_VEHICLE_DEFORMATION_AT_POS","hash":"0x4EC6CFBC7B2E9536","params":[["vehicle","Vehicle"],["offsetX","float"],["offsetY","float"],["offsetZ","float"]],"ret":"Vector3","doc":"The only example I can find of this function in the scripts, is this:\n\n```\nstruct _s = getVehicleDeformationAtPos(rPtr((A_0) + 4), 1.21f, 6.15f, 0.3f);\n```\n\n---\nPC scripts:\n\nv_5/*{3}*/ = `getVehicleDeformationAtPos`(a_0._f1, 1.21, 6.15, 0.3);"},
{"name":"setVehicleLivery","native":"SET_VEHICLE_LIVERY","hash":"0x60BF608F1B8CD1B6","params":[["vehicle","Vehicle"],["livery","int"]]},
{"name":"getVehicleLivery","native":"GET_VEHICLE_LIVERY","hash":"0x2BB9230590DA5E8A","params":[["vehicle","Vehicle"]],"ret":"int","doc":"-1 = no livery"},
{"name":"getVehicleLiveryCount","native":"GET_VEHICLE_LIVERY_COUNT","hash":"0x87B63E25A529D526","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Returns -1 if the vehicle has no livery"},
{"name":"setVehicleLivery2","native":"SET_VEHICLE_LIVERY2","hash":"0xA6D3A8750DC73270","params":[["vehicle","Vehicle"],["livery","int"]],"since":505,"aka":["_SET_VEHICLE_ROOF_LIVERY"],"doc":"Used to set the secondary livery (the roof on Tornado Custom being one such example.)\n\nLivery value is dependent on the amount of liveries present in the vehicle's texture dictionary, for Tornado Custom this would be 0-6."},
{"name":"getVehicleLivery2","native":"GET_VEHICLE_LIVERY2","hash":"0x60190048C0764A26","params":[["vehicle","Vehicle"]],"ret":"int","since":505,"aka":["_GET_VEHICLE_ROOF_LIVERY"],"doc":"Returns index of the current vehicle's secondary livery. A getter for `setVehicleLivery2`."},
{"name":"getVehicleLivery2Count","native":"GET_VEHICLE_LIVERY2_COUNT","hash":"0x5ECB40269053C0D4","params":[["vehicle","Vehicle"]],"ret":"int","since":505,"aka":["_GET_VEHICLE_ROOF_LIVERY_COUNT"],"doc":"Returns a number of available secondary liveries, or -1 if vehicle has no secondary liveries available."},
{"name":"isVehicleWindowIntact","native":"IS_VEHICLE_WINDOW_INTACT","hash":"0x46E571A0E20D01F1","params":[["vehicle","Vehicle"],["windowIndex","int"]],"ret":"BOOL","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`windowIndex` must be between `0` and `7`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}],"doc":"This will return false if the window is broken, or rolled down.\nWindow indexes:\n0 = Front Right Window\n1 = Front Left Window\n2 = Back Right Window\n3 = Back Left Window\n\nThose numbers go on for vehicles that have more than 4 doors with windows."},
{"name":"areAllVehicleWindowsIntact","native":"ARE_ALL_VEHICLE_WINDOWS_INTACT","hash":"0x11D862A3E977A9EF","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_ARE_ALL_VEHICLE_WINDOWS_INTACT"],"doc":"Appears to return false if any window is broken."},
{"name":"areAnyVehicleSeatsFree","native":"ARE_ANY_VEHICLE_SEATS_FREE","hash":"0x2D34FC3BC4ADB780","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_ANY_VEHICLE_SEAT_EMPTY"],"doc":"Returns false if every seat is occupied."},
{"name":"resetVehicleWheels","native":"RESET_VEHICLE_WHEELS","hash":"0x21D2E5662C1F6FED","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"isHeliPartBroken","native":"IS_HELI_PART_BROKEN","hash":"0xBC74B4BE25EB6C8A","params":[["vehicle","Vehicle"],["p1","BOOL"],["p2","BOOL"],["p3","BOOL"]],"ret":"BOOL"},
{"name":"getHeliMainRotorHealth","native":"GET_HELI_MAIN_ROTOR_HEALTH","hash":"0xE4CB7541F413D2C5","params":[["vehicle","Vehicle"]],"ret":"float","aka":["_GET_HELI_MAIN_ROTOR_HEALTH"],"doc":"Max 1000.\nAt 0 the main rotor will stall."},
{"name":"getHeliTailRotorHealth","native":"GET_HELI_TAIL_ROTOR_HEALTH","hash":"0xAE8CE82A4219AC8C","params":[["vehicle","Vehicle"]],"ret":"float","aka":["_GET_HELI_TAIL_ROTOR_HEALTH"],"doc":"Max 1000.\nAt 0 the tail rotor will stall."},
{"name":"getHeliTailBoomHealth","native":"GET_HELI_TAIL_BOOM_HEALTH","hash":"0xAC51915D27E4A5F7","params":[["vehicle","Vehicle"]],"ret":"float","aka":["_GET_HELI_ENGINE_HEALTH"],"doc":"Max 1000.\nAt -100 both helicopter rotors will stall."},
{"name":"setHeliMainRotorHealth","native":"SET_HELI_MAIN_ROTOR_HEALTH","hash":"0x4056EA1105F5ABD7","params":[["vehicle","Vehicle"],["health","float"]],"since":463,"aka":["_SET_HELI_MAIN_ROTOR_HEALTH"]},
{"name":"setHeliTailRotorHealth","native":"SET_HELI_TAIL_ROTOR_HEALTH","hash":"0xFE205F38AAA58E5B","params":[["vehicle","Vehicle"],["health","float"]],"since":463,"aka":["_SET_HELI_TAIL_ROTOR_HEALTH"]},
{"name":"setHeliTailBoomCanBreakOff","native":"SET_HELI_TAIL_BOOM_CAN_BREAK_OFF","hash":"0x3EC8BF18AA453FE9","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"ret":"BOOL","aka":["WAS_COUNTER_ACTIVATED","SET_HELI_TAIL_EXPLODE_THROW_DASHBOARD"]},
{"name":"setVehicleNameDebug","native":"SET_VEHICLE_NAME_DEBUG","hash":"0xBFDF984E2C22B94F","params":[["vehicle","Vehicle"],["name","string"]],"doc":"NOTE: Debugging functions are not present in the retail version of the game."},
{"name":"setVehicleExplodesOnHighExplosionDamage","native":"SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE","hash":"0x71B0892EC081D60A","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Sets a vehicle to be strongly resistant to explosions. p0 is the vehicle; set p1 to false to toggle the effect on/off."},
{"name":"setVehicleExplodesOnExplosionDamageAtZeroBodyHealth","native":"SET_VEHICLE_EXPLODES_ON_EXPLOSION_DAMAGE_AT_ZERO_BODY_HEALTH","hash":"0xD565F438137F0E10","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1103},
{"name":"setAllowVehicleExplodesOnContact","native":"SET_ALLOW_VEHICLE_EXPLODES_ON_CONTACT","hash":"0x3441CAD2F2231923","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleDisableTowing","native":"SET_VEHICLE_DISABLE_TOWING","hash":"0x2B6747FAA9DB9D6B","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"getVehicleHasLandingGear","native":"GET_VEHICLE_HAS_LANDING_GEAR","hash":"0xE43701C36CAFF1A4","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1180,"aka":["_GET_VEHICLE_HAS_LANDING_GEAR","_DOES_VEHICLE_HAVE_LANDING_GEAR"]},
{"name":"controlLandingGear","native":"CONTROL_LANDING_GEAR","hash":"0xCFC8BE9A5E1FE575","params":[["vehicle","Vehicle"],["state","int"]],"aka":["_SET_VEHICLE_LANDING_GEAR"],"doc":"Works for vehicles with a retractable landing gear\n\nLanding gear states:\n\n0: Deployed\n1: Closing\n2: Opening\n3: Retracted"},
{"name":"getLandingGearState","native":"GET_LANDING_GEAR_STATE","hash":"0x9B0F3DCA3DB0F4CD","params":[["vehicle","Vehicle"]],"ret":"int","aka":["_GET_VEHICLE_LANDING_GEAR"],"doc":"Landing gear states:\n\n0: Deployed\n1: Closing (Retracting)\n2: (Landing gear state 2 is never used.)\n3: Opening (Deploying)\n4: Retracted\n\nReturns the current state of the vehicles landing gear."},
{"name":"isAnyVehicleNearPoint","native":"IS_ANY_VEHICLE_NEAR_POINT","hash":"0x61E1DD6125A3EEE6","params":[["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL"},
{"name":"requestVehicleHighDetailModel","native":"REQUEST_VEHICLE_HIGH_DETAIL_MODEL","hash":"0xA6E9FDCB2C76785E","params":[["vehicle","Vehicle"]]},
{"name":"getVehicleModelNumDriveGears","native":"_GET_VEHICLE_MODEL_NUM_DRIVE_GEARS","hash":"0x61F02E4E9A7A61EA","params":[["vehicleModel","Hash"]],"ret":"int","na":1,"since":3095},
{"name":"getVehicleMaxDriveGearCount","native":"_GET_VEHICLE_MAX_DRIVE_GEAR_COUNT","hash":"0x24910C3D66BA770D","params":[["vehicle","Vehicle"]],"ret":"int","na":1,"since":3095},
{"name":"getIsVehicleElectric","native":"_GET_IS_VEHICLE_ELECTRIC","hash":"0x1FCB07FE230B6639","params":[["vehicleModel","Hash"]],"ret":"BOOL","na":1,"since":3258},
{"name":"getVehicleDrivetrainType","native":"_GET_VEHICLE_DRIVETRAIN_TYPE","hash":"0x1423725069EE1D14","params":[["vehicleModel","Hash"]],"ret":"int","na":1,"since":3258,"doc":"Returns the vehicle's drivetrain type.\n\n_GET_VEHICLE_DE* - _GET_VEHICLE_DI*"},
{"name":"getVehicleCurrentDriveGear","native":"_GET_VEHICLE_CURRENT_DRIVE_GEAR","hash":"0x56185A25D45A0DCD","params":[["vehicle","Vehicle"]],"ret":"int","na":1,"since":3095},
{"name":"getVehicleCurrentRevRatio","native":"_GET_VEHICLE_CURRENT_REV_RATIO","hash":"0xF9DDA40BC293A61E","params":[["vehicle","Vehicle"]],"ret":"float","na":1,"since":3095},
{"name":"removeVehicleHighDetailModel","native":"REMOVE_VEHICLE_HIGH_DETAIL_MODEL","hash":"0x00689CDE5F7C6787","params":[["vehicle","Vehicle"]]},
{"name":"isVehicleHighDetail","native":"IS_VEHICLE_HIGH_DETAIL","hash":"0x1F25887F3C104278","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"requestVehicleAsset","native":"REQUEST_VEHICLE_ASSET","hash":"0x81A15811460FAB3A","params":[["vehicleHash","Hash"],["vehicleAsset","int"]],"doc":"```\nrequestVehicleAsset(getHashKey(cargobob3), 3);\n```\n\nvehicle found that have asset's:\ncargobob3\nsubmersible\nblazer"},
{"name":"hasVehicleAssetLoaded","native":"HAS_VEHICLE_ASSET_LOADED","hash":"0x1BBE0523B8DB9A21","params":[["vehicleAsset","int"]],"ret":"BOOL"},
{"name":"removeVehicleAsset","native":"REMOVE_VEHICLE_ASSET","hash":"0xACE699C71AB9DEB5","params":[["vehicleAsset","int"]]},
{"name":"setVehicleTowTruckArmPosition","native":"SET_VEHICLE_TOW_TRUCK_ARM_POSITION","hash":"0xFE54B92A344583CA","params":[["vehicle","Vehicle"],["position","float"]],"aka":["_SET_TOW_TRUCK_CRANE_RAISED","_SET_TOW_TRUCK_CRANE_HEIGHT"],"doc":"Sets how much the crane on the tow truck is raised, where 0.0 is fully lowered and 1.0 is fully raised."},
{"name":"setAttachedVehicleToTowTruckArm","native":"_SET_ATTACHED_VEHICLE_TO_TOW_TRUCK_ARM","hash":"0x48BD57D0DD17786A","params":[["towTruck","Vehicle"],["vehicle","Vehicle"]],"na":1,"since":3095},
{"name":"attachVehicleToTowTruck","native":"ATTACH_VEHICLE_TO_TOW_TRUCK","hash":"0x29A16F8D621C4508","params":[["towTruck","Vehicle"],["vehicle","Vehicle"],["rear","BOOL"],["hookOffsetX","float"],["hookOffsetY","float"],["hookOffsetZ","float"]],"doc":"HookOffset defines where the hook is attached. leave at 0 for default attachment."},
{"name":"detachVehicleFromTowTruck","native":"DETACH_VEHICLE_FROM_TOW_TRUCK","hash":"0xC2DB6B6708350ED8","params":[["towTruck","Vehicle"],["vehicle","Vehicle"]],"doc":"First two parameters swapped. Scripts verify that towTruck is the first parameter, not the second."},
{"name":"detachVehicleFromAnyTowTruck","native":"DETACH_VEHICLE_FROM_ANY_TOW_TRUCK","hash":"0xD0E9CE05A1E68CD8","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"isVehicleAttachedToTowTruck","native":"IS_VEHICLE_ATTACHED_TO_TOW_TRUCK","hash":"0x146DF9EC4C4B9FD4","params":[["towTruck","Vehicle"],["vehicle","Vehicle"]],"ret":"BOOL","doc":"Scripts verify that towTruck is the first parameter, not the second."},
{"name":"getEntityAttachedToTowTruck","native":"GET_ENTITY_ATTACHED_TO_TOW_TRUCK","hash":"0xEFEA18DCF10F8F75","params":[["towTruck","Vehicle"]],"ret":"Entity"},
{"name":"setVehicleAutomaticallyAttaches","native":"SET_VEHICLE_AUTOMATICALLY_ATTACHES","hash":"0x8BA6F76BC53A1493","params":[["vehicle","Vehicle"],["p1","BOOL"],["p2","Any"]],"ret":"Entity"},
{"name":"setVehicleBulldozerArmPosition","native":"SET_VEHICLE_BULLDOZER_ARM_POSITION","hash":"0xF8EBCCC96ADB9FB7","params":[["vehicle","Vehicle"],["position","float"],["p2","BOOL"]],"doc":"Sets the arm position of a bulldozer. Position must be a value between 0.0 and 1.0. Ignored when `p2` is set to false, instead incrementing arm position by 0.1 (or 10%)."},
{"name":"setVehicleTankTurretPosition","native":"SET_VEHICLE_TANK_TURRET_POSITION","hash":"0x56B94C6D7127DFBA","params":[["vehicle","Vehicle"],["position","float"],["p2","BOOL"]]},
{"name":"setVehicleTurretTarget","native":"SET_VEHICLE_TURRET_TARGET","hash":"0x0581730AB9380412","params":[["vehicle","Vehicle"],["p1","BOOL"],["x","float"],["y","float"],["z","float"],["p5","BOOL"]],"since":1103},
{"name":"setVehicleTankStationary","native":"SET_VEHICLE_TANK_STATIONARY","hash":"0x737E398138550FFF","params":[["vehicle","Vehicle"],["p1","BOOL"]],"since":944},
{"name":"setVehicleTurretSpeedThisFrame","native":"SET_VEHICLE_TURRET_SPEED_THIS_FRAME","hash":"0x1093408B4B9D1146","params":[["vehicle","Vehicle"],["speed","float"]]},
{"name":"disableVehicleTurretMovementThisFrame","native":"DISABLE_VEHICLE_TURRET_MOVEMENT_THIS_FRAME","hash":"0x32CAEDF24A583345","params":[["vehicle","Vehicle"]],"since":463,"aka":["_DISABLE_VEHICLE_TURRET_MOVEMENT_THIS_FRAME"]},
{"name":"setVehicleFlightNozzlePosition","native":"SET_VEHICLE_FLIGHT_NOZZLE_POSITION","hash":"0x30D779DE7C4F6DD3","params":[["vehicle","Vehicle"],["angleRatio","float"]],"aka":["_SET_DESIRED_VERTICAL_FLIGHT_PHASE","_SET_PLANE_VTOL_DESIRED_DIRECTION"]},
{"name":"setVehicleFlightNozzlePositionImmediate","native":"SET_VEHICLE_FLIGHT_NOZZLE_POSITION_IMMEDIATE","hash":"0x9AA47FFF660CB932","params":[["vehicle","Vehicle"],["angle","float"]],"aka":["_SET_VERTICAL_FLIGHT_PHASE","_SET_PLANE_VTOL_DIRECTION"]},
{"name":"getVehicleFlightNozzlePosition","native":"GET_VEHICLE_FLIGHT_NOZZLE_POSITION","hash":"0xDA62027C8BDB326E","params":[["plane","Vehicle"]],"ret":"float","since":1180,"aka":["_GET_PLANE_HOVER_MODE_PERCENTAGE","_GET_VEHICLE_HOVER_MODE_PERCENTAGE","_GET_PLANE_VTOL_DIRECTION","_GET_VEHICLE_FLIGHT_NOZZLE_POSITION"]},
{"name":"setDisableVerticalFlightModeTransition","native":"SET_DISABLE_VERTICAL_FLIGHT_MODE_TRANSITION","hash":"0xCE2B43770B655F8F","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1290,"aka":["_SET_PLANE_VTOL_ANIMATION_DISABLED","_SET_DISABLE_VEHICLE_FLIGHT_NOZZLE_POSITION"],"doc":"True stops vtols from switching modes. Doesn't stop the sound though."},
{"name":"generateVehicleCreationPosFromPaths","native":"GENERATE_VEHICLE_CREATION_POS_FROM_PATHS","hash":"0xA4822F1CF23F4810","params":[["p1","Any"],["p3","Any"],["p4","Any"],["p5","Any"],["p6","Any"],["p7","Any"],["p8","Any"]],"ret":"BOOL","outs":[["outVec","Vector3",0],["outVec1","Vector3",2]]},
{"name":"setVehicleBurnout","native":"SET_VEHICLE_BURNOUT","hash":"0xFB8794444A7D60FB","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"On accelerating, spins the driven wheels with the others braked, so you don't go anywhere."},
{"name":"isVehicleInBurnout","native":"IS_VEHICLE_IN_BURNOUT","hash":"0x1297A88E081430EB","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Returns whether the specified vehicle is currently in a burnout.\n\nvb.net\n\n```\nPublic Function isVehicleInBurnout(vh As Vehicle) As Boolean\n        Return Native.Function.Call(Of Boolean)(Hash.IS_VEHICLE_IN_BURNOUT, vh)\n    End Function\n```"},
{"name":"setVehicleReduceGrip","native":"SET_VEHICLE_REDUCE_GRIP","hash":"0x222FF6A823D122E2","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Reduces grip significantly so it's hard to go anywhere."},
{"name":"setVehicleReduceGripLevel","native":"SET_VEHICLE_REDUCE_GRIP_LEVEL","hash":"0x6DEE944E1EE90CFB","params":[["vehicle","Vehicle"],["val","int"]],"since":1604,"aka":["_SET_VEHICLE_REDUCE_TRACTION"],"doc":"val is 0-3\nOften used in conjunction with: `setVehicleReduceGrip`"},
{"name":"setVehicleIndicatorLights","native":"SET_VEHICLE_INDICATOR_LIGHTS","hash":"0xB5D45264751B7DF0","params":[["vehicle","Vehicle"],["turnSignal","int"],["toggle","BOOL"]],"doc":"Sets the turn signal enabled for a vehicle.\nSet turnSignal to 1 for left light, 0 for right light."},
{"name":"setVehicleBrakeLights","native":"SET_VEHICLE_BRAKE_LIGHTS","hash":"0x92B35082E0B42F66","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleTailLights","native":"SET_VEHICLE_TAIL_LIGHTS","hash":"0x5815BD2763178DF4","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":2802},
{"name":"setVehicleHandbrake","native":"SET_VEHICLE_HANDBRAKE","hash":"0x684785568EF26A22","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleBrake","native":"SET_VEHICLE_BRAKE","hash":"0xE4E2FD323574965C","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":757},
{"name":"instantlyFillVehiclePopulation","native":"INSTANTLY_FILL_VEHICLE_POPULATION","hash":"0x48ADC8A773564670"},
{"name":"hasInstantFillVehiclePopulationFinished","native":"HAS_INSTANT_FILL_VEHICLE_POPULATION_FINISHED","hash":"0x91D6DD290888CBAB","ret":"BOOL","aka":["_HAS_FILLED_VEHICLE_POPULATION"]},
{"name":"networkEnableEmptyCrowdingVehiclesRemoval","native":"NETWORK_ENABLE_EMPTY_CROWDING_VEHICLES_REMOVAL","hash":"0x51DB102F4A3BA5E0","params":[["toggle","BOOL"]]},
{"name":"networkCapEmptyCrowdingVehiclesRemoval","native":"NETWORK_CAP_EMPTY_CROWDING_VEHICLES_REMOVAL","hash":"0xA4A9A4C40E615885","params":[["p0","int"]],"since":1604,"doc":"Default:1000||This sets a value which is used when `networkEnableEmptyCrowdingVehiclesRemoval`(true) is called each frame."},
{"name":"getVehicleTrailerVehicle","native":"GET_VEHICLE_TRAILER_VEHICLE","hash":"0x1CDD6BADC297830D","params":[["vehicle","Vehicle"]],"ret":"BOOL","outs":[["trailer","Vehicle",1]],"doc":"Gets the trailer of a vehicle and puts it into the trailer parameter."},
{"name":"getVehicleTrailerParentVehicle","native":"_GET_VEHICLE_TRAILER_PARENT_VEHICLE","hash":"0x80D9D32636369C92","params":[["trailer","Vehicle"]],"ret":"Vehicle","since":2802},
{"name":"setVehicleUsesLargeRearRamp","native":"SET_VEHICLE_USES_LARGE_REAR_RAMP","hash":"0xCAC66558B944DA67","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"vehicle must be a plane"},
{"name":"setVehicleRudderBroken","native":"SET_VEHICLE_RUDDER_BROKEN","hash":"0x09606148B6C71DEF","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setConvertibleRoofLatchState","native":"SET_CONVERTIBLE_ROOF_LATCH_STATE","hash":"0x1A78AD3D8240536F","params":[["vehicle","Vehicle"],["state","BOOL"]]},
{"name":"getVehicleEstimatedMaxSpeed","native":"GET_VEHICLE_ESTIMATED_MAX_SPEED","hash":"0x53AF99BAA671CA47","params":[["vehicle","Vehicle"]],"ret":"float","aka":["_GET_VEHICLE_MAX_SPEED"]},
{"name":"getVehicleMaxBraking","native":"GET_VEHICLE_MAX_BRAKING","hash":"0xAD7E85FC227197C4","params":[["vehicle","Vehicle"]],"ret":"float"},
{"name":"getVehicleMaxTraction","native":"GET_VEHICLE_MAX_TRACTION","hash":"0xA132FB5370554DB0","params":[["vehicle","Vehicle"]],"ret":"float"},
{"name":"getVehicleAcceleration","native":"GET_VEHICLE_ACCELERATION","hash":"0x5DD35C8D074E57AE","params":[["vehicle","Vehicle"]],"ret":"float","doc":"static - max acceleration"},
{"name":"getVehicleModelEstimatedMaxSpeed","native":"GET_VEHICLE_MODEL_ESTIMATED_MAX_SPEED","hash":"0xF417C2502FFFED43","params":[["modelHash","Hash"]],"ret":"float","aka":["_GET_VEHICLE_MODEL_MAX_SPEED"],"doc":"Returns max speed (without mods) of the specified vehicle model in m/s.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getVehicleModelMaxBraking","native":"GET_VEHICLE_MODEL_MAX_BRAKING","hash":"0xDC53FD41B4ED944C","params":[["modelHash","Hash"]],"ret":"float","doc":"Returns max braking of the specified vehicle model.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getVehicleModelMaxBrakingMaxMods","native":"GET_VEHICLE_MODEL_MAX_BRAKING_MAX_MODS","hash":"0xBFBA3BA79CFF7EBF","params":[["modelHash","Hash"]],"ret":"float","aka":["_GET_VEHICLE_MODEL_HAND_BRAKE"],"doc":"Full list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getVehicleModelMaxTraction","native":"GET_VEHICLE_MODEL_MAX_TRACTION","hash":"0x539DE94D44FDFD0D","params":[["modelHash","Hash"]],"ret":"float","doc":"Returns max traction of the specified vehicle model.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getVehicleModelAcceleration","native":"GET_VEHICLE_MODEL_ACCELERATION","hash":"0x8C044C5C84505B6A","params":[["modelHash","Hash"]],"ret":"float","doc":"Returns the acceleration of the specified model.\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getVehicleModelAccelerationMaxMods","native":"GET_VEHICLE_MODEL_ACCELERATION_MAX_MODS","hash":"0x53409B5163D5B846","params":[["modelHash","Hash"]],"ret":"float","aka":["_GET_VEHICLE_MODEL_DOWN_FORCE","_GET_VEHICLE_MODEL_ESTIMATED_AGILITY"],"doc":"9.8 * thrust if air vehicle, else 0.38 + drive force?\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getFlyingVehicleModelAgility","native":"GET_FLYING_VEHICLE_MODEL_AGILITY","hash":"0xC6AD107DDC9054CC","params":[["modelHash","Hash"]],"ret":"float","aka":["_GET_VEHICLE_MODEL_MAX_KNOTS"],"doc":"Full list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getBoatVehicleModelAgility","native":"GET_BOAT_VEHICLE_MODEL_AGILITY","hash":"0x5AA3F878A178C4FC","params":[["modelHash","Hash"]],"ret":"float","aka":["_GET_VEHICLE_MODEL_MOVE_RESISTANCE"],"doc":"Full list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"getVehicleClassEstimatedMaxSpeed","native":"GET_VEHICLE_CLASS_ESTIMATED_MAX_SPEED","hash":"0x00C09F246ABEDD82","params":[["vehicleClass","int"]],"ret":"float","checked":1,"aka":["_GET_VEHICLE_CLASS_MAX_SPEED"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`vehicleClass` must be between `0` and `22`. Otherwise the call is ignored and returns `0.0`: nothing reaches the game, and no error is raised."}]},
{"name":"getVehicleClassMaxTraction","native":"GET_VEHICLE_CLASS_MAX_TRACTION","hash":"0xDBC86D85C5059461","params":[["vehicleClass","int"]],"ret":"float","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`vehicleClass` must be between `0` and `22`. Otherwise the call is ignored and returns `0.0`: nothing reaches the game, and no error is raised."}]},
{"name":"getVehicleClassMaxAgility","native":"GET_VEHICLE_CLASS_MAX_AGILITY","hash":"0x4F930AD022D6DE3B","params":[["vehicleClass","int"]],"ret":"float","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`vehicleClass` must be between `0` and `22`. Otherwise the call is ignored and returns `0.0`: nothing reaches the game, and no error is raised."}]},
{"name":"getVehicleClassMaxAcceleration","native":"GET_VEHICLE_CLASS_MAX_ACCELERATION","hash":"0x2F83E7E45D9EA7AE","params":[["vehicleClass","int"]],"ret":"float","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`vehicleClass` must be between `0` and `22`. Otherwise the call is ignored and returns `0.0`: nothing reaches the game, and no error is raised."}]},
{"name":"getVehicleClassMaxBraking","native":"GET_VEHICLE_CLASS_MAX_BRAKING","hash":"0x4BF54C16EC8FEC03","params":[["vehicleClass","int"]],"ret":"float","checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`vehicleClass` must be between `0` and `22`. Otherwise the call is ignored and returns `0.0`: nothing reaches the game, and no error is raised."}]},
{"name":"addRoadNodeSpeedZone","native":"ADD_ROAD_NODE_SPEED_ZONE","hash":"0x2CE544C68FB812A0","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["speed","float"],["p5","BOOL"]],"ret":"int","aka":["_ADD_SPEED_ZONE_FOR_COORD"]},
{"name":"removeRoadNodeSpeedZone","native":"REMOVE_ROAD_NODE_SPEED_ZONE","hash":"0x1033371FC8E842A7","params":[["speedzone","int"]],"ret":"BOOL","aka":["_REMOVE_SPEED_ZONE"]},
{"name":"openBombBayDoors","native":"OPEN_BOMB_BAY_DOORS","hash":"0x87E7F24270732CB1","params":[["vehicle","Vehicle"]],"aka":["_OPEN_VEHICLE_BOMB_BAY"]},
{"name":"closeBombBayDoors","native":"CLOSE_BOMB_BAY_DOORS","hash":"0x3556041742A0DC74","params":[["vehicle","Vehicle"]]},
{"name":"getAreBombBayDoorsOpen","native":"GET_ARE_BOMB_BAY_DOORS_OPEN","hash":"0xD0917A423314BBA8","params":[["aircraft","Vehicle"]],"ret":"BOOL","since":1180,"aka":["_GET_ARE_BOMB_BAY_DOORS_OPEN","_ARE_BOMB_BAY_DOORS_OPEN"],"doc":"Returns true when the bomb bay doors of this plane are open. False if they're closed."},
{"name":"isVehicleSearchlightOn","native":"IS_VEHICLE_SEARCHLIGHT_ON","hash":"0xC0F97FCE55094987","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Possibly: Returns whether the searchlight (found on police vehicles) is toggled on.\n\n@Author Nac"},
{"name":"setVehicleSearchlight","native":"SET_VEHICLE_SEARCHLIGHT","hash":"0x14E85C5EE7A4D542","params":[["heli","Vehicle"],["toggle","BOOL"],["canBeUsedByAI","BOOL"]],"doc":"Only works during nighttime."},
{"name":"doesVehicleHaveSearchlight","native":"DOES_VEHICLE_HAVE_SEARCHLIGHT","hash":"0x99015ED7DBEA5113","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":2189,"aka":["_DOES_VEHICLE_HAVE_SEARCHLIGHT"]},
{"name":"isEntryPointForSeatClear","native":"IS_ENTRY_POINT_FOR_SEAT_CLEAR","hash":"0x639431E895B9AA57","params":[["ped","Ped"],["vehicle","Vehicle"],["seatIndex","int"],["side","BOOL"],["onEnter","BOOL"]],"ret":"BOOL","aka":["_IS_VEHICLE_SEAT_ACCESSIBLE"],"doc":"Check if a vehicle seat is accessible. If you park your vehicle near a wall and the ped cannot enter/exit this side, the return value toggles from true (not blocked) to false (blocked).\n\nseatIndex  = -1 being the driver seat.\nUse `getVehicleMaxNumberOfPassengers`(vehicle) - 1 for last seat index.\nside = only relevant for bikes/motorcycles to check if the left (false)/right (true) side is blocked.\nonEnter = check if you can enter (true) or exit (false) a vehicle."},
{"name":"getEntryPointPosition","native":"GET_ENTRY_POINT_POSITION","hash":"0xC0572928C0ABFDA3","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"]],"ret":"Vector3","since":944,"aka":["_GET_ENTRY_POSITION_OF_DOOR"]},
{"name":"canShuffleSeat","native":"CAN_SHUFFLE_SEAT","hash":"0x30785D90C956BF35","params":[["vehicle","Vehicle"],["seatIndex","int"]],"ret":"BOOL"},
{"name":"getNumModKits","native":"GET_NUM_MOD_KITS","hash":"0x33F2E3FE70EAAE1D","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"setVehicleModKit","native":"SET_VEHICLE_MOD_KIT","hash":"0x1F2AA07F00B3217A","params":[["vehicle","Vehicle"],["modKit","int"]],"doc":"Set modKit to 0 if you plan to call `setVehicleMod`. That's what the game does. Most body modifications through `setVehicleMod` will not take effect until this is set to 0.\n\nFull list of vehicle mod kits and mods by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleModKits.json"},
{"name":"getVehicleModKit","native":"GET_VEHICLE_MOD_KIT","hash":"0x6325D1A044AE510D","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"getVehicleModKitType","native":"GET_VEHICLE_MOD_KIT_TYPE","hash":"0xFC058F5121E54C32","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"getVehicleWheelType","native":"GET_VEHICLE_WHEEL_TYPE","hash":"0xB3ED1BFB4BE636DC","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Returns an int\n\nWheel Types:\n0: Sport\n1: Muscle\n2: Lowrider\n3: SUV\n4: Offroad\n5: Tuner\n6: Bike Wheels\n7: High End\n8: Benny's Originals\n9: Benny's Bespoke\n10: Racing\n11: Street\n12: Track\n\nTested in Los Santos Customs"},
{"name":"setVehicleWheelType","native":"SET_VEHICLE_WHEEL_TYPE","hash":"0x487EB21CC7295BA1","params":[["vehicle","Vehicle"],["WheelType","int"]],"doc":"0: Sport\n1: Muscle\n2: Lowrider\n3: SUV\n4: Offroad\n5: Tuner\n6: Bike Wheels\n7: High End\n8: Benny's Originals\n9: Benny's Bespoke\n10: Racing\n11: Street\n12: Track"},
{"name":"getNumModColors","native":"GET_NUM_MOD_COLORS","hash":"0xA551BE18C11A476D","params":[["paintType","int"],["p1","BOOL"]],"ret":"int","doc":"paintType:\n0: Normal\n1: Metallic\n2: Pearl\n3: Matte\n4: Metal\n5: Chrome\n6: Chameleon"},
{"name":"setVehicleModColor1","native":"SET_VEHICLE_MOD_COLOR_1","hash":"0x43FEB945EE7F85B8","params":[["vehicle","Vehicle"],["paintType","int"],["color","int","number of the color."],["pearlescentColor","int"]],"doc":"paintType:\n0: Normal\n1: Metallic\n2: Pearl\n3: Matte\n4: Metal\n5: Chrome\n6: Chameleon\n\np3 seems to always be 0.\n\nFull list of vehicle colors and vehicle plates by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleColors.json"},
{"name":"setVehicleModColor2","native":"SET_VEHICLE_MOD_COLOR_2","hash":"0x816562BADFDEC83E","params":[["vehicle","Vehicle"],["paintType","int"],["color","int","number of the color"]],"doc":"Changes the secondary paint type and color\npaintType:\n0: Normal\n1: Metallic\n2: Pearl\n3: Matte\n4: Metal\n5: Chrome\n6: Chameleon\n\nFull list of vehicle colors and vehicle plates by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleColors.json"},
{"name":"getVehicleModColor1","native":"GET_VEHICLE_MOD_COLOR_1","hash":"0xE8D65CA700C9A693","params":[["vehicle","Vehicle"]],"outs":[["paintType","int",1],["color","int",2],["pearlescentColor","int",3]]},
{"name":"getVehicleModColor2","native":"GET_VEHICLE_MOD_COLOR_2","hash":"0x81592BE4E3878728","params":[["vehicle","Vehicle"]],"outs":[["paintType","int",1],["color","int",2]]},
{"name":"getVehicleModColor1Name","native":"GET_VEHICLE_MOD_COLOR_1_NAME","hash":"0xB45085B721EFD38C","params":[["vehicle","Vehicle"],["p1","BOOL"]],"ret":"string","doc":"Returns a string which is the codename of the vehicle's currently selected primary color\n\np1 is always 0"},
{"name":"getVehicleModColor2Name","native":"GET_VEHICLE_MOD_COLOR_2_NAME","hash":"0x4967A516ED23A5A1","params":[["vehicle","Vehicle"]],"ret":"string","doc":"Returns a string which is the codename of the vehicle's currently selected secondary color"},
{"name":"haveVehicleModsStreamedIn","native":"HAVE_VEHICLE_MODS_STREAMED_IN","hash":"0x9A83F5F9963775EF","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_VEHICLE_MOD_LOAD_DONE"]},
{"name":"isVehicleModGen9Exclusive","native":"IS_VEHICLE_MOD_GEN9_EXCLUSIVE","hash":"0x00834EAC4A96E010","params":[["vehicle","Vehicle"],["modType","int"],["modIndex","int"]],"ret":"BOOL","since":2699,"aka":["_IS_VEHICLE_MOD_HSW_EXCLUSIVE"],"doc":"Returns true for any mod part listed in GEN9_EXCLUSIVE_ASSETS_VEHICLES_FILE."},
{"name":"setVehicleMod","native":"SET_VEHICLE_MOD","hash":"0x6AF0636DDEDCB6DD","params":[["vehicle","Vehicle"],["modType","int"],["modIndex","int"],["customTires","BOOL"]],"doc":"In b944, there are 50 (0 - 49) mod types.\n\nSets the vehicle mod.\nThe vehicle must have a mod kit first.\n\nAny out of range ModIndex is stock.\n\n#Mod Type\nSpoilers - 0\nFront Bumper - 1\nRear Bumper - 2\nSide Skirt - 3\nExhaust - 4\nFrame - 5\nGrille - 6\nHood - 7\nFender - 8\nRight Fender - 9\nRoof - 10\nEngine - 11\nBrakes - 12\nTransmission - 13\nHorns - 14 (modIndex from 0 to 51)\nSuspension - 15\nArmor - 16\nFront Wheels - 23\nBack Wheels - 24 //only for motocycles\nPlate holders - 25\nTrim Design - 27\nOrnaments - 28\nDial Design - 30\nSteering Wheel - 33\nShifter Leavers - 34\nPlaques - 35\nHydraulics - 38\nLivery - 48\n\nENUMS: https://pastebin.com/QzEAn02v"},
{"name":"getVehicleMod","native":"GET_VEHICLE_MOD","hash":"0x772960298DA26FDB","params":[["vehicle","Vehicle"],["modType","int"]],"ret":"int","doc":"In b944, there are 50 (0 - 49) mod types. See `setVehicleMod` for the list.\n\nReturns -1 if the vehicle mod is stock"},
{"name":"getVehicleModVariation","native":"GET_VEHICLE_MOD_VARIATION","hash":"0xB3924ECD70E095DC","params":[["vehicle","Vehicle"],["modType","int"]],"ret":"int","doc":"Only used for wheels(ModType = 23/24) Returns true if the wheels are custom wheels"},
{"name":"getNumVehicleMods","native":"GET_NUM_VEHICLE_MODS","hash":"0xE38E9162A2500646","params":[["vehicle","Vehicle"],["modType","int"]],"ret":"int","doc":"Returns how many possible mods a vehicle has for a given mod type"},
{"name":"removeVehicleMod","native":"REMOVE_VEHICLE_MOD","hash":"0x92D619E420858204","params":[["vehicle","Vehicle"],["modType","int"]]},
{"name":"toggleVehicleMod","native":"TOGGLE_VEHICLE_MOD","hash":"0x2A1F4F37F95BAD08","params":[["vehicle","Vehicle"],["modType","int"],["toggle","BOOL"]],"doc":"Toggles:\nUNK17 - 17\nTurbo - 18\nUNK19 - 19\nTire Smoke - 20\nUNK21 - 21\nXenon Headlights - 22"},
{"name":"isToggleModOn","native":"IS_TOGGLE_MOD_ON","hash":"0x84B233A8C8FC8AE7","params":[["vehicle","Vehicle"],["modType","int"]],"ret":"BOOL"},
{"name":"getModTextLabel","native":"GET_MOD_TEXT_LABEL","hash":"0x8935624F8C5592CC","params":[["vehicle","Vehicle"],["modType","int"],["modValue","int"]],"ret":"string","doc":"Returns the text label of a mod type for a given vehicle\n\nUse `getFilenameForAudioConversation` to get the part name in the game's language"},
{"name":"getModSlotName","native":"GET_MOD_SLOT_NAME","hash":"0x51F0FEB9F6AE98C0","params":[["vehicle","Vehicle"],["modType","int"]],"ret":"string","doc":"Returns the name for the type of vehicle mod(Armour, engine etc)"},
{"name":"getLiveryName","native":"GET_LIVERY_NAME","hash":"0xB4C7A93837C91A1F","params":[["vehicle","Vehicle"],["liveryIndex","int"]],"ret":"string","doc":"Returns the text label of the vehicle's liveryIndex, as specified by the liveryNames section of the vehicle's modkit data in the carcols file.\n\nexample\n\n```\nint count = getVehicleLiveryCount(veh);\nfor (int i = 0; i < count; i++)\n  {\n     const char* LiveryName = getLiveryName(veh, i);\n  }\n```\n\nthis example will work fine to fetch all names\nfor example for Sanchez we get\n\nSANC_LV1\nSANC_LV2\nSANC_LV3\nSANC_LV4\nSANC_LV5\n\nUse `getFilenameForAudioConversation`, to get the localized livery name.\n\nFull list of vehicle mod kits and mods by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleModKits.json"},
{"name":"getVehicleModModifierValue","native":"GET_VEHICLE_MOD_MODIFIER_VALUE","hash":"0x90A38E9838E0A8C1","params":[["vehicle","Vehicle"],["modType","int"],["modIndex","int"]],"ret":"int"},
{"name":"getVehicleModIdentifierHash","native":"GET_VEHICLE_MOD_IDENTIFIER_HASH","hash":"0x4593CF82AA179706","params":[["vehicle","Vehicle"],["modType","int"],["modIndex","int"]],"ret":"Hash","aka":["_GET_VEHICLE_MOD_DATA"],"doc":"Can be used for `isDlcVehicleMod` and `getDlcVehicleModLockHash`"},
{"name":"preloadVehicleMod","native":"PRELOAD_VEHICLE_MOD","hash":"0x758F49C24925568A","params":[["vehicle","Vehicle"],["modType","int"],["modIndex","int"]]},
{"name":"hasPreloadModsFinished","native":"HAS_PRELOAD_MODS_FINISHED","hash":"0x06F43E5175EB6D96","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"releasePreloadMods","native":"RELEASE_PRELOAD_MODS","hash":"0x445D79F995508307","params":[["vehicle","Vehicle"]]},
{"name":"setVehicleTyreSmokeColor","native":"SET_VEHICLE_TYRE_SMOKE_COLOR","hash":"0xB5BA80F839791C0F","params":[["vehicle","Vehicle","The vehicle that is the target of this method."],["r","int","The red level in the RGB color code."],["g","int","The green level in the RGB color code."],["b","int","The blue level in the RGB color code."]],"doc":"Sets the tire smoke's color of this vehicle.\n\nNote: setting r,g,b to 0 will give the car the \"Patriot\" tire smoke."},
{"name":"getVehicleTyreSmokeColor","native":"GET_VEHICLE_TYRE_SMOKE_COLOR","hash":"0xB635392A4938B3C3","params":[["vehicle","Vehicle"]],"outs":[["r","int",1],["g","int",2],["b","int",3]]},
{"name":"setVehicleWindowTint","native":"SET_VEHICLE_WINDOW_TINT","hash":"0x57C51E6BAD752696","params":[["vehicle","Vehicle"],["tint","int"]]},
{"name":"getVehicleWindowTint","native":"GET_VEHICLE_WINDOW_TINT","hash":"0x0EE21293DAD47C95","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"getNumVehicleWindowTints","native":"GET_NUM_VEHICLE_WINDOW_TINTS","hash":"0x9D1224004B3A6707","ret":"int"},
{"name":"getVehicleColor","native":"GET_VEHICLE_COLOR","hash":"0xF3CC740D36221548","params":[["vehicle","Vehicle"]],"outs":[["r","int",1],["g","int",2],["b","int",3]]},
{"name":"getVehicleColoursWhichCanBeSet","native":"GET_VEHICLE_COLOURS_WHICH_CAN_BE_SET","hash":"0xEEBFC7A7EFDC35B4","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Some kind of flags."},
{"name":"getVehicleCauseOfDestruction","native":"GET_VEHICLE_CAUSE_OF_DESTRUCTION","hash":"0xE495D1EF4C91FD20","params":[["vehicle","Vehicle"]],"ret":"Hash","doc":"```\niVar3 = get_vehicle_cause_of_destruction(uLocal_248[iVar2]);\nif (iVar3 == joaat(\"weapon_stickybomb\"))\n{\n  func_171(726);\n  iLocal_260 = 1;\n}\n```"},
{"name":"overridePlaneDamageThrehsold","native":"OVERRIDE_PLANE_DAMAGE_THREHSOLD","hash":"0x5EE5632F47AE9695","params":[["vehicle","Vehicle"],["health","float"]],"since":463,"aka":["_OVERRIDE_OVERHEAT_HEALTH"],"doc":"Used for helis."},
{"name":"setTransmissionReducedGearRatio","native":"_SET_TRANSMISSION_REDUCED_GEAR_RATIO","hash":"0x337EF33DA3DDB990","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"na":1,"since":3095},
{"name":"getVehicleDesiredDriveGear","native":"_GET_VEHICLE_DESIRED_DRIVE_GEAR","hash":"0xFD8CE53356B5D745","params":[["vehicle","Vehicle"]],"ret":"int","na":1,"since":3095},
{"name":"getIsLeftVehicleHeadlightDamaged","native":"GET_IS_LEFT_VEHICLE_HEADLIGHT_DAMAGED","hash":"0x5EF77C9ADD3B11A3","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_HEADLIGHT_L_BROKEN"],"doc":"From the driver's perspective, is the left headlight broken."},
{"name":"getIsRightVehicleHeadlightDamaged","native":"GET_IS_RIGHT_VEHICLE_HEADLIGHT_DAMAGED","hash":"0xA7ECB73355EB2F20","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_HEADLIGHT_R_BROKEN"],"doc":"From the driver's perspective, is the right headlight broken."},
{"name":"getBothVehicleHeadlightsDamaged","native":"GET_BOTH_VEHICLE_HEADLIGHTS_DAMAGED","hash":"0xEC69ADF931AAE0C3","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":505,"aka":["_IS_VEHICLE_ENGINE_ON_FIRE"],"doc":"Returns true when both headlights are broken. This does not include extralights."},
{"name":"modifyVehicleTopSpeed","native":"MODIFY_VEHICLE_TOP_SPEED","hash":"0x93A3996368C94158","params":[["vehicle","Vehicle"],["value","float"]],"aka":["_SET_VEHICLE_ENGINE_POWER_MULTIPLIER"]},
{"name":"setVehicleMaxSpeed","native":"SET_VEHICLE_MAX_SPEED","hash":"0xBAA045B4E42F3C06","params":[["vehicle","Vehicle"],["speed","float"]],"since":1103,"aka":["_SET_VEHICLE_MAX_SPEED"],"doc":"To reset the max speed, set the `speed` value to `0.0` or lower."},
{"name":"setVehicleStaysFrozenWhenCleanedUp","native":"SET_VEHICLE_STAYS_FROZEN_WHEN_CLEANED_UP","hash":"0x1CF38D529D7441D9","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Has something to do with trains. Always precedes `setMissionTrainAsNoLongerNeeded`.\nMay be true that it can be used with trains not sure, but not specifically for trains. Go find Xbox360 decompiled scripts and search for 'func_1333' in freemode.c it isn't used just for trains. Thanks for the info tho."},
{"name":"setVehicleActAsIfHighSpeedForFragSmashing","native":"SET_VEHICLE_ACT_AS_IF_HIGH_SPEED_FOR_FRAG_SMASHING","hash":"0x1F9FB66F3A3842D2","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setPedsCanFallOffThisVehicleFromLargeFallDamage","native":"SET_PEDS_CAN_FALL_OFF_THIS_VEHICLE_FROM_LARGE_FALL_DAMAGE","hash":"0x59C3757B3B7408E8","params":[["vehicle","Vehicle"],["toggle","BOOL"],["p2","float"]],"since":1493,"doc":"Sets some bit and float of vehicle. float is >= 0"},
{"name":"addVehicleCombatAngledAvoidanceArea","native":"ADD_VEHICLE_COMBAT_ANGLED_AVOIDANCE_AREA","hash":"0x54B0F614960F4A5F","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"]],"ret":"int","aka":["_ADD_VEHICLE_COMBAT_AVOIDANCE_AREA"]},
{"name":"removeVehicleCombatAvoidanceArea","native":"REMOVE_VEHICLE_COMBAT_AVOIDANCE_AREA","hash":"0xE30524E1871F481D","params":[["p0","int"]]},
{"name":"isAnyPedRappellingFromHeli","native":"IS_ANY_PED_RAPPELLING_FROM_HELI","hash":"0x291E373D483E7EE7","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_ANY_PASSENGERS_RAPPELING","_IS_ANY_PASSENGER_RAPPELING_FROM_VEHICLE"]},
{"name":"setVehicleCheatPowerIncrease","native":"SET_VEHICLE_CHEAT_POWER_INCREASE","hash":"0xB59E4BD37AE292DB","params":[["vehicle","Vehicle"],["value","float"]],"aka":["_SET_VEHICLE_ENGINE_TORQUE_MULTIPLIER"],"doc":"<1.0 - Decreased torque\n=1.0 - Default torque\n>1.0 - Increased torque\n\nNegative values will cause the vehicle to go backwards instead of forwards while accelerating.\n\nvalue - is between 0.2 and 1.8 in the decompiled scripts.\n\nThis needs to be called every frame to take effect."},
{"name":"setVehicleInfluencesWantedLevel","native":"SET_VEHICLE_INFLUENCES_WANTED_LEVEL","hash":"0x0AD9E8F87FF7C16F","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"setVehicleIsWanted","native":"SET_VEHICLE_IS_WANTED","hash":"0xF7EC25A3EBEEC726","params":[["vehicle","Vehicle"],["state","BOOL"]],"doc":"Sets the wanted state of this vehicle."},
{"name":"swingBoatBoomToRatio","native":"SWING_BOAT_BOOM_TO_RATIO","hash":"0xF488C566413B4232","params":[["vehicle","Vehicle"],["ratio","float"]],"aka":["_SET_BOAT_BOOM_POSITION_RATIO"],"doc":"Sets the boat boom position for the `TR3` trailer.\nRatio value is between `0.0` and `1.0`, where `0.0` is 90 degrees to the left of the boat, and `1.0` is just slightly to the right/back of the boat.\nTo get the current boom position ratio, use `getBoatBoomPositionRatio`"},
{"name":"swingBoatBoomFreely","native":"SWING_BOAT_BOOM_FREELY","hash":"0xC1F981A6F74F0C23","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_GET_BOAT_BOOM_POSITION_RATIO_2"],"doc":"Same call as `allowBoatBoomToAnimate`"},
{"name":"allowBoatBoomToAnimate","native":"ALLOW_BOAT_BOOM_TO_ANIMATE","hash":"0x0F3B4D4E43177236","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_GET_BOAT_BOOM_POSITION_RATIO_3"]},
{"name":"getBoatBoomPositionRatio","native":"GET_BOAT_BOOM_POSITION_RATIO","hash":"0x6636C535F6CC2725","params":[["vehicle","Vehicle"]],"ret":"float"},
{"name":"disablePlaneAileron","native":"DISABLE_PLANE_AILERON","hash":"0x23428FC53C60919C","params":[["vehicle","Vehicle"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"getIsVehicleEngineRunning","native":"GET_IS_VEHICLE_ENGINE_RUNNING","hash":"0xAE31E7DF9B5B132E","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_VEHICLE_ENGINE_ON"],"doc":"Returns true when in a vehicle, false whilst entering/exiting."},
{"name":"setVehicleUseAlternateHandling","native":"SET_VEHICLE_USE_ALTERNATE_HANDLING","hash":"0x1D97D1E3A70A649F","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setBikeOnStand","native":"SET_BIKE_ON_STAND","hash":"0x9CFA4896C3A53CBB","params":[["vehicle","Vehicle"],["x","float"],["y","float"]],"aka":["_SET_BIKE_LEAN_ANGLE"],"doc":"Only works on bikes, both X and Y work in the -1 - 1 range.\n\nX forces the bike to turn left or right (-1, 1)\nY forces the bike to lean to the left or to the right (-1, 1)"},
{"name":"setVehicleNotStealableAmbiently","native":"SET_VEHICLE_NOT_STEALABLE_AMBIENTLY","hash":"0xAB04325045427AAE","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"lockDoorsWhenNoLongerNeeded","native":"LOCK_DOORS_WHEN_NO_LONGER_NEEDED","hash":"0xCFD778E7904C255E","params":[["vehicle","Vehicle"]]},
{"name":"setLastDrivenVehicle","native":"SET_LAST_DRIVEN_VEHICLE","hash":"0xACFB2463CC22BED2","params":[["vehicle","Vehicle"]]},
{"name":"getLastDrivenVehicle","native":"GET_LAST_DRIVEN_VEHICLE","hash":"0xB2D06FAEDE65B577","ret":"Vehicle"},
{"name":"clearLastDrivenVehicle","native":"CLEAR_LAST_DRIVEN_VEHICLE","hash":"0xE01903C47C7AC89E"},
{"name":"setVehicleHasBeenDrivenFlag","native":"SET_VEHICLE_HAS_BEEN_DRIVEN_FLAG","hash":"0x02398B627547189C","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setTaskVehicleGotoPlaneMinHeightAboveTerrain","native":"SET_TASK_VEHICLE_GOTO_PLANE_MIN_HEIGHT_ABOVE_TERRAIN","hash":"0xB893215D8D4C015B","params":[["plane","Vehicle"],["height","int"]],"aka":["_SET_PLANE_MIN_HEIGHT_ABOVE_GROUND","_SET_PLANE_MIN_HEIGHT_ABOVE_TERRAIN"]},
{"name":"setVehicleLodMultiplier","native":"SET_VEHICLE_LOD_MULTIPLIER","hash":"0x93AE6A61BE015BF1","params":[["vehicle","Vehicle"],["multiplier","float"]]},
{"name":"setVehicleCanSaveInGarage","native":"SET_VEHICLE_CAN_SAVE_IN_GARAGE","hash":"0x428BACCDF5E26EAD","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"getVehicleNumOfBrokenOffParts","native":"GET_VEHICLE_NUM_OF_BROKEN_OFF_PARTS","hash":"0x42A4BEB35D372407","params":[["vehicle","Vehicle"]],"ret":"int","aka":["_GET_VEHICLE_NUMBER_OF_BROKEN_OFF_BONES"],"doc":"Also includes some \"turnOffBones\" when vehicle mods are installed."},
{"name":"getVehicleNumOfBrokenLoosenParts","native":"GET_VEHICLE_NUM_OF_BROKEN_LOOSEN_PARTS","hash":"0x2C8CBFE1EA5FC631","params":[["vehicle","Vehicle"]],"ret":"int","aka":["_GET_VEHICLE_NUMBER_OF_BROKEN_BONES"]},
{"name":"setForceVehicleEngineDamageByBullet","native":"SET_FORCE_VEHICLE_ENGINE_DAMAGE_BY_BULLET","hash":"0x4D9D109F63FEE1D4","params":[["p0","Any"],["p1","BOOL"]]},
{"name":"setVehicleGeneratesEngineShockingEvents","native":"SET_VEHICLE_GENERATES_ENGINE_SHOCKING_EVENTS","hash":"0x279D50DE5652D935","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"copyVehicleDamages","native":"COPY_VEHICLE_DAMAGES","hash":"0xE44A982368A4AF23","params":[["sourceVehicle","Vehicle"],["targetVehicle","Vehicle"]],"doc":"Copies sourceVehicle's damage (broken bumpers, broken lights, etc.) to targetVehicle."},
{"name":"disableVehicleExplosionBreakOffParts","native":"DISABLE_VEHICLE_EXPLOSION_BREAK_OFF_PARTS","hash":"0xF25E02CB9C5818F8"},
{"name":"setLightsCutoffDistanceTweak","native":"SET_LIGHTS_CUTOFF_DISTANCE_TWEAK","hash":"0xBC3CCA5844452B06","params":[["distance","float"]]},
{"name":"setVehicleShootAtTarget","native":"SET_VEHICLE_SHOOT_AT_TARGET","hash":"0x74CD9A9327A282EA","params":[["driver","Ped"],["entity","Entity"],["xTarget","float"],["yTarget","float"],["zTarget","float"]],"doc":"Commands the driver of an armed vehicle (p0) to shoot its weapon at a target (p1). p3, p4 and p5 are the coordinates of the target. Example:\n\n```\nsetCurrentPedVehicleWeapon(pilot,getHashKey(\"VEHICLE_WEAPON_PLANE_ROCKET\"));                        setVehicleShootAtTarget(pilot, target, targPos.x, targPos.y, targPos.z);\n```"},
{"name":"getVehicleLockOnTarget","native":"GET_VEHICLE_LOCK_ON_TARGET","hash":"0x8F5EBAB1F260CFCE","params":[["vehicle","Vehicle"]],"ret":"BOOL","outs":[["entity","Entity",1]],"aka":["_GET_VEHICLE_OWNER"]},
{"name":"setForceHdVehicle","native":"SET_FORCE_HD_VEHICLE","hash":"0x97CE68CB032583F0","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleCustomPathNodeStreamingRadius","native":"SET_VEHICLE_CUSTOM_PATH_NODE_STREAMING_RADIUS","hash":"0x182F266C2D9E2BEB","params":[["vehicle","Vehicle"],["p1","float"]]},
{"name":"getVehiclePlateType","native":"GET_VEHICLE_PLATE_TYPE","hash":"0x9CCC9525BF2408E0","params":[["vehicle","Vehicle"]],"ret":"int"},
{"name":"trackVehicleVisibility","native":"TRACK_VEHICLE_VISIBILITY","hash":"0x64473AEFDCF47DCA","params":[["vehicle","Vehicle"]],"doc":"in script hook .net\n\n```\nVehicle v = ...;\nFunction.Call(Hash.TRACK_VEHICLE_VISIBILITY, v.Handle);\n```"},
{"name":"isVehicleVisible","native":"IS_VEHICLE_VISIBLE","hash":"0xAA0A52D24FB98293","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"must be called after `trackVehicleVisibility`\n\nit's not instant so probabilly must pass an 'update' to see correct result."},
{"name":"setVehicleGravity","native":"SET_VEHICLE_GRAVITY","hash":"0x89F149B6131E57DA","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setEnableVehicleSlipstreaming","native":"SET_ENABLE_VEHICLE_SLIPSTREAMING","hash":"0xE6C0C80B8C867537","params":[["toggle","BOOL"]],"doc":"Enable/Disables global slipstream physics"},
{"name":"setVehicleSlipstreamingShouldTimeOut","native":"SET_VEHICLE_SLIPSTREAMING_SHOULD_TIME_OUT","hash":"0xF051D9BFB6BA39C0","params":[["toggle","BOOL"]],"since":877},
{"name":"getVehicleCurrentTimeInSlipStream","native":"GET_VEHICLE_CURRENT_TIME_IN_SLIP_STREAM","hash":"0x36492C2F0D134C56","params":[["vehicle","Vehicle"]],"ret":"float","aka":["_GET_VEHICLE_CURRENT_SLIPSTREAM_DRAFT"],"doc":"Returns a float value between 0.0 and 3.0 related to its slipstream draft (boost/speedup)."},
{"name":"isVehicleProducingSlipStream","native":"IS_VEHICLE_PRODUCING_SLIP_STREAM","hash":"0x48C633E94A8142A7","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":877,"aka":["_IS_VEHICLE_SLIPSTREAM_LEADER"],"doc":"Returns true if the vehicle is being slipstreamed by another vehicle"},
{"name":"setVehicleInactiveDuringPlayback","native":"SET_VEHICLE_INACTIVE_DURING_PLAYBACK","hash":"0x06582AFF74894C75","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleActiveDuringPlayback","native":"SET_VEHICLE_ACTIVE_DURING_PLAYBACK","hash":"0xDFFCEF48E511DB48","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"isVehicleSprayable","native":"IS_VEHICLE_SPRAYABLE","hash":"0x8D474C8FAEFF6CDE","params":[["vehicle","Vehicle"]],"ret":"BOOL","aka":["_IS_VEHICLE_SHOP_RESPRAY_ALLOWED"],"doc":"Returns false if the vehicle has the FLAG_NO_RESPRAY flag set."},
{"name":"setVehicleEngineCanDegrade","native":"SET_VEHICLE_ENGINE_CAN_DEGRADE","hash":"0x983765856F2564F9","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"disableVehcileDynamicAmbientScales","native":"DISABLE_VEHCILE_DYNAMIC_AMBIENT_SCALES","hash":"0xF0E4BA16D1DB546C","params":[["vehicle","Vehicle"],["p1","int"],["p2","int"]],"aka":["_SET_VEHICLE_SHADOW_EFFECT"],"doc":"Adds some kind of shadow to the vehicle.\n\np1 and p2 use values from 0-255 and both make the shadow darker the lower the value is. -1 disables the effect."},
{"name":"enableVehicleDynamicAmbientScales","native":"ENABLE_VEHICLE_DYNAMIC_AMBIENT_SCALES","hash":"0xF87D9F2301F7D206","params":[["vehicle","Vehicle"]],"aka":["_REMOVE_VEHICLE_SHADOW_EFFECT"],"doc":"Remove the weird shadow applied by `disableVehcileDynamicAmbientScales`."},
{"name":"isPlaneLandingGearIntact","native":"IS_PLANE_LANDING_GEAR_INTACT","hash":"0x4198AB0022B15F87","params":[["plane","Vehicle"]],"ret":"BOOL","aka":["_VEHICLE_HAS_LANDING_GEAR"]},
{"name":"arePlanePropellersIntact","native":"ARE_PLANE_PROPELLERS_INTACT","hash":"0x755D6D5267CBBD7E","params":[["plane","Vehicle"]],"ret":"BOOL","aka":["_ARE_PROPELLERS_UNDAMAGED"]},
{"name":"setPlanePropellerHealth","native":"SET_PLANE_PROPELLER_HEALTH","hash":"0x4C815EB175086F84","params":[["plane","Vehicle"],["health","float"]],"ret":"BOOL","since":1103,"aka":["_SET_PLANE_PROPELLERS_HEALTH"]},
{"name":"setVehicleCanDeformWheels","native":"SET_VEHICLE_CAN_DEFORM_WHEELS","hash":"0x0CDDA42F9E360CA6","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"isVehicleStolen","native":"IS_VEHICLE_STOLEN","hash":"0x4AF9BD80EEBEB453","params":[["vehicle","Vehicle"]],"ret":"BOOL","doc":"Only returns true if the vehicle was marked as stolen with `setVehicleIsStolen`."},
{"name":"setVehicleIsStolen","native":"SET_VEHICLE_IS_STOLEN","hash":"0x67B2C79AA7FF5738","params":[["vehicle","Vehicle"],["isStolen","BOOL"]]},
{"name":"setPlaneTurbulenceMultiplier","native":"SET_PLANE_TURBULENCE_MULTIPLIER","hash":"0xAD2D28A1AFDFF131","params":[["vehicle","Vehicle"],["multiplier","float"]],"doc":"This native sets the turbulence multiplier. It only works for planes.\n0.0 = no turbulence at all.\n1.0 = heavy turbulence.\nWorks by just calling it once, does not need to be called every tick."},
{"name":"areWingsOfPlaneIntact","native":"ARE_WINGS_OF_PLANE_INTACT","hash":"0x5991A01434CE9677","params":[["plane","Vehicle"]],"ret":"BOOL","aka":["ADD_A_MARKER_OVER_VEHICLE","_ARE_VEHICLE_WINGS_INTACT","_ARE_PLANE_WINGS_INTACT"]},
{"name":"allowAmbientVehiclesToAvoidAdverseConditions","native":"ALLOW_AMBIENT_VEHICLES_TO_AVOID_ADVERSE_CONDITIONS","hash":"0xB264C4D2F2B0A78B","params":[["vehicle","Vehicle"]],"doc":"This native doesn't seem to do anything, might be a debug-only native.\n\nConfirmed, it is a debug native."},
{"name":"detachVehicleFromCargobob","native":"DETACH_VEHICLE_FROM_CARGOBOB","hash":"0x0E21D3DF1051399D","params":[["vehicle","Vehicle"],["cargobob","Vehicle"]]},
{"name":"detachVehicleFromAnyCargobob","native":"DETACH_VEHICLE_FROM_ANY_CARGOBOB","hash":"0xADF7BE450512C12F","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"detachEntityFromCargobob","native":"DETACH_ENTITY_FROM_CARGOBOB","hash":"0xAF03011701811146","params":[["cargobob","Vehicle"],["entity","Entity"]],"ret":"BOOL","since":678,"aka":["_DETACH_ENTITY_FROM_CARGOBOB"]},
{"name":"isVehicleAttachedToCargobob","native":"IS_VEHICLE_ATTACHED_TO_CARGOBOB","hash":"0xD40148F22E81A1D9","params":[["cargobob","Vehicle"],["vehicleAttached","Vehicle"]],"ret":"BOOL"},
{"name":"getVehicleAttachedToCargobob","native":"GET_VEHICLE_ATTACHED_TO_CARGOBOB","hash":"0x873B82D42AC2B9E5","params":[["cargobob","Vehicle"]],"ret":"Vehicle","doc":"Returns attached vehicle (Vehicle in parameter must be cargobob)"},
{"name":"getEntityAttachedToCargobob","native":"GET_ENTITY_ATTACHED_TO_CARGOBOB","hash":"0x99093F60746708CA","params":[["p0","Any"]],"ret":"Entity","since":1103,"aka":["_GET_ENTITY_ATTACHED_TO_CARGOBOB"]},
{"name":"attachVehicleToCargobob","native":"ATTACH_VEHICLE_TO_CARGOBOB","hash":"0x4127F1D84E347769","params":[["cargobob","Vehicle"],["vehicle","Vehicle"],["p2","int"],["x","float"],["y","float"],["z","float"]]},
{"name":"attachEntityToCargobob","native":"ATTACH_ENTITY_TO_CARGOBOB","hash":"0xA1DD82F3CCF9A01E","params":[["p0","Any"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"],["p5","Any"]],"since":944},
{"name":"setCargobobForceDontDetachVehicle","native":"SET_CARGOBOB_FORCE_DONT_DETACH_VEHICLE","hash":"0x571FEB383F629926","params":[["cargobob","Vehicle"],["toggle","BOOL"]],"aka":["_SET_CARGOBOB_HOOK_CAN_DETACH"],"doc":"Stops cargobob from being able to detach the attached vehicle."},
{"name":"setCargobobExcludeFromPickupEntity","native":"SET_CARGOBOB_EXCLUDE_FROM_PICKUP_ENTITY","hash":"0x1F34B0626C594380","params":[["p0","Any"],["p1","Any"]],"since":757},
{"name":"canCargobobPickUpEntity","native":"CAN_CARGOBOB_PICK_UP_ENTITY","hash":"0x2C1D8B3B19E517CC","params":[["p0","Any"],["p1","Any"]],"ret":"BOOL","since":757},
{"name":"getAttachedPickUpHookPosition","native":"GET_ATTACHED_PICK_UP_HOOK_POSITION","hash":"0xCBDB9B923CACC92D","params":[["cargobob","Vehicle"]],"ret":"Vector3","aka":["_GET_CARGOBOB_HOOK_POSITION"],"doc":"Gets the position of the cargobob hook, in world coords."},
{"name":"doesCargobobHavePickUpRope","native":"DOES_CARGOBOB_HAVE_PICK_UP_ROPE","hash":"0x1821D91AD4B56108","params":[["cargobob","Vehicle"]],"ret":"BOOL","aka":["_IS_CARGOBOB_HOOK_ACTIVE"],"doc":"Returns true only when the hook is active, will return false if the magnet is active"},
{"name":"createPickUpRopeForCargobob","native":"CREATE_PICK_UP_ROPE_FOR_CARGOBOB","hash":"0x7BEB0C7A235F6F3B","params":[["cargobob","Vehicle"],["state","int"]],"aka":["_ENABLE_CARGOBOB_HOOK"],"doc":"Drops the Hook/Magnet on a cargobob"},
{"name":"removePickUpRopeForCargobob","native":"REMOVE_PICK_UP_ROPE_FOR_CARGOBOB","hash":"0x9768CF648F54C804","params":[["cargobob","Vehicle"]],"aka":["_RETRACT_CARGOBOB_HOOK"],"doc":"Retracts the hook on the cargobob.\n\nNote: after you retract it the natives for dropping the hook no longer work"},
{"name":"setPickupRopeLengthForCargobob","native":"SET_PICKUP_ROPE_LENGTH_FOR_CARGOBOB","hash":"0x877C1EAEAC531023","params":[["cargobob","Vehicle"],["length1","float"],["length2","float"],["p3","BOOL"]],"aka":["_SET_CARGOBOB_HOOK_POSITION"],"doc":"min: 1.9f, max: 100.0f"},
{"name":"setPickupRopeLengthWithoutCreatingRopeForCargobob","native":"SET_PICKUP_ROPE_LENGTH_WITHOUT_CREATING_ROPE_FOR_CARGOBOB","hash":"0xC0ED6438E6D39BA8","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"since":944},
{"name":"setCargobobPickupRopeDampingMultiplier","native":"SET_CARGOBOB_PICKUP_ROPE_DAMPING_MULTIPLIER","hash":"0xCF1182F682F65307","params":[["p0","Any"],["p1","Any"]]},
{"name":"setCargobobPickupRopeType","native":"SET_CARGOBOB_PICKUP_ROPE_TYPE","hash":"0x0D5F65A8F4EBDAB5","params":[["p0","Any"],["p1","Any"]],"since":1103},
{"name":"doesCargobobHavePickupMagnet","native":"DOES_CARGOBOB_HAVE_PICKUP_MAGNET","hash":"0x6E08BF5B3722BAC9","params":[["cargobob","Vehicle"]],"ret":"BOOL","aka":["_IS_CARGOBOB_MAGNET_ACTIVE","_DOES_CARGOBOB_HAVE_PICKUP_MAGNET"],"doc":"Returns true only when the magnet is active, will return false if the hook is active"},
{"name":"setCargobobPickupMagnetActive","native":"SET_CARGOBOB_PICKUP_MAGNET_ACTIVE","hash":"0x9A665550F8DA349B","params":[["cargobob","Vehicle"],["isActive","BOOL"]],"aka":["_CARGOBOB_MAGNET_GRAB_VEHICLE","_SET_CARGOBOB_PICKUP_MAGNET_ACTIVE"],"doc":"Won't attract or magnetize to any helicopters or planes of course, but that's common sense."},
{"name":"setCargobobPickupMagnetStrength","native":"SET_CARGOBOB_PICKUP_MAGNET_STRENGTH","hash":"0xBCBFCD9D1DAC19E2","params":[["cargobob","Vehicle"],["strength","float"]],"aka":["_SET_CARGOBOB_PICKUP_MAGNET_STRENGTH"]},
{"name":"setCargobobPickupMagnetFalloff","native":"SET_CARGOBOB_PICKUP_MAGNET_FALLOFF","hash":"0xA17BAD153B51547E","params":[["cargobob","Vehicle"],["p1","float"]],"aka":["SET_CARGOBOB_PICKUP_MAGNET_EFFECT_RADIUS"]},
{"name":"setCargobobPickupMagnetReducedStrength","native":"SET_CARGOBOB_PICKUP_MAGNET_REDUCED_STRENGTH","hash":"0x66979ACF5102FD2F","params":[["cargobob","Vehicle"],["p1","float"]],"aka":["SET_CARGOBOB_PICKUP_MAGNET_REDUCED_FALLOFF"]},
{"name":"setCargobobPickupMagnetReducedFalloff","native":"SET_CARGOBOB_PICKUP_MAGNET_REDUCED_FALLOFF","hash":"0x6D8EAC07506291FB","params":[["cargobob","Vehicle"],["p1","float"]],"aka":["SET_CARGOBOB_PICKUP_MAGNET_PULL_ROPE_LENGTH"]},
{"name":"setCargobobPickupMagnetPullStrength","native":"SET_CARGOBOB_PICKUP_MAGNET_PULL_STRENGTH","hash":"0xED8286F71A819BAA","params":[["cargobob","Vehicle"],["p1","float"]]},
{"name":"setCargobobPickupMagnetPullRopeLength","native":"SET_CARGOBOB_PICKUP_MAGNET_PULL_ROPE_LENGTH","hash":"0x685D5561680D088B","params":[["vehicle","Vehicle"],["p1","float"]],"aka":["SET_CARGOBOB_PICKUP_MAGNET_FALLOFF"]},
{"name":"setCargobobPickupMagnetSetTargetedMode","native":"SET_CARGOBOB_PICKUP_MAGNET_SET_TARGETED_MODE","hash":"0xE301BD63E9E13CF0","params":[["vehicle","Vehicle"],["cargobob","Vehicle"]],"aka":["SET_CARGOBOB_PICKUP_MAGNET_REDUCED_STRENGTH"]},
{"name":"setCargobobPickupMagnetSetAmbientMode","native":"SET_CARGOBOB_PICKUP_MAGNET_SET_AMBIENT_MODE","hash":"0x9BDDC73CC6A115D4","params":[["vehicle","Vehicle"],["p1","BOOL"],["p2","BOOL"]]},
{"name":"setCargobobPickupMagnetEnsurePickupEntityUpright","native":"SET_CARGOBOB_PICKUP_MAGNET_ENSURE_PICKUP_ENTITY_UPRIGHT","hash":"0x56EB5E94318D3FB6","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"doesVehicleHaveWeapons","native":"DOES_VEHICLE_HAVE_WEAPONS","hash":"0x25ECB9F8017D98E0","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleWillTellOthersToHurry","native":"SET_VEHICLE_WILL_TELL_OTHERS_TO_HURRY","hash":"0x2C4A1590ABF43E8B","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"disableVehicleWeapon","native":"DISABLE_VEHICLE_WEAPON","hash":"0xF4FC6A6F67D8D856","params":[["disabled","BOOL"],["weaponHash","Hash"],["vehicle","Vehicle"],["owner","Ped"]],"doc":"Full list of weapons by DurtyFree (Search for VEHICLE_*): https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"isVehicleWeaponDisabled","native":"IS_VEHICLE_WEAPON_DISABLED","hash":"0x563B65A643ED072E","params":[["weaponHash","Hash"],["vehicle","Vehicle"],["owner","Ped"]],"ret":"BOOL","since":1011,"aka":["_IS_VEHICLE_WEAPON_DISABLED"],"doc":"Full list of weapons by DurtyFree (Search for VEHICLE_*): https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setVehicleUsedForPilotSchool","native":"SET_VEHICLE_USED_FOR_PILOT_SCHOOL","hash":"0xE05DD0E9707003A3","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setVehicleActiveForPedNavigation","native":"SET_VEHICLE_ACTIVE_FOR_PED_NAVIGATION","hash":"0x21115BCD6E44656A","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_CLOSE_DOOR_DEFERED_ACTION"]},
{"name":"getVehicleClass","native":"GET_VEHICLE_CLASS","hash":"0x29439776AAA00A62","params":[["vehicle","Vehicle"]],"ret":"int","doc":"Returns an int\n\nVehicle Classes:\n0: Compacts\n1: Sedans\n2: SUVs\n3: Coupes\n4: Muscle\n5: Sports Classics\n6: Sports\n7: Super\n8: Motorcycles\n9: Off-road\n10: Industrial\n11: Utility\n12: Vans\n13: Cycles\n14: Boats\n15: Helicopters\n16: Planes\n17: Service\n18: Emergency\n19: Military\n20: Commercial\n21: Trains\n\n```\nchar buffer[128];\nstd::sprintf(buffer, \"VEH_CLASS_%i\", getVehicleClass(vehicle));\n\nconst char* className = getFilenameForAudioConversation(buffer);\n```"},
{"name":"getVehicleClassFromName","native":"GET_VEHICLE_CLASS_FROM_NAME","hash":"0xDEDF1C8BD47C2200","params":[["modelHash","Hash"]],"ret":"int","doc":"```\nchar buffer[128];\nstd::sprintf(buffer, \"VEH_CLASS_%i\", getVehicleClassFromName (hash));\n\nconst char* className = getFilenameForAudioConversation(buffer);\n```\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json"},
{"name":"setPlayersLastVehicle","native":"SET_PLAYERS_LAST_VEHICLE","hash":"0xBCDF8BAF56C87B6A","params":[["vehicle","Vehicle"]]},
{"name":"setVehicleCanBeUsedByFleeingPeds","native":"SET_VEHICLE_CAN_BE_USED_BY_FLEEING_PEDS","hash":"0x300504B23BD3B711","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setAircraftPilotSkillNoiseScalar","native":"SET_AIRCRAFT_PILOT_SKILL_NOISE_SCALAR","hash":"0xE5810AC70602F2F5","params":[["vehicle","Vehicle"],["p1","float"]]},
{"name":"setVehicleDropsMoneyWhenBlownUp","native":"SET_VEHICLE_DROPS_MONEY_WHEN_BLOWN_UP","hash":"0x068F64F2470F9656","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_CREATES_MONEY_PICKUPS_WHEN_EXPLODED"],"doc":"Money pickups are created around cars when they explode. Only works when the vehicle model is a car. A single pickup is between 1 and 18 dollars in size. All car models seem to give the same amount of money.\n\nhttps://youtu.be/3arlUxzHl5Y"},
{"name":"setVehicleKeepEngineOnWhenAbandoned","native":"SET_VEHICLE_KEEP_ENGINE_ON_WHEN_ABANDONED","hash":"0xB8FBC8B1330CA9B4","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_JET_ENGINE_ON"]},
{"name":"setVehicleImpatienceTimer","native":"SET_VEHICLE_IMPATIENCE_TIMER","hash":"0x6A973569BA094650","params":[["vehicle","Vehicle"],["p1","Any"]],"since":1604,"doc":"Seems to copy some values in vehicle"},
{"name":"setVehicleHandlingOverride","native":"SET_VEHICLE_HANDLING_OVERRIDE","hash":"0x10655FAB9915623D","params":[["vehicle","Vehicle"],["hash","Hash"]],"aka":["_SET_VEHICLE_HANDLING_HASH_FOR_AI"],"doc":"Use the \"AIHandling\" string found in handling.meta"},
{"name":"setVehicleExtendedRemovalRange","native":"SET_VEHICLE_EXTENDED_REMOVAL_RANGE","hash":"0x79DF7E806202CE01","params":[["vehicle","Vehicle"],["range","int"]],"doc":"Max value is 32767"},
{"name":"setVehicleSteeringBiasScalar","native":"SET_VEHICLE_STEERING_BIAS_SCALAR","hash":"0x9007A2F21DC108D4","params":[["p0","Any"],["p1","float"]]},
{"name":"setHeliControlLaggingRateScalar","native":"SET_HELI_CONTROL_LAGGING_RATE_SCALAR","hash":"0x6E0859B530A365CC","params":[["helicopter","Vehicle"],["multiplier","float"]],"aka":["_SET_HELICOPTER_ROLL_PITCH_YAW_MULT"],"doc":"value between 0.0 and 1.0"},
{"name":"setVehicleFrictionOverride","native":"SET_VEHICLE_FRICTION_OVERRIDE","hash":"0x1837AF7C627009BA","params":[["vehicle","Vehicle"],["friction","float"]],"doc":"Seems to be related to the metal parts, not tyres (like i was expecting lol)"},
{"name":"setVehicleWheelsCanBreakOffWhenBlowUp","native":"SET_VEHICLE_WHEELS_CAN_BREAK_OFF_WHEN_BLOW_UP","hash":"0xA37B9A517B133349","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["SET_VEHICLE_MAX_STR_TRAP"]},
{"name":"arePlaneControlPanelsIntact","native":"ARE_PLANE_CONTROL_PANELS_INTACT","hash":"0xF78F94D60248C737","params":[["vehicle","Vehicle"],["p1","BOOL"]],"ret":"BOOL"},
{"name":"setVehicleCeilingHeight","native":"SET_VEHICLE_CEILING_HEIGHT","hash":"0xA46413066687A328","params":[["vehicle","Vehicle"],["height","float"]],"aka":["GET_VEHICLE_DEFORMATION_GET_TREE"]},
{"name":"setVehicleNoExplosionDamageFromDriver","native":"SET_VEHICLE_NO_EXPLOSION_DAMAGE_FROM_DRIVER","hash":"0x5E569EC46EC21CAE","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"clearVehicleRouteHistory","native":"CLEAR_VEHICLE_ROUTE_HISTORY","hash":"0x6D6AF961B72728AE","params":[["vehicle","Vehicle"]]},
{"name":"doesVehicleExistWithDecorator","native":"DOES_VEHICLE_EXIST_WITH_DECORATOR","hash":"0x956B409B984D9BF7","params":[["decorator","string"]],"ret":"Vehicle"},
{"name":"setVehicleAiCanUseExclusiveSeats","native":"SET_VEHICLE_AI_CAN_USE_EXCLUSIVE_SEATS","hash":"0x41062318F23ED854","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"doc":"Toggles a flag related to `setVehicleExclusiveDriver`, however, doesn't enable that feature (or trigger script events related to it)."},
{"name":"setVehicleExclusiveDriver","native":"SET_VEHICLE_EXCLUSIVE_DRIVER","hash":"0xB5C51B5502E85E83","params":[["vehicle","Vehicle"],["ped","Ped"],["index","int","0 - 1"]]},
{"name":"isPedExclusiveDriverOfVehicle","native":"IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE","hash":"0xB09D25E77C33EB3F","params":[["ped","Ped"],["vehicle","Vehicle"]],"ret":"BOOL","outs":[["outIndex","int",2]],"since":463,"aka":["_IS_PED_EXCLUSIVE_DRIVER_OF_VEHICLE"]},
{"name":"disableIndividualPlanePropeller","native":"DISABLE_INDIVIDUAL_PLANE_PROPELLER","hash":"0x500873A45724C863","params":[["vehicle","Vehicle"],["propeller","int"]]},
{"name":"enableIndividualPlanePropeller","native":"_ENABLE_INDIVIDUAL_PLANE_PROPELLER","hash":"0xDC05D2777F855F44","params":[["vehicle","Vehicle"],["propeller","int"]],"na":1,"since":3407},
{"name":"setVehicleForceAfterburner","native":"SET_VEHICLE_FORCE_AFTERBURNER","hash":"0xB055A34527CB8FD7","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setDontProcessVehicleGlass","native":"SET_DONT_PROCESS_VEHICLE_GLASS","hash":"0x1087BC8EC540DAEB","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1103,"aka":["_SET_DISABLE_VEHICLE_WINDOW_COLLISIONS"],"doc":"R* used it to \"remove\" vehicle windows when \"nightshark\" had some mod, which adding some kind of armored windows. When enabled, you can't break vehicles glass. All your bullets wiil shoot through glass. You also will not able to break the glass with any other way (hitting and etc)"},
{"name":"setDisableWantedConesResponse","native":"SET_DISABLE_WANTED_CONES_RESPONSE","hash":"0x4AD280EB48B2D8E6","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1868},
{"name":"setUseDesiredZCruiseSpeedForLanding","native":"SET_USE_DESIRED_Z_CRUISE_SPEED_FOR_LANDING","hash":"0xB68CFAF83A02768D","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1290},
{"name":"setArriveDistanceOverrideForVehiclePersuitAttack","native":"SET_ARRIVE_DISTANCE_OVERRIDE_FOR_VEHICLE_PERSUIT_ATTACK","hash":"0x0205F5365292D2EB","params":[["vehicle","Vehicle"],["p1","float"]],"since":1290},
{"name":"setVehicleReadyForCleanup","native":"SET_VEHICLE_READY_FOR_CLEANUP","hash":"0xCF9159024555488C","params":[["p0","Any"]],"since":944},
{"name":"setDistantCarsEnabled","native":"SET_DISTANT_CARS_ENABLED","hash":"0xF796359A959DF65D","params":[["toggle","BOOL"]],"aka":["_DISPLAY_DISTANT_VEHICLES"],"doc":"Toggles to render distant vehicles. They may not be vehicles but images to look like vehicles."},
{"name":"setVehicleNeonColour","native":"SET_VEHICLE_NEON_COLOUR","hash":"0x8E0A582209A62695","params":[["vehicle","Vehicle"],["r","int"],["g","int"],["b","int"]],"aka":["_SET_VEHICLE_NEON_LIGHTS_COLOUR"],"doc":"Sets the color of the neon lights of the specified vehicle."},
{"name":"setVehicleNeonIndexColour","native":"SET_VEHICLE_NEON_INDEX_COLOUR","hash":"0xB93B2867F7B479D1","params":[["vehicle","Vehicle"],["index","int"]],"since":1493,"aka":["_SET_VEHICLE_NEON_LIGHTS_COLOUR_INDEX"]},
{"name":"getVehicleNeonColour","native":"GET_VEHICLE_NEON_COLOUR","hash":"0x7619EEE8C886757F","params":[["vehicle","Vehicle"]],"outs":[["r","int",1],["g","int",2],["b","int",3]],"aka":["_GET_VEHICLE_NEON_LIGHTS_COLOUR"],"doc":"Gets the color of the neon lights of the specified vehicle.\n\nSee `setVehicleNeonColour` (0x8E0A582209A62695) for more information"},
{"name":"setVehicleNeonEnabled","native":"SET_VEHICLE_NEON_ENABLED","hash":"0x2AA720E4287BF269","params":[["vehicle","Vehicle"],["index","int"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_NEON_LIGHT_ENABLED"],"doc":"Sets the neon lights of the specified vehicle on/off.\n\nIndices:\n0 = Left\n1 = Right\n2 = Front\n3 = Back"},
{"name":"getVehicleNeonEnabled","native":"GET_VEHICLE_NEON_ENABLED","hash":"0x8C4B92553E4766A5","params":[["vehicle","Vehicle"],["index","int"]],"ret":"BOOL","aka":["_IS_VEHICLE_NEON_LIGHT_ENABLED"],"doc":"indices:\n0 = Left\n1 = Right\n2 = Front\n3 = Back"},
{"name":"setAmbientVehicleNeonEnabled","native":"SET_AMBIENT_VEHICLE_NEON_ENABLED","hash":"0x35E0654F4BAD7971","params":[["p0","BOOL"]]},
{"name":"suppressNeonsOnVehicle","native":"SUPPRESS_NEONS_ON_VEHICLE","hash":"0x83F813570FF519DE","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":573,"aka":["_DISABLE_VEHICLE_NEON_LIGHTS"]},
{"name":"setDisableSuperdummy","native":"SET_DISABLE_SUPERDUMMY","hash":"0xB088E9A47AE6EDD5","params":[["vehicle","Vehicle"],["p1","BOOL"]],"aka":["_SET_DISABLE_SUPERDUMMY_MODE"]},
{"name":"requestVehicleDial","native":"REQUEST_VEHICLE_DIAL","hash":"0xDBA3C090E3D74690","params":[["vehicle","Vehicle"]],"aka":["_REQUEST_VEHICLE_DASHBOARD_SCALEFORM_MOVIE"]},
{"name":"getVehicleBodyHealth","native":"GET_VEHICLE_BODY_HEALTH","hash":"0xF271147EB7B40F12","params":[["vehicle","Vehicle"]],"ret":"float","doc":"Seems related to vehicle health, like the one in IV.\nMax 1000, min 0.\nVehicle does not necessarily explode or become undrivable at 0."},
{"name":"setVehicleBodyHealth","native":"SET_VEHICLE_BODY_HEALTH","hash":"0xB77D05AC8C78AADB","params":[["vehicle","Vehicle"],["value","float"]],"doc":"p2 often set to 1000.0 in the decompiled scripts."},
{"name":"getVehicleSize","native":"GET_VEHICLE_SIZE","hash":"0xDF7E3EEB29642C38","params":[["vehicle","Vehicle"]],"outs":[["out1","Vector3",1],["out2","Vector3",2]],"aka":["_GET_VEHICLE_SUSPENSION_BOUNDS"],"doc":"Outputs 2 Vector3's.\nScripts check if out2.x - out1.x > someshit.x\nCould be suspension related, as in max suspension height and min suspension height, considering the natives location."},
{"name":"getFakeSuspensionLoweringAmount","native":"GET_FAKE_SUSPENSION_LOWERING_AMOUNT","hash":"0x53952FD2BAA19F17","params":[["vehicle","Vehicle"]],"ret":"float","aka":["_GET_VEHICLE_SUSPENSION_HEIGHT"],"doc":"Gets the height of the vehicle's suspension.\nThe higher the value the lower the suspension. Each 0.002 corresponds with one more level lowered.\n0.000 is the stock suspension.\n0.008 is Ultra Suspension."},
{"name":"setCarHighSpeedBumpSeverityMultiplier","native":"SET_CAR_HIGH_SPEED_BUMP_SEVERITY_MULTIPLIER","hash":"0x84FD40F56075E816","params":[["multiplier","float"]],"aka":["_SET_CAR_HIGH_SPEED_BUMP_SEVERITY_MULTIPLIER"]},
{"name":"getNumberOfVehicleDoors","native":"GET_NUMBER_OF_VEHICLE_DOORS","hash":"0x92922A607497B14D","params":[["vehicle","Vehicle"]],"ret":"int","since":463,"aka":["_GET_NUMBER_OF_VEHICLE_DOORS"]},
{"name":"setHydraulicsControl","native":"SET_HYDRAULICS_CONTROL","hash":"0x28B18377EB6E25F6","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":505,"aka":["_SET_HYDRAULIC_RAISED"],"doc":"If false, lowers hydraulics (if raised) and disables hydraulics controls. If true, raises hydraulics and enables hydraulics controls.\n\nOnly used once in each carmod script, on a car that does not have hydraulics to begin with."},
{"name":"setCanAdjustGroundClearance","native":"SET_CAN_ADJUST_GROUND_CLEARANCE","hash":"0xA7DCDF4DED40A8F4","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"getVehicleHealthPercentage","native":"GET_VEHICLE_HEALTH_PERCENTAGE","hash":"0xB8EF61207C2393A9","params":[["vehicle","Vehicle"],["maxEngineHealth","float"],["maxPetrolTankHealth","float"],["maxBodyHealth","float"],["maxMainRotorHealth","float"],["maxTailRotorHealth","float"],["maxUnkHealth","float"]],"ret":"float","aka":["_GET_VEHICLE_BODY_HEALTH_2"],"doc":"0 min 100 max\nstarts at 100\nSeams to have health zones\nFront of vehicle when damaged goes from 100-50 and stops at 50.\nRear can be damaged from 100-0\nOnly tested with two cars.\n\n--\nMay return the vehicle health on a scale of 0.0 - 100.0 (needs to be confirmed)\n\nexample:\n\n```\nv_F = getEntityModel(v_3);\nif (((v_F == ${tanker}) || (v_F == ${armytanker})) || (v_F == ${tanker2})) {\n    if (getVehicleHealthPercentage(v_3) <= 1.0) {\n        networkExplodeVehicle(v_3, 1, 1, -1);\n    }\n}\n```"},
{"name":"getVehicleIsMercenary","native":"GET_VEHICLE_IS_MERCENARY","hash":"0xD4C4642CB7F50B5D","params":[["vehicle","Vehicle"]],"ret":"BOOL"},
{"name":"setVehicleBrokenPartsDontAffectAiHandling","native":"SET_VEHICLE_BROKEN_PARTS_DONT_AFFECT_AI_HANDLING","hash":"0xC361AA040D6637A8","params":[["vehicle","Vehicle"],["p1","BOOL"]]},
{"name":"setVehicleKersAllowed","native":"SET_VEHICLE_KERS_ALLOWED","hash":"0x99C82F8A139F3E4E","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"aka":["_SET_VEHICLE_HUD_SPECIAL_ABILITY_BAR_ACTIVE"]},
{"name":"getVehicleHasKers","native":"GET_VEHICLE_HAS_KERS","hash":"0x50634E348C8D44EF","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":372,"aka":["_HAS_VEHICLE_KERS_BOOST"],"doc":"Returns true if the vehicle has a HF_HAS_KERS (strHandlingFlags 0x4) handing flag set, for instance the lectro/vindicator bikes or the open wheelers."},
{"name":"setPlaneResistToExplosion","native":"SET_PLANE_RESIST_TO_EXPLOSION","hash":"0xE16142B94664DEFD","params":[["vehicle","Vehicle"],["toggle","BOOL"]]},
{"name":"setHeliResistToExplosion","native":"SET_HELI_RESIST_TO_EXPLOSION","hash":"0x8074CC1886802912","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":2545,"aka":["_SET_HELI_RESIST_TO_EXPLOSION"]},
{"name":"setDisableBmxExtraTrickForces","native":"SET_DISABLE_BMX_EXTRA_TRICK_FORCES","hash":"0x26D99D5A82FD18E8","params":[["p0","Any"]],"since":463},
{"name":"setHydraulicSuspensionRaiseFactor","native":"SET_HYDRAULIC_SUSPENSION_RAISE_FACTOR","hash":"0x84EA99C62CB3EF0C","params":[["vehicle","Vehicle"],["wheelId","int"],["value","float"]],"since":505,"aka":["_SET_HYDRAULIC_STATE","_SET_HYDRAULIC_WHEEL_VALUE"],"doc":"Works only on vehicles that support hydraulics."},
{"name":"getHydraulicSuspensionRaiseFactor","native":"GET_HYDRAULIC_SUSPENSION_RAISE_FACTOR","hash":"0x0BB5CBDDD0F25AE3","params":[["vehicle","Vehicle"],["wheelId","int"]],"ret":"float","since":2372,"aka":["_GET_HYDRAULIC_WHEEL_VALUE"]},
{"name":"setCanUseHydraulics","native":"SET_CAN_USE_HYDRAULICS","hash":"0x1201E8A3290A3B98","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":505,"aka":["_SET_CAMBERED_WHEELS_DISABLED"]},
{"name":"setHydraulicVehicleState","native":"SET_HYDRAULIC_VEHICLE_STATE","hash":"0x8EA86DF356801C7D","params":[["vehicle","Vehicle"],["state","int"]],"since":505,"aka":["_SET_HYDRAULIC_WHEEL_STATE"],"doc":"States:\n4 = raise\n5 = lower\n6 = jump"},
{"name":"setHydraulicWheelState","native":"SET_HYDRAULIC_WHEEL_STATE","hash":"0xC24075310A8B9CD1","params":[["vehicle","Vehicle"],["wheelId","int"],["state","int"],["value","float"],["p4","Any"]],"since":505,"aka":["_SET_HYDRAULIC_WHEEL_STATE_TRANSITION"],"doc":"Sets vehicle wheel hydraulic states transition. Known states:\n0 - reset\n1 - raise wheel\n2 - jump using wheel"},
{"name":"hasVehiclePetroltankSetOnFireByEntity","native":"HAS_VEHICLE_PETROLTANK_SET_ON_FIRE_BY_ENTITY","hash":"0x5BA68A0840D546AC","params":[["p0","Any"],["p1","Any"]],"ret":"BOOL","since":463},
{"name":"clearVehiclePetroltankFireCulprit","native":"CLEAR_VEHICLE_PETROLTANK_FIRE_CULPRIT","hash":"0x4419966C9936071A","params":[["vehicle","Vehicle"]],"since":463},
{"name":"setVehicleBobbleheadVelocity","native":"SET_VEHICLE_BOBBLEHEAD_VELOCITY","hash":"0x870B8B7A766615C8","params":[["x","float"],["y","float"],["p2","float"]],"since":505,"doc":"Controls how fast bobbleheads and tsurikawas move on each axis.\n\np2 is probably z, but changing that value didn't seem to have a noticeable effect."},
{"name":"getVehicleIsDummy","native":"GET_VEHICLE_IS_DUMMY","hash":"0x8533CAFDE1F0F336","params":[["p0","Any"]],"ret":"BOOL","since":505},
{"name":"setVehicleDamageScale","native":"SET_VEHICLE_DAMAGE_SCALE","hash":"0x4E20D2A627011E8E","params":[["vehicle","Vehicle"],["p1","float"]],"ret":"BOOL","since":757,"aka":["_SET_VEHICLE_DAMAGE_MODIFIER"]},
{"name":"setVehicleExplosiveDamageScale","native":"_SET_VEHICLE_EXPLOSIVE_DAMAGE_SCALE","hash":"0x84D7FFD223CAAFFD","params":[["vehicle","Vehicle"],["scale","float"]],"ret":"Any","na":1,"since":3407,"doc":"Does not actually return anything."},
{"name":"setVehicleWeaponDamageScale","native":"SET_VEHICLE_WEAPON_DAMAGE_SCALE","hash":"0x45A561A9421AB6AD","params":[["vehicle","Vehicle"],["multiplier","float"]],"ret":"BOOL","since":944,"aka":["_SET_VEHICLE_UNK_DAMAGE_MULTIPLIER"]},
{"name":"setDisableDamageWithPickedUpEntity","native":"SET_DISABLE_DAMAGE_WITH_PICKED_UP_ENTITY","hash":"0xD4196117AF7BB974","params":[["p0","Any"],["p1","Any"]],"ret":"BOOL","since":757},
{"name":"setVehicleUsesMpPlayerDamageMultiplier","native":"SET_VEHICLE_USES_MP_PLAYER_DAMAGE_MULTIPLIER","hash":"0xBB2333BB87DDD87F","params":[["p0","Any"],["p1","Any"]],"since":757},
{"name":"setBikeEasyToLand","native":"SET_BIKE_EASY_TO_LAND","hash":"0x73561D4425A021A2","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":791,"doc":"When enabled, the player won't fall off the bike when landing from large heights."},
{"name":"setInvertVehicleControls","native":"SET_INVERT_VEHICLE_CONTROLS","hash":"0x5B91B229243351A8","params":[["vehicle","Vehicle"],["state","BOOL"]],"since":791,"aka":["_SET_VEHICLE_CONTROLS_INVERTED"],"doc":"Inverts vehicle's controls. So INPUT_VEH_ACCELERATE will be INPUT_VEH_BRAKE and vise versa (same for A/D controls)\nDoesn't work for planes/helis."},
{"name":"setSpeedBoostEffectDisabled","native":"SET_SPEED_BOOST_EFFECT_DISABLED","hash":"0x7BBE7FF626A591FE","params":[["disabled","BOOL"]],"since":877,"doc":"Disables the screen effects and sound effects when driving over a speed boost pad."},
{"name":"setSlowDownEffectDisabled","native":"SET_SLOW_DOWN_EFFECT_DISABLED","hash":"0x65B080555EA48149","params":[["disabled","BOOL"]],"since":1011,"doc":"Disables the screen effects and sound effects when driving over a slowdown pad."},
{"name":"setFormationLeader","native":"SET_FORMATION_LEADER","hash":"0x428AD3E26C8D9EB0","params":[["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["p4","float"]],"since":877},
{"name":"resetFormationLeader","native":"RESET_FORMATION_LEADER","hash":"0xE2F53F172B45EDE1","since":877,"doc":"Resets the effect of `setFormationLeader`"},
{"name":"getIsBoatCapsized","native":"GET_IS_BOAT_CAPSIZED","hash":"0xBA91D045575699AD","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":877},
{"name":"setAllowRammingSoopOrRamp","native":"SET_ALLOW_RAMMING_SOOP_OR_RAMP","hash":"0x80E3357FDEF45C21","params":[["p0","Any"],["p1","Any"]],"since":944},
{"name":"setScriptRampImpulseScale","native":"SET_SCRIPT_RAMP_IMPULSE_SCALE","hash":"0xEFC13B1CE30D755D","params":[["vehicle","Vehicle"],["impulseScale","float"]],"since":944,"aka":["_SET_VEHICLE_RAMP_LAUNCH_MODIFIER"]},
{"name":"getIsDoorValid","native":"GET_IS_DOOR_VALID","hash":"0x645F4B6E8499F632","params":[["vehicle","Vehicle"],["doorId","int","see `setVehicleDoorShut`"]],"ret":"BOOL","checked":1,"since":944,"aka":["_DOES_VEHICLE_HAVE_DOOR","_GET_IS_DOOR_VALID"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`doorId` must be between `0` and `6`. Otherwise the call is ignored and returns `false`: nothing reaches the game, and no error is raised."}]},
{"name":"setScriptRocketBoostRechargeTime","native":"SET_SCRIPT_ROCKET_BOOST_RECHARGE_TIME","hash":"0xE00F2AB100B76E89","params":[["vehicle","Vehicle"],["seconds","float"]],"since":944,"aka":["_SET_VEHICLE_ROCKET_BOOST_REFILL_TIME"]},
{"name":"getHasRocketBoost","native":"GET_HAS_ROCKET_BOOST","hash":"0x36D782F68B309BDA","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":944,"aka":["_HAS_VEHICLE_ROCKET_BOOST","_DOES_VEHICLE_HAVE_ROCKET_BOOST","_GET_HAS_ROCKET_BOOST"]},
{"name":"isRocketBoostActive","native":"IS_ROCKET_BOOST_ACTIVE","hash":"0x3D34E80EED4AE3BE","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":944,"aka":["_IS_VEHICLE_ROCKET_BOOST_ACTIVE"]},
{"name":"setRocketBoostActive","native":"SET_ROCKET_BOOST_ACTIVE","hash":"0x81E1552E35DC3839","params":[["vehicle","Vehicle"],["active","BOOL"]],"since":944,"aka":["_SET_VEHICLE_ROCKET_BOOST_ACTIVE"]},
{"name":"getHasRetractableWheels","native":"GET_HAS_RETRACTABLE_WHEELS","hash":"0xDCA174A42133F08C","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":944,"aka":["_GET_HAS_LOWERABLE_WHEELS","_DOES_VEHICLE_HAVE_RETRACTABLE_WHEELS","_GET_HAS_RETRACTABLE_WHEELS"]},
{"name":"getIsWheelsRetracted","native":"GET_IS_WHEELS_RETRACTED","hash":"0x1DA0DA9CB3F0C8BF","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":944,"aka":["_GET_IS_WHEELS_LOWERED_STATE_ACTIVE"]},
{"name":"setWheelsExtendedInstantly","native":"SET_WHEELS_EXTENDED_INSTANTLY","hash":"0xF660602546D27BA8","params":[["vehicle","Vehicle"]],"since":944,"aka":["_RAISE_LOWERABLE_WHEELS","_RAISE_RETRACTABLE_WHEELS"]},
{"name":"setWheelsRetractedInstantly","native":"SET_WHEELS_RETRACTED_INSTANTLY","hash":"0x5335BE58C083E74E","params":[["vehicle","Vehicle"]],"since":1011,"aka":["_LOWER_RETRACTABLE_WHEELS"]},
{"name":"getCarHasJump","native":"GET_CAR_HAS_JUMP","hash":"0x9078C0C5EF8C19E9","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":944,"aka":["_HAS_VEHICLE_JUMPING_ABILITY","_DOES_VEHICLE_HAVE_JUMPING_ABILITY","_GET_CAN_VEHICLE_JUMP"],"doc":"Returns true if the vehicle has the FLAG_JUMPING_CAR flag set."},
{"name":"setUseHigherCarJump","native":"SET_USE_HIGHER_CAR_JUMP","hash":"0xF06A16CA55D138D8","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":944,"aka":["_SET_USE_HIGHER_VEHICLE_JUMP_FORCE"],"doc":"Allows vehicles with the FLAG_JUMPING_CAR flag to jump higher (i.e. Ruiner 2000)."},
{"name":"setClearFreezeWaitingOnCollisionOncePlayerEnters","native":"SET_CLEAR_FREEZE_WAITING_ON_COLLISION_ONCE_PLAYER_ENTERS","hash":"0xB2E0C0D6922D31F2","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":944},
{"name":"setVehicleWeaponRestrictedAmmo","native":"SET_VEHICLE_WEAPON_RESTRICTED_AMMO","hash":"0x44CD1F493DB2A0A6","params":[["vehicle","Vehicle"],["weaponIndex","int"],["capacity","int"]],"since":944,"aka":["_SET_VEHICLE_WEAPON_CAPACITY"],"doc":"Set vehicle's primary mounted weapon 2 ammo. For example, use it on APC.\nFor example, you can \"remove\" any vehicle weapon from any vehicle.\nammoAmount -1 = infinite ammo (default value for any spawned vehicle tho)"},
{"name":"getVehicleWeaponRestrictedAmmo","native":"GET_VEHICLE_WEAPON_RESTRICTED_AMMO","hash":"0x8181CE2F25CB9BB7","params":[["vehicle","Vehicle"],["weaponIndex","int"]],"ret":"int","since":1011,"aka":["_GET_VEHICLE_WEAPON_CAPACITY"]},
{"name":"getVehicleHasParachute","native":"GET_VEHICLE_HAS_PARACHUTE","hash":"0xBC9CFF381338CB4F","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":944,"aka":["_HAS_VEHICLE_PARACHUTE","_DOES_VEHICLE_HAVE_PARACHUTE","_GET_VEHICLE_HAS_PARACHUTE"]},
{"name":"getVehicleCanDeployParachute","native":"GET_VEHICLE_CAN_DEPLOY_PARACHUTE","hash":"0xA916396DF4154EE3","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":944,"aka":["_CAN_VEHICLE_PARACHUTE_BE_ACTIVATED","_GET_VEHICLE_CAN_ACTIVATE_PARACHUTE"]},
{"name":"vehicleStartParachuting","native":"VEHICLE_START_PARACHUTING","hash":"0x0BFFB028B3DD0A97","params":[["vehicle","Vehicle"],["active","BOOL"]],"since":944,"aka":["_SET_VEHICLE_PARACHUTE_ACTIVE"]},
{"name":"isVehicleParachuteDeployed","native":"IS_VEHICLE_PARACHUTE_DEPLOYED","hash":"0x3DE51E9C80B116CF","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1011,"aka":["_IS_VEHICLE_PARACHUTE_ACTIVE"]},
{"name":"vehicleSetRampAndRammingCarsTakeDamage","native":"VEHICLE_SET_RAMP_AND_RAMMING_CARS_TAKE_DAMAGE","hash":"0x28D034A93FE31BF5","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":944,"aka":["_SET_RAMP_VEHICLE_RECEIVES_RAMP_DAMAGE","_SET_VEHICLE_RECEIVES_RAMP_DAMAGE"]},
{"name":"vehicleSetEnableRampCarSideImpulse","native":"VEHICLE_SET_ENABLE_RAMP_CAR_SIDE_IMPULSE","hash":"0x1BBAC99C0BC53656","params":[["p0","Any"],["p1","Any"]],"since":944,"aka":["_SET_VEHICLE_RAMP_SIDEWAYS_LAUNCH_MOTION"]},
{"name":"vehicleSetEnableNormaliseRampCarVerticalVeloctiy","native":"VEHICLE_SET_ENABLE_NORMALISE_RAMP_CAR_VERTICAL_VELOCTIY","hash":"0x756AE6E962168A04","params":[["p0","Any"],["p1","Any"]],"since":944,"aka":["_SET_VEHICLE_RAMP_UPWARDS_LAUNCH_MOTION"]},
{"name":"vehicleSetJetWashForceEnabled","native":"VEHICLE_SET_JET_WASH_FORCE_ENABLED","hash":"0x9D30687C57BAA0BB","params":[["p0","Any"]],"since":1011},
{"name":"setVehicleWeaponCanTargetObjects","native":"SET_VEHICLE_WEAPON_CAN_TARGET_OBJECTS","hash":"0x86B4B6212CB8B627","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1011,"aka":["_SET_VEHICLE_WEAPONS_DISABLED"]},
{"name":"setVehicleUseBoostButtonForWheelRetract","native":"SET_VEHICLE_USE_BOOST_BUTTON_FOR_WHEEL_RETRACT","hash":"0x41290B40FA63E6DA","params":[["toggle","BOOL"]],"since":1011,"doc":"Used for blazer5. Changes the quadbike-jetski transformation input from raise/lower convertible roof (hold H by default) to horn (press E by default.)"},
{"name":"setVehicleUseHornButtonForNitrous","native":"_SET_VEHICLE_USE_HORN_BUTTON_FOR_NITROUS","hash":"0x1980F68872CC2C3D","params":[["toggle","BOOL"]],"na":1,"since":3095},
{"name":"vehicleSetParachuteModelOverride","native":"VEHICLE_SET_PARACHUTE_MODEL_OVERRIDE","hash":"0x4D610C6B56031351","params":[["vehicle","Vehicle"],["modelHash","Hash"]],"since":1011,"aka":["_VEHICLE_SET_CUSTOM_PARACHUTE_MODEL","_SET_VEHICLE_PARACHUTE_MODEL"],"doc":"Parachute models:\n- sr_prop_specraces_para_s_01\n- imp_prop_impexp_para_s (SecuroServ; Default)\nPlus, many more props can be used as vehicle parachutes, like umbrellas (prop_beach_parasol_03), and unlike `setPlayerParachuteModelOverride`, you won't get stuck mid-air when using an umbrella."},
{"name":"vehicleSetParachuteModelTintIndex","native":"VEHICLE_SET_PARACHUTE_MODEL_TINT_INDEX","hash":"0xA74AD2439468C883","params":[["vehicle","Vehicle"],["textureVariation","int"]],"since":1011,"aka":["_VEHICLE_SET_CUSTOM_PARACHUTE_TEXTURE","_SET_VEHICLE_PARACHUTE_TEXTURE_VARIATION"],"doc":"Variations available for the generic parachute (sr_prop_specraces_para_s_01):\n- 0: Rainbow\n- 1: Red\n- 2: White, blue, yellow\n- 3: Black, red, white\n- 4: Red, white, blue\n- 5: Blue\n- 6: Black\n- 7: Black, yellow"},
{"name":"vehicleSetOverrideExtenableSideRatio","native":"VEHICLE_SET_OVERRIDE_EXTENABLE_SIDE_RATIO","hash":"0x0419B167EE128F33","params":[["p0","Any"],["p1","Any"]],"ret":"int","since":1103},
{"name":"vehicleSetExtenableSideTargetRatio","native":"VEHICLE_SET_EXTENABLE_SIDE_TARGET_RATIO","hash":"0xF3B0E0AED097A3F5","params":[["p0","Any"],["p1","Any"]],"ret":"int","since":1103},
{"name":"vehicleSetOverrideSideRatio","native":"VEHICLE_SET_OVERRIDE_SIDE_RATIO","hash":"0xD3E51C0AB8C26EEE","params":[["p0","Any"],["p1","Any"]],"ret":"int","since":1103},
{"name":"getAllVehicles","native":"GET_ALL_VEHICLES","hash":"0x9B8E1BF04B51F2E8","ret":"int","outs":[["vehsStruct","EntityList",0]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Vehicle pool snapshot","md":"Returns the count and up to 256 vehicle handles on this client. Use [lsmp.getGamePool](/resources/api#world/fn-get-game-pool) when you need the complete pool."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"setCargobobExtaPickupRange","native":"SET_CARGOBOB_EXTA_PICKUP_RANGE","hash":"0x72BECCF4B829522E","params":[["p0","Any"],["p1","Any"]],"since":1103},
{"name":"setOverrideVehicleDoorTorque","native":"SET_OVERRIDE_VEHICLE_DOOR_TORQUE","hash":"0x66E3AAFACE2D1EB8","params":[["p0","Any"],["p1","Any"],["p2","Any"]],"checked":1,"since":1103,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`p1` must be between `0` and `6`. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"setWheelieEnabled","native":"SET_WHEELIE_ENABLED","hash":"0x1312DDD8385AEE4E","params":[["vehicle","Vehicle"],["enabled","BOOL"]],"since":1103,"doc":"Enables/disables the ability to wheelie on motorcycles."},
{"name":"setDisableHeliExplodeFromBodyDamage","native":"SET_DISABLE_HELI_EXPLODE_FROM_BODY_DAMAGE","hash":"0xEDBC8405B3895CC9","params":[["vehicle","Vehicle"],["disable","BOOL"]],"since":1103,"doc":"Prevents the vehicle from exploding when taking body damage. Only works for helis and planes."},
{"name":"setDisableExplodeFromBodyDamageOnCollision","native":"SET_DISABLE_EXPLODE_FROM_BODY_DAMAGE_ON_COLLISION","hash":"0x26E13D440E7F6064","params":[["vehicle","Vehicle"],["disable","BOOL"]],"since":1290,"doc":"Prevents the vehicle from exploding when taking body damage if it was caused by a collision. Only works for planes."},
{"name":"setDisableExplodeFromBodyDamageReceivedByAiVehicle","native":"_SET_DISABLE_EXPLODE_FROM_BODY_DAMAGE_RECEIVED_BY_AI_VEHICLE","hash":"0xB0B7DF5CB876FF5E","params":[["vehicle","Vehicle"],["disable","BOOL"]],"na":1,"since":3407,"doc":"Prevents the vehicle from exploding when taking body damage if the inflictor is an AI-controlled vehicle. Only works for planes."},
{"name":"setTrailerAttachmentEnabled","native":"SET_TRAILER_ATTACHMENT_ENABLED","hash":"0x2FA2494B47FDD009","params":[["p0","Any"],["p1","Any"]],"since":1103},
{"name":"setRocketBoostFill","native":"SET_ROCKET_BOOST_FILL","hash":"0xFEB2DDED3509562E","params":[["vehicle","Vehicle"],["percentage","float"]],"since":1103,"aka":["_SET_VEHICLE_ROCKET_BOOST_PERCENTAGE"]},
{"name":"setGliderActive","native":"SET_GLIDER_ACTIVE","hash":"0x544996C0081ABDEB","params":[["vehicle","Vehicle"],["state","BOOL"]],"since":1103,"aka":["_SET_OPPRESSOR_TRANSFORM_STATE"],"doc":"Set state to true to extend the wings, false to retract them."},
{"name":"setShouldResetTurretInScriptedCameras","native":"SET_SHOULD_RESET_TURRET_IN_SCRIPTED_CAMERAS","hash":"0x78CEEE41F49F421F","params":[["vehicle","Vehicle"],["shouldReset","BOOL"]],"since":1103,"doc":"Resets the vehicle's turret to its default position in scripted cameras. Doesn't seem to affect turrets that are occupied by a ped."},
{"name":"setVehicleDisableCollisionUponCreation","native":"SET_VEHICLE_DISABLE_COLLISION_UPON_CREATION","hash":"0xAF60E6A2936F982A","params":[["vehicle","Vehicle"],["disable","BOOL"]],"since":1103},
{"name":"setGroundEffectReducesDrag","native":"SET_GROUND_EFFECT_REDUCES_DRAG","hash":"0x430A7631A84C9BE7","params":[["toggle","BOOL"]],"since":1180},
{"name":"setDisableMapCollision","native":"SET_DISABLE_MAP_COLLISION","hash":"0x75627043C6AA90AD","params":[["vehicle","Vehicle"]],"since":1180,"aka":["_DISABLE_VEHICLE_WORLD_COLLISION"],"doc":"Disables collision for this vehicle (maybe it also supports other entities, not sure).\nOnly world/building/fixed world objects will have their collisions disabled, props, peds, or any other entity still collides with the vehicle."},
{"name":"setDisablePedStandOnTop","native":"SET_DISABLE_PED_STAND_ON_TOP","hash":"0x8235F1BEAD557629","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1180},
{"name":"setVehicleDamageScales","native":"SET_VEHICLE_DAMAGE_SCALES","hash":"0x9640E30A7F395E4B","params":[["vehicle","Vehicle"],["p1","Any"],["p2","Any"],["p3","Any"],["p4","Any"]],"since":1290},
{"name":"setPlaneSectionDamageScale","native":"SET_PLANE_SECTION_DAMAGE_SCALE","hash":"0x0BBB9A7A8FFE931B","params":[["vehicle","Vehicle"],["section","int"],["damageScale","float"]],"checked":1,"since":1290,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`section` must be between `0` and `12`; `damageScale` must be a finite number. Otherwise the call is ignored: nothing reaches the game, and no error is raised."},{"kind":"warn","title":"Signature under review","md":"LS:MP's table describes the parameters of this native differently from the current native database (`void SET_PLANE_SECTION_DAMAGE_SCALE(Vehicle vehicle, Any p1, Any p2)`). Until the table is refreshed, some values may be passed or returned under the wrong type."}]},
{"name":"setPlaneControlSectionsShouldBreakOffFromExplosions","native":"SET_PLANE_CONTROL_SECTIONS_SHOULD_BREAK_OFF_FROM_EXPLOSIONS","hash":"0xDD8A2D3337F04196","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"na":1,"since":3407},
{"name":"setHeliCanPickupEntityThatHasPickUpDisabled","native":"SET_HELI_CAN_PICKUP_ENTITY_THAT_HAS_PICK_UP_DISABLED","hash":"0x94A68DA412C4007D","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1180,"aka":["_SET_CARGOBOB_HOOK_CAN_ATTACH"],"doc":"Stops the cargobob from being able to attach any vehicle"},
{"name":"setVehicleBombAmmo","native":"SET_VEHICLE_BOMB_AMMO","hash":"0xF4B2ED59DEB5D774","params":[["vehicle","Vehicle"],["bombCount","int"]],"since":1180,"aka":["_SET_VEHICLE_BOMBS","_SET_AIRCRAFT_BOMB_COUNT","_SET_VEHICLE_BOMB_COUNT"],"doc":"Sets the amount of bombs that this vehicle has. As far as I know, this does _not_ impact vehicle weapons or the ammo of those weapons in any way, it is just a way to keep track of the amount of bombs in a specific plane."},
{"name":"getVehicleBombAmmo","native":"GET_VEHICLE_BOMB_AMMO","hash":"0xEA12BD130D7569A1","params":[["vehicle","Vehicle"]],"ret":"int","since":1180,"aka":["_GET_AIRCRAFT_BOMB_COUNT","_GET_VEHICLE_BOMB_COUNT"],"doc":"Gets the amount of bombs that this vehicle has. As far as I know, this does _not_ impact vehicle weapons or the ammo of those weapons in any way, it is just a way to keep track of the amount of bombs in a specific plane."},
{"name":"setVehicleCountermeasureAmmo","native":"SET_VEHICLE_COUNTERMEASURE_AMMO","hash":"0x9BDA23BF666F0855","params":[["vehicle","Vehicle"],["counterMeasureCount","int"]],"since":1180,"aka":["_SET_AIRCRAFT_COUNTERMEASURE_COUNT","_SET_VEHICLE_COUNTERMEASURE_COUNT"],"doc":"Similar to `setVehicleBombAmmo`, this sets the amount of countermeasures that are present on this vehicle.\nUse `getVehicleBombAmmo` to get the current amount."},
{"name":"getVehicleCountermeasureAmmo","native":"GET_VEHICLE_COUNTERMEASURE_AMMO","hash":"0xF846AA63DF56B804","params":[["vehicle","Vehicle"]],"ret":"int","since":1180,"aka":["_GET_AIRCRAFT_COUNTERMEASURE_COUNT","_GET_VEHICLE_COUNTERMEASURE_COUNT"],"doc":"Similar to `getVehicleBombAmmo`, this gets the amount of countermeasures that are present on this vehicle.\nUse `setVehicleCountermeasureAmmo` to set the current amount."},
{"name":"setHeliCombatOffset","native":"SET_HELI_COMBAT_OFFSET","hash":"0x0A3F820A9A9A9AC5","params":[["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"]],"since":1180},
{"name":"getCanVehicleBePlacedHere","native":"GET_CAN_VEHICLE_BE_PLACED_HERE","hash":"0x51F30DB60626A20E","params":[["vehicle","Vehicle"],["x","float"],["y","float"],["z","float"],["rotX","float"],["rotY","float"],["rotZ","float"],["p7","int"],["p8","Any"]],"ret":"BOOL","since":1180,"doc":"Used in decompiled scripts in combination with `getVehicleSize`\np7 is usually 2\np8 is usually 1"},
{"name":"setDisableAutomaticCrashTask","native":"SET_DISABLE_AUTOMATIC_CRASH_TASK","hash":"0x97841634EF7DF1D6","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1180,"doc":"Sets a flag on heli and another vehicle type."},
{"name":"setSpecialFlightModeRatio","native":"SET_SPECIAL_FLIGHT_MODE_RATIO","hash":"0xD138FA15C9776837","params":[["vehicle","Vehicle"],["ratio","float"]],"since":1290,"aka":["_SET_VEHICLE_HOVER_TRANSFORM_RATIO"],"doc":"Used in conjunction with `setSpecialFlightModeTargetRatio`, in Rockstar's scripts. Using this will instantly transform the vehicle into hover mode starting from the given ratio (ranging from 0.0 to 1.0, values greater than 1.0 will put the vehicle into a glitched state.) If this is not used alongside `setSpecialFlightModeTargetRatio`, the vehicle will automatically transform back into car mode.\n\nUsable only with the deluxo and other vehicles with deluxo-like hover mode toggle, modded or otherwise. Does nothing when used on oppressor2.\n\nExample:\n\n```\nPed playerPed = playerPedId();\nVehicle veh = getVehiclePedIsUsing(playerPed);\nsetSpecialFlightModeRatio(veh, 0.7f);\nsetSpecialFlightModeTargetRatio(veh, 1.0f);\n```"},
{"name":"setSpecialFlightModeTargetRatio","native":"SET_SPECIAL_FLIGHT_MODE_TARGET_RATIO","hash":"0x438B3D7CA026FE91","params":[["vehicle","Vehicle"],["targetRatio","float"]],"since":1290,"aka":["_SET_VEHICLE_TRANSFORM_STATE","_SET_VEHICLE_HOVER_TRANSFORM_PERCENTAGE"],"doc":"Used in conjunction with `setSpecialFlightModeRatio`, in Rockstar's scripts. The vehicle will transform into the given targetRatio, starting from the vehicle's current hover mode transform ratio (which can also be manually set by `setSpecialFlightModeRatio`,) i.e. setting targetRatio to 0.0 while the vehicle is in hover mode will transform the vehicle into car mode, likewise setting targetRatio to 1.0 while the vehicle is in car mode will transform the vehicle into hover mode, and if the current transform ratio is set to 0.7 while targetRatio is 1.0 the vehicle will transform into hover mode starting from being already partially transformed.\n\ntargetRatio is recommended to always be 0.0 or 1.0, otherwise the vehicle will transform into a glitched state.\n\nUsable only with the deluxo and other vehicles with deluxo-like hover mode toggle, modded or otherwise. Does nothing when used on oppressor2.\n\nExample:\n\n```\nPed playerPed = playerPedId();\nVehicle veh = getVehiclePedIsUsing(playerPed);\nsetSpecialFlightModeRatio(veh, 0.7f);\nsetSpecialFlightModeTargetRatio(veh, 1.0f);\n```"},
{"name":"setSpecialFlightModeAllowed","native":"SET_SPECIAL_FLIGHT_MODE_ALLOWED","hash":"0xF1211889DF15A763","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1290,"aka":["_SET_VEHICLE_HOVER_TRANSFORM_ENABLED"],"doc":"It will override the ability to transform deluxo. For oppressor it will work just like `setDisableHoverModeFlight`"},
{"name":"setDisableHoverModeFlight","native":"SET_DISABLE_HOVER_MODE_FLIGHT","hash":"0x2D55FE374D5FDB91","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1290,"aka":["_SET_VEHICLE_HOVER_TRANSFORM_ACTIVE"],"doc":"Disables \"wings\" for some flying vehicles. Works only for oppressor _2_ and deluxo.\nFor deluxo it just immediately removes vehicle's \"wings\" and you will be not able to fly up.\nFor oppressor 2 it will remove wings right after you land. And you will not able to fly up anymore too.\nBut for opressor 2 you still can fly if you somehow get back in the air."},
{"name":"getOutriggersDeployed","native":"GET_OUTRIGGERS_DEPLOYED","hash":"0x3A9128352EAC9E85","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1290,"aka":["_ARE_CHERNOBOG_STABILIZERS_DEPLOYED"],"doc":"Checks if Chernobog's stabilizers are deployed or not.\nThese are the metal supports that allow it to fire.\nThis native only applies to the Chernobog."},
{"name":"findSpawnCoordinatesForHeli","native":"FIND_SPAWN_COORDINATES_FOR_HELI","hash":"0x8DC9675797123522","params":[["ped","Ped"]],"ret":"Vector3","since":1290,"aka":["_FIND_RANDOM_POINT_IN_SPACE"],"doc":"Native is significantly more complicated than simply generating a random vector & length."},
{"name":"setDeployFoldingWings","native":"SET_DEPLOY_FOLDING_WINGS","hash":"0xB251E0B33E58B424","params":[["vehicle","Vehicle"],["deploy","BOOL"],["p2","BOOL"]],"since":1290,"aka":["_SET_DEPLOY_HELI_STUB_WINGS"],"doc":"Only used with the \"akula\" and \"annihilator2\" in the decompiled native scripts."},
{"name":"areFoldingWingsDeployed","native":"ARE_FOLDING_WINGS_DEPLOYED","hash":"0xAEF12960FA943792","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1290,"aka":["_ARE_HELI_STUB_WINGS_DEPLOYED"],"doc":"Only used with the \"akula\" and \"annihilator2\" in the decompiled native scripts."},
{"name":"setDeployMissileBays","native":"_SET_DEPLOY_MISSILE_BAYS","hash":"0x0C02468829E4AA65","params":[["vehicle","Vehicle"],["deploy","BOOL"]],"na":1,"since":2944},
{"name":"areMissileBaysDeployed","native":"_ARE_MISSILE_BAYS_DEPLOYED","hash":"0xEA4743874D515F13","params":[["vehicle","Vehicle"]],"ret":"BOOL","na":1,"since":2944},
{"name":"setDipStraightDownWhenCrashingPlane","native":"SET_DIP_STRAIGHT_DOWN_WHEN_CRASHING_PLANE","hash":"0xAA653AE61924B0A0","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1290},
{"name":"setTurretHidden","native":"SET_TURRET_HIDDEN","hash":"0xC60060EB0D8AC7B1","params":[["vehicle","Vehicle"],["index","int"],["toggle","BOOL"]],"since":1290,"aka":["_SET_VEHICLE_TURRET_UNK"],"doc":"Toggles specific flag on turret"},
{"name":"setHoverModeWingRatio","native":"SET_HOVER_MODE_WING_RATIO","hash":"0x70A252F60A3E036B","params":[["vehicle","Vehicle"],["ratio","float"]],"since":1365,"aka":["_SET_SPECIALFLIGHT_WING_RATIO"]},
{"name":"setDisableTurretMovement","native":"SET_DISABLE_TURRET_MOVEMENT","hash":"0xE615BB7A7752C76A","params":[["vehicle","Vehicle"],["turretId","int"]],"since":1365,"aka":["_SET_DISABLE_TURRET_MOVEMENT","_SET_DISABLE_TURRET_MOVEMENT_THIS_FRAME"],"doc":"Disables turret movement when called in a loop. You can still fire and aim. You cannot shoot backwards though."},
{"name":"setForceFixLinkMatrices","native":"SET_FORCE_FIX_LINK_MATRICES","hash":"0x887FA38787DE8C72","params":[["vehicle","Vehicle"]],"since":1365},
{"name":"setTransformRateForAnimation","native":"SET_TRANSFORM_RATE_FOR_ANIMATION","hash":"0x498218259FB7C72D","params":[["vehicle","Vehicle"],["transformRate","float"]],"since":1365,"aka":["_SET_UNK_FLOAT_FOR_SUBMARINE_VEHICLE_TASK"],"doc":"Affects the playback speed of the submarine car conversion animations. Does not affect hardcoded animations such as the wheels being retracted."},
{"name":"setTransformToSubmarineUsesAlternateInput","native":"SET_TRANSFORM_TO_SUBMARINE_USES_ALTERNATE_INPUT","hash":"0x41B9FB92EDED32A6","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1365,"aka":["_SET_UNK_BOOL_FOR_SUBMARINE_VEHICLE_TASK"],"doc":"When set to true, the key to transform a car to submarine mode changes from raise/lower convertible roof (hold H by default) to special vehicle transform (press X by default.)"},
{"name":"setVehicleCombatMode","native":"SET_VEHICLE_COMBAT_MODE","hash":"0x36DE109527A2C0C4","params":[["toggle","BOOL"]],"since":1604,"doc":"Does nothing. It's a nullsub."},
{"name":"setVehicleDetonationMode","native":"SET_VEHICLE_DETONATION_MODE","hash":"0x82E0AC411E41A5B4","params":[["toggle","BOOL"]],"since":1604,"doc":"Does nothing. It's a nullsub."},
{"name":"setVehicleShuntOnStick","native":"SET_VEHICLE_SHUNT_ON_STICK","hash":"0x99A05839C46CE316","params":[["toggle","BOOL"]],"since":1604,"doc":"Does nothing. It's a nullsub."},
{"name":"isVehicleOnBoostPad","native":"_IS_VEHICLE_ON_BOOST_PAD","hash":"0x71C6302CBCA6CA35","params":[["vehicle","Vehicle"]],"ret":"BOOL","na":1,"since":3407},
{"name":"getIsVehicleShunting","native":"GET_IS_VEHICLE_SHUNTING","hash":"0xA2459F72C14E2E8D","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1604,"aka":["_GET_IS_VEHICLE_SHUNT_BOOST_ACTIVE"]},
{"name":"getHasVehicleBeenHitByShunt","native":"GET_HAS_VEHICLE_BEEN_HIT_BY_SHUNT","hash":"0xE8718FAF591FD224","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1604},
{"name":"getLastShuntVehicle","native":"GET_LAST_SHUNT_VEHICLE","hash":"0x04F2FA6E234162F7","params":[["vehicle","Vehicle"]],"ret":"Vehicle","since":1604,"aka":["_GET_LAST_RAMMED_VEHICLE"],"doc":"Returns last vehicle that was rammed by the given vehicle using the shunt boost."},
{"name":"setDisableVehicleExplosionsDamage","native":"SET_DISABLE_VEHICLE_EXPLOSIONS_DAMAGE","hash":"0x143921E45EC44D62","params":[["toggle","BOOL"]],"since":1604,"aka":["_SET_DISABLE_VEHICLE_UNK"]},
{"name":"setOverrideNitrousLevel","native":"SET_OVERRIDE_NITROUS_LEVEL","hash":"0xC8E9B6B71B8E660D","params":[["vehicle","Vehicle"],["toggle","BOOL"],["level","float"],["power","float"],["rechargeTime","float"],["disableSound","BOOL"]],"since":1604,"aka":["_SET_VEHICLE_NITRO_ENABLED"]},
{"name":"setNitrousIsVisible","native":"_SET_NITROUS_IS_VISIBLE","hash":"0x465EEA70AF251045","params":[["vehicle","Vehicle"],["enabled","BOOL"]],"na":1,"since":3095},
{"name":"setOverrideTractionLossMultiplier","native":"_SET_OVERRIDE_TRACTION_LOSS_MULTIPLIER","hash":"0xAFD262ACCA64479A","params":[["vehicle","Vehicle"],["modifier","float"]],"na":1,"since":3095},
{"name":"setDriftSlipAngleLimits","native":"_SET_DRIFT_SLIP_ANGLE_LIMITS","hash":"0xDAF4C98C18AC6F06","params":[["vehicle","Vehicle"],["durationScalar","float"],["amplitudeScalar","float"],["slipAngleLimit","float"]],"na":1,"since":3095,"doc":"First two floats relate to rumble, the last is a threshold"},
{"name":"setMinimumTimeBetweenGearShifts","native":"_SET_MINIMUM_TIME_BETWEEN_GEAR_SHIFTS","hash":"0x16CFBC5E7EB32861","params":[["vehicle","Vehicle"],["time","int"]],"na":1,"since":3095},
{"name":"fullyChargeNitrous","native":"FULLY_CHARGE_NITROUS","hash":"0x1A2BCC8C636F9226","params":[["vehicle","Vehicle"]],"na":1,"since":3095},
{"name":"setRemainingNitrousDuration","native":"_SET_REMAINING_NITROUS_DURATION","hash":"0x1AD0F63A94E10EFF","params":[["vehicle","Vehicle"],["duration","float"]],"na":1,"since":3407},
{"name":"getRemainingNitrousDuration","native":"_GET_REMAINING_NITROUS_DURATION","hash":"0xBEC4B8653462450E","params":[["vehicle","Vehicle"]],"ret":"float","na":1,"since":3095},
{"name":"isNitrousActive","native":"IS_NITROUS_ACTIVE","hash":"0x491E822B2C464FE4","params":[["vehicle","Vehicle"]],"ret":"BOOL","na":1,"since":3095},
{"name":"clearNitrous","native":"CLEAR_NITROUS","hash":"0xC889AE921400E1ED","params":[["vehicle","Vehicle"]],"na":1,"since":3095},
{"name":"setNitrousIsActive","native":"SET_NITROUS_IS_ACTIVE","hash":"0x9E566EA551F4F1A6","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"na":1,"since":3407},
{"name":"setIncreaseWheelCrushDamage","native":"SET_INCREASE_WHEEL_CRUSH_DAMAGE","hash":"0x2970EAA18FD5E42F","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1604,"aka":["_SET_VEHICLE_WHEELS_DEAL_DAMAGE"]},
{"name":"setDisableWeaponBladeForces","native":"SET_DISABLE_WEAPON_BLADE_FORCES","hash":"0x211E95CE9903940C","params":[["toggle","BOOL"]],"since":1604,"aka":["_SET_DISABLE_VEHICLE_UNK_2"],"doc":"Sets some global vehicle related bool"},
{"name":"setUseDoubleClickForCarJump","native":"SET_USE_DOUBLE_CLICK_FOR_CAR_JUMP","hash":"0x5BBCF35BF6E456F7","params":[["toggle","BOOL"]],"since":1604,"doc":"Changes the car jump control to require a double-tap to activate."},
{"name":"getDoesVehicleHaveTombstone","native":"GET_DOES_VEHICLE_HAVE_TOMBSTONE","hash":"0x71AFB258CCED3A27","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1604,"aka":["_GET_DOES_VEHICLE_HAVE_TOMBSTONE"],"doc":"Returns true only if the \"tombstone\" bone is attached to the vehicle, irrespective of \"FLAG_HAS_TOMBSTONE\" being present or not. Detaching the tombstone will return false."},
{"name":"hideTombstone","native":"HIDE_TOMBSTONE","hash":"0xAE71FB656C600587","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":1604,"aka":["_HIDE_VEHICLE_TOMBSTONE"],"doc":"Disables detachable bumber from domnator4, dominator5, dominator6"},
{"name":"applyEmpEffect","native":"APPLY_EMP_EFFECT","hash":"0x249249D74F813EB2","params":[["vehicle","Vehicle"]],"na":1,"since":3095},
{"name":"getIsVehicleDisabledByEmp","native":"GET_IS_VEHICLE_DISABLED_BY_EMP","hash":"0x0506ED94363AD905","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":1604,"aka":["_GET_IS_VEHICLE_EMP_DISABLED"],"doc":"Returns whether this vehicle is currently disabled by an EMP mine."},
{"name":"setDisableRetractingWeaponBlades","native":"SET_DISABLE_RETRACTING_WEAPON_BLADES","hash":"0x8F0D5BA1C2CC91D7","params":[["toggle","BOOL"]],"since":1604},
{"name":"getTyreHealth","native":"GET_TYRE_HEALTH","hash":"0x55EAB010FAEE9380","params":[["vehicle","Vehicle"],["wheelIndex","int"]],"ret":"float","checked":1,"since":1868,"aka":["_GET_TYRE_HEALTH"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`wheelIndex` must be between `0` and `7`. Otherwise the call is ignored and returns `0.0`: nothing reaches the game, and no error is raised."}],"doc":"Usable wheels:\n0: wheel_lf\n1: wheel_rf\n2: wheel_lm1\n3: wheel_rm1\n4: wheel_lr\n5: wheel_rr"},
{"name":"setTyreHealth","native":"SET_TYRE_HEALTH","hash":"0x74C68EF97645E79D","params":[["vehicle","Vehicle"],["wheelIndex","int"],["health","float"]],"checked":1,"since":1868,"aka":["_SET_TYRE_HEALTH"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`wheelIndex` must be between `0` and `7`; `health` must be a finite number. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"`setTyreWearRate` must be active, otherwise values set to <1000.0f will default to 350.0f\n\nUsable wheels:\n0: wheel_lf\n1: wheel_rf\n2: wheel_lm1\n3: wheel_rm1\n4: wheel_lr\n5: wheel_rr"},
{"name":"getTyreWearRate","native":"GET_TYRE_WEAR_RATE","hash":"0x6E387895952F4F71","params":[["vehicle","Vehicle"],["wheelIndex","int"]],"ret":"float","checked":1,"since":2060,"aka":["_GET_TYRE_WEAR_MULTIPLIER"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`wheelIndex` must be between `0` and `7`. Otherwise the call is ignored and returns `0.0`: nothing reaches the game, and no error is raised."}],"doc":"Returns the multiplier value from `setTyreWearRate`\n\nUsable wheels:\n0: wheel_lf\n1: wheel_rf\n2: wheel_lm1\n3: wheel_rm1\n4: wheel_lr\n5: wheel_rr"},
{"name":"setTyreWearRate","native":"SET_TYRE_WEAR_RATE","hash":"0x01894E2EDE923CA2","params":[["vehicle","Vehicle"],["wheelIndex","int"],["multiplier","float"]],"checked":1,"since":1868,"aka":["_SET_TYRE_WEAR_MULTIPLIER"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`wheelIndex` must be between `0` and `7`; `multiplier` must be a finite number. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Needs to be run for tire wear to work. Multiplier affects the downforce and how fast the tires will wear out, higher values essentially make the vehicle slower on straights and its tires will wear down quicker when cornering. Value must be >0f.\nDefault value in Rockstar's Open Wheel Race JSON's (\"owrtws\", \"owrtwm\", \"owrtwh\") is 1.0\n\nUsable wheels:\n0: wheel_lf\n1: wheel_rf\n2: wheel_lm1\n3: wheel_rm1\n4: wheel_lr\n5: wheel_rr"},
{"name":"setTyreWearRateScale","native":"SET_TYRE_WEAR_RATE_SCALE","hash":"0x392183BB9EA57697","params":[["vehicle","Vehicle"],["wheelIndex","int"],["multiplier","float"]],"na":1,"since":2060,"aka":["_SET_TYRE_SOFTNESS_MULTIPLIER"],"doc":"Controls how fast the tires wear out.\n\nDefault values from Rockstar's Open Wheel Race JSON's:\n\"owrtss\" (Soft): 2.2\n\"owrtsm\" (Medium): 1.7\n\"owrtsh\" (Hard): 1.2\n\nUsable wheels:\n0: wheel_lf\n1: wheel_rf\n2: wheel_lm1\n3: wheel_rm1\n4: wheel_lr\n5: wheel_rr"},
{"name":"setTyreMaximumGripDifferenceDueToWearRate","native":"SET_TYRE_MAXIMUM_GRIP_DIFFERENCE_DUE_TO_WEAR_RATE","hash":"0xC970D0E0FC31D768","params":[["vehicle","Vehicle"],["wheelIndex","int"],["multiplier","float"]],"checked":1,"since":2060,"aka":["_SET_TYRE_TRACTION_LOSS_MULTIPLIER"],"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`wheelIndex` must be between `0` and `7`; `multiplier` must be a finite number. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}],"doc":"Controls how much traction the wheel loses.\n\nDefault values from Rockstar's Open Wheel Race JSON's:\n\"owrtds\" (Soft): 0.05\n\"owrtdm\" (Medium): 0.45\n\"owrtdh\" (Hard): 0.8\n\nUsable wheels:\n0: wheel_lf\n1: wheel_rf\n2: wheel_lm1\n3: wheel_rm1\n4: wheel_lr\n5: wheel_rr"},
{"name":"setAircraftIgnoreHightmapOptimisation","native":"SET_AIRCRAFT_IGNORE_HIGHTMAP_OPTIMISATION","hash":"0xF8B49F5BA7F850E7","params":[["vehicle","Vehicle"],["p1","int"]],"since":2060},
{"name":"setReducedSuspensionForce","native":"SET_REDUCED_SUSPENSION_FORCE","hash":"0x3A375167F5782A65","params":[["vehicle","Vehicle"],["enable","BOOL"]],"since":2372,"aka":["_SET_REDUCE_DRIFT_VEHICLE_SUSPENSION"],"doc":"Lowers the vehicle's stance. Only works for vehicles that have strAdvancedFlags 0x8000 and 0x4000000 set."},
{"name":"setDriftTyres","native":"SET_DRIFT_TYRES","hash":"0x5AC79C98C5C17F05","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":2372,"aka":["_SET_DRIFT_TYRES_ENABLED"]},
{"name":"getDriftTyresSet","native":"GET_DRIFT_TYRES_SET","hash":"0x2F5A72430E78C8D3","params":[["vehicle","Vehicle"]],"ret":"BOOL","since":2372,"aka":["_GET_DRIFT_TYRES_ENABLED"]},
{"name":"networkUseHighPrecisionTrainBlending","native":"NETWORK_USE_HIGH_PRECISION_TRAIN_BLENDING","hash":"0xEC0C1D4922AF9754","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"since":2372,"aka":["_NETWORK_USE_HIGH_PRECISION_VEHICLE_BLENDING"],"doc":"Implemented only for trains."},
{"name":"setCheckForEnoughRoomForPed","native":"SET_CHECK_FOR_ENOUGH_ROOM_FOR_PED","hash":"0xEF9D388F8D377F44","params":[["vehicle","Vehicle"],["p1","BOOL"]],"since":2699,"doc":"Only used in R* Script fm_content_cargo"},
{"name":"setAllowCollisionWhenInVehicle","native":"_SET_ALLOW_COLLISION_WHEN_IN_VEHICLE","hash":"0x27D27223E8EF22ED","params":[["vehicle","Vehicle"],["toggle","BOOL"]],"na":1,"since":3095,"doc":"_SET_ALLOW_R* - _SET_ALLOW_V*"},
{"name":"getVehicleMaxExhaustBoneCount","native":"_GET_VEHICLE_MAX_EXHAUST_BONE_COUNT","hash":"0x3EE18B00CD86C54F","ret":"int","na":1,"since":3095},
{"name":"getVehicleExhaustBone","native":"_GET_VEHICLE_EXHAUST_BONE","hash":"0xE728F090D538CB18","params":[["vehicle","Vehicle"],["index","int"]],"ret":"BOOL","outs":[["boneIndex","int",2],["axisX","BOOL",3]],"na":1,"since":3095}
]},
{"id":"WATER","title":"Water","doc":"Water height, waves and water probes.","natives":[
{"name":"getWaterHeight","native":"GET_WATER_HEIGHT","hash":"0xF6829842C06AE524","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","outs":[["height","float",3]],"doc":"This function set height to the value of z-axis of the water surface.\n\nThis function works with sea and lake. However it does not work with shallow rivers (e.g. raton canyon will return -100000.0f)\n\nnote: seems to return true when you are in water"},
{"name":"getWaterHeightNoWaves","native":"GET_WATER_HEIGHT_NO_WAVES","hash":"0x8EE6B53CE13A9794","params":[["x","float"],["y","float"],["z","float"]],"ret":"BOOL","outs":[["height","float",3]]},
{"name":"testProbeAgainstWater","native":"TEST_PROBE_AGAINST_WATER","hash":"0xFFA5D878809819DB","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"]],"ret":"BOOL","outs":[["result","Vector3",6]]},
{"name":"testProbeAgainstAllWater","native":"TEST_PROBE_AGAINST_ALL_WATER","hash":"0x8974647ED222EA5F","params":[["x1","float"],["y1","float"],["z1","float"],["x2","float"],["y2","float"],["z2","float"],["flags","int"]],"ret":"int","outs":[["waterHeight","float",7]]},
{"name":"testVerticalProbeAgainstAllWater","native":"TEST_VERTICAL_PROBE_AGAINST_ALL_WATER","hash":"0x2B3451FA1E3142E2","params":[["x","float"],["y","float"],["z","float"],["flags","int"]],"ret":"int","outs":[["waterHeight","float",4]],"doc":"See `testProbeAgainstAllWater`."},
{"name":"modifyWater","native":"MODIFY_WATER","hash":"0xC443FD757C3BA637","params":[["x","float"],["y","float"],["radius","float"],["height","float"]],"doc":"Sets the water height for a given position and radius."},
{"name":"addExtraCalmingQuad","native":"ADD_EXTRA_CALMING_QUAD","hash":"0xFDBF4CDBC07E1706","params":[["xLow","float"],["yLow","float"],["xHigh","float"],["yHigh","float"],["height","float"]],"ret":"int","aka":["_ADD_CURRENT_RISE"]},
{"name":"removeExtraCalmingQuad","native":"REMOVE_EXTRA_CALMING_QUAD","hash":"0xB1252E3E59A82AAF","params":[["calmingQuad","int"]],"aka":["_REMOVE_CURRENT_RISE"],"doc":"p0 is the handle returned from `addExtraCalmingQuad`"},
{"name":"setDeepOceanScaler","native":"SET_DEEP_OCEAN_SCALER","hash":"0xB96B00E976BE977F","params":[["intensity","float"]],"aka":["_SET_WAVES_INTENSITY","_SET_CURRENT_INTENSITY"],"doc":"Sets a value that determines how aggressive the ocean waves will be. Values of 2.0 or more make for very aggressive waves like you see during a thunderstorm.\n\nWorks only ~200 meters around the player."},
{"name":"getDeepOceanScaler","native":"GET_DEEP_OCEAN_SCALER","hash":"0x2B2A2CC86778B619","ret":"float","aka":["_GET_WAVES_INTENSITY","_GET_CURRENT_INTENSITY"],"doc":"Gets the aggressiveness factor of the ocean waves."},
{"name":"setCalmedWaveHeightScaler","native":"SET_CALMED_WAVE_HEIGHT_SCALER","hash":"0x547237AA71AB44DE","params":[["height","float"]],"since":573},
{"name":"resetDeepOceanScaler","native":"RESET_DEEP_OCEAN_SCALER","hash":"0x5E5E99285AE812DB","aka":["_RESET_WAVES_INTENSITY","_RESET_CURRENT_INTENSITY"],"doc":"Sets the waves intensity back to original (1.0 in most cases)."}
]},
{"id":"WEAPON","title":"Weapon","doc":"Weapons, ammunition, components and weapon objects.","natives":[
{"name":"enableLaserSightRendering","native":"ENABLE_LASER_SIGHT_RENDERING","hash":"0xC8B46D7727D864AA","params":[["toggle","BOOL"]],"doc":"Enables laser sight on any weapon.\n\nIt doesn't work. Neither on tick nor OnKeyDown"},
{"name":"getWeaponComponentTypeModel","native":"GET_WEAPON_COMPONENT_TYPE_MODEL","hash":"0x0DB57B41EC1DB083","params":[["componentHash","Hash"]],"ret":"Hash"},
{"name":"getWeapontypeModel","native":"GET_WEAPONTYPE_MODEL","hash":"0xF46CDC33180FDA94","params":[["weaponHash","Hash"]],"ret":"Hash","doc":"Returns the model of any weapon."},
{"name":"getWeapontypeSlot","native":"GET_WEAPONTYPE_SLOT","hash":"0x4215460B9B8B7FA0","params":[["weaponHash","Hash"]],"ret":"Hash"},
{"name":"getWeapontypeGroup","native":"GET_WEAPONTYPE_GROUP","hash":"0xC3287EE3050FB74C","params":[["weaponHash","Hash"]],"ret":"Hash"},
{"name":"getWeaponComponentVariantExtraCount","native":"GET_WEAPON_COMPONENT_VARIANT_EXTRA_COUNT","hash":"0x6558AC7C17BFEF58","params":[["componentHash","Hash"]],"ret":"int","since":372,"aka":["_GET_WEAPON_COMPONENT_VARIANT_EXTRA_COMPONENT_COUNT"],"doc":"Returns the amount of extra components the specified component has."},
{"name":"getWeaponComponentVariantExtraModel","native":"GET_WEAPON_COMPONENT_VARIANT_EXTRA_MODEL","hash":"0x4D1CB8DC40208A17","params":[["componentHash","Hash"],["extraComponentIndex","int"]],"ret":"Hash","since":372,"aka":["_GET_WEAPON_COMPONENT_VARIANT_EXTRA_COMPONENT_MODEL"],"doc":"Returns the model hash of the extra component at specified index."},
{"name":"setCurrentPedWeapon","native":"SET_CURRENT_PED_WEAPON","hash":"0xADF692B254977C0C","params":[["ped","Ped"],["weaponHash","Hash"],["bForceInHand","BOOL"]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getCurrentPedWeapon","native":"GET_CURRENT_PED_WEAPON","hash":"0x3A87E44BB9A01D54","params":[["ped","Ped"],["doDeadCheck","BOOL"]],"ret":"BOOL","outs":[["weaponHash","Hash",1]],"doc":"Returns true if the hash of the equipped weapon object equals the weapon hash.\ndoDeadCheck does nothing in release builds."},
{"name":"getCurrentPedWeaponEntityIndex","native":"GET_CURRENT_PED_WEAPON_ENTITY_INDEX","hash":"0x3B390A939AF0B5FC","params":[["ped","Ped"],["p1","Any"]],"ret":"Entity","doc":"doDeadCheck does nothing in release builds."},
{"name":"getBestPedWeapon","native":"GET_BEST_PED_WEAPON","hash":"0x8483E98E8B888AE2","params":[["ped","Ped"],["bIgnoreAmmoCheck","BOOL"]],"ret":"Hash","doc":"bIgnoreAmmoCheck is always false in the scripts."},
{"name":"setCurrentPedVehicleWeapon","native":"SET_CURRENT_PED_VEHICLE_WEAPON","hash":"0x75C55983C2C39DAA","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"BOOL","doc":"Full list of weapons by DurtyFree (Search for VEHICLE_*): https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getCurrentPedVehicleWeapon","native":"GET_CURRENT_PED_VEHICLE_WEAPON","hash":"0x1017582BCD3832DC","params":[["ped","Ped"]],"ret":"BOOL","outs":[["weaponHash","Hash",1]],"doc":"Example in VB\n\n```\nPublic Shared Function GetVehicleCurrentWeapon(Ped As Ped) As Integer\n    Dim arg As New OutputArgument()\n    Native.Function.Call(Hash.GET_CURRENT_PED_VEHICLE_WEAPON, Ped, arg)\n    Return arg.GetResult(Of Integer)()\nEnd Function\n```\n\nUsage:\nIf GetVehicleCurrentWeapon(Game.Player.Character) = -821520672 Then ...Do something\nNote: -821520672 = VEHICLE_WEAPON_PLANE_ROCKET"},
{"name":"setPedCycleVehicleWeaponsOnly","native":"SET_PED_CYCLE_VEHICLE_WEAPONS_ONLY","hash":"0x50276EF8172F5F12","params":[["ped","Ped"]],"since":1734},
{"name":"isPedArmed","native":"IS_PED_ARMED","hash":"0x475768A975D5AD17","params":[["ped","Ped"],["typeFlags","int"]],"ret":"BOOL","doc":"Checks if the ped is currently equipped with a weapon matching a bit specified using a bitwise-or in typeFlags.\n\nType flag bit values:\n1 = Melee weapons\n2 = Explosive weapons\n4 = Any other weapons\n\nNot specifying any bit will lead to the native *always* returning 'false', and for example specifying '4 | 2' will check for any weapon except fists and melee weapons.\n7 returns true if you are equipped with any weapon except your fists.\n6 returns true if you are equipped with any weapon except melee weapons.\n5 returns true if you are equipped with any weapon except the Explosives weapon group.\n4 returns true if you are equipped with any weapon except Explosives weapon group AND melee weapons.\n3 returns true if you are equipped with either Explosives or Melee weapons (the exact opposite of 4).\n2 returns true only if you are equipped with any weapon from the Explosives weapon group.\n1 returns true only if you are equipped with any Melee weapon.\n0 never returns true.\n\nNote: When I say \"Explosives weapon group\", it does not include the Jerry can and Fire Extinguisher."},
{"name":"isWeaponValid","native":"IS_WEAPON_VALID","hash":"0x937C71165CF334B3","params":[["weaponHash","Hash"]],"ret":"BOOL","doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"hasPedGotWeapon","native":"HAS_PED_GOT_WEAPON","hash":"0x8DECB02F88F428BC","params":[["ped","Ped"],["weaponHash","Hash"],["p2","BOOL"]],"ret":"BOOL","doc":"p2 should be FALSE, otherwise it seems to always return FALSE\n\nBool does not check if the weapon is current equipped, unfortunately.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"isPedWeaponReadyToShoot","native":"IS_PED_WEAPON_READY_TO_SHOOT","hash":"0xB80CA294F2F26749","params":[["ped","Ped"]],"ret":"BOOL"},
{"name":"getPedWeapontypeInSlot","native":"GET_PED_WEAPONTYPE_IN_SLOT","hash":"0xEFFED78E9011134D","params":[["ped","Ped"],["weaponSlot","Hash"]],"ret":"Hash"},
{"name":"getAmmoInPedWeapon","native":"GET_AMMO_IN_PED_WEAPON","hash":"0x015A522136D7F951","params":[["ped","Ped"],["weaponhash","Hash"]],"ret":"int","doc":"`getAmmoInPedWeapon`(`playerPedId`(), a_0)\n\nFrom decompiled scripts\nReturns total ammo in weapon\n\nGTALua Example :\nnatives.WEAPON.GET_AMMO_IN_PED_WEAPON(plyPed, WeaponHash)\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"addAmmoToPed","native":"ADD_AMMO_TO_PED","hash":"0x78F0424C34306220","params":[["ped","Ped"],["weaponHash","Hash"],["ammo","int"]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setPedAmmo","native":"SET_PED_AMMO","hash":"0x14E56BC5B5DB6A19","params":[["ped","Ped"],["weaponHash","Hash"],["ammo","int"],["p3","BOOL"]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setPedInfiniteAmmo","native":"SET_PED_INFINITE_AMMO","hash":"0x3EDCB0505123623B","params":[["ped","Ped"],["toggle","BOOL"],["weaponHash","Hash"]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setPedInfiniteAmmoClip","native":"SET_PED_INFINITE_AMMO_CLIP","hash":"0x183DADC6AA953186","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"setPedStunGunFiniteAmmo","native":"SET_PED_STUN_GUN_FINITE_AMMO","hash":"0x24C024BA8379A70A","params":[["p0","Any"],["p1","Any"]],"since":1868},
{"name":"giveWeaponToPed","native":"GIVE_WEAPON_TO_PED","hash":"0xBF0FD6E56C964FCB","params":[["ped","Ped"],["weaponHash","Hash"],["ammoCount","int"],["isHidden","BOOL"],["bForceInHand","BOOL"]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"giveDelayedWeaponToPed","native":"GIVE_DELAYED_WEAPON_TO_PED","hash":"0xB282DC6EBD803C75","params":[["ped","Ped"],["weaponHash","Hash"],["ammoCount","int"],["bForceInHand","BOOL"]],"doc":"Gives a weapon to PED with a delay, example:\n\n`giveDelayedWeaponToPed`(`playerPedId`(), `getHashKey`(\"WEAPON_PISTOL\"), 1000, false)\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"removeAllPedWeapons","native":"REMOVE_ALL_PED_WEAPONS","hash":"0xF25DF915FA38C5F3","params":[["ped","Ped"],["p1","BOOL"]],"doc":"setting the last params to false it does that same so I would suggest its not a toggle"},
{"name":"removeWeaponFromPed","native":"REMOVE_WEAPON_FROM_PED","hash":"0x4899CB088EDF59B8","params":[["ped","Ped"],["weaponHash","Hash"]],"doc":"This native removes a specified weapon from your selected ped.\n\nExample:\nC#:\n\n```\nFunction.Call(Hash.REMOVE_WEAPON_FROM_PED, Game.Player.Character, 0x99B507EA);\n```\n\nC++:\n\n```\nremoveWeaponFromPed(playerPedId(), 0x99B507EA);\n```\n\nThe code above removes the knife from the player.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"hidePedWeaponForScriptedCutscene","native":"HIDE_PED_WEAPON_FOR_SCRIPTED_CUTSCENE","hash":"0x6F6981D2253C208F","params":[["ped","Ped"],["toggle","BOOL"]],"doc":"Hides the players weapon during a cutscene."},
{"name":"setPedCurrentWeaponVisible","native":"SET_PED_CURRENT_WEAPON_VISIBLE","hash":"0x0725A4CCFDED9A70","params":[["ped","Ped"],["visible","BOOL"],["deselectWeapon","BOOL"],["p3","BOOL"],["p4","BOOL"]],"doc":"Has 5 parameters since latest patches."},
{"name":"setPedDropsWeaponsWhenDead","native":"SET_PED_DROPS_WEAPONS_WHEN_DEAD","hash":"0x476AE72C1D19D1A8","params":[["ped","Ped"],["toggle","BOOL"]]},
{"name":"hasPedBeenDamagedByWeapon","native":"HAS_PED_BEEN_DAMAGED_BY_WEAPON","hash":"0x2D343D2219CD027A","params":[["ped","Ped"],["weaponHash","Hash"],["weaponType","int"]],"ret":"BOOL","doc":"It determines what weapons caused damage:\n\nIf you want to define only a specific weapon, second parameter=weapon hash code, third parameter=0\nIf you want to define any melee weapon, second parameter=0, third parameter=1.\nIf you want to identify any weapon (firearms, melee, rockets, etc.), second parameter=0, third parameter=2.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"clearPedLastWeaponDamage","native":"CLEAR_PED_LAST_WEAPON_DAMAGE","hash":"0x0E98F88A24C5F4B8","params":[["ped","Ped"]],"doc":"Does NOT seem to work with `hasPedBeenDamagedByWeapon`. Use `clearEntityLastWeaponDamage` and `hasEntityBeenDamagedByWeapon` instead."},
{"name":"hasEntityBeenDamagedByWeapon","native":"HAS_ENTITY_BEEN_DAMAGED_BY_WEAPON","hash":"0x131D401334815E94","params":[["entity","Entity"],["weaponHash","Hash"],["weaponType","int"]],"ret":"BOOL","doc":"It determines what weapons caused damage:\n\nIf you want to define only a specific weapon, second parameter=weapon hash code, third parameter=0\nIf you want to define any melee weapon, second parameter=0, third parameter=1.\nIf you want to identify any weapon (firearms, melee, rockets, etc.), second parameter=0, third parameter=2.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"clearEntityLastWeaponDamage","native":"CLEAR_ENTITY_LAST_WEAPON_DAMAGE","hash":"0xAC678E40BE7C74D2","params":[["entity","Entity"]]},
{"name":"setPedDropsWeapon","native":"SET_PED_DROPS_WEAPON","hash":"0x6B7513D9966FBEC0","params":[["ped","Ped"]]},
{"name":"setPedDropsInventoryWeapon","native":"SET_PED_DROPS_INVENTORY_WEAPON","hash":"0x208A1888007FC0E6","params":[["ped","Ped"],["weaponHash","Hash"],["xOffset","float"],["yOffset","float"],["zOffset","float"],["ammoCount","int"]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getMaxAmmoInClip","native":"GET_MAX_AMMO_IN_CLIP","hash":"0xA38DCFFCEA8962FA","params":[["ped","Ped"],["weaponHash","Hash"],["p2","BOOL"]],"ret":"int","doc":"p2 is mostly 1 in the scripts.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getTimeBeforeVehicleWeaponReloadFinishes","native":"_GET_TIME_BEFORE_VEHICLE_WEAPON_RELOAD_FINISHES","hash":"0xC8C6F4B1CDEB40EF","params":[["vehicle","Vehicle"],["seat","int"]],"ret":"int","na":1,"since":3407},
{"name":"hasWeaponReloadingInVehicle","native":"_HAS_WEAPON_RELOADING_IN_VEHICLE","hash":"0x8062F07153F4446F","params":[["vehicle","Vehicle"],["seat","int"]],"ret":"BOOL","na":1,"since":3407},
{"name":"getVehicleWeaponReloadTime","native":"_GET_VEHICLE_WEAPON_RELOAD_TIME","hash":"0xD0AD348FFD7A6868","params":[["vehicle","Vehicle"],["seat","int"]],"ret":"float","na":1,"since":3407},
{"name":"getAmmoInVehicleWeaponClip","native":"_GET_AMMO_IN_VEHICLE_WEAPON_CLIP","hash":"0x2857938C5D407AFA","params":[["vehicle","Vehicle"],["seat","int"]],"ret":"BOOL","outs":[["ammo","int",2]],"na":1,"since":3407},
{"name":"getAmmoInClip","native":"GET_AMMO_IN_CLIP","hash":"0x2E1202248937775C","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"BOOL","outs":[["ammo","int",2]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setAmmoInVehicleWeaponClip","native":"_SET_AMMO_IN_VEHICLE_WEAPON_CLIP","hash":"0x873906720EE842C3","params":[["vehicle","Vehicle"],["seat","int"],["ammo","int"]],"ret":"BOOL","na":1,"since":3407},
{"name":"setAmmoInClip","native":"SET_AMMO_IN_CLIP","hash":"0xDCD2A934D65CB497","params":[["ped","Ped"],["weaponHash","Hash"],["ammo","int"]],"ret":"BOOL","doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getMaxAmmo","native":"GET_MAX_AMMO","hash":"0xDC16122C7A20C933","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"BOOL","outs":[["ammo","int",2]],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getMaxAmmoByType","native":"GET_MAX_AMMO_BY_TYPE","hash":"0x585847C5E4E11709","params":[["ped","Ped"],["ammoTypeHash","Hash"]],"ret":"BOOL","outs":[["ammo","int",2]],"since":1103,"aka":["_GET_MAX_AMMO_2","_GET_MAX_AMMO_BY_TYPE"],"doc":"Returns the max ammo for an ammo type. Ammo types: https://gist.github.com/root-cause/faf41f59f7a6d818b7db0b839bd147c1"},
{"name":"addPedAmmoByType","native":"ADD_PED_AMMO_BY_TYPE","hash":"0x2472622CE1F2D45F","params":[["ped","Ped"],["ammoTypeHash","Hash"],["ammo","int"]],"since":1103,"aka":["_ADD_PED_AMMO","_ADD_AMMO_TO_PED_BY_TYPE"],"doc":"Ammo types: https://gist.github.com/root-cause/faf41f59f7a6d818b7db0b839bd147c1"},
{"name":"setPedAmmoByType","native":"SET_PED_AMMO_BY_TYPE","hash":"0x5FD1E1F011E76D7E","params":[["ped","Ped"],["ammoTypeHash","Hash"],["ammo","int"]],"doc":"Ammo types: https://gist.github.com/root-cause/faf41f59f7a6d818b7db0b839bd147c1"},
{"name":"getPedAmmoByType","native":"GET_PED_AMMO_BY_TYPE","hash":"0x39D22031557946C1","params":[["ped","Ped"],["ammoTypeHash","Hash"]],"ret":"int"},
{"name":"setPedAmmoToDrop","native":"SET_PED_AMMO_TO_DROP","hash":"0xA4EFEF9440A5B0EF","params":[["ped","Ped"],["p1","int"]]},
{"name":"setPickupAmmoAmountScaler","native":"SET_PICKUP_AMMO_AMOUNT_SCALER","hash":"0xE620FD3512A04F18","params":[["p0","float"]]},
{"name":"getPedAmmoTypeFromWeapon","native":"GET_PED_AMMO_TYPE_FROM_WEAPON","hash":"0x7FEAD38B326B9F74","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"Hash","aka":["_GET_PED_AMMO_TYPE"],"doc":"Returns the current ammo type of the specified ped's specified weapon.\nMkII magazines will change the return value, like Pistol MkII returning AMMO_PISTOL without any components and returning AMMO_PISTOL_TRACER after Tracer Rounds component is attached.\nUse `getPedOriginalAmmoTypeFromWeapon` if you always want AMMO_PISTOL.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getPedOriginalAmmoTypeFromWeapon","native":"GET_PED_ORIGINAL_AMMO_TYPE_FROM_WEAPON","hash":"0xF489B44DD5AF4BD9","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"Hash","since":1103,"aka":["_GET_PED_AMMO_TYPE_FROM_WEAPON_2"],"doc":"Returns the base/default ammo type of the specified ped's specified weapon.\nUse `getPedAmmoTypeFromWeapon` if you want current ammo type (like AMMO_MG_INCENDIARY/AMMO_MG_TRACER while using MkII magazines) and use this if you want base ammo type. (AMMO_MG)\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getPedLastWeaponImpactCoord","native":"GET_PED_LAST_WEAPON_IMPACT_COORD","hash":"0x6C4D0409BA1A2BC2","params":[["ped","Ped"]],"ret":"BOOL","outs":[["coords","Vector3",1]],"doc":"Pass ped. Pass address of Vector3.\nThe coord will be put into the Vector3.\nThe return will determine whether there was a coord found or not."},
{"name":"setPedGadget","native":"SET_PED_GADGET","hash":"0xD0D7B1E680ED4A1A","params":[["ped","Ped"],["gadgetHash","Hash"],["p2","BOOL"]],"doc":"p1/gadgetHash was always 0xFBAB5776 (\"GADGET_PARACHUTE\").\np2 is always true."},
{"name":"getIsPedGadgetEquipped","native":"GET_IS_PED_GADGET_EQUIPPED","hash":"0xF731332072F5156C","params":[["ped","Ped"],["gadgetHash","Hash"]],"ret":"BOOL","doc":"gadgetHash - was always 0xFBAB5776 (\"GADGET_PARACHUTE\")."},
{"name":"getSelectedPedWeapon","native":"GET_SELECTED_PED_WEAPON","hash":"0x0A6DB4965674D243","params":[["ped","Ped"]],"ret":"Hash","doc":"Returns the hash of the weapon.\n\n```\nvar num7 = getSelectedPedWeapon(num4);\nsub_27D3(num7);\nswitch (num7)\n{\n    case 0x24B17070:\n```\n\nAlso see `getCurrentPedWeapon`. Difference?\n\n---\n\nThe difference is that `getSelectedPedWeapon` simply returns the ped's current weapon hash but `getCurrentPedWeapon` also checks the weapon object and returns true if the hash of the weapon object equals the weapon hash\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"explodeProjectiles","native":"EXPLODE_PROJECTILES","hash":"0xFC4BD125DE7611E4","params":[["ped","Ped"],["weaponHash","Hash"],["instant","BOOL"]]},
{"name":"removeAllProjectilesOfType","native":"REMOVE_ALL_PROJECTILES_OF_TYPE","hash":"0xFC52E0F37E446528","params":[["weaponHash","Hash"],["explode","BOOL"]],"doc":"If `explode` true, then removal is done through exploding the projectile. Basically the same as `explodeProjectiles` but without defining the owner ped."},
{"name":"getLockonDistanceOfCurrentPedWeapon","native":"GET_LOCKON_DISTANCE_OF_CURRENT_PED_WEAPON","hash":"0x840F03E9041E2C9C","params":[["ped","Ped"]],"ret":"float","aka":["_GET_LOCKON_RANGE_OF_CURRENT_PED_WEAPON"]},
{"name":"getMaxRangeOfCurrentPedWeapon","native":"GET_MAX_RANGE_OF_CURRENT_PED_WEAPON","hash":"0x814C9D19DFD69679","params":[["ped","Ped"]],"ret":"float"},
{"name":"hasVehicleGotProjectileAttached","native":"HAS_VEHICLE_GOT_PROJECTILE_ATTACHED","hash":"0x717C8481234E3B88","params":[["driver","Ped"],["vehicle","Vehicle"],["weaponHash","Hash"],["p3","Any"]],"ret":"BOOL","doc":"Fourth Parameter = unsure, almost always -1"},
{"name":"giveWeaponComponentToPed","native":"GIVE_WEAPON_COMPONENT_TO_PED","hash":"0xD966D51AA5B28BB9","params":[["ped","Ped"],["weaponHash","Hash"],["componentHash","Hash"]],"doc":"Full list of weapons & components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"removeWeaponComponentFromPed","native":"REMOVE_WEAPON_COMPONENT_FROM_PED","hash":"0x1E8BE90C74FB4C09","params":[["ped","Ped"],["weaponHash","Hash"],["componentHash","Hash"]],"doc":"Full list of weapons & components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"hasPedGotWeaponComponent","native":"HAS_PED_GOT_WEAPON_COMPONENT","hash":"0xC593212475FAE340","params":[["ped","Ped"],["weaponHash","Hash"],["componentHash","Hash"]],"ret":"BOOL","doc":"Full list of weapons & components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"isPedWeaponComponentActive","native":"IS_PED_WEAPON_COMPONENT_ACTIVE","hash":"0x0D78DE0572D3969E","params":[["ped","Ped"],["weaponHash","Hash"],["componentHash","Hash"]],"ret":"BOOL","doc":"Full list of weapons & components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"refillAmmoInstantly","native":"REFILL_AMMO_INSTANTLY","hash":"0x8C0D57EA686FAD87","params":[["ped","Ped"]],"ret":"BOOL","aka":["_PED_SKIP_NEXT_RELOADING"]},
{"name":"makePedReload","native":"MAKE_PED_RELOAD","hash":"0x20AE33F3AC9C0033","params":[["ped","Ped"]],"ret":"BOOL","doc":"Forces a ped to reload only if they are able to; if they have a full magazine, they will not reload."},
{"name":"triggerVehicleWeaponReload","native":"_TRIGGER_VEHICLE_WEAPON_RELOAD","hash":"0x5B1513F27F279A44","params":[["vehicle","Vehicle"],["seat","int"],["ped","Ped"]],"ret":"BOOL","na":1,"since":3407},
{"name":"requestWeaponAsset","native":"REQUEST_WEAPON_ASSET","hash":"0x5443438F033E29C3","params":[["weaponHash","Hash"],["p1","int"],["p2","int"]],"doc":"Nearly every instance of p1 I found was 31. Nearly every instance of p2 I found was 0.\n\n```\nrequestWeaponAsset(iLocal_1888, 31, 26);\n```"},
{"name":"hasWeaponAssetLoaded","native":"HAS_WEAPON_ASSET_LOADED","hash":"0x36E353271F0E90EE","params":[["weaponHash","Hash"]],"ret":"BOOL"},
{"name":"removeWeaponAsset","native":"REMOVE_WEAPON_ASSET","hash":"0xAA08EF13F341C8FC","params":[["weaponHash","Hash"]]},
{"name":"createWeaponObject","native":"CREATE_WEAPON_OBJECT","hash":"0x9541D3CF0D398F36","params":[["weaponHash","Hash"],["ammoCount","int"],["x","float"],["y","float"],["z","float"],["showWorldModel","BOOL"],["scale","float"],["p7","Any"],["p8","Any"],["p9","Any"]],"ret":"Object","doc":"Now has 8 params."},
{"name":"giveWeaponComponentToWeaponObject","native":"GIVE_WEAPON_COMPONENT_TO_WEAPON_OBJECT","hash":"0x33E179436C0B31DB","params":[["weaponObject","Object"],["componentHash","Hash"]],"doc":"componentHash:\n(use `getWeaponComponentTypeModel`() to get hash value)\n${component_at_ar_flsh}, ${component_at_ar_supp}, ${component_at_pi_flsh}, ${component_at_scope_large}, ${component_at_ar_supp_02}"},
{"name":"removeWeaponComponentFromWeaponObject","native":"REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT","hash":"0xF7D82B0D66777611","params":[["object","Object"],["componentHash","Hash"]],"doc":"see `doesWeaponTakeWeaponComponent` for full list of weapons & components"},
{"name":"hasWeaponGotWeaponComponent","native":"HAS_WEAPON_GOT_WEAPON_COMPONENT","hash":"0x76A18844E743BF91","params":[["weapon","Object"],["componentHash","Hash"]],"ret":"BOOL","doc":"see `doesWeaponTakeWeaponComponent` for full list of weapons & components"},
{"name":"giveWeaponObjectToPed","native":"GIVE_WEAPON_OBJECT_TO_PED","hash":"0xB1FA61371AF7C4B7","params":[["weaponObject","Object"],["ped","Ped"]]},
{"name":"doesWeaponTakeWeaponComponent","native":"DOES_WEAPON_TAKE_WEAPON_COMPONENT","hash":"0x5CEE3DF569CECAB0","params":[["weaponHash","Hash"],["componentHash","Hash"]],"ret":"BOOL","doc":"Full list of weapons & components by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getWeaponObjectFromPed","native":"GET_WEAPON_OBJECT_FROM_PED","hash":"0xCAE1DC9A0E22A16D","params":[["ped","Ped"],["p1","BOOL"]],"ret":"Object","doc":"Drops the current weapon and returns the object\n\nUnknown behavior when unarmed."},
{"name":"giveLoadoutToPed","native":"GIVE_LOADOUT_TO_PED","hash":"0x68F8BE6AF5CDF8A6","params":[["ped","Ped"],["loadoutHash","Hash"]],"since":505,"aka":["_GIVE_LOADOUT_TO_PED"],"doc":"Gives the specified loadout to the specified ped.\nLoadouts are defined in common.rpf\\data\\ai\\loadouts.meta"},
{"name":"setPedWeaponTintIndex","native":"SET_PED_WEAPON_TINT_INDEX","hash":"0x50969B9B89ED5738","params":[["ped","Ped"],["weaponHash","Hash"],["tintIndex","int"]],"doc":"tintIndex can be the following:\n\n0 - Normal\n1 - Green\n2 - Gold\n3 - Pink\n4 - Army\n5 - LSPD\n6 - Orange\n7 - Platinum\nFull list of weapons, components & tint indexes by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getPedWeaponTintIndex","native":"GET_PED_WEAPON_TINT_INDEX","hash":"0x2B9EEDC07BD06B9F","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"int","doc":"Full list of weapons, components & tint indexes by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setWeaponObjectTintIndex","native":"SET_WEAPON_OBJECT_TINT_INDEX","hash":"0xF827589017D4E4A9","params":[["weapon","Object"],["tintIndex","int"]],"doc":"Full list of weapons, components & tint indexes by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getWeaponObjectTintIndex","native":"GET_WEAPON_OBJECT_TINT_INDEX","hash":"0xCD183314F7CD2E57","params":[["weapon","Object"]],"ret":"int"},
{"name":"getWeaponTintCount","native":"GET_WEAPON_TINT_COUNT","hash":"0x5DCF6C5CAB2E9BF7","params":[["weaponHash","Hash"]],"ret":"int","doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setPedWeaponComponentTintIndex","native":"SET_PED_WEAPON_COMPONENT_TINT_INDEX","hash":"0x9FE5633880ECD8ED","params":[["ped","Ped"],["weaponHash","Hash"],["camoComponentHash","Hash"],["colorIndex","int"]],"since":1103,"aka":["_SET_PED_WEAPON_LIVERY_COLOR"],"doc":"Colors:\n0 = Gray\n1 = Dark Gray\n2 = Black\n3 = White\n4 = Blue\n5 = Cyan\n6 = Aqua\n7 = Cool Blue\n8 = Dark Blue\n9 = Royal Blue\n10 = Plum\n11 = Dark Purple\n12 = Purple\n13 = Red\n14 = Wine Red\n15 = Magenta\n16 = Pink\n17 = Salmon\n18 = Hot Pink\n19 = Rust Orange\n20 = Brown\n21 = Earth\n22 = Orange\n23 = Light Orange\n24 = Dark Yellow\n25 = Yellow\n26 = Light Brown\n27 = Lime Green\n28 = Olive\n29 = Moss\n30 = Turquoise\n31 = Dark Green\nFull list of weapons, components, tint indexes & weapon liveries by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getPedWeaponComponentTintIndex","native":"GET_PED_WEAPON_COMPONENT_TINT_INDEX","hash":"0xF0A60040BE558F2D","params":[["ped","Ped"],["weaponHash","Hash"],["camoComponentHash","Hash"]],"ret":"int","since":1103,"aka":["_GET_PED_WEAPON_LIVERY_COLOR"],"doc":"Returns -1 if camoComponentHash is invalid/not attached to the weapon.\nFull list of weapons, components, tint indexes & weapon liveries by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setWeaponObjectComponentTintIndex","native":"SET_WEAPON_OBJECT_COMPONENT_TINT_INDEX","hash":"0x5DA825A85D0EA6E6","params":[["weaponObject","Object"],["camoComponentHash","Hash"],["colorIndex","int"]],"since":1103,"aka":["_SET_WEAPON_OBJECT_LIVERY_COLOR"],"doc":"Colors:\n0 = Gray\n1 = Dark Gray\n2 = Black\n3 = White\n4 = Blue\n5 = Cyan\n6 = Aqua\n7 = Cool Blue\n8 = Dark Blue\n9 = Royal Blue\n10 = Plum\n11 = Dark Purple\n12 = Purple\n13 = Red\n14 = Wine Red\n15 = Magenta\n16 = Pink\n17 = Salmon\n18 = Hot Pink\n19 = Rust Orange\n20 = Brown\n21 = Earth\n22 = Orange\n23 = Light Orange\n24 = Dark Yellow\n25 = Yellow\n26 = Light Brown\n27 = Lime Green\n28 = Olive\n29 = Moss\n30 = Turquoise\n31 = Dark Green\nFull list of weapons, components, tint indexes & weapon liveries by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getWeaponObjectComponentTintIndex","native":"GET_WEAPON_OBJECT_COMPONENT_TINT_INDEX","hash":"0xB3EA4FEABF41464B","params":[["weaponObject","Object"],["camoComponentHash","Hash"]],"ret":"int","since":1103,"aka":["_GET_WEAPON_OBJECT_LIVERY_COLOR"],"doc":"Returns -1 if camoComponentHash is invalid/not attached to the weapon object.\nFull list of weapons, components, tint indexes & weapon liveries by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getPedWeaponCamoIndex","native":"GET_PED_WEAPON_CAMO_INDEX","hash":"0xA2C9AC24B4061285","params":[["ped","Ped"],["weaponHash","Hash"]],"ret":"int","since":1103},
{"name":"setWeaponObjectCamoIndex","native":"SET_WEAPON_OBJECT_CAMO_INDEX","hash":"0x977CA98939E82E4B","params":[["weaponObject","Object"],["p1","int"]],"since":1103},
{"name":"getWeaponHudStats","native":"GET_WEAPON_HUD_STATS","hash":"0xD92C739EE34C9EBA","params":[["weaponHash","Hash"]],"ret":"BOOL","outs":[["outData","WeaponHudStats",1]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Weapon UI ratings","md":"Pass the weapon hash. Read the ratings record only when the leading success value is true."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"getWeaponComponentHudStats","native":"GET_WEAPON_COMPONENT_HUD_STATS","hash":"0xB3CAF387AE12E9F8","params":[["componentHash","Hash"]],"ret":"BOOL","outs":[["outData","WeaponHudStats",1]],"checked":1,"gameVersion":"1158.16","notes":[{"kind":"info","title":"Component UI ratings","md":"Pass the component hash. Read the ratings record only when the leading success value is true."},{"kind":"info","title":"GTA V Enhanced 1158.16","md":"This LS:MP adapter is available on Enhanced 1158.16. Calls on another build raise an error."}]},
{"name":"getWeaponDamage","native":"GET_WEAPON_DAMAGE","hash":"0x3133B907D8B32053","params":[["weaponHash","Hash"],["componentHash","Hash"]],"ret":"float","aka":["_GET_WEAPON_DAMAGE"],"doc":"This native does not return damages of weapons from the melee and explosive group.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getWeaponClipSize","native":"GET_WEAPON_CLIP_SIZE","hash":"0x583BE370B1EC6EB4","params":[["weaponHash","Hash"]],"ret":"int","doc":"// Returns the size of the default weapon component clip.\n\nUse it like this:\n\n```\nchar cClipSize[32];\nHash cur;\nif (getCurrentPedWeapon(playerPed, &cur, 1))\n{\n    if (isWeaponValid(cur))\n    {\n        int iClipSize = getWeaponClipSize(cur);\n        sprintf_s(cClipSize, \"ClipSize: %.d\", iClipSize);\n        vDrawString(cClipSize, 0.5f, 0.5f);\n    }\n}\n```\n\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"getWeaponTimeBetweenShots","native":"GET_WEAPON_TIME_BETWEEN_SHOTS","hash":"0x065D2AACAD8CF7A4","params":[["weaponHash","Hash"]],"ret":"float","since":1290,"aka":["_GET_WEAPON_TIME_BETWEEN_SHOTS"],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setPedChanceOfFiringBlanks","native":"SET_PED_CHANCE_OF_FIRING_BLANKS","hash":"0x8378627201D5497D","params":[["ped","Ped"],["xBias","float"],["yBias","float"]]},
{"name":"setPedShootOrdnanceWeapon","native":"SET_PED_SHOOT_ORDNANCE_WEAPON","hash":"0xB4C8D77C80C0421E","params":[["ped","Ped"],["p1","float"]],"ret":"Object","doc":"Returns handle of the projectile."},
{"name":"requestWeaponHighDetailModel","native":"REQUEST_WEAPON_HIGH_DETAIL_MODEL","hash":"0x48164DBB970AC3F0","params":[["weaponObject","Entity"]]},
{"name":"setWeaponPedDamageModifier","native":"_SET_WEAPON_PED_DAMAGE_MODIFIER","hash":"0x1091922715B68DF0","params":[["weapon","Hash"],["damageModifier","float"]],"na":1,"since":3095},
{"name":"setWeaponDamageModifier","native":"SET_WEAPON_DAMAGE_MODIFIER","hash":"0x4757F00BC6323CFE","params":[["weaponHash","Hash"],["damageMultiplier","float"]],"since":505,"aka":["_SET_WEAPON_DAMAGE_MODIFIER","_SET_WEAPON_DAMAGE_MODIFIER_THIS_FRAME"],"doc":"Changes the weapon damage output by the given multiplier value. Must be run every frame.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setWeaponAoeModifier","native":"SET_WEAPON_AOE_MODIFIER","hash":"0x4AE5AC8B852D642C","params":[["weaponHash","Hash"],["multiplier","float"]],"since":2372,"aka":["_SET_WEAPON_EXPLOSION_RADIUS_MULTIPLIER"]},
{"name":"setWeaponEffectDurationModifier","native":"SET_WEAPON_EFFECT_DURATION_MODIFIER","hash":"0xE6D2CEDD370FF98E","params":[["p0","Hash"],["p1","float"]],"since":2372,"doc":"ex, `setWeaponEffectDurationModifier`(joaat(\"vehicle_weapon_mine_slick\"), 1.0);"},
{"name":"isPedCurrentWeaponSilenced","native":"IS_PED_CURRENT_WEAPON_SILENCED","hash":"0x65F0C5AE05943EC7","params":[["ped","Ped"]],"ret":"BOOL","doc":"This native returns a true or false value.\n\nPed ped = The ped whose weapon you want to check."},
{"name":"isFlashLightOn","native":"IS_FLASH_LIGHT_ON","hash":"0x4B7620C47217126C","params":[["ped","Ped"]],"ret":"BOOL","aka":["SET_WEAPON_SMOKEGRENADE_ASSIGNED"]},
{"name":"setFlashLightFadeDistance","native":"SET_FLASH_LIGHT_FADE_DISTANCE","hash":"0xCEA66DAD478CD39B","params":[["distance","float"]],"ret":"BOOL"},
{"name":"setFlashLightActiveHistory","native":"SET_FLASH_LIGHT_ACTIVE_HISTORY","hash":"0x988DB6FE9B3AC000","params":[["ped","Ped"],["toggle","BOOL"]],"since":2060,"aka":["_SET_FLASH_LIGHT_ENABLED"],"doc":"Enables/disables flashlight on ped's weapon."},
{"name":"setWeaponAnimationOverride","native":"SET_WEAPON_ANIMATION_OVERRIDE","hash":"0x1055AC3A667F09D9","params":[["ped","Ped"],["animStyle","Hash"]],"doc":"Changes the selected ped aiming animation style.\nNote : You must use `getHashKey`!\n\nStrings to use with `getHashKey` :\n\n    \"Ballistic\",\n    \"Default\",\n  \"Fat\",\n  \"Female\",\n   \"FirstPerson\",\n  \"FirstPersonAiming\",\n    \"FirstPersonFranklin\",\n  \"FirstPersonFranklinAiming\",\n    \"FirstPersonFranklinRNG\",\n   \"FirstPersonFranklinScope\",\n \"FirstPersonMPFemale\",\n  \"FirstPersonMichael\",\n   \"FirstPersonMichaelAiming\",\n \"FirstPersonMichaelRNG\",\n    \"FirstPersonMichaelScope\",\n  \"FirstPersonRNG\",\n   \"FirstPersonScope\",\n \"FirstPersonTrevor\",\n    \"FirstPersonTrevorAiming\",\n  \"FirstPersonTrevorRNG\",\n \"FirstPersonTrevorScope\",\n   \"Franklin\",\n \"Gang\",\n \"Gang1H\",\n   \"GangFemale\",\n   \"Hillbilly\",\n    \"MP_F_Freemode\",\n    \"Michael\",\n  \"SuperFat\",\n \"Trevor\""},
{"name":"getWeaponDamageType","native":"GET_WEAPON_DAMAGE_TYPE","hash":"0x3BE0BB12D25FB305","params":[["weaponHash","Hash"]],"ret":"int","doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setEqippedWeaponStartSpinningAtFullSpeed","native":"SET_EQIPPED_WEAPON_START_SPINNING_AT_FULL_SPEED","hash":"0xE4DCEC7FD5B739A5","params":[["ped","Ped"]]},
{"name":"canUseWeaponOnParachute","native":"CAN_USE_WEAPON_ON_PARACHUTE","hash":"0xBC7BE5ABC0879F74","params":[["weaponHash","Hash"]],"ret":"BOOL","doc":"this returns if you can use the weapon while using a parachute\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"createAirDefenceSphere","native":"CREATE_AIR_DEFENCE_SPHERE","hash":"0x91EF34584710BE99","params":[["x","float"],["y","float"],["z","float"],["radius","float"],["p4","float"],["p5","float"],["p6","float"],["weaponHash","Hash"]],"ret":"int","since":573,"aka":["_CREATE_AIR_DEFENSE_SPHERE"],"doc":"Both coordinates are from objects in the decompiled scripts. The only weapon hash used in the decompiled scripts is weapon_air_defence_gun. These two natives are used by the yacht script, decompiled scripts suggest it and the weapon hash used (valkyrie's rockets) are also used by yachts."},
{"name":"createAirDefenceAngledArea","native":"CREATE_AIR_DEFENCE_ANGLED_AREA","hash":"0x9DA58CDBF6BDBC08","params":[["p0","float"],["p1","float"],["p2","float"],["p3","float"],["p4","float"],["p5","float"],["p6","float"],["p7","float"],["p8","float"],["radius","float"],["weaponHash","Hash"]],"ret":"int","since":1011,"aka":["_CREATE_AIR_DEFENSE_AREA"],"doc":"Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"removeAirDefenceSphere","native":"REMOVE_AIR_DEFENCE_SPHERE","hash":"0x0ABF535877897560","params":[["zoneId","int"]],"ret":"BOOL","since":573,"aka":["_REMOVE_AIR_DEFENSE_ZONE"]},
{"name":"removeAllAirDefenceSpheres","native":"REMOVE_ALL_AIR_DEFENCE_SPHERES","hash":"0x1E45B34ADEBEE48E","since":573,"aka":["_REMOVE_ALL_AIR_DEFENSE_ZONES"]},
{"name":"setPlayerTargettableForAirDefenceSphere","native":"SET_PLAYER_TARGETTABLE_FOR_AIR_DEFENCE_SPHERE","hash":"0xECDC202B25E5CF48","params":[["player","Player"],["zoneId","int"],["enable","BOOL"]],"since":573,"aka":["_SET_PLAYER_AIR_DEFENSE_ZONE_FLAG"]},
{"name":"isAirDefenceSphereInArea","native":"IS_AIR_DEFENCE_SPHERE_IN_AREA","hash":"0xDAB963831DBFD3F4","params":[["x","float"],["y","float"],["z","float"],["radius","float"]],"ret":"BOOL","outs":[["outZoneId","int",4]],"since":1103,"aka":["_IS_AIR_DEFENSE_ZONE_INSIDE_SPHERE","_IS_ANY_AIR_DEFENSE_ZONE_INSIDE_SPHERE"]},
{"name":"fireAirDefenceSphereWeaponAtPosition","native":"FIRE_AIR_DEFENCE_SPHERE_WEAPON_AT_POSITION","hash":"0x44F1012B69313374","params":[["zoneId","int"],["x","float"],["y","float"],["z","float"]],"since":573,"aka":["_FIRE_AIR_DEFENSE_WEAPON"]},
{"name":"doesAirDefenceSphereExist","native":"DOES_AIR_DEFENCE_SPHERE_EXIST","hash":"0xCD79A550999D7D4F","params":[["zoneId","int"]],"ret":"BOOL","since":678,"aka":["_DOES_AIR_DEFENSE_ZONE_EXIST"]},
{"name":"setCanPedSelectInventoryWeapon","native":"SET_CAN_PED_SELECT_INVENTORY_WEAPON","hash":"0xB4771B9AAF4E68E4","params":[["ped","Ped"],["weaponHash","Hash"],["toggle","BOOL"]],"since":1103,"aka":["_SET_CAN_PED_SELECT_WEAPON","_SET_CAN_PED_EQUIP_WEAPON"],"doc":"Disables selecting the given weapon. Ped isn't forced to put the gun away. However you can't reselect the weapon if you holster then unholster. Weapon is also grayed out on the weapon wheel.\nFull list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json"},
{"name":"setCanPedSelectAllWeapons","native":"SET_CAN_PED_SELECT_ALL_WEAPONS","hash":"0xEFF296097FF1E509","params":[["ped","Ped"],["toggle","BOOL"]],"since":1103,"aka":["_SET_CAN_PED_EQUIP_ALL_WEAPONS"],"doc":"Disable all weapons. Does the same as `setCanPedSelectInventoryWeapon` except for all weapons."}
]},
{"id":"ZONE","title":"Zones","doc":"Map zones and population schedules.","natives":[
{"name":"getZoneAtCoords","native":"GET_ZONE_AT_COORDS","hash":"0x27040C25DE6CB2F4","params":[["x","float"],["y","float"],["z","float"]],"ret":"int"},
{"name":"getZoneFromNameId","native":"GET_ZONE_FROM_NAME_ID","hash":"0x98CD1D2934B76CC1","params":[["zoneName","string"]],"ret":"int","doc":"'zoneName' corresponds to an entry in 'popzone.ipl'.\n\nAIRP = Los Santos International Airport\nALAMO = Alamo Sea\nALTA = Alta\nARMYB = Fort Zancudo\nBANHAMC = Banham Canyon Dr\nBANNING = Banning\nBEACH = Vespucci Beach\nBHAMCA = Banham Canyon\nBRADP = Braddock Pass\nBRADT = Braddock Tunnel\nBURTON = Burton\nCALAFB = Calafia Bridge\nCANNY = Raton Canyon\nCCREAK = Cassidy Creek\nCHAMH = Chamberlain Hills\nCHIL = Vinewood Hills\nCHU = Chumash\nCMSW = Chiliad Mountain State Wilderness\nCYPRE = Cypress Flats\nDAVIS = Davis\nDELBE = Del Perro Beach\nDELPE = Del Perro\nDELSOL = La Puerta\nDESRT = Grand Senora Desert\nDOWNT = Downtown\nDTVINE = Downtown Vinewood\nEAST_V = East Vinewood\nEBURO = El Burro Heights\nELGORL = El Gordo Lighthouse\nELYSIAN = Elysian Island\nGALFISH = Galilee\nGOLF = GWC and Golfing Society\nGRAPES = Grapeseed\nGREATC = Great Chaparral\nHARMO = Harmony\nHAWICK = Hawick\nHORS = Vinewood Racetrack\nHUMLAB = Humane Labs and Research\nJAIL = Bolingbroke Penitentiary\nKOREAT = Little Seoul\nLACT = Land Act Reservoir\nLAGO = Lago Zancudo\nLDAM = Land Act Dam\nLEGSQU = Legion Square\nLMESA = La Mesa\nLOSPUER = La Puerta\nMIRR = Mirror Park\nMORN = Morningwood\nMOVIE = Richards Majestic\nMTCHIL = Mount Chiliad\nMTGORDO = Mount Gordo\nMTJOSE = Mount Josiah\nMURRI = Murrieta Heights\nNCHU = North Chumash\nNOOSE = N.O.O.S.E\nOCEANA = Pacific Ocean\nPALCOV = Paleto Cove\nPALETO = Paleto Bay\nPALFOR = Paleto Forest\nPALHIGH = Palomino Highlands\nPALMPOW = Palmer-Taylor Power Station\nPBLUFF = Pacific Bluffs\nPBOX = Pillbox Hill\nPROCOB = Procopio Beach\nRANCHO = Rancho\nRGLEN = Richman Glen\nRICHM = Richman\nROCKF = Rockford Hills\nRTRAK = Redwood Lights Track\nSANAND = San Andreas\nSANCHIA = San Chianski Mountain Range\nSANDY = Sandy Shores\nSKID = Mission Row\nSLAB = Stab City\nSTAD = Maze Bank Arena\nSTRAW = Strawberry\nTATAMO = Tataviam Mountains\nTERMINA = Terminal\nTEXTI = Textile City\nTONGVAH = Tongva Hills\nTONGVAV = Tongva Valley\nVCANA = Vespucci Canals\nVESP = Vespucci\nVINE = Vinewood\nWINDF = Ron Alternates Wind Farm\nWVINE = West Vinewood\nZANCUDO = Zancudo River\nZP_ORT = Port of South Los Santos\nZQ_UAR = Davis Quartz\n\nFull list of zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/zones.json"},
{"name":"getZonePopschedule","native":"GET_ZONE_POPSCHEDULE","hash":"0x4334BC40AA0CB4BB","params":[["zoneId","int"]],"ret":"int"},
{"name":"getNameOfZone","native":"GET_NAME_OF_ZONE","hash":"0xCD90657D4C30E1CA","params":[["x","float"],["y","float"],["z","float"]],"ret":"string","doc":"AIRP = Los Santos International Airport\nALAMO = Alamo Sea\nALTA = Alta\nARMYB = Fort Zancudo\nBANHAMC = Banham Canyon Dr\nBANNING = Banning\nBEACH = Vespucci Beach\nBHAMCA = Banham Canyon\nBRADP = Braddock Pass\nBRADT = Braddock Tunnel\nBURTON = Burton\nCALAFB = Calafia Bridge\nCANNY = Raton Canyon\nCCREAK = Cassidy Creek\nCHAMH = Chamberlain Hills\nCHIL = Vinewood Hills\nCHU = Chumash\nCMSW = Chiliad Mountain State Wilderness\nCYPRE = Cypress Flats\nDAVIS = Davis\nDELBE = Del Perro Beach\nDELPE = Del Perro\nDELSOL = La Puerta\nDESRT = Grand Senora Desert\nDOWNT = Downtown\nDTVINE = Downtown Vinewood\nEAST_V = East Vinewood\nEBURO = El Burro Heights\nELGORL = El Gordo Lighthouse\nELYSIAN = Elysian Island\nGALFISH = Galilee\nGOLF = GWC and Golfing Society\nGRAPES = Grapeseed\nGREATC = Great Chaparral\nHARMO = Harmony\nHAWICK = Hawick\nHORS = Vinewood Racetrack\nHUMLAB = Humane Labs and Research\nJAIL = Bolingbroke Penitentiary\nKOREAT = Little Seoul\nLACT = Land Act Reservoir\nLAGO = Lago Zancudo\nLDAM = Land Act Dam\nLEGSQU = Legion Square\nLMESA = La Mesa\nLOSPUER = La Puerta\nMIRR = Mirror Park\nMORN = Morningwood\nMOVIE = Richards Majestic\nMTCHIL = Mount Chiliad\nMTGORDO = Mount Gordo\nMTJOSE = Mount Josiah\nMURRI = Murrieta Heights\nNCHU = North Chumash\nNOOSE = N.O.O.S.E\nOCEANA = Pacific Ocean\nPALCOV = Paleto Cove\nPALETO = Paleto Bay\nPALFOR = Paleto Forest\nPALHIGH = Palomino Highlands\nPALMPOW = Palmer-Taylor Power Station\nPBLUFF = Pacific Bluffs\nPBOX = Pillbox Hill\nPROCOB = Procopio Beach\nRANCHO = Rancho\nRGLEN = Richman Glen\nRICHM = Richman\nROCKF = Rockford Hills\nRTRAK = Redwood Lights Track\nSANAND = San Andreas\nSANCHIA = San Chianski Mountain Range\nSANDY = Sandy Shores\nSKID = Mission Row\nSLAB = Stab City\nSTAD = Maze Bank Arena\nSTRAW = Strawberry\nTATAMO = Tataviam Mountains\nTERMINA = Terminal\nTEXTI = Textile City\nTONGVAH = Tongva Hills\nTONGVAV = Tongva Valley\nVCANA = Vespucci Canals\nVESP = Vespucci\nVINE = Vinewood\nWINDF = Ron Alternates Wind Farm\nWVINE = West Vinewood\nZANCUDO = Zancudo River\nZP_ORT = Port of South Los Santos\nZQ_UAR = Davis Quartz\n\nFull list of zones by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/zones.json"},
{"name":"setZoneEnabled","native":"SET_ZONE_ENABLED","hash":"0xBA5ECEEA120E5611","params":[["zoneId","int"],["toggle","BOOL"]],"checked":1,"notes":[{"kind":"info","title":"Checked by LS:MP","md":"`zoneId` must be the index of a zone that exists. Otherwise the call is ignored: nothing reaches the game, and no error is raised."}]},
{"name":"getZoneScumminess","native":"GET_ZONE_SCUMMINESS","hash":"0x5F7B268D15BA0739","params":[["zoneId","int"]],"ret":"int","doc":"cellphone range 1- 5 used for signal bar in iFruit phone"},
{"name":"overridePopscheduleVehicleModel","native":"OVERRIDE_POPSCHEDULE_VEHICLE_MODEL","hash":"0x5F7D596BAC2E7777","params":[["scheduleId","int"],["vehicleHash","Hash"]],"doc":"Only used once in the decompiled scripts. Seems to be related to scripted vehicle generators.\n\nModified example from \"am_imp_exp.c4\", line 6406:\n/* popSchedules[0] = `getZonePopschedule`(`getZoneAtCoords`(891.3, 807.9, 188.1));\netc.\n*/\n\n```\noverridePopscheduleVehicleModel(popSchedules[index], vehicleHash);\nrequestModel(vehicleHash);\n```"},
{"name":"clearPopscheduleOverrideVehicleModel","native":"CLEAR_POPSCHEDULE_OVERRIDE_VEHICLE_MODEL","hash":"0x5C0DE367AA0D911C","params":[["scheduleId","int"]],"doc":"Only used once in the decompiled scripts. Seems to be related to scripted vehicle generators.\n\nModified example from \"am_imp_exp.c4\", line 6418:\n/* popSchedules[0] = `getZonePopschedule`(`getZoneAtCoords`(891.3, 807.9, 188.1));\netc.\n*/\n\n```\nsetModelAsNoLongerNeeded(vehicleHash);\nclearPopscheduleOverrideVehicleModel(popSchedules[index]);\n```"},
{"name":"getHashOfMapAreaAtCoords","native":"GET_HASH_OF_MAP_AREA_AT_COORDS","hash":"0x7EE64D51E8498728","params":[["x","float"],["y","float"],["z","float"]],"ret":"Hash","doc":"Returns a hash representing which part of the map the given coords are located.\n\nPossible return values:\n(Hash of) city -> -289320599\n(Hash of) countryside -> 2072609373\n\nC# Example :\n\n```\nPed player = Game.Player.Character;\nHash h = Function.Call<Hash>(Hash.GET_HASH_OF_MAP_AREA_AT_COORDS, player.Position.X, player.Position.Y, player.Position.Z);\n```"}
]}
],
"unexposed": ["GET_RENDERED_TEXT_PADDING_SIZE","GET_WAYPOINT_CLEAR_ON_ARRIVAL_MODE","HAS_PED_GOT_WEAPON_MANAGER","INTERPOLATE_CAMERA_WITH_PARAMS","IS_HUD_COMPONENT_HIDDEN_THIS_FRAME","NETWORK_GET_HOST_OF_THREAD","NETWORK_HAS_SC_MEMBERSHIP","PLAY_PED_AUDIO_EVENT_ANIM","SC_PAUSE_NEWS_INIT_STARTER_PACK","SET_ENTITY_DRAWABLE_LOD_THRESHOLDS","SET_PED_CAN_BODY_RECOIL_IK","SET_PLAYER_RESET_FLAG_PREFER_REAR_SEATS","SET_PLAYER_STEALTH_SPEED","SET_VEHICLE_TAIL_BROKEN","SET_WAYPOINT_CLEAR_ON_ARRIVAL_MODE","_0x0292BD7F3766CEBC","_BLOCK_PED_FROM_WRITHING_WHEN_INJURED","_CALCULATE_LINE_ORIENTATION_FROM_RENDERED_CAMERA","_CALCULATE_ROTATED_VECTOR","_DRAW_CAPSULE_LIGHT","_DRAW_MARKER_GLOW","_GENERATE_PED_DAMAGE_EVENT","_GET_CHILD_ATTACHMENT","_GET_MAXIMUM_NUMBER_OF_WATER_CANNONS","_GET_MISSION_TRAIN_CONFIG_INDEX_BY_NAME","_GET_NOMINATED_JOB_REPORT_STATUS","_GET_TOTAL_MODEL_COST","_GET_VEHICLE_ALLOW_HOMING_MISSLE_LOCKON_SYNCED","_GET_WATER_CANNON_COORDS","_IS_ENTITY_FIXED","_IS_VEHICLE_GEN9_EXCLUSIVE_MODEL","_MAKE_GLOWS_ADDITIVE","_NETWORK_ALLOW_DEAD_PED_NETWORK_BLENDING","_NETWORK_CLEAR_CLOCK_SYNC_TIME_OVERRIDE","_NETWORK_GET_DUMP_OF_ASSET_VERIFIER","_NETWORK_GET_TOTAL_EVC_BALANCE_IS_GREATER_THAN_100M","_NETWORK_GET_TOTAL_EVC_BALANCE_IS_GREATER_THAN_1B","_NETWORK_GET_TOTAL_EVC_BALANCE_IS_GREATER_THAN_500M","_NETWORK_IS_SPECIAL_TUTORIAL_SESSION","_NETWORK_SET_IGNORE_VEHICLE_RAMMED_BY_NON_VEHICLE","_NETWORK_SET_TUTORIAL_SPECIAL_SESSION","_PLAYSTATS_CREATOR_END","_PLAYSTATS_HEIST5_FINALE","_PLAYSTATS_HEIST5_HACK","_PLAYSTATS_HEIST5_PREP","_PLAYSTATS_LOBBY_EXIT","_PLAYSTATS_LOBBY_STARTED","_REPORT_NOMINATED_JOB","_SET_BLEND_STATE_ALPHA_ADDITIVE","_SET_BLEND_STATE_NORMAL","_SET_MAKE_TRAIN_SCAN_FOR_BLOCKING_ENTITIES","_SET_SPHERICAL_STREAM_DISTANT_HILODS_THIS_FRAME","_UGC_CLEAR_NOMINATED_JOB","_UGC_GET_NOMINATED_CONTENT","_UGC_SET_NOMINATED_JOB","_UPDATE_LIGHTS_LOCATION_FROM_ENTITY"],
"withheld": [{"native":"WAIT","hash":"0x4EDE34FBADD967A6","md":"The game's `WAIT` only works inside the game's own compiled scripts: it cannot pause an LS:MP script, so LS:MP does not bind it. To pause, use `lsmp.wait(ms)`: `await lsmp.wait(ms)` in JavaScript, `lsmp.wait(ms)` in a Lua coroutine. See [lsmp.wait](/resources/api#core-utils/fn-wait)."}]
}
