top sniper Posted May 13, 2012 Share Posted May 13, 2012 hi guys ,, Is there a choice do I create a marker in interior 2 or any interior?? Link to comment
top sniper Posted May 13, 2012 Author Share Posted May 13, 2012 please explane better i what to CreateMarker in (interior) 2 Link to comment
Rasmus Posted May 13, 2012 Share Posted May 13, 2012 (edited) mymarker = createMarker () setElementInterior ( mymarker, 2 ) Edited May 13, 2012 by Guest Link to comment
Wei Posted May 13, 2012 Share Posted May 13, 2012 marker = createMarker ... setElementInterior( marker, (id interior) ) Link to comment
Jaysds1 Posted May 13, 2012 Share Posted May 13, 2012 Here's a better example: local marker = createMarker(X,Y,Z) setElementInterior(marker, 2,X,Y,Z) Link to comment
ben_wright Posted May 13, 2012 Share Posted May 13, 2012 it's not better, it's wrong, lol.. marker createMarker ( float x, float y, float z, [string theType, float size, int r, int g, int b, int a, visibleTo = getRootElement()] ) createMarker -- check correct syntaxs there, it's simple adding just the position arguments to a marker wont work. and checking this: bool setElementInterior ( element theElement, int interior [, float x, float y, float z] ) the first argument is the element, so now you know Same thing for setElementDimension then check this: https://wiki.multitheftauto.com/wiki/Element Link to comment
Stanley Sathler Posted May 13, 2012 Share Posted May 13, 2012 Ben_Wright, why do not you just posted the links to the Wiki? You said the same thing that Wiki. Link to comment
ben_wright Posted May 13, 2012 Share Posted May 13, 2012 idk, people tend to ignore links, especially lua tagged ones Link to comment
Stanley Sathler Posted May 13, 2012 Share Posted May 13, 2012 Yes, I can understand you. But if he wanna learn Lua, he must learn read the manual, don't you think? One love bro, Stanley Sathler. Link to comment
top sniper Posted May 14, 2012 Author Share Posted May 14, 2012 Thanks for helping ,, setElementInterior is what i want 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