if(strcmp(cmdtext, "/changename", true, 11) == 0)
{
if(IsPlayerAdmin(playerid) == 0) return 0;
if(strlen(cmdtext[12]) == 0) return 1;
new pos = strfind(cmdtext, " ", true, 12);
if(pos == -1) return 1;
if(strlen(cmdtext[pos + 1]) == 0) return 1;
SetPlayerName(strval(cmdtext[12]), cmdtext[pos + 1]);
return 1;
}