CMD:setname(playerid,params[])
{
if(Info[playerid][Level] >= 5 || IsPlayerAdmin(playerid))
{
new id, name[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,"Your Level Is Not High Enough To Use This Command");
return 1;
}
|
That is just to change a name please edit it to what I put up there
|
i don't know the rest i just give you the setname so you can use that but i said it the rest i don't know sorry wait for someone to come and help you for other things
i give you the command + i didn't report you for spamming for all the help section + am still saying i don't know that commands and you need to wait if this is rude so am saying nothing.