Skip to content

Commit

Permalink
Merge pull request #44 from Ultimationzzz/master
Browse files Browse the repository at this point in the history
Added native 0xC412AA1C73111FE0
  • Loading branch information
femga authored Jul 2, 2024
2 parents 5a5d702 + d795d5d commit a402470
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 a402470

Please sign in to comment.