Reggae Posted March 21, 2014 Share Posted March 21, 2014 (edited) addEventHandler('onResourceStart',resourceRoot, function() marker = createMarker(-23.2441,-54.8056,1003.5468, 'cylinder', 1.0, 255, 255, 255, 255) setElementInterior(markerr, 6) end) Not Worked ? Edited March 22, 2014 by Guest Link to comment
!#NssoR_) Posted March 21, 2014 Share Posted March 21, 2014 addEventHandler('onResourceStart',resourceRoot, function() marker = createMarker(-23.2441,-54.8056,1003.5468, 'cylinder', 1.0, 255, 255, 255, 255) setElementInterior(marker, 6) end) Link to comment
Reggae Posted March 21, 2014 Author Share Posted March 21, 2014 (edited) Tanks. Edited March 22, 2014 by Guest Link to comment
Moderators Citizen Posted March 22, 2014 Moderators Share Posted March 22, 2014 It is working, check the file you are working on is in the meta.xml, that it's a server sided script and that you are restarting the resource to apply changes. If it's not working, be sure you copied it correctly and there are no errors in the console. 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