ped.clearAnimations: Difference between revisions

15 bytes removed ,  Yesterday at 16:57
no edit summary
(Created page with "{{ScriptItem |endpoint = client |games = vc sa |type = method |class = Ped |name = clearAnimations |parameters = void |usage = makes the ped stop playing all animations |return1 = void |returnFail1 = void |notes = Play an animation with ped.addAnimation |exampleJSCS = addCommandHandler("stopanim", function(command, params) { localPlayer.clearAnimations(); // GTA Vice City, make your player ped stop using their animations }); }}")
 
No edit summary
 
Line 11: Line 11:
|notes = Play an animation with [[ped.clearAnimations|ped.addAnimation]]
|notes = Play an animation with [[ped.clearAnimations|ped.addAnimation]]
|exampleJSCS = addCommandHandler("stopanim", function(command, params) {
|exampleJSCS = addCommandHandler("stopanim", function(command, params) {
     localPlayer.clearAnimations(); // GTA Vice City, make your player ped stop using their animations
     localPlayer.clearAnimations(); // Make your player ped stop using their animations
});
});
}}
}}
2,858

edits