25.09.2008, 11:12
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
Remember to add
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!
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);
)
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!