SetVehicleHealth
#1

How to set vehicle Health more then 1000??
i want that vehicle be undestroyble

how to make this?
Reply
#2

SetVehicleHealth(vehicleid, 9999);
or just use a timer to auto-repair it each millisecond ^^
Reply
#3

i dont want to use timer
Reply
#4

pawn Код:
#define FLOAT_INFINITY      (Float:0x7F800000)
SetVehicleHealth(vehicleid, FLOAT_INFINITY);
Reply
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
#define FLOAT_INFINITY      (Float:0x7F800000)
SetVehicleHealth(vehicleid, FLOAT_INFINITY);
I see someone checked WIKI
Reply
#6

SetVehicleHealth(vehicleid, 9999);
or this
SetVehicleHealth(vehicleid, FLOAT_INFINITY);


this dont work

its still vehicle hp 1000
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)