Skip to content

Commit

Permalink
Added native 0xC412AA1C73111FE0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultimation authored and Ultimation committed Jul 2, 2024
1 parent 5a5d702 commit d795d5d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion discoveredNatives/discovered_natives_by_community
Original file line number Diff line number Diff line change
Expand Up @@ -731,4 +731,19 @@ Use in conjunction with IsControlJustReleased(0, `INPUT_OPEN_WHEEL_MENU`) to det

if N_0x9c409bbc492cb5b1() == `CONSUMABLE_PEACHES_CAN` and IsControlJustReleased(0, `INPUT_OPEN_WHEEL_MENU`) then
print("You just ate a bunch of peaches.")
end
end



------------------------
0xC412AA1C73111FE0(by Ultimation)
Adds a pelt to a horse from an itemHash and the albedo, (optional) normal textures.

local mount = GetMountOwnedByPlayer(PlayerId())
local itemhash = GetHashKey('PROVISION_DEER_HIDE_POOR')
local albedo = GetHashKey('a_c_deer_01_uppr_000_c0_001_ab')
local normal = 0
local param5 = 0 -- always appears to be 0

Citizen.InvokeNative(0xC412AA1C73111FE0,mount,itemHash,albedo,normal,0,param5)
------------------------

0 comments on commit d795d5d

Please sign in to comment.