Maybe someone have /changename command?
#6

PHP Code:
CMD:changename(playeridparams[])
{
    new  
string[126], oldname[126];
    if(
isnull(params)) return SendClientMessage(playeridCOLOR_GREEN"USAGE: /changename [new name]");
        
GetPlayerName(playeridoldnamesizeof(oldname));
    
SetPlayerName(playeridparams);
    
format(stringsizeof(string), "* You changed your name from %s to %s"oldnameparams);
    
SendClientMessage(playeridCOLOR_GREENstring);
    return 
1;

simple ^^
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)