View Issue Details

IDProjectCategoryView StatusLast Update
0003434Multi Theft Auto : San AndreasScriptingpublic2008-06-10 18:44
Reportererorr404Assigned ToJax 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version1.0 
Summary0003434: request: A way to get out of animations
Description

Sometimes using animations forces you to keep that animation until you change it to another one, or fire a weapon.

Other times even that doesn't work and you have to respawn to get rid of it.

It would be very useful to have a function that stops the current animation and gives control back to the player.

TagsNo tags attached.

Relationships

child of 0003344 closed New Feature Requests Requested features tracker 

Activities

Peter

2008-04-07 13:32

developer   ~~0007617

You can simply teleport the player to its local position, that will reset the states.

local x, y, z = getElementPosition (player)
setElementPosition (x,y,z)

Talidan

2008-04-07 13:34

administrator   ~~0007618

i belive setPlayerAnimation was supposed to allow "nil" to be passed, but was never added

erorr404

2008-04-15 16:58

developer   ~~0007634

Are you sure about that Peter? I set the position of peds every frame and that didn't stop their animation (in my old script I made a month ago).

Issue History

Date Modified Username Field Change