Location - Textdraw. Please Help Me!
#1

Hi All!
I have a big problem what i can't resolve. I have Mabako's location script and i want to change the gametext into textdraw.
Here is the codes:

Top:
pawn Код:
new Text:location[MAX_PLAYERS];
Create TextDraw:
pawn Код:
for(new i=0; i<MAX_PLAYERS_; i++)
{
if(IsPlayerConnected(i))
{
//locationtd
new string[256];
format(string,sizeof(string),"p%dzone",zones[j][zone_name],zones[player_zone_before][zone_name]);
location[i] = TextDrawCreate(14.000000,431.000000,string);
TextDrawAlignment(location[i],0);
TextDrawBackgroundColor(location[i],0x000000ff);
TextDrawFont(location[i],2);
TextDrawLetterSize(location[i],0.299999,1.000000);
TextDrawColor(location[i],0xffffffff);
TextDrawSetOutline(location[i],1);
TextDrawSetProportional(location[i],1);
TextDrawSetShadow(location[i],1);
//====
But it not gives error just not working .
Complete location script:
http://pastebin.com/f6c29b2c6

Please help me!
Reply
#2

Help please!
Reply
#3

Try
pawn Код:
location[i] = TextDrawCreate(14.000000,431.000000,zones[j][zone_name]);
You don't need new string and format.

And then you have to show it to the player.
Reply
#4

Wow thx it works!
Another problem:
When i went to for example the strip to the emerald isle it inscribed the emerald isle text to the strip text...
How can I fix it?
Reply
#5

Please help me!
Reply
#6

BUMP!
Reply
#7

Triple post in less than 4 hours

If no one reply that mean no one know, or want to help because of the poor description of the problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)