Sendy Posted June 21, 2014 Posted June 21, 2014 How do I set Set Health Set for Blood? and so make it work? and even to the point Health: Blood: I can not do it elseif ( source == aTab1.SetHealth ) then aInputBox ( "Set Health", "Enter the health value", "100", "triggerServerEvent ( \"aPlayer\", getLocalPlayer(), getPlayerFromNick ( \""..escname.."\" ), \"sethealth\", $value )" ) if ( isPlayerDead ( player ) ) then guiSetText ( aTab1.Health, "Health: Dead" ) else guiSetText ( aTab1.Health, "Health: "..math.ceil ( getElementHealth ( player ) ).."%" ) end
Moderators Citizen Posted June 22, 2014 Moderators Posted June 22, 2014 Not enough informations and code to help you. - we don't know what is aInputBox - we don't know what is source (which event) - we don't know what is aTab1.SetHealth (we can guess it's maybe a progressbar) - we don't know where the player variable comes from. - we don't don't what is aTab1.Health (we can guess it's maybe a label) So come back with more code if you want help.
Sendy Posted June 22, 2014 Author Posted June 22, 2014 Not enough informations and code to help you.- we don't know what is aInputBox - we don't know what is source (which event) - we don't know what is aTab1.SetHealth (we can guess it's maybe a progressbar) - we don't know where the player variable comes from. - we don't don't what is aTab1.Health (we can guess it's maybe a label) So come back with more code if you want help. Come on give me instructions or guidance please do as I remodel in the admin panel to Set Health Set Blood 1-12000.
Sendy Posted June 23, 2014 Author Posted June 23, 2014 So what will help me? But it just somehow change the Set Health Set Blood in admin panel ..
Dealman Posted June 23, 2014 Posted June 23, 2014 I believe what he is asking for is the ability to set health(For MTA DayZ) directly through the 'default' Admin Panel. I'd help since I've modified the panel before, but I do not know what functions your gamemode use to set the health, and I'm currently at work, so I won't be able to help for a few hours.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now