Liberty Unleashed

Scripting => Script Snippets => Topic started by: Ankit on February 20, 2012, 12:11:05 pm

Title: Vehicle Cmds!
Post by: Ankit on February 20, 2012, 12:11:05 pm
Add These On Your Script.nut
Code: [Select]
else if ( szCommand == "vcmds" )
{
           
                           MessagePlayer( "===========Vehicle COMMANDS========== ", pPlayer );
                   MessagePlayer( "/flip /fix /ff /infernus                                      ", pPlayer );                   
                           MessagePlayer( "===========Vehicle  COMMANDS========== ", pPlayer );
}
Code: [Select]
else if ( szCommand == "flip" )
{
if ( pPlayer.Vehicle )
{
local rot = pPlayer.Vehicle.Angle;
pPlayer.Vehicle.Pos = pPlayer.Vehicle.Pos;
pPlayer.Vehicle.Angle = rot;
}
}
              else if ( szCommand == "ff" )
{
if ( pPlayer.Vehicle )
{
                                           MessagePlayer( "Your Car Has Been Fixed And Flipped",pPlayer );
local rot = pPlayer.Vehicle.Angle;
pPlayer.Vehicle.Pos = pPlayer.Vehicle.Pos;
pPlayer.Vehicle.Angle = rot;
                                           pPlayer.Vehicle.Fix();
}
                            else MessagePlayer( " You Are Not In Any Vehicle",pPlayer );
}
              else if ( szCommand == "fix" )
{
if ( pPlayer.Vehicle )
{
                                           MessagePlayer( "Your Vehicle Has Been Repaired",pPlayer );
pPlayer.Vehicle.Fix();
}
                            else MessagePlayer( " You Are Not In Any Vehicle",pPlayer );
}
              else if ( szCommand == "infernus" )
{
MessagePlayer( "Spawning A Infernus", pPlayer );
                            CreateVehicle( VEH_INFERNUS, pPlayer.Pos, pPlayer.Angle, -1, -1 );

}
Title: Re: Vehicle Cmds!
Post by: Bryce on February 21, 2012, 07:27:44 am
Very bad  :'(
Title: Re: Vehicle Cmds!
Post by: Ankit on February 21, 2012, 10:05:36 am
Why?  :'(
Title: Re: Vehicle Cmds!
Post by: Bryce on February 21, 2012, 11:11:33 am
Why?  :'(
Because these are the common cmds and everyone can make them easily, and you're a beginner not a pro.
Title: Re: Vehicle Cmds!
Post by: Thijn on February 21, 2012, 11:52:30 am
How can this be very bad if it works?

Very well done, nice for beginners like you who got stuck at some bits of the command.


Why?  :'(
Because these are the common cmds and everyone can make them easily, and you're a beginner not a pro.
So you can only post snippets if you're a pro? C'mon, did you fall on your head or something? What's that for bullshit...
Title: Re: Vehicle Cmds!
Post by: Bryce on February 21, 2012, 12:22:53 pm
How can this be very bad if it works?

Very well done, nice for beginners like you who got stuck at some bits of the command.


Why?  :'(
Because these are the common cmds and everyone can make them easily, and you're a beginner not a pro.
So you can only post snippets if you're a pro? C'mon, did you fall on your head or something? What's that for bullshit...
He was just registered on February 18, 2012, and i think he did not even get any Squirrel class's.
Title: Re: Vehicle Cmds!
Post by: Demi God on February 22, 2012, 02:14:57 am
He was just registered since February 18, 2012, and i think he did not even got any Squirrel class's.

He was in VC-MP squirrel forum for months.
Title: Re: Vehicle Cmds!
Post by: Ankit on February 22, 2012, 03:35:04 am
How can this be very bad if it works?

Very well done, nice for beginners like you who got stuck at some bits of the command.


Why?  :'(
Because these are the common cmds and everyone can make them easily, and you're a beginner not a pro.
So you can only post snippets if you're a pro? C'mon, did you fall on your head or something? What's that for bullshit...

Thanks
Title: Re: Vehicle Cmds!
Post by: Ankit on February 22, 2012, 03:37:09 am
He was just registered since February 18, 2012, and i think he did not even got any Squirrel class's.

i have got i know some squirrel in vcmp and complete pawn but yeah thats right that i have recently joined lu forums and lu but they uses alsmost same language as vcmp : Squirrel
Title: Re: Vehicle Cmds!
Post by: Bryce on February 22, 2012, 11:00:52 am
He was just registered since February 18, 2012, and i think he did not even got any Squirrel class's.

i have got i know some squirrel in vcmp and complete pawn but yeah thats right that i have recently joined lu forums and lu but they uses alsmost same language as vcmp : Squirrel

Alright  ;D
Title: Re: Vehicle Cmds!
Post by: Peavy on June 05, 2013, 03:07:34 am
Thanks for this topic, I got stuck real bad and couldn't figure out what was happening.
I'm a serious noob to coding.