Liberty Unleashed
Scripting => Script Snippets => Topic started by: Ankit on February 20, 2012, 08:51:44 am
-
Hello I Am New To Scripting And I Have Made A Command (/ff) Fix And Flip
When On Game Type /ff To Fix And Flip Your Car:
If There Is A Problem Or Anything Else Please Reply So I Can Fix It
Here Is The Command:
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 );
}
-
--
Lol, What have you changed? Other then fucking up the tabs even more?
Edited first post.
-
I Think He Changed This
player.Vehicle.Fix();To This
pPlayer.Vehicle.Fix();
I Forgot To Add PPlayer
Thanks For Reminding
-
It looked like a complete repost, without any comments so I though it was just for the tabs :P