Up
  • EN
Sign in to the site
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
    GTA 6 GTA 5 GTA San Andreas GTA 4 GTA Vice City GTA 3 Red Dead Redemption 2 Red Dead Redemption Other games Mod Development Miscellaneous
  • Mods and files
  • GTA San Andreas
  • Mods
  • CLEO scripts
  • Minimalistic CLEO HUD

Minimalistic CLEO HUD

  • Minimalistic CLEO HUD / GTA San Andreas
  • Minimalistic CLEO HUD / GTA San Andreas
  • Minimalistic CLEO HUD / GTA San Andreas
GTA San Andreas / Mods / CLEO scripts
Author:
VitalRus
More details
Author's contacts:
Open the site
Uploaded:
VitalRus Subscribe You are subscribed
Size:
13.87 Kb
Files inside:
Files with known extensions that were found in the archive.
simplehud.cs
More details
Uploaded:
9 April 2020
Downloads:
317
Total downloads: 317
Unique downloads: 151
10 / 10
16 people rated the file
BarelySociable
FuckingPurple
AnriTool
Aquamarine
Андрей Жариков
Guest
Raskul
SIZZZ
myzeepink
Guest
Shagg_E
NaightMar
daniel 360
wmysterio
Purple_DeaD
l1_9ir
No one has rated the file yet.
Download Download in Telegram Download in Discord
To favorites In favorites
  • 1589728108_simple-hud.zip
    Virus check from Virustotal: the file is safe (view report)
    Download (0.01 MB)
  • 17 May 2020
    1.01
    1589744451_simple-hud.zip
    Virus check from Virustotal: the file is safe (view report)
    Download (0.01 MB)

Minimalistic HUD

I continue the tradition of scripts primarily aimed at teaching scripters. This time I created my own HUD in CLEO, which, although quite simple, displays the most important game indicators and boasts features such as:

• turns off when disabled through the menu (no need to memorize on/off script buttons and unnecessarily use the keyboard)

• changes the color of some elements based on their values (for example, the clock gets darker as night approaches, and the color of the ammo count in the magazine gets brighter when it runs low)

• slightly shifts elements when moving the mouse/mini-joystick.

In addition to the above, by studying the code, you will learn how to:

• apply constants

• work with memory addresses

• use drawing mode (text_draw)

• display texts next to each other without overlapping

• read mouse/mini-joystick offsets

• find out the number of bullets in the magazine

• set one value dependent on another (and even use sine for this!)

• find the remaining oxygen value in memory

• find the police "rage" counter in memory

• use scm functions

05.17.2020: fixed an issue where some weapon categories (detonator, parachute, etc.) displayed the number of bullets. Also removed the accidentally remaining test output of the cane.

Script demonstration:

Script code breakdown:

Enjoy the game!

The file name and description have been translated. Show original (RU)Show translation (EN)
Minimalistic CLEO HUD

Минималистичный HUD

Продолжаю традицию скриптов, предназначенных в первую очередь для обучения скриптеров. На сей раз я создал в CLEO собственный HUD, который хоть и довольно прост, но отображает самые важные игровые показатели, а также может похвастаться такими особенностями:

• отключается при отключении через меню (не нужно зубрить кнопки включения/выключения скрипта и попусту задействовать клавиатуру)

• меняет цвет некоторых элементов в зависимости от их значений (например, часы становятся темнее с приближением ночи, а цвет числа патронов в магазине — ярче, если их становится мало)

• слегка смещает элементы при перемещении мышки/мини-джойстика.

Помимо вышеперечисленного, изучая код, вы сможете научиться:

• применять константы

• работать с адресами памяти

• использовать режим рисования (text_draw)

• выводить тексты рядом так, чтобы они не перекрывали друг друга

• считывать смещения мыши/мини-джойстика

• узнавать число патронов в магазине

• ставить одни значения в зависимость от других (и даже задействовать для этого нахождение синуса!)

• находить в памяти значение оставшегося кислорода

• находить в памяти счётчик «злости» полиции

• пользоваться scm-функциями

17.05.2020: исправлен недочёт, из-за которого у некоторых категорий оружия (детонатора, парашюта и т.п.) отображалось число патронов. И убрал случайно оставшуюся тестовую выдачу трости.

Демонстрация скрипта:

Разбор кода скрипта:

Приятной игры!

Comments 2
© 2008 - 2025 LibertyCity
Creator and developer: Evgenii Sokolov
Copying materials without the permission of the administration or the respective owners is strictly prohibited.
Contact us
Mobile version Desktop version
Mods and files News and articles Cheats and guides Users
Click here for advanced file search