{"hash":"0xB783F75940B23014","ns":"PLAYER","name":"_SET_SPECIAL_ABILITY_DURATION_COST","slug":"_SET_SPECIAL_ABILITY_DURATION_COST","official":false,"named":true,"luaName":"SetSpecialAbilityDurationCost","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player"},{"name":"durationCost","type":"float"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"durationCost: per second"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/_SET_SPECIAL_ABILITY_DURATION_COST","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_SET_SPECIAL_ABILITY_DURATION_COST.md","snippets":{"lua":"SetSpecialAbilityDurationCost(player, durationCost)","luaInvoke":"Citizen.InvokeNative(0xB783F75940B23014, player, durationCost)","js":"SetSpecialAbilityDurationCost(player, durationCost);","jsInvoke":"Citizen.invokeNative('0xB783F75940B23014', player, durationCost + 0.0000001);","csharp":"Function.Call((Hash)0xB783F75940B23014, player, durationCost);","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.","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."]}}