28.01.2009, 11:31
Hello, i need help, i have the command /nameoff and i hide my nametag.but when i write something it says my name.Can i change to say "Unknown Says: ..." ?
Thanks!
Thanks!
new NameOff[MAX_PLAYERS];
NameOff[playerid] = 1;
NameOff[playerid] = 0;
public OnPlayerText(playerid, text[])
{
new s_Send[128];
format(s_Send, 128, "%s: %s", "Unknown says", text);
if(NameOff[playerid] == 1)
{
SendClientMessageToAll(0xFFFFFFAA, s_Send);
return 0;
}
else
{
return 1;
}
}
Originally Posted by davebc
Hi i'm interrested by the nameoff/nameon but how can i do a level minimum for that thing please?
|