Name Commands,Name Tags
#5

pawn Код:
CMD:setlevel(playerid,params[])
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    if(strcmp(name, "SumX", false) == 0)
    {
                   new name[MAX_PLAYER_NAME], string[256];
                GetPlayerName(playerid,name,sizeof(name));
                format(string,sizeof(string),"[ADMIN]%s",name);
                  SetPlayerName(playerid,string);
    }
    else return SendClientMessage(playerid, 0xFF0000FF, "Only 'SumX' can use this command!");
    return 1;
try this
Reply


Messages In This Thread
Name Commands,Name Tags - by SumX - 23.08.2012, 20:45
Re: Name Commands,Name Tags - by Sielly - 23.08.2012, 20:55
Re: Name Commands,Name Tags - by clarencecuzz - 23.08.2012, 20:55
Re: Name Commands,Name Tags - by Sielly - 23.08.2012, 20:59
Re: Name Commands,Name Tags - by XStormiest - 23.08.2012, 21:22

Forum Jump:


Users browsing this thread: 2 Guest(s)