22.12.2011, 15:59
It's done in public OnPlayerRequestClass
You just need to find some dancing animations and add the ApplyAnimation line to any of your skins.
Something like this(just an example):
As for the music, you can just add the new 0.3d Function PlayAudioStreamForPlayer under public OnPlayerConnect with any song you like.
-Hope It helped.
You just need to find some dancing animations and add the ApplyAnimation line to any of your skins.
Something like this(just an example):
Код:
public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid,2518.0442,-134277.8872,14.4146); SetPlayerFacingAngle(playerid,100.0); SetPlayerCameraPos(playerid, 2515.51345317,-1674345.4750,13.8125431); SetPlayerCameraLookAt(playerid, 2518.043542,-135677.887352,14.410359); GameTextForPlayer(playerid, "~g~Monkey", 2000, 6); ApplyAnimation(playerid,"DANCING","DAN_DOWN_A",4.1,1,1,1,1,1); return 1; }
-Hope It helped.