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