The screenshot is just for fun. The attached code displays ped's real health but you must tick show PED IDs in gta2manager debug tab. Cars will just show their normal ID since I haven't added car health/ID changing yet.
The player needs to have a unique ID or the game will treat every ped as if friendly fire is disabled. You can still kill them with electrogun or explosions just like instant gang. I don't update the player ID in this example but I could set it to 1000+actual player health, if you wanted to display it but still keep a unique ID.
[mis]//Sektor GTAMP.com 2014
//Do whatever you want with this code
//healthtest.scr
//ste.gmp
//ste.sty
PLAYER_PED p = ( 149.0 , 195.0 , 255.0 ) 10 270
PLAYER_PED p2 = ( 150.0 , 195.0 , 255.0 ) 10 180
PLAYER_PED p3 = ( 151.0 , 195.0 , 255.0 ) 10 180
PLAYER_PED p4 = ( 152.0 , 195.0 , 255.0 ) 10 180
PLAYER_PED p5 = ( 153.0 , 195.0 , 255.0 ) 10 180
PLAYER_PED p6 = ( 154.0 , 195.0 , 255.0 ) 10 180
COUNTER idaddress
COUNTER healthaddress
COUNTER healthvalue
COUNTER true = 1
COUNTER charpointer = 660 // if you want to ignore player 2-6, set to 3960 ( 6 x 660 )
COUNTER cars = 0
CHAR_DATA c
CAR_DATA p1car
GENERATOR instantgang = ( 149.0 , 194.0 ) 0 COLLECT_40 0 0
CAR_DATA parked = ( 149.0 , 196.0 ) 0 0 BUG
MAP_ZONE cityinfo = (600, 300, 200, 100, 200, 100, 100, 50, 200, 300, 100)
MAP_ZONE s08 = (100, 500, 200, 100, 250, 0, 0, 0, 999, 100, 100)
MAP_ZONE m16 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m17 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m23 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m24 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m25 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m26 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m20 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m21 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m22 = (600, 400, 100, 0, 500, 0, 0, 100, 900, 0, 200)
MAP_ZONE m19 = (100, 0, 0, 0, 500, 0, 0, 100, 1000, 0, 1000)
MAP_ZONE s07 = (100, 500, 200, 100, 500, 0, 0, 100, 900, 0, 100)
MAP_ZONE s06 = (100, 500, 200, 100, 500, 0, 0, 0, 1000, 0, 100)
MAP_ZONE m18 = (100, 300, 0, 0, 500, 0, 0, 100, 900, 0, 300)
MAP_ZONE s04 = (100, 500, 200, 100, 500, 0, 0, 0, 1000, 0, 100)
SET_GANG_INFO (redngang, 5, PISTOL, MACHINE_GUN, MOLOTOV, 4, 47.50, 49.50, 255.00, 1, PICKUP, 3)
SET_GANG_INFO (sciegang, 7, PISTOL, MACHINE_GUN, FLAME_THROWER, 5, 211.50, 219.50, 255.00, 1, STRATOSB, 10)
SET_GANG_INFO (zaibgang, 8, PISTOL, DUAL_PISTOL, MACHINE_GUN, 3, 199.00, 25.50, 255.00, 1, VTYPE, 2)
SET_GANG_INFO (almagang, 22, NO_WEAPON, NO_WEAPON, NO_WEAPON, 3, 224.50, 20.50, 255.00, 0, VTYPE, 2)
SET_GANG_INFO (poligang, 0, PISTOL, PISTOL, PISTOL, 3, 224.50, 20.50, 255.00, 0, VTYPE, 2)
LEVELSTART
//show ped and car ID
COUNTER showpedid = 6204833
COUNTER one = 1
CHANGE_GANG_CHAR_RESPECT (showpedid, one, 111)
SWITCH_GENERATOR ( instantgang, on )
DECLARE_POLICELEVEL (6)
SET_STATION_INFO (trak01, 4, 0, 0)
SET_AMBIENT_LEVEL ( 0.3 , 0 )
SET_SHADING_LEVEL ( 27 )
WHILE_EXEC ( true = 1 )
GIVE_WEAPON (p,ROCKET_LAUNCHER)
GIVE_WEAPON (p,ELECTRO_GUN)
GIVE_WEAPON (p,FLAME_THROWER)
GIVE_WEAPON (p,MOLOTOV)
GIVE_WEAPON (p,SILENCED_MACHINE_GUN)
SET c = ( p + charpointer )
SET healthaddress=(c+534) //health
CHANGE_GANG_CHAR_RESPECT (healthaddress, healthvalue, 102)
SET idaddress=(c+512) //ID
CHANGE_GANG_CHAR_RESPECT (idaddress, healthvalue, 112)
SET charpointer = ( charpointer + 660 )
IF ( charpointer > 32340 ) // 49 x 660 (each character has a struct of 660 bytes)
SET charpointer = 660 // If you want to ignore player 2-6, set to 3960 ( 6 x 660 )
ENDIF
ENDWHILE
LEVELEND[/mis]