SA-MP Forums Archive
[Include] [INC] SetVehiclePlayerHealthAwesome 3.0!!!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] SetVehiclePlayerHealthAwesome 3.0!!!! (/showthread.php?tid=51934)



[INC] SetVehiclePlayerHealthAwesome 3.0!!!! - ViolentDave - 25.09.2008

I just spent a few hours working on this awesome include. Never spend more then 5 minutes coding two seperate functions again!

Pastebin - http://pastebin.com/f2eac925d //updated
Version 3.0! - http://pastebin.com/f2a4cacfb

save this in your includes folder as awesome.inc

Example Usage
pawn Code:
if(strcmp(cmd, "/awesome", true) == 0)
{
  SetVehiclePlayerHealthAwesome(playerid, GetPlayerVehicleID(playerid), 1000.0, 100.0);
)
Remember to add
pawn Code:
#include <awesome>

Enjoy, I spent hours on this.

Changelog:
Version 3.0: Fixed error with floats, sorry guys! I know you've been dying to use this!


Re: [INC] SetVehiclePlayerHealthAwesome - pspleo - 25.09.2008

LOLLL you spent "HOURS" on that? XDDDDDDD
good job.


Re: [INC] SetVehiclePlayerHealthAwesome - LethaL - 25.09.2008

You spent hours on a 18 line function
Good job anyway. now u can make something bigger and better.


Re: [INC] SetVehiclePlayerHealthAwesome - Homerman - 25.09.2008

WOW "Nice" and very "Hard" to make. Sry but this is sh*t, it's too hard to do "SetVehicleHealth" ? Mhmm, the world is very strange today


Re: [INC] SetVehiclePlayerHealthAwesome - ViolentDave - 25.09.2008

Quote:
Originally Posted by Y_Leѕѕ
The best thing about this is the fact that it's wrong!
I see what I did wrong.

Version 2.0 released.



Re: [INC] SetVehiclePlayerHealthAwesome - Donuts - 25.09.2008

You can't be VD(The one i know has made cool things), this is simple to make but let's all give him a break.


Re: [INC] SetVehiclePlayerHealthAwesome 3.0!!!! - ViolentDave - 07.08.2009

Version 3.0!

Enjoy


Re: [INC] SetVehiclePlayerHealthAwesome 3.0!!!! - luxeon - 07.08.2009

Quote:
Originally Posted by ViolentDave
Version 3.0!

Enjoy
LOL, 1 year have passed since the last post in this thread !!

Luxeon


Re: [INC] SetVehiclePlayerHealthAwesome 3.0!!!! - _[HuN]_Epsilon_ - 07.08.2009

8765.812770976412 hours on one version ^^

Epsilon