Jump to content

Compile Script [HOW?]


cs8898

Recommended Posts

Un Compiled

outputChatBox(string.upper("haL12Lo")) 
function changeBlurLevel ( command, blur ) 
    blur = tonumber(blur) 
    if not blur or blur > 255 or blur < 0 then 
        outputChatBox ( "Enter a value between 0 - 255.") 
    else 
        setPlayerBlurLevel ( blur ) 
        outputChatBox ( "Blur level set to: " .. blur) 
    end 
end 
  
addCommandHandler("blur", changeBlurLevel) 

Compiled

http://i.imgur.com/2WfDE.png

Link to comment
  • Moderators
Open your script with notepad++ and go to "Encoding" tab, set the encoding to "UTF-8 without BOM".

If it still doesn't compile, check if your script has syntax errors.

I have one tab called "codering", for me it is not encoding(dutch version but it should not really matter..). In that tab there is UTF-8 without BOM converting.

When I set him to "UTF-8 without BOM converting", nothing happend, the script does not have any errors.

Do you have some plugins or?

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