PDA

View Full Version : Textdraw bullshit problem.


Gogorakis
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:
http://i62.tinypic.com/ny8iyu.png

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?

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

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

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

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

Sledgehammer
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?

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