Jump to content

What do I need for hud.


IIYAMA

Recommended Posts

Posted

the PreRender probably wouldnt even work, as its called before anything is drawn, and HUD render is just the same, but draws under the hud. Frequency for all of them is the same - once a frame. So it wont be better.

  • Moderators
Posted

Make lots of triggers instead of onclientrender?

Like: onPlayerSpawn(all), onPlayerWasted(all), reloadgun(ammo/weapon_img), onPedDamage/onPlayerDamage(armor/health), onPlayerWeaponSwitch (ammo/weapon_img), onClientPlayerWeaponFire(ammo/weapon_img)

(I don't know if they are all true... it is just a sample of it)

Would that be better against lagg or does it make more lagg?

and what about the names between >()

sample: onPlayerWeaponSwitch > (weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...