Jump to content

Area name


DarkByte

Recommended Posts

Posted

Hi. What functions i should use to change a zone name? Like Restricted area to War zone. Or add a custom location

When I hear someone saying Mac is better than PC.

o0pjNKG.gif w0t?VeJXjxD.gifw0t? evspcFJ.gifw0t?

Great minds discuss ideas, average minds discuss events and small minds discuss people.

Posted

You can hide the default area names by using the function setPlayerHudComponentVisible.

You can use getZoneName to get the current name. And dxDrawText to draw the text.

Simply put, create your own resource that checks the player's current zone. Make an if statement that checks if the zone name is equal to "Restricted Area", if true, draw "War Zone" instead.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Posted

Can u give me an example?

When I hear someone saying Mac is better than PC.

o0pjNKG.gif w0t?VeJXjxD.gifw0t? evspcFJ.gifw0t?

Great minds discuss ideas, average minds discuss events and small minds discuss people.

Posted

I've seen you do this a few times. We do not code for you. We either help fix your existing code, or give you pointers in the right direction.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...