SA-MP Forums Archive
Animation in Skin Change - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Animation in Skin Change (/showthread.php?tid=200455)



Animation in Skin Change - Noss* - 18.12.2010

Solved


Re: Animation in Skin Change - akis_tze - 18.12.2010

i dont understand very well what you mean.

To make the character do an animation while changing through skins:
add an animation at public OnPlayerRequestClass(playerid, classid)

To change the location of the skin change:
Change:
SetPlayerPos
SetPlayerCameraPos
SetPlayerCameraLookAt


Re: Animation in Skin Change - Noss* - 18.12.2010

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
i dont understand very well what you mean.

To make the character do an animation while changing through skins:
add an animation at public OnPlayerRequestClass(playerid, classid)

To change the location of the skin change:
Change:
SetPlayerPos
SetPlayerCameraPos
SetPlayerCameraLookAt
That's exactly what i needed lol :P thanks


Re: Animation in Skin Change - blackwave - 18.12.2010

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
i dont understand very well what you mean.

To make the character do an animation while changing through skins:
add an animation at public OnPlayerRequestClass(playerid, classid)

To change the location of the skin change:
Change:
SetPlayerPos
SetPlayerCameraPos
SetPlayerCameraLookAt
Ya, he's sure. You need to change the Pos of skin, the CameraPos (Where will you look for the skin from) and where will the camera be directioned at (CameraLookAt). Almos 100% sure this is what you want.