/name command
#2

You can found it in admin filterscripts.
pawn Код:
//Example with zcmd & sscanf
CMD:name(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        new id, newname[MAX_PLAYER_NAME];
        if(sscanf(params, "ds", id, newname)) return SendClientMessage(playerid, -1, "Syntax: /name [newname]");
        SetPlayerName(id, newname);
        SendClientMessage(playerid, -1, "The player name has changed.");
        return true;
    }
    return false;
}
Reply


Messages In This Thread
/name command - by (_AcE_) - 23.10.2011, 22:49
Re: /name command - by CyNiC - 24.10.2011, 11:59
Re: /name command - by =WoR=Varth - 24.10.2011, 12:11

Forum Jump:


Users browsing this thread: 1 Guest(s)