Cassandra Posted March 15, 2013 Posted March 15, 2013 I want to hide a pickup. How would I go about doing that? Regards, Cassandra - V:MP
PaiN^ Posted March 15, 2013 Posted March 15, 2013 setElementAlpha " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
Cassandra Posted March 15, 2013 Author Posted March 15, 2013 setElementAlpha Well it says. This can be a player or a vehicle. Regards, Cassandra - V:MP
Anderl Posted March 15, 2013 Posted March 15, 2013 I don't think it's possible, but I may be wrong. However, you can create your own pickups. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
Cassandra Posted March 15, 2013 Author Posted March 15, 2013 I don't think it's possible, but I may be wrong. However, you can create your own pickups. Can you please elaborate "create your own pickups"? Regards, Cassandra - V:MP
Anderl Posted March 15, 2013 Posted March 15, 2013 You can do the same way it works in the 'race' gamemode - design a custom 3D model and load it to a GTA model, then treat the object as a pickup. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
50p Posted March 15, 2013 Posted March 15, 2013 Not sure if it'll work with pickups but you can try: https://wiki.multitheftauto.com/wiki/Se ... tDimension As far as I remember it worked fine but even when pickup was in different dimension you could still hit it and events were triggered. I don't remember if it's been fixed or not, just give it a try. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
Cassandra Posted March 15, 2013 Author Posted March 15, 2013 Not sure if it'll work with pickups but you can try:https://wiki.multitheftauto.com/wiki/Se ... tDimension As far as I remember it worked fine but even when pickup was in different dimension you could still hit it and events were triggered. I don't remember if it's been fixed or not, just give it a try. That's some nice trick. Thanks for the tip. Regards, Cassandra - V:MP
TheIceman1 Posted March 15, 2013 Posted March 15, 2013 You can use destroyElement Need paid scripter just pm me i will accept every job!
Jaysds1 Posted March 15, 2013 Posted March 15, 2013 You can use destroyElement she doesn't want to destroy the element, she wants to hide it! 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/
Moderators IIYAMA Posted March 15, 2013 Moderators Posted March 15, 2013 Well you can destroy it and replace it when you need it. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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