SA-MP Forums Archive
[FilterScript] Change Text Color Chat (v1.0) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Change Text Color Chat (v1.0) (/showthread.php?tid=357897)



Change Text Color Chat (v1.0) - @Riichard - 08.07.2012

[FilterScript] » Change Text Color Chat v1.0
- Hello!
- Good... I was there no what to do, and this idea hit of fun in chat.


» Function
- Command: /CText : Change the color of his words in chat.
- Command Rcon: /Textcall : Modifies the color of all the players connected to the chat.


» Include
pawn Code:
#include <a_samp>
#include <zcmd>
» Use
- Type /ctext, then opened dialog.

- Now just select your favorite color .


» Result
- See the photos:

--

--



» Use Command Rcon
- Type /Textcall, then opened dialog.
- See the photos:

- Now just select color for all player connected.



» Credits
@Riichard > Creator of all.
[WaK]_SyntaX_[BC] > Helping Tests.
Zeex > Include ZCMD.
Thanks SA-MP TEAM.


» Download
Pastebin Download
4Shared(pwn - amx) Download

» Bug / Errors / Suggestions
Contact PM/Post it here.


» Do not remove the credits!



Re: Change Text Color Chat (v1.0) - .FuneraL. - 08.07.2012

Good Release, 9/10... Let's go Fun Chat


Re: Change Text Color Chat (v1.0) - Edu33 - 08.07.2012

Wow, good job Riichard


Re: Change Text Color Chat (v1.0) - @Riichard - 09.07.2012

Thanks .


Re: Change Text Color Chat (v1.0) - misho1 - 09.07.2012

Good Job, I Was Searching For Something Like This


Re: Change Text Color Chat (v1.0) - @Riichard - 09.07.2012

Quote:
Originally Posted by misho1
View Post
Good Job, I Was Searching For Something Like This
Thanks

Use and abuse, but do not remove the credits.


Respuesta: Change Text Color Chat (v1.0) - Gamer_007 - 09.07.2012

realy nice


Re: Change Text Color Chat (v1.0) - OpeN. - 09.07.2012

Good job. Useful for servers fun


Re: Change Text Color Chat (v1.0) - @Riichard - 09.07.2012

Thanks All .


Re: Change Text Color Chat (v1.0) - bond1999 - 29.10.2013

i need ur help please give me ur skype ;(


Re: Change Text Color Chat (v1.0) - Captive - 30.10.2013

scripting is not the best, you could use a "switch" instead of "if", or store the hexadecimal value of the variable and use the SendClientMessageToAll in this way:
SendClientMessage (playerid, TextsActive, text);


Re: Change Text Color Chat (v1.0) - xF4Life - 30.10.2013

it's simple, but nice idea. +rep


Re: Change Text Color Chat (v1.0) - SkrBC - 12.09.2017

Hi Friend, Hey, but I do not get the Player ID.


Re: Change Text Color Chat (v1.0) - ManavSamp - 12.01.2018

I really Like ur this Filterscript but how can i change /ctext for admins only not for players ?


Re: Change Text Color Chat (v1.0) - BulletRaja - 12.01.2018

Quote:
Originally Posted by ManavSamp
Посмотреть сообщение
I really Like ur this Filterscript but how can i change /ctext for admins only not for players ?
By

Adding
Rcon Admin
PHP код:
if(!IsPlayerAdmin(playerid)) return 0
You can set it based on your admin system


Re: Change Text Color Chat (v1.0) - NitroZeth - 12.01.2018

Hey , But how to get player ID


Re: Change Text Color Chat (v1.0) - ManavSamp - 13.01.2018

Quote:
Originally Posted by BulletRaja
Посмотреть сообщение
By

Adding
Rcon Admin
PHP код:
if(!IsPlayerAdmin(playerid)) return 0
You can set it based on your admin system
/textcall is for rcon is right but i want /ctext for level 1


Re: Change Text Color Chat (v1.0) - dittmannlucas - 27.04.2018

dosn't work.. i type /ctext but nothing happen.. i have the includes, it compile with no issues, but in game don't work