illestiraqi Posted March 15, 2012 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?
Castillo Posted March 15, 2012 Posted March 15, 2012 You're talking about the Lua tags? if so then select all your code and click on "lua". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
myonlake Posted March 16, 2012 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. If I helped you, please click the like button on the right Thanks!
arezu Posted March 17, 2012 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 '['
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