[FilterScript] Colourtext system [ZCMD + Y_INI]
#1

Colour TEXT system v1.0 [ZCMD + Y_INI]
Features
  • saves player data using y_ini
  • 7 colours(more will be added)
  • 2 RCON commands to give and take colourtext(/givecolourtext and /takecolourtext)
  • Only one player command /colourtext
  • Easily use it with your vip system or any other system
  • Only the players who have got the colourtext via /givecolourtext can use /colourtext
Commands
  • /givecolourtext (id) <---- Only for RCON admins
  • /takecolourtext (id) <----- Only for RCON admins
  • /colourtext <---- Only for the players who got the colourtext (via /givecolourtext)
Pictures



IMPORTANT NOTES
the data will be saved to the directory
Код:
SERVERFILES/scriptfiles/Users/Coloured Text
So make sure you have created that folder

Download
Download Link (SolidFiles):click me (recomended)
Download Link (Pastebin):Click Me
Reply
#2

And what if I have custom chat text structure ? like
[Job] Faggio[156][Player]: %s [1531.3513, 315.351]
Reply
#3

Then you need to edit on text to suit your needs
Код:
        format(str, sizeof(str), "{0000FF}%s",text[0]);
        SendPlayerMessageToAll(playerid, str);
Reply
#4

Can we use RGB Codes to send a single message with different colors ?
Reply
#5

Example to multi-color message is
SendClientMessageToAll (-1,"{FF0000} this is red {00FF00} and rhis is green);
Html color codes not rgb


https://colorpickersamp.codeplex.com/
^^ a color picker designed for samp
Reply
#6

Dude I was asking that can We use HTML codes Ingame to send messages wth different colors in one Message.

Like When we press T or F6 and type
Quote:

{FF0000} this is red {00FF00} and rhis is green.

Reply
#7

Quote:
Originally Posted by Compiler
Посмотреть сообщение
Dude I was asking that can We use HTML codes Ingame to send messages wth different colors in one Message.

Like When we press T or F6 and type
No you can't, it works on sendclientmessage
https://sampforum.blast.hk/showthread.php?tid=600471
here is a filterscript designed for that purpose
Reply
#8

Nice job.
Reply
#9

Not Bad.
Reply
#10

Quote:
Originally Posted by Godly
Посмотреть сообщение
Nice job.
Quote:
Originally Posted by Sakuragi
Посмотреть сообщение
Not Bad.
Thanks Guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)