Small Help
#7

Quote:
Originally Posted by Threshold
Посмотреть сообщение
pawn Код:
SetPlayerHealth(playerid, Float:0x7F800000);
That will make the player invulnerable, however I don't think you can prevent deaths from exploding vehicles. It's a native GTA thing :l

The only thing you can really do is keep repairing the vehicle as it takes damage... I don't know if:
pawn Код:
SetVehicleHealth(vehicleid, Float:0x7F800000);
would work, but I guess you could always try...
Thank you so much at your code
Reply


Messages In This Thread
Small Help - by S4MSUNG - 22.01.2015, 11:00
Re: Small Help - by Arxalan - 22.01.2015, 11:07
Re: Small Help - by S4MSUNG - 22.01.2015, 11:12
Re: Small Help - by Arxalan - 22.01.2015, 11:31
Re: Small Help - by S4MSUNG - 22.01.2015, 11:36
Re: Small Help - by Threshold - 22.01.2015, 11:36
Re: Small Help - by S4MSUNG - 22.01.2015, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)