SA-MP Forums Archive
How to add texts on the registration ... +REP - 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: How to add texts on the registration ... +REP (/showthread.php?tid=641012)



How to add texts on the registration ... +REP - BadJih - 10.09.2017

how to put texts on the registration & login on server & play a music

like (XX player online) and in down MOTD: welcome to XXX!


Re: How to add texts on the registration ... +REP - IlanZ - 10.09.2017

TextDraw?


Re: How to add texts on the registration ... +REP - crukk11 - 10.09.2017

i think,you want this


Re: How to add texts on the registration ... +REP - n00blek - 10.09.2017

One of easiest ways is register system i use(dialog tabs)
https://sampforum.blast.hk/showthread.php?tid=267808


Re: How to add texts on the registration ... +REP - Zeth - 10.09.2017

Quote:
Originally Posted by n00blek
Посмотреть сообщение
One of easiest ways is register system i use(dialog tabs)
https://sampforum.blast.hk/showthread.php?tid=267808
But using SII really sucks, even if you want to stick with INI then go with Dini or y_INI


Re: How to add texts on the registration ... +REP - Escobabe - 10.09.2017

Add this code on "OnPlayerConnect"

Код:
SendClientMessage(playerid,YOUR_COLOR,"[SERVER]:Welcome to Server Name, enjoy.");
I hope this helps.


Re: How to add texts on the registration ... +REP - AmarPlayer - 10.09.2017

For the first two things, use textdraws.
For music, go to this site: https://kiwi6.com/
Sign up, upload some music, on the right side you will have a link to that song, copy it.
Then go in pawno and do this:
Код:
public OnPlayerConnect(playerid)
{
	PlayAudioStreamForPlayer(playerid, song url);
	return 1;
}



Re: How to add texts on the registration ... +REP - BadJih - 10.09.2017

Quote:
Originally Posted by Escobabe
Посмотреть сообщение
Add this code on "OnPlayerConnect"

Код:
SendClientMessage(playerid,YOUR_COLOR,"[SERVER]:Welcome to Server Name, enjoy.");
I hope this helps.
okey all the answeres helps but this didnt... im not asking for sendclientmessage. thank you


Re: How to add texts on the registration ... +REP - Omirrow - 10.09.2017

https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer

You can use this in order to play music.


Re: How to add texts on the registration ... +REP - Mohaaaaaaaaaaa - 10.09.2017

Well, In order to play any music
use
PlayerAudioStreamForPlayer(playerid, url);

Don't get any ******* they must be converted to .mp3
about textdraws you can use ITD textdraw to create them then go to scriptfiles the code will be there