Jump to content

[HELP] Please


Sendy

Recommended Posts

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 

Link to comment
  • Moderators

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.

Link to comment
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. :(

Link to comment

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.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...