Hiding chat message from console
#1

Hi there.

I'm making some login system using OnPlayerText(). I wounder if there is anyway to remove or change the text will be printed to console..

This is a sample code.

public OnPlayerText(playerid, text[])
if (loginstatus[playerid]){
Func_Login(playerid, text);
text[0]=0; // it has no effect in console..
return 0; // to stop print in game screen.
}
return 1;
}

I tried this way to:
for(new i=0; text[i]; i++)
text[i]='*';

but still no effects in console.

It's not that realy nessesary, but if anyone can give me an advice... Thanks.
Reply


Messages In This Thread
Hiding chat message from console - by mandbjp - 10.08.2009, 19:54
Re: Hiding chat message from console - by MPKaboose - 10.08.2009, 19:55
Re: Hiding chat message from console - by Woet - 10.08.2009, 21:41
Re: Hiding chat message from console - by mandbjp - 11.08.2009, 11:04

Forum Jump:


Users browsing this thread: 1 Guest(s)