#Ivan7 Posted June 17, 2014 Share Posted June 17, 2014 Ok thanks for helping me on last post now i have question about markers.. i know how to make multiple markers that will only be shown for a taxi driver when he goes to pick up his patients... for example you get the job, after you go to your first patient and their is just a marker now ped once you enter the marker the ped will spawn in... can you teach me how to do this? So sorry if asking to much I am a beginner scripter still learning Link to comment
xXMADEXx Posted June 17, 2014 Share Posted June 17, 2014 There are two ways that you can do this. You can use the function setElementVisibleTo or you can make the marker on the client side. Link to comment
#Ivan7 Posted June 17, 2014 Author Share Posted June 17, 2014 so for example it would be like setElementVisibleTo(TaxiMan,4) Link to comment
xXMADEXx Posted June 17, 2014 Share Posted June 17, 2014 No. An example could be something like: local m = createMarker ( 100, 100, 10, "cylinder", 2, 255, 255, 255, 255 ) setElementVisibleTo ( m, getRandomPlayer ( ), false ) Link to comment
#Ivan7 Posted June 17, 2014 Author Share Posted June 17, 2014 Wow thanks alot... I hope 1 day to become as good as you. Link to comment
xXMADEXx Posted June 17, 2014 Share Posted June 17, 2014 You're welcome. I started off at this forum just like you, as you can see here viewtopic.php?f=91&t=47933 Link to comment
#Ivan7 Posted June 17, 2014 Author Share Posted June 17, 2014 Yeh but you started off probley better I have to look at others people scripts to make mine.. i dont know how to start off any type of script Link to comment
xXMADEXx Posted June 17, 2014 Share Posted June 17, 2014 Yeh but you started off probley better I have to look at others people scripts to make mine.. i dont know how to start off any type of script That's of course how I started. Making small edits to community scripts until I finally understood how they work and what everything was for... I'm pretty sure this is how every scripter is born lol. Link to comment
#Ivan7 Posted June 17, 2014 Author Share Posted June 17, 2014 Lol ok thanks for help man, Ill see you around this isnt last time you will hear from me 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