GrimReaper Posted September 30, 2012 Share Posted September 30, 2012 function onScriptInit( ) { log("-----------------------------------"); log("My script loaded"); log("-----------------------------------"); return 1; } addEvent("scriptInit", onScriptInit); Link to comment
scratcher911 Posted September 30, 2012 Share Posted September 30, 2012 this is some combination of C++ and LUA ? Link to comment
Castillo Posted September 30, 2012 Share Posted September 30, 2012 function onScriptInit ( ) outputChatBox ( "-----------------------------------" ) outputChatBox ( "My script loaded" ) outputChatBox ( "-----------------------------------" ) end addEventHandler ( "onResourceStart", resourceRoot, onScriptInit ) Link to comment
Entity Posted September 30, 2012 Share Posted September 30, 2012 He must be trolling with us, this is Squirrel language and it's for IV:MP. 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