Author Topic: Colors in -SmallMessage-  (Read 2569 times)

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
Colors in -SmallMessage-
« on: November 08, 2012, 10:21:16 pm »
I've entered the GTA Multiplayer.CZ server (awesome server, by the way), and I saw a kind-of-pink color in the SmallMessage text, something like this:

Press "X" to bust players

NOTE: This is a SmallMessage text, not a chat text

How is this done?
Thank you :)
« Last Edit: December 08, 2012, 10:41:32 pm by IdkanYavuk »

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
Re: Colors in -SmallMessage-
« Reply #1 on: November 08, 2012, 10:45:45 pm »
Wow, that was fast, thanks
I suppose:
~g~ Green
~w~ White
~r~ Red
~b~ Blue
~y~ Yellow

Are there more colors?
« Last Edit: December 08, 2012, 10:40:25 pm by IdkanYavuk »

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Colors in -SmallMessage-
« Reply #2 on: November 10, 2012, 03:39:16 pm »
You can use the color tags in every message.
So something like this should work:
MessagePlayer("Press \"[#FFC0CB]X[#d]\" to bust players", pPlayer );

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
Re: Colors in -SmallMessage-
« Reply #3 on: November 11, 2012, 07:05:52 am »
Nono. SmallMessage. Not MessagePlayer
« Last Edit: December 08, 2012, 10:40:12 pm by IdkanYavuk »

Rocky

  • Full Member
  • ***
  • Posts: 105
  • Karma: +5/-3
    • View Profile
Re: Colors in -SmallMessage-
« Reply #4 on: November 11, 2012, 11:50:16 am »
http://wiki.sa-mp.com/wiki/GameTextStyle#Text_Colors
Try text colors i guess all of them works.

Look for lu server testers, Requirements are:
English good enough to communicate.
Good knowledge about gaming.

PM me those who are interested.

IdkanYavuk X

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +37/-36
  • Developer for The Newport Experience
    • View Profile
Re: Colors in -SmallMessage-
« Reply #5 on: November 11, 2012, 04:11:04 pm »
Nice, thanks! :)
« Last Edit: December 08, 2012, 10:39:57 pm by IdkanYavuk »

 

© Liberty Unleashed Team.