{"hash":"0x140B3CB1D424A945","ns":"AICOVERPOINT","name":"_GET_PED_FROM_COVER_POINT","slug":"_GET_PED_FROM_COVER_POINT","official":false,"named":true,"luaName":"GetPedFromCoverPoint","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"}],"summary":"weaponHash can also be -1","descriptions":[{"source":"alloc8or","format":"text","body":"weaponHash can also be -1"},{"source":"vorp","format":"text","body":"returns the ped that is using this cover point created by ADD_COVER_POINT and adding the ped using tasks like `TASK_PUT_PED_DIRECTLY_(*`"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/AICOVERPOINT/_GET_PED_FROM_COVER_POINT","markdownUrl":"https://natives.borderlinerp.com/natives/AICOVERPOINT/_GET_PED_FROM_COVER_POINT.md","snippets":{"lua":"GetPedFromCoverPoint(ped, weaponHash)","luaInvoke":"Citizen.InvokeNative(0x140B3CB1D424A945, ped, weaponHash)","js":"GetPedFromCoverPoint(ped, weaponHash);","jsInvoke":"Citizen.invokeNative('0x140B3CB1D424A945', ped, weaponHash);","csharp":"Function.Call((Hash)0x140B3CB1D424A945, ped, weaponHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}