How to add texts on the registration ... +REP
#1

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

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

TextDraw?
Reply
#3

i think,you want this
Reply
#4

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

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
Reply
#6

Add this code on "OnPlayerConnect"

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

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;
}
Reply
#8

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
Reply
#9

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

You can use this in order to play music.
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)