ANIMATION DICTIONARY
anim@mugging@victim@toss_ped@
4 clips in this dictionary. Pick one and copy the block — the dictionary name is already filled in, and so is the wait that most scripts forget.
Play throw_object_left_pocket_male
Client-side. The flag preset is already applied.
-- throw_object_left_pocket_male from anim@mugging@victim@toss_ped@
-- Flag 1: loop, whole body.
local dict = "anim@mugging@victim@toss_ped@"
RequestAnimDict(dict)
while not HasAnimDictLoaded(dict) do
Wait(0)
end
TaskPlayAnim(PlayerPedId(), dict, "throw_object_left_pocket_male", 8.0, -8.0, -1, 1, 0.0, false, false, false)
RemoveAnimDict(dict)QUESTIONS
About anim@mugging@victim@toss_ped@
How do I play a clip from anim@mugging@victim@toss_ped@?
RequestAnimDict("anim@mugging@victim@toss_ped@"), wait for HasAnimDictLoaded to return true, then TaskPlayAnim with the clip name. Every clip on this page has the block filled in for it — copy and paste.
How many clips does anim@mugging@victim@toss_ped@ have?
4. They are listed on this page in the order the game stores them.
The clip plays but the ped cannot walk. Why?
The flag. A plain flag of 1 takes over the whole body. Add 16 for upper body and 32 for secondary — 49 in total — and the ped keeps walking while the clip plays on the torso.
Names from the publicly published GTA V data dumps. The animations are the property of Take-Two Interactive and Rockstar Games — see our trademark and IP notice. The full animation list has the flag table and the rest of the dictionaries.