13.06.2013, 19:23
I think this is what you need.
What did you mean by animation? Are you talking about dancing?
If so check this https://sampwiki.blast.hk/wiki/ApplyAnimation
On player spawn, you should probably disable the song for the player.
pawn Код:
}
public SetupPlayerForClassSelection(playerid, classid)
{
SetPlayerPos(playerid, X,Y,Z);
SetPlayerCameraPos(playerid, X,-Y, Z);
SetPlayerCameraLookAt(playerid, X, Y, Z);
PlayerPlaySound(playerid, SoundID, X, Y, Z); //
}
If so check this https://sampwiki.blast.hk/wiki/ApplyAnimation
On player spawn, you should probably disable the song for the player.