SA-MP Forums Archive
How to add animations when you select a skin? - 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: How to add animations when you select a skin? (/showthread.php?tid=156859)



How to add animations when you select a skin? - Libra - 24.06.2010

Yes, how?

Please add here:

Код:
public SetupPlayerForClassSelection(playerid)
{
 	SetPlayerInterior(playerid,0);
	SetPlayerPos(playerid,-3359.1,3008.2,1.7);
	SetPlayerFacingAngle(playerid, 270.0);
	SetPlayerCameraPos(playerid,-3354.9,3004.9,1.7);
	SetPlayerCameraLookAt(playerid,-3359.1,3008.2,1.7);
	PlayerPlaySound(playerid,1076,-3359.1,3008.2,1.7);
}
Animation - Chant


Re: How to add animations when you select a skin? - Hiddos - 24.06.2010

pawn Код:
if(GetPlayerSkin(playerid) == 167)
Just change '167' to your skin ID.


Re: How to add animations when you select a skin? - MadeMan - 24.06.2010

https://sampwiki.blast.hk/wiki/ApplyAnimation