SA-MP Forums Archive
Different textdraws for each player - 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: Different textdraws for each player (/showthread.php?tid=107337)



Different textdraws for each player - Striker_Moe - 09.11.2009

Hi.

Iґve tried to create a different textdraw for EACH player (Displaying their rank). I epicly failed with TextDrawCreate, because it just showed the same textdraw for everyone. How can unique textdraws be created?


Re: Different textdraws for each player - yom - 09.11.2009

Maybe if you show your code..


Re: Different textdraws for each player - Redirect Left - 09.11.2009

Just attach a [playerid] to each one

new Text:MyText[MAX_PLAYERS];
then just attach MyText[playerid] to each text.

Quote:
Originally Posted by 0rb
Maybe if you show your code..
Stop trying to get peoples code, you don't need it.



Re: Different textdraws for each player - yom - 09.11.2009

Quote:
Originally Posted by Redirect Left
Stop trying to get peoples code, you don't need it.
YOU don't need it because you don't know how to help people with efficiency. You think the only reason of his problem is an array problem but there could be lot of other reasons, and the only way to find his problem and quickly solve it is to have a look at the script.

You seriously think that i'm stealing other people's not working codes, or you just try to be smart?