SA-MP Forums Archive
Welcome message not showing - 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: Welcome message not showing (/showthread.php?tid=542478)



Welcome message not showing - Glossy42O - 19.10.2014

Hello. I have little problem i have no idea what's wrong.

When i connect to my server it suppose to say.

welcome to LSCNR etc..

Anyways here is the code.
PHP код:
SendClientMessage(playerid, -1"Welcome to Los santos {99CCFF}cops {FFFFFF}and {FF0000}robbers. {FFFFFF}Please read {FFFF33}(/rules,/cmds,/help)\r\n{FFFFFF}If you need any help ask the admins don't shy."); 
If you need full tell me


Re: Welcome message not showing - Rudy_ - 19.10.2014

you can't have \n line in sendclientmessage


Re: Welcome message not showing - Glossy42O - 19.10.2014

So just /r/ ? or without it


Re: Welcome message not showing - Glossy42O - 19.10.2014

Even without it, It won't show


Re: Welcome message not showing - xWarrior - 19.10.2014

It must be like this

Код:
SendClientMessage(playerid, -1, "Welcome to Los Santos {99CCFF}cops {FFFFFF}and {FF0000}robbers.");
SendClientMessage(playerid, -1, "{FFFFFF}Please read {FFFF33}(/rules,/cmds,/help");
SendClientMessage(playerid, -1, "{FFFFFF}If you need any help ask the admins don't shy.");



Re: Welcome message not showing - Glossy42O - 19.10.2014

Okay, Thanks for helping.

Worked.


Re: Welcome message not showing - xWarrior - 19.10.2014

Quote:
Originally Posted by Stuun
Посмотреть сообщение
Okay, Thanks for helping.

Worked.
Your welcome !