Ninja Posted March 17, 2012 Share Posted March 17, 2012 Hey Guys, I'm new here and also new in scripting but i have a porblem. Till now i could script all my "little" problems but now i want to delete the fuckin minimap in the race.zip script. I know if you drife on your own you just write /showhud 0 but if i spectate one its still there.. So i have to delete it from the race script, can anyone help me? Link to comment
Castillo Posted March 17, 2012 Share Posted March 17, 2012 You can use showPlayerHudComponent to hide the radar. Link to comment
Ninja Posted March 17, 2012 Author Share Posted March 17, 2012 sorry i'm new in scripting and can you explain it more exactly for me pls.. What is i?t What i have to do? Do i need to make a script or just edit the race.zip? Link to comment
Castillo Posted March 17, 2012 Share Posted March 17, 2012 That function can hide parts or all the HUD, you must learn how to use it. Link to comment
bandi94 Posted March 17, 2012 Share Posted March 17, 2012 client side addEventHandler("onClientResourceStart",resourceRoot, function() showPlayerHudComponent("radar" ,false) end) Link to comment
Ninja Posted March 17, 2012 Author Share Posted March 17, 2012 @bandi94 Do i have to make a function with your clint?? Link to comment
Castillo Posted March 17, 2012 Share Posted March 17, 2012 @Ninja: Do you even have a little Lua knowledge? because I think you don't. Link to comment
bandi94 Posted March 17, 2012 Share Posted March 17, 2012 nope that is the script you need to save it as .lua make a meta.xml for it and you are done read this : https://wiki.multitheftauto.com/wiki/Scr ... troduction Link to comment
Ninja Posted March 17, 2012 Author Share Posted March 17, 2012 I don't know nothing about but a bit by looking up to other scripts and i can make boosts or teleports or something for Maps but i don't know how to make scripts for server or something... and Thx bandi94 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