Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

script showing health bar for carl homies


Sanmodder
 Share

Recommended Posts

hello

today I have for my fans

nice script
this is a script that displays health bars for the carl of occupants

benefits
very advanced script
super stable

 
how it works
it scans the occupiers' carl
and how  find
displays the health bar
this function works just like a carl health bar, that is, the bar becomes smaller
the occupant loses health and if he loses his health, the belt disappears

this script creates 7 health bars
for each carl, homies
see photo

if carl does not have homies,
the bars do not display

for example,
1 homies 1 bar
2 homies 2 bars
3 homies 3 bars
4 homies 4 bars
5 homies 5 bars
6 homies 6 bars
7 homies 7 bars

how to install
needed game adapted to install mods cleo
to compile in, sanny builder
turn on the game
recruit members of the grove street gang

 

source?

😭

                                                                                  time for licenses

attention
forbid
dissemination on websites with mods
mod only for private use
forbid on plagiarism and bragging about others
forbid use in samp -> only singleplayer
forbid converting source to android
forbid on selling script
I know you  :(
forbidden modify the script and block
not your script
if you accept licenses
have fun

source

respect my work
I wrote this script for 3 days
ha ha I am joking:lol:
it took me a few seconds

{$cleo .cs}
0000:

while true
    wait 0
    07F6: get_group $PLAYER_GROUP number_of_leaders_to 13@ number_of_members_to 13@ 
    if 13@ > 0 //get group number_of_members if find continue
    jf continue 
    6@ = 148.9 //float pos y                                                                                     
    for 4@ = 0 to 6 step 1 // counter (4 = 0) -> (4 > 6) -> (4 + 1)
        //get (1 to 7 member recruited)                                                                       
        092B: 5@ = group $PLAYER_GROUP member 4@ //get player gang members use counter items
        if 056D:   actor 5@ defined //if find continue                                                               
        then                                                                                        
            7@ = Actor.Health(5@) //get actor current health                                                                   
            if not 7@ > 100 //not health > 100% default health (not accept mod health)                                                                       
            then 
                //--------------------(stats health bar func x 7)                                                                                   
                0093: 7@ = integer 7@ to_float                                                      
                0087: 8@ = 7@ // (float)                                                            
                8@ /= 100.0                                                                         
                8@ *= 58.0                                                                          
                0087: 9@ = 8@ // (float)                                                            
                9@ /= 2.0                                                                           
                9@ += 520.201                                                                       
                03F0: enable_text_draw 0
                038E: draw_box_position 549.201 6@ size 62.0 8.0 RGBA 0 0 0 255                                                      
                038E: draw_box_position 549.201 6@ size 60.0 5.0 RGBA 179 24 20 100            
                038E: draw_box_position 9@ 6@ size 8@ 5.0 RGBA 179 24 20 255
                //------------------------------                   
            end                                                                                     
        end                                                                                         
        6@ += 20.0 // place stats bar spacing float                                                                                   
    end                                                                                             
end

photo

49778910_364354694390911_706788640092585

if you like my mod and comment
You will get a bonus
my ideas are not limited
maybe you want to advise something?
if you comment it means that you respect me 😘
and my job

Edited by Sanmodder
Link to comment
Share on other sites

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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.