brad Posted September 5, 2011 Share Posted September 5, 2011 Hello friends scripters: D I'm trying to prove up new server but I am ami ffuente noob and not very well how to hold the goal or the script that shows this is the wiki local myLabel = guiCreateLabel( 120, 200, 120, 100, "GUI label", false ) -- Use 'toggle' command to switch custom font on and off addCommandHandler( "toggle", function() if not myFont then myFont = guiCreateFont( "ferrari.ttf", 20 ) -- Create GUI custom font guiSetFont( myLabel, myFont ) -- Apply font to a widget else destroyElement( myFont ) -- Destroy custom font myFont = nil end end and the meta.xml "brad" description="cinema" info="mod" type="script"/> thanks :D Link to comment
JR10 Posted September 5, 2011 Share Posted September 5, 2011 Use /debugscript 3. And post the errors. Link to comment
brad Posted September 5, 2011 Author Share Posted September 5, 2011 gracias jr10 , but is good the script and meta? Link to comment
eAi Posted September 5, 2011 Share Posted September 5, 2011 That's what debug script will tell you, JR10 isn't a script interpreter. Link to comment
darkdreamingdan Posted September 5, 2011 Share Posted September 5, 2011 It's missing a closing bracket at the end of the file Link to comment
brad Posted September 5, 2011 Author Share Posted September 5, 2011 with the bracket I served, one could create the script to your Estylo to compare? 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