Sanmodder Posted January 2, 2019 Share Posted January 2, 2019 (edited) hello today I have for my fans nice script this is a script that displays health bars for the carl of occupants benefitsvery 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 attentionforbid dissemination on websites with mods mod only for private useforbid on plagiarism and bragging about othersforbid use in samp -> only singleplayerforbid converting source to androidforbid on selling script I know you forbidden modify the script and block not your script if you accept licenses have fun source respect my workI wrote this script for 3 daysha ha I am jokingit 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 if you like my mod and commentYou will get a bonusmy ideas are not limitedmaybe you want to advise something?if you comment it means that you respect me and my job Edited January 2, 2019 by Sanmodder Talamantes 1 Link to comment Share on other sites More sharing options...