local dolls = {};
dolls[1] = createPed ( 120, 1695.2199707031,-2278.3200683594,-1.2447323799133,0,false);
setElementFrozen(dolls[1],false)
setPedAnimation(dolls[1], "ped", "floor_hit", 1000, false, true, false);
If animation are not looped it wont work, but if i turn the 4th arg true it will work
local dolls = {};
dolls[1] = createPed ( 120, 1695.2199707031,-2278.3200683594,-1.2447323799133,0,false);
setElementFrozen(dolls[1],false)
setPedAnimation(dolls[1], "ped", "floor_hit", 1000, true, true, false);
But i need a standstill ped that is lies on the floor.
Can someone explain how can i do it?