{"hash":"0x364DF566EC833DE2","ns":"PED","name":"SET_PED_CAPSULE","slug":"SET_PED_CAPSULE","official":true,"named":true,"luaName":"SetPedCapsule","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"value","type":"float"}],"summary":"Overrides the ped's collision capsule radius for the current tick.","descriptions":[{"source":"alloc8or","format":"text","body":"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."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x364DF566EC833DE2","gtaJhash":"0xB153E1B9","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/SET_PED_CAPSULE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SET_PED_CAPSULE.md","snippets":{"lua":"SetPedCapsule(ped, value)","luaInvoke":"Citizen.InvokeNative(0x364DF566EC833DE2, ped, value)","js":"SetPedCapsule(ped, value);","jsInvoke":"Citizen.invokeNative('0x364DF566EC833DE2', ped, value + 0.0000001);","csharp":"Function.Call((Hash)0x364DF566EC833DE2, ped, value);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}