help in this cmds ty
#10

Quote:
Originally Posted by Warnin
Посмотреть сообщение
Help me please !
Try this

PHP код:
CMD:setname(playerid,params[])
{
    if(
Info[playerid][Level] >= || IsPlayerAdmin(playerid))
    {
        new 
idname[24], str[130], newname;
        if(
sscanf(params"udd"id,name,newname)) return SendClientMessage(playerid,red,"/SetName [Playerid/Name] [New Name]");
        
GetPlayerName(id,name,24);
        
format(str,130,"You Changed %s (%d)'s Name to $%d",name,id,newname);
        
SendClientMessage(playerid,lightblue,str);
        
format(str,130"Admin Changed Your Name to $%d",newname);
        
SendClientMessage(playerid,lightblue,str);
        
SetPlayerName(id,name);
    } else return 
SendClientMessage(playerid,red,"You are not RCON Admin");
    return 
1;

Reply


Messages In This Thread
help in this cmds ty - by Warnin - 25.05.2016, 01:41
Re: help in this cmds ty - by ShadowTeam - 25.05.2016, 01:47
Re: help in this cmds ty - by ShadowTeam - 25.05.2016, 01:58
Re: help in this cmds ty - by Warnin - 25.05.2016, 02:05
Re: help in this cmds ty - by Warnin - 25.05.2016, 02:08
Re: help in this cmds ty - by ShadowTeam - 25.05.2016, 02:13
Re: help in this cmds ty - by Warnin - 25.05.2016, 02:26
Re: help in this cmds ty - by Warnin - 25.05.2016, 10:06
Re: help in this cmds ty - by Amunra - 25.05.2016, 10:31
Re: help in this cmds ty - by TheseMan - 25.05.2016, 10:32

Forum Jump:


Users browsing this thread: 2 Guest(s)