Flip command for vehicles

Started by Sonmez, Jun 02, 2019, 11:05 AM

Previous topic - Next topic

Sonmez

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();

NicusorN5

The can can get stuck in the walls if you touch one :)

Sonmez

Quote from: Athanatos on Jun 02, 2019, 11:43 AMThe can can get stuck in the walls if you touch one :)

But still useful ;)
if (!perfect) createAgain();