Animations at Player Selection?
#5

Quote:
Originally Posted by [B2K
Hustler ]
Here's an example of what he means:

pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
      case 0:
      {
        GameTextForPlayer(playerid,"~n~~n~~n~~g~Class 1",3000,3);
            {
            SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid, -1426.575805, 23.959726, 14.148437);
                SetPlayerFacingAngle(playerid, 219.106613);
                SetPlayerCameraPos(playerid, -1423.829833, 20.462652, 14.148437);
                SetPlayerCameraLookAt(playerid, -1426.575805, 23.959726, 14.148437);
                ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0); // Example Animation
             }
      }
      case 1:
      {
            GameTextForPlayer(playerid,"~n~~n~~n~~b~Class 2",3000,3);
            {
            SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid, -1426.575805, 23.959726, 14.148437);
                SetPlayerFacingAngle(playerid, 219.106613);
                SetPlayerCameraPos(playerid, -1423.829833, 20.462652, 14.148437);
                SetPlayerCameraLookAt(playerid, -1426.575805, 23.959726, 14.148437);
                ApplyAnimation(playerid,"PLAYIDLES","TIME",4.1,1,1,1,1,1); // Example Animation
             }
      }
    }
    return 1;
}
Thanks everyone
Reply


Messages In This Thread
Animations at Player Selection? - by Littleman774 - 21.05.2009, 16:01
Re: Animations at Player Selection? - by Correlli - 21.05.2009, 16:05
Re: Animations at Player Selection? - by Littleman774 - 21.05.2009, 16:08
Re: Animations at Player Selection? - by member - 21.05.2009, 16:10
Re: Animations at Player Selection? - by Littleman774 - 21.05.2009, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)