Grand opening25% off everything with FAM-261023-261025-UL4B9this weekendAdded for you at checkout Halloween Edition36 maps, limited runlimited runShop the drop

ANIMATION DICTIONARY

swimming@swim

70 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.

70 shown

Play sprint_turn_r2

Client-side. The flag preset is already applied.

-- sprint_turn_r2 from swimming@swim
-- Flag 1: loop, whole body.
local dict = "swimming@swim"
RequestAnimDict(dict)
while not HasAnimDictLoaded(dict) do
    Wait(0)
end

TaskPlayAnim(PlayerPedId(), dict, "sprint_turn_r2", 8.0, -8.0, -1, 1, 0.0, false, false, false)
RemoveAnimDict(dict)

QUESTIONS

About swimming@swim

How do I play a clip from swimming@swim?
RequestAnimDict("swimming@swim"), 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 swimming@swim have?
70. 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.