hi there i have a hud were i want the player lives to be displayed in custom hud ive managed to access the g_PlayerLiives command and display it onscreen using text but after a minutes in game it disappears ive got the script attached to a nonstatic entity and set always active to yes but it still keeps on disappearing any help would be appreciated heres the code im using
local text_showing = 0
playerlives = g_PlayerLives
function player_lives_init(e)
end
function player_lives_main(e)
if text_showing == 0 or text_showing == e then
TextColor(90,90,5,"Lives ["..playerlives.."]",100,0,10)
text_showing = e
end
end
as i say it does work at first but it dissappearss the player health uses a similar script and that works fine
iam am using third person and the projectile script by Smallg but as i say everything else works fine
thanks bonesy23438