Easy HUD for GTA San Andreas
Writer: Very important
Yet one more CLEO script made primarily to show coding. This time I’ve made a HUD of my very own that, although easy, shows all the mandatory recreation data and has a number of good options:
• will be turned off in menu (no want to recollect or bind a key for that)
• some parts’ color modifications relying on its worth (e.g. the clock turns into darker because the night time attracts nearer, the ammo will get brighter once you turn out to be low on ammo)
• barely strikes once you transfer mouse or analogue stick.
Aside from this, whereas studying the code, you possibly can be taught to:
• use constants
• work with reminiscence addresses
• utilise text_draw mode
• draw texts shut to 1 one other with out overlapping
• learn mouse’s or analogue stick’s offset
• know what number of ammo is left within the journal
• make one values depending on others (and even use sine for that!)
• learn from the sport’s reminiscence how a lot oxygen is left
• learn from the sport’s reminiscence how a lot the police are indignant
• use scm-functions
Credit:
Very important