illestiraqi Posted March 15, 2012 Share Posted March 15, 2012 How can you add scripts, like when I see posts from the "Scripts" Section there like Numbers on the left and like addeventhandler and shit. Can someone please teach me how to add scripts like that please? Link to comment
Castillo Posted March 15, 2012 Share Posted March 15, 2012 You're talking about the Lua tags? if so then select all your code and click on "lua". Link to comment
illestiraqi Posted March 15, 2012 Author Share Posted March 15, 2012 What I dont get it? Link to comment
myonlake Posted March 16, 2012 Share Posted March 16, 2012 He's saying you need to use the lua-tags here. Also known as [ lua ][ /lua ], remember to remove the spaces between the shutters and the names. Link to comment
illestiraqi Posted March 17, 2012 Author Share Posted March 17, 2012 Still dont understand Link to comment
arezu Posted March 17, 2012 Share Posted March 17, 2012 addEventHandler("onPlayerJoin", getRootElement(), function() -- blablalba end) is the same as: [ lua] addEventHandler("onPlayerJoin", getRootElement(), function() -- blablalba end) [ /lua] dont forget to remove the space after the '[' 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