1
0
Fork 0
forked from Simnation/Main

Update client.lua

This commit is contained in:
Nordi98 2025-07-11 22:53:56 +02:00
parent e2de9b688d
commit c0b8baa515

View file

@ -151,7 +151,7 @@ local function StartMagnetFishingProcess(selectedMagnet, waterLoc)
magnetFishing = true magnetFishing = true
-- Create magnet rope prop -- Create magnet rope prop
local model = `prop_rope_hook_01` -- Besseres Prop für ein Seil mit Magnet local model = `p_trev_rope_01_s` -- Besseres Prop für ein Seil mit Magnet
lib.requestModel(model, 100) lib.requestModel(model, 100)
local magnetRope = CreateObject(model, GetEntityCoords(cache.ped), true, false, false) local magnetRope = CreateObject(model, GetEntityCoords(cache.ped), true, false, false)
AttachEntityToEntity(magnetRope, cache.ped, GetPedBoneIndex(cache.ped, 28422), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true, true, false, true, 1, true) AttachEntityToEntity(magnetRope, cache.ped, GetPedBoneIndex(cache.ped, 28422), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true, true, false, true, 1, true)