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



Textdraw bullshit problem. - Gogorakis - 27.07.2014

My register/login system is with textdraws..I also created a small "board" which says the basics of my server..The fact is that:


How can I make the basics "board" appear after a player login..

Ohh also..how can I make the login/register system with music? Where should I put the line?


Re: Textdraw bullshit problem. - fonia5 - 27.07.2014

won't a timer do it? sorry am just guessing trying to help out.

for the music if you talking about playaudioforplayer then it want's to be on your register login area which i believe would be under onplayerconnect i think.

sorry if am wrong just trying help.


Re: Textdraw bullshit problem. - Gogorakis - 27.07.2014

Timer? Hmm?


Re: Textdraw bullshit problem. - SyntaxQ - 27.07.2014

For music, you can use the function PlayAudioStreamForPlayer(playerid, "<url>");

For example:
pawn Код:
PlayAudioStreamForPlayer(playerid, "http://pamp3.site40.net/zombie/intro.wav");
Put this under OnPlayerConnect or when the player logs in using dialog

For the textdraw thing, place the 'Basics' player textdraw code above the other textdraws, so that first the basics textdraws are created and then other..


Re: Textdraw bullshit problem. - Gogorakis - 27.07.2014

I'm going to try that! Thanks by the way


Re: Textdraw bullshit problem. - Sledgehammer - 27.07.2014

Does onplayerconnect show the dialog of witch you don't want it to show? Does your script destroy textdraws when a player leaves?


Re: Textdraw bullshit problem. - Gogorakis - 27.07.2014

Did it..But how can I make it stop when a player logs or registers?