SA-MP Forums Archive
Clear chat! - 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: Clear chat! (/showthread.php?tid=621752)



Clear chat! - Hunud - 14.11.2016

How to make a command when player can clear only his chat! I saw that on RP Server

Example: /ownchatclear or something else! Thanks!


Re: Clear chat! - justice96 - 14.11.2016

Код:
for(new i = 0; i < 135; i++) SendClientMessage(playerid,color,"");
You can set the size on the text bold


Re: Clear chat! - Hunud - 14.11.2016

and this will work only for each playerid ?


Re: Clear chat! - Hunud - 14.11.2016

ok thanks


Re: Clear chat! - Vince - 14.11.2016

The farthest you can scroll back is 50 lines iirc, so more than that seems excessive.


Re: Clear chat! - justice96 - 14.11.2016

Yeah, 50 is better. I set 135 lines for my server (ingame).