SA-MP Forums Archive
Textdraw 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: Textdraw problem! (/showthread.php?tid=145330)



Textdraw problem! - Zouke! - 01.05.2010

Hi everyone!

I made the registration of my server a TextDraw Registration. You have to select you sex typing SPACE and the textdraw change Male or Female. All is right, but when i test with people i found a problem! The problem is that when i press SPACE and i select Male, my friend press also SPACE and my textdraw change! I want only change my textdraw, but who press SPACE change the textdraw ... I want to change only my sex/textdraw and dont interfere in other players!

And i tutorial, also with textdraw, if a player is in Police Departament tutorial, i return to the Police Departament tutorial!




Help Please!!

Thanks.




Re: Textdraw problem! - [DRD]Rodney - 01.05.2010

better to use GameTextForPlayer


Re: Textdraw problem! - geerdinho8 - 01.05.2010

Look in your script for TextDrawShowForAll and change it to TextDrawShowForPlayer


Re: Textdraw problem! - Zouke! - 01.05.2010

Quote:
Originally Posted by Lamano
Look in your script for TextDrawShowForAll and change it to TextDrawShowForPlayer
There isnt TextDrawShowForAll


Re: Textdraw problem! - MaTrIx4057 - 01.05.2010

You have to define your textdraw for looping through every player, for example new Text:Textdraw1[MAX_PLAYERS];