Jump to content

Execute Command ! need Your HELP!


Annas

Recommended Posts

Posted (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 by Guest
Posted

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

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...