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?? ================================================================== ~|منٌ رأيّتُموِۂ يّعتُدُيّ على عرض فُتُٱة مؤمنٌة فُٱسًحًقَوِوِوِوِوِوِوِة|~ ==================================================================
X-SHADOW Posted May 13, 2012 Posted May 13, 2012 please explane better My ingame nickname : Ops! -DeathMatch GameMode By Ops! : 5%
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) ) Diet with russian vodka, lose 3 days in one week !
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) My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
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. Software Engineer & Entrepreneur • Running Lustrel and VilarikA • Highly engaged on open source community
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. Software Engineer & Entrepreneur • Running Lustrel and VilarikA • Highly engaged on open source community
top sniper Posted May 14, 2012 Author Posted May 14, 2012 Thanks for helping ,, setElementInterior is what i want ================================================================== ~|منٌ رأيّتُموِۂ يّعتُدُيّ على عرض فُتُٱة مؤمنٌة فُٱسًحًقَوِوِوِوِوِوِوِة|~ ==================================================================
Jaysds1 Posted May 14, 2012 Posted May 14, 2012 np My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
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