SA-MP Forums Archive
change color ??? - 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: change color ??? (/showthread.php?tid=364865)



change color ??? - NuLIO - 01.08.2012

how can i change color name of server when player connect ,

example ,
your connected to King Of FreeRoam , how can i change Color of King Of FreeRoam


Re: change color ??? - Ballu Miaa - 01.08.2012

EDIT: Nvm.


Re: change color ??? - NuLIO - 01.08.2012

no its possible , because i found it in many servers


Re: change color ??? - Ballu Miaa - 01.08.2012

Quote:
Originally Posted by NuLIO
Посмотреть сообщение
no its possible , because i found it in many servers
Are you talking about something like this?




Re: change color ??? - Jikesh - 01.08.2012

You can change it like this {FFFFFF}King Of FreeRoam
{FFFFFF} = white colour.

Look here for more colours https://sampwiki.blast.hk/wiki/Hex_colours


Re: change color ??? - Ballu Miaa - 01.08.2012

Quote:
Originally Posted by Jikesh
Посмотреть сообщение
You can change it like this {FFFFFF}King Of FreeRoam
{FFFFFF} = white colour.

Look here for more colours https://sampwiki.blast.hk/wiki/Hex_colours
Wow thats fucked up? I thought of it and i wasnt sure about it.

Anyways thanks for updating my information and sorry for confusing you!

Rep+6 added to Jikesh!


Re: change color ??? - NuLIO - 01.08.2012

but where can i find it my script ??


Re: change color ??? - [KHK]Khalid - 01.08.2012

Quote:
Originally Posted by NuLIO
Посмотреть сообщение
but where can i find it my script ??
Find what? If you're talking about the "Connected to [SERVER_NAME]" message that you get when you connect to a server, then you CANNOT.


But if you want to make a custom welcome message just do like what Jikesh said. Color embedding is allowed since the 0.3c so you can simply do like this:

pawn Код:
SendClientMessage(playerid, -1, "Welcome to {00FF00}My{FFFFFF}Server{FF0000}!");
on connect.


Re: change color ??? - Ballu Miaa - 01.08.2012

Quote:
Originally Posted by HellSphinX
Посмотреть сообщение
Find what? If you're talking about the "Connected to [SERVER_NAME]" message that you get when you connect to a server, then you CANNOT.
This is what i been talking about! Damn these guys lol.


Re: change color ??? - jeremy8810 - 02.08.2012

Maybe search for OnPlayerConnect in your server, or just search for the text Message wat it is now...