Vice City: Multiplayer

Server Development => Scripting and Server Management => Snippet Showroom => Topic started by: Sonmez on Jun 02, 2019, 11:05 AM

Title: Flip command for vehicles
Post by: Sonmez on Jun 02, 2019, 11:05 AM
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 )
}
}
Title: Re: Flip command for vehicles
Post by: NicusorN5 on Jun 02, 2019, 11:43 AM
The can can get stuck in the walls if you touch one :)
Title: Re: Flip command for vehicles
Post by: Sonmez on Jun 02, 2019, 11:55 AM
Quote from: Athanatos on Jun 02, 2019, 11:43 AMThe can can get stuck in the walls if you touch one :)

But still useful ;)