Author: | Vital Website |
Date: | 11.05.2020 |
Downloads: | 4969 | Statistics |
Filesize: | 13.774 KB |
Rating: | 9.80 based on 5 votes |
Simple HUD for GTA San Andreas
Author: Vital
Yet another CLEO script made mainly to teach coding. This time I've made a HUD of my own that, though simple, displays all the necessary game info and has a few nice features:
• can be turned off in menu (no need to remember or bind a key for that)
• some elements' colour changes depending on its value (e.g. the clock becomes darker as the night draws closer, the ammo gets brighter when you become low on ammo)
• slightly moves when you move mouse or analogue stick.
Apart from this, while reading the code, you can learn to:
• use constants
• work with memory addresses
• utilise text_draw mode
• draw texts close to one another without overlapping
• read mouse's or analogue stick's offset
• know how many ammo is left in the magazine
• make one values dependent on others (and even use sine for that!)
• read from the game's memory how much oxygen is left
• read from the game's memory how much the police are angry
• use scm-functions
17.05.2020: fixed ammo showing for some weapon categories + slightly increased stability.
Are you the owner of this mod? If someone has stolen your work, you can make a request for removing this mod.