ANIMATION DICTIONARY
anim@veh@drivebybike@sports@front@melee_small_wpn
6 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 melee_l
Client-side. The flag preset is already applied.
-- melee_l from anim@veh@drivebybike@sports@front@melee_small_wpn
-- Flag 1: loop, whole body.
local dict = "anim@veh@drivebybike@sports@front@melee_small_wpn"
RequestAnimDict(dict)
while not HasAnimDictLoaded(dict) do
Wait(0)
end
TaskPlayAnim(PlayerPedId(), dict, "melee_l", 8.0, -8.0, -1, 1, 0.0, false, false, false)
RemoveAnimDict(dict)QUESTIONS
About anim@veh@drivebybike@sports@front@melee_small_wpn
How do I play a clip from anim@veh@drivebybike@sports@front@melee_small_wpn?
RequestAnimDict("anim@veh@drivebybike@sports@front@melee_small_wpn"), 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@veh@drivebybike@sports@front@melee_small_wpn have?
6. 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.