top sniper Posted May 13, 2012 Posted May 13, 2012 hi guys ,, Is there a choice do I create a marker in interior 2 or any interior??
top sniper Posted May 13, 2012 Author Posted May 13, 2012 please explane better i what to CreateMarker in (interior) 2
Rasmus Posted May 13, 2012 Posted May 13, 2012 (edited) mymarker = createMarker () setElementInterior ( mymarker, 2 ) Edited May 13, 2012 by Guest
Wei Posted May 13, 2012 Posted May 13, 2012 marker = createMarker ... setElementInterior( marker, (id interior) )
Jaysds1 Posted May 13, 2012 Posted May 13, 2012 Here's a better example: local marker = createMarker(X,Y,Z) setElementInterior(marker, 2,X,Y,Z)
ben_wright Posted May 13, 2012 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
Stanley Sathler Posted May 13, 2012 Posted May 13, 2012 Ben_Wright, why do not you just posted the links to the Wiki? You said the same thing that Wiki.
ben_wright Posted May 13, 2012 Posted May 13, 2012 idk, people tend to ignore links, especially lua tagged ones
Stanley Sathler Posted May 13, 2012 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.
top sniper Posted May 14, 2012 Author Posted May 14, 2012 Thanks for helping ,, setElementInterior is what i want
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