Annas Posted April 12, 2015 Share Posted April 12, 2015 (edited) why this script isn't work ?? i use this HUD , and it have (./removehud to hide the HUD + ./addhud to add the HUD , i have a simple panel for settings like CIT2 i wanna if newHud => Yes then exectute Command handler (addhud) and if it's =>No , then exectute Command handler (removehud) . i wish you undertand my idea. THIS is the Settings panel where i wanna if YES then show / if no then Hide THE HUD. SERVER SIDE: function replace (player) if not isElement(player) then return end local tagStatus = exports.CSTsettings:getSetting("newhud") if (tagStatus == "Yes") then executeCommandHandler ( "addhud", player ) else if (tagStatus == "No") then executeCommandHandler ( "removehud", player ) end end META "iAnnAs" version="1.0" type="script"/> Edited April 12, 2015 by Guest Link to comment
HUNGRY:3 Posted April 12, 2015 Share Posted April 12, 2015 we won't help u with out a code. Link to comment
Annas Posted April 12, 2015 Author Share Posted April 12, 2015 we won't help u with out a code. Help me .. i add what i want .. Link to comment
xXMADEXx Posted April 12, 2015 Share Posted April 12, 2015 What are you using to trigger the "replace" function? Are there any debug errors (/debugscript 3)? Link to comment
The Don Posted April 12, 2015 Share Posted April 12, 2015 I upload the decompiler version feel free to edit it :0 Link to comment
Walid Posted April 12, 2015 Share Posted April 12, 2015 No one will help you with a leaked script. Link to comment
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