FiveM pc key code
// its C# BTW :)
// checks if INPUT_CONTEXT has just been released
// assumes `using static CitizenFX.Core.API;`
if(IsControlJustReleased(1, 51))
{
// run code here
}
3.67
9
-- its Lua BTW :)
-- checks if INPUT_CONTEXT has just been released
if IsControlJustReleased(1--[[input group]], 51--[[control index]]) then
-- run code here
end
Thank you!
9
0
Are there any code examples left?
New code examples in category Other