SetPlayerSkin while player has animations. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: SetPlayerSkin while player has animations. (
/showthread.php?tid=116670)
SetPlayerSkin while player has animations. -
RaFsTar - 29.12.2009
When you use SetPlayerSkin(playerid,?) under a player which is using animations (entering/exiting vehicles, falling, running) the player gets freezed and crashes (in the case of entering/exiting vehicles).
This can be prevented by adding a ClearAnimations(playerid) before SetPlayerSkin(playerid,?). But I think it should be fixed in the next sa:mp version.
RAFSTARR :'ю