I tried setting client flags on players remotely on his server. I've never tried this clientside but apparently it would work.
I did
PHP Code:
//#CLIENTSIDE
function onPlayerChats()
{
if (player.chat == "test")
{
temp.e = findplayer("xXziroXx");
player.chat = temp.e.client.testflag SPC temp.e.chat;
sleep(2);
temp.e.client.testflag = "RawrTest";
player.chat = temp.e.client.testflag SPC temp.e.chat;
}
}
First time round my chat showed his chat then after 2 seconds i saw 'RawrTest' followed by his chat. When repeated, it showed 'RawrTest' in both phases.
Ziro couldn't read this clientflag that was set on him and when he reconnected it was gone. Kinda wierd
When i used serverside to set player.attr[5] though i could not read a client flag that was set through RC on him. I normally do this thing serverside but if it if supposed to work clientside that would be cool.