Flip command for vehicles

Sonmez

  • Newbie
  • Yo! It's time to play the fair game!
  • Posts: 15
Flip command for vehicles
«  »
Code: [Select]
if ( cmd == "flip" )
{
if ( !player.Vehicle ) MessagePlayer( "[#ff0000][ERROR] [#ffffff]You must be in car." , player )
else
{
player.Vehicle.Rotation = Quaternion( 0.0, 0.0, 0.0, 0.0 );
MessagePlayer( "[#00ff00]** [#FFFFFF]Flipped." , player )
}
}
if (!perfect) createAgain();

Athanatos

  • Hero Member
  • Romania Cops N Robbers Lead Developer
  • Posts: 796

Sonmez

  • Newbie
  • Yo! It's time to play the fair game!
  • Posts: 15
if (!perfect) createAgain();