[help]/flip animation
#2

Quote:
Originally Posted by Sascha
Посмотреть сообщение
hm you mean flipping a vehicle back into it's normal position?
If yes, here's a code
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/flip", cmdtext, true, 5) == 0)
  {
    if(IsPlayerInAnyVehicle(playerid))
    {
        new Float:az;
        GetVehicleZAngle(GetPlayerVehicleID(playerid), az);
        SetVehicleZAngle(GetPlayerVehicleID(playerid), az);
    }
    return 1;
  }
  return 0;
}
Not sure, but he is saying 'Animation' that's just a pure command.

@Topicstarter.
Can you give us a video or something how the Animation is looking?
Reply


Messages In This Thread
[help]/flip animation - by gold - 08.08.2011, 10:39
Re: [help]/flip animation - by Kingunit - 08.08.2011, 11:13
Re: [help]/flip animation - by Sascha - 08.08.2011, 12:59
Re: [help]/flip animation - by Kayaque - 08.08.2011, 13:00
Re: [help]/flip animation - by Kingunit - 08.08.2011, 13:26
Re: [help]/flip animation - by gold - 08.08.2011, 18:18
Re: [help]/flip animation - by admantis - 08.08.2011, 18:21
Re: [help]/flip animation - by gold - 08.08.2011, 19:21
Re: [help]/flip animation - by Devon_Nelson - 11.08.2011, 20:21

Forum Jump:


Users browsing this thread: 2 Guest(s)