"\" is not available
Team chat via \ is not in-inbuilt.
use with "!!"
function onPlayerChat( player, text )
{
if ( text.slice(0,1) == "!!" )
{
local text1 = text.slice(1);
for( local i = 0; i < GetMaxPlayers(); i++ )
{
local plr = FindPlayer( i );
if ( plr && plr.Team == player.Team )
{
MessagePlayer("[#00FF00](Team-chat)[#909090]"+player.Name+"[#FFFFFF]: "+text1+" ",plr );
}
}
return 0;
}
}
use with \\ not //.
Quote from: vito on Apr 04, 2017, 05:27 AMTeam chat via \ is not in-inbuilt.
I know. But I posted it toooooo simple...