player stats problem please help!!! - 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)
+--- Thread: player stats problem please help!!! (
/showthread.php?tid=454887)
player stats problem please help!!! -
Luca12 - 30.07.2013
Hello I have a big problem when two player or first player type /stats then second type /stats the textdraw is mixed if you know what I mean but when just one player type stats then is oke how can I fix it if you know what I mean.
Re: player stats problem please help!!! -
Scottas - 30.07.2013
create textdraw for every player separately.
Re: player stats problem please help!!! -
Luca12 - 30.07.2013
how can I do that ? Thanks
Re: player stats problem please help!!! -
Scottas - 30.07.2013
now you have something like:
pawn Код:
new Text:textdraw;
textdraw = TextDrawCreate(.....)
You need to create textdraw for every player, like this:
pawn Код:
new Text:textdraw[MAX_PLAYERS];
textdraw[playerid] = CreateTextDraw(...)
Or use 'CreatePlayerTextdraw'. Without your code it's hard to help you correctly.