Created
September 28, 2020 16:23
-
-
Save TheIndra55/f6011d21efb0e6fd8d1f56d8c4854a8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RequestModel(`prop_cs_bucket_s`) | |
RequestModel(`prop_cs_mop_s`) | |
RequestAnimDict("missfbi_s4mop") | |
RequestAnimSet("move_ped_bucket") | |
RequestAnimSet("move_ped_wpn_bucket") | |
Wait(1000) | |
local bucket = CreateObjectNoOffset(`prop_cs_bucket_s`, GetEntityCoords(PlayerPedId()), true, true, false) | |
local mop = CreateObjectNoOffset(`prop_cs_mop_s`, GetEntityCoords(PlayerPedId()), true, true, false) | |
AttachEntityToEntity(bucket, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 28422), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 2, 1) | |
AttachEntityToEntity(mop, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 60309), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 2, 1) | |
SetPedWeaponMovementClipset(PlayerPedId(), "move_ped_wpn_bucket") | |
SetPedMovementClipset(PlayerPedId(), "move_ped_bucket", 1048576000) | |
PlayEntityAnim(mop, "mop_idle", "missfbi_s4mop", 1000.0, 1, 0, 0, 0, 0) | |
PlayEntityAnim(bucket, "bucket_idle", "missfbi_s4mop", 1000.0, 1, 0, 0, 0, 0) | |
Wait(20000) | |
DeleteEntity(mop) | |
DeleteEntity(bucket) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment