Zones shown in textdraw
#3

Quote:
Originally Posted by Littlehelper[MDZ]
Посмотреть сообщение
pawn Код:
Zone = TextDrawCreate(487.000000, 4.000000, "  ");
// Then Later.
new string[128], zone[128];
format(string,sizeof(string),"%s",zone);
TextDrawSetString(Zone,string);
This is an example.
I placed the textdrawstuff at gamemodeinit, where should i place the rest of the code?
Doesnt show any zone when its all under gamemodeinit at least .


Код:
public OnGameModeInit()
	Zone = TextDrawCreate(487.000000, 4.000000, "  ");
Код:
public OnPlayerConnect(playerid)
{
       new string1[128], zone[128];
	GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
	format(string1,sizeof(string1),"%s",zone);
	TextDrawSetString(Zone,string1);
Now it's stuck at Blueberry Acres ?
I think i need something that keeps checking what zone you're in, but I don't know how .. or like refreshes the text idk
Reply


Messages In This Thread
Zones shown in textdraw - by Ukko - 25.06.2012, 15:01
Re: Zones shown in textdraw - by Littlehelper - 25.06.2012, 15:04
Re: Zones shown in textdraw - by Ukko - 25.06.2012, 15:37
Re: Zones shown in textdraw - by Hawky133 - 25.06.2012, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)