-Doc- Posted May 14, 2015 Posted May 14, 2015 Hey . I have a question how it's possible to change location name for example mount chiliad to mout himalaya ?
ALw7sH Posted May 14, 2015 Posted May 14, 2015 I dont think you can change the original gta sa locations name but you can create your own locations system
-Doc- Posted May 14, 2015 Author Posted May 14, 2015 in dayz people change their loations name. Ok. But how i can give name to an island?
ALw7sH Posted May 14, 2015 Posted May 14, 2015 You are talking about locations that you get with getZoneName function?
ALw7sH Posted May 14, 2015 Posted May 14, 2015 Im just not sure about which locations are talking about how do you get locations name ? sorry but i can't get what do you mean
MTA Team 0xCiBeR Posted May 14, 2015 MTA Team Posted May 14, 2015 First disable showing default zone names. showPlayerHudComponent("area_name",false) Then use: getZoneName In adition to a table like this: local customNames = { ['Los Santos'] = "Custom Name", ['San Fierro'] = "Custom Name" } Then just use a loop like: local zone = getZoneName(...) for index, value in pairs(customNames)do if index == zone then dxDrawText(value,...) end end Or simply: local zone = getZoneName(...) local cus = customNames[zone] dxDrawText(cus,...) PS: Made it in the mobile, there could be some mistake.
ALw7sH Posted May 15, 2015 Posted May 15, 2015 First disable showing default zone names. showPlayerHudComponent("area_name",false) Then use: getZoneName In adition to a table like this: local customNames = { ['Los Santos'] = "Custom Name", ['San Fierro'] = "Custom Name" } Then just use a loop like: local zone = getZoneName(...) for index, value in pairs(customNames)do if index == zone then dxDrawText(value,...) end end Or simply: local zone = getZoneName(...) local cus = customNames[zone] dxDrawText(cus,...) PS: Made it in the mobile, there could be some mistake. and he can edit getZoneName function so it will be more easier than do "if zonename == zone then" everytime local customNames = { ['Los Santos'] = "Custom Name", ['San Fierro'] = "Custom Name" } function getZoneName(x,y,z,citiesonly) if type(x) == "number" and type(y) == "number" and type(z) == "number" then return customNames[getZoneName(x,y,z,citiesonly or false)] or getZoneName(x,y,z,citiesonly or false) end end
#RooTs Posted May 15, 2015 Posted May 15, 2015 where I think all the names of the areas? local customNames = { ['Los Santos'] = "Custom Name", ['San Fierro'] = "Custom Name" ['name?'] = "Custom Name" ['name?'] = "Custom Name" ['name?'] = "Custom Name" ['name?'] = "Custom Name" }
Banex Posted May 15, 2015 Posted May 15, 2015 where I think all the names of the areas? http://lmgtfy.com/?q=area+names+of+gta+sa#
#RooTs Posted May 15, 2015 Posted May 15, 2015 where I think all the names of the areas? http://lmgtfy.com/?q=area+names+of+gta+sa# It did not help me at all, points to you -10 I need the names that are already listed on the MTA:SA
#RooTs Posted May 15, 2015 Posted May 15, 2015 locations across the GTA not everyone locations shows the MTA http://gta.wikia.com/Category:Locations ... an_Andreas
RenanPG Posted May 15, 2015 Posted May 15, 2015 where I think all the names of the areas? local customNames = { ['Los Santos'] = "Custom Name", ['San Fierro'] = "Custom Name" ['name?'] = "Custom Name" ['name?'] = "Custom Name" ['name?'] = "Custom Name" ['name?'] = "Custom Name" }
Bilal135 Posted May 16, 2015 Posted May 16, 2015 That person can't script, dude, he just can copy paste script here and expects us to fix his problem, so basically he needs a full edited working code.
-Doc- Posted May 16, 2015 Author Posted May 16, 2015 That person can't script, dude, he just can copy paste script here and expects us to fix his problem, so basically he needs a full edited working code. i can't script?
Bilal135 Posted May 16, 2015 Posted May 16, 2015 That person can't script, dude, he just can copy paste script here and expects us to fix his problem, so basically he needs a full edited working code. i can't script? I wrote what I think. Btw, good luck in cloning Grafuroam.
Bilal135 Posted May 16, 2015 Posted May 16, 2015 I have my unique scripts so shutup. "unique"? God damn. No Dm mode is actually Chaos MTA Freeroam's No Dm mode, which you are using. Your freeroam panel, hud and all other shit is copied from Grafuroam. I guess, how that makes you unique?
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