10.08.2009, 19:54
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.
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.