Author Topic: /ff  (Read 2460 times)

Ankit

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-3
    • View Profile
/ff
« on: February 20, 2012, 09: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:
Code: [Select]
   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 );
}
« Last Edit: February 21, 2012, 12:49:34 pm by Thijn »

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: /ff
« Reply #1 on: February 20, 2012, 11:49:17 am »
--
Lol, What have you changed? Other then fucking up the tabs even more?

Edited first post.

Ankit

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-3
    • View Profile
Re: /ff
« Reply #2 on: February 20, 2012, 01:00:33 pm »
I Think He Changed This
Code: [Select]
player.Vehicle.Fix();To This
Code: [Select]
pPlayer.Vehicle.Fix();
I Forgot To Add PPlayer

Thanks For Reminding
« Last Edit: February 20, 2012, 01:17:22 pm by Ankit »

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: /ff
« Reply #3 on: February 21, 2012, 12:49:19 pm »
It looked like a complete repost, without any comments so I though it was just for the tabs :P

 

© Liberty Unleashed Team.