Blockland Forums > Modification Help

Vehicle HP bar

Pages: << < (5/7) > >>

DrenDran:


--- Quote from: phflack on February 16, 2011, 08:01:48 PM ---i just looked at the code, it looks like you forgot to check what datablock the player is, so if you're using fuel jet, it might screw up

--- End quote ---
It's for nojet dm/tdm only.

phflack:


--- Quote from: DrenDran on February 16, 2011, 08:13:39 PM ---It's for nojet dm/tdm only.

--- End quote ---
i ment when they're out of a vehicle it will probably display 0 for jet energy, in or out of a minigame

DrenDran:


--- Quote from: phflack on February 16, 2011, 08:35:40 PM ---i ment when they're out of a vehicle it will probably display 0 for jet energy, in or out of a minigame

--- End quote ---
Uh, it packages the mount and dismount.
The bar will disappear when leaving the vehicle.

Gadgethm:

Instead of having that 250 ms loop, why not simply call an update function whenever a vehicle is damaged?
Wouldn't that lower lag a bit and make the bar slightly more accurate?

Jorgur:

I agree, especially if it affects lag.

Pages: << < (5/7) > >>

Go to full version