22.11.2013, 11:52
Quote:
I think you are out of the defined Zones. You can create a new line before "Big Ear" with the Name "Unknown" if you want.
hope that helps you. |
Код:
GetPlayerPos(i,x,y,z); if(GetZone(Float:x,Float:y,Float:z) == -1) { TextDrawSetString(gps[i], "Unknown Location"); TextDrawShowForPlayer(i, gps[i]); } else { format(str,sizeof(str),"%s", GetArea(Float:x,Float:y,Float:z)); TextDrawSetString(gps[i], str); TextDrawShowForPlayer(i, gps[i]); }
But there still is one part of Whetstone which is not defined,and now shows as Unknown Location.I have to get its coordinates and add it.