Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
I saw Cueball's Location Script,
However it is bugged when player is inside the interior,
It shows wrong location like when you're in a interior (for example only) it will show Mount Chilliad (the location of interior) instead of the Interior name.
Is there anyway to fix this?
Posts: 32
Threads: 2
Joined: Apr 2013
Reputation:
0
That's due to the fact that the interiors are mapped over those locations, I suppose you could modify the include / filterscript to detect whether the players interior (GetPlayerInterior) is equal to 0. That will remove the showing of the textdraw whilst inside an interior (as long as the players interior is set upon entering).
As for having the names of the interiors, you would have to get the coordinates for each corner of the interior (like adding a gangzone) and enter them into the array that stores the zones and inputting a new one (with your above coordinates) and enter the interior name.
Hope this helps.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
^Yes current i use a code to detect if player is interior to avoid this problem.
But is there any other way to this?
If there is no other way then i should use your way.