View Full Version : Textdraw bullshit problem.

27/07/2014, 12:20 AM
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?

27/07/2014, 12:26 AM
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.

27/07/2014, 12:39 AM
Timer? Hmm?

27/07/2014, 06:37 AM
For music, you can use the function PlayAudioStreamForPlayer(playerid, "<url>");

For example:

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..

27/07/2014, 11:09 AM
I'm going to try that! Thanks by the way:)

27/07/2014, 11:15 AM
Does onplayerconnect show the dialog of witch you don't want it to show? Does your script destroy textdraws when a player leaves?

27/07/2014, 11:58 AM
Did it..But how can I make it stop when a player logs or registers?