SA-MP Forums Archive
Weird problem. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weird problem. (/showthread.php?tid=217998)



Weird problem. - Lorenc_ - 29.01.2011

solved/


Re: Weird problem. - JaTochNietDan - 29.01.2011

You need to create a separate textdraw for each player, so that they don't interfere with each other.


Re: Weird problem. - Lorenc_ - 29.01.2011

What do you mean, i did it already didnt i??

Else could you show me what you mean because i dont really get it :/


Re: Weird problem. - Conroy - 29.01.2011

pawn Код:
new Text:Textdraw0[MAX_PLAYERS]
Use it like any other array, each array member has a seperate textdraw (for each player).

Example:

pawn Код:
public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
}
Etc.

-Conroy


Re: Weird problem. - Lorenc_ - 29.01.2011

Though it needs to be updated every 700ms

oic it will work thanks.