Annas Posted April 12, 2015 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
Annas Posted April 12, 2015 Author Posted April 12, 2015 we won't help u with out a code. Help me .. i add what i want ..
xXMADEXx Posted April 12, 2015 Posted April 12, 2015 What are you using to trigger the "replace" function? Are there any debug errors (/debugscript 3)? The Ultimate Lua Tutorial! | MTA PHP SDK
The Don Posted April 12, 2015 Posted April 12, 2015 I upload the decompiler version feel free to edit it :0 آن يكون فكر المرء مختلآ , خيرآ من آن يكون فكره محتلآ ! my nick name in the game : =x=|DoN|=x= or 7eJAzZy- ( ͡° ͜ʖ ͡°) http://community.multitheftauto.com/ind ... &id=337164 my profile
Walid Posted April 12, 2015 Posted April 12, 2015 No one will help you with a leaked script. Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
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