Mom, ich mach das ma grad so dass das nit doppelt kommt
EDIT:
Weiß nit obs funzt, testet es einfach ma:
if(strcmp(cmd, "/makeclanmember", true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_RED, "/makeclanmember [PlayerID]");
return 1;
}
new pname[MAX_PLAYER_NAME], member, string11[256];
member = ReturnUser(tmp);
GetPlayerName(member, pname, sizeof(pname));
format(string11, sizeof(string11), "[CLAN]%s", pname);
if(string11[member] == pname[member])
{
SendClientMessage(playerid, COLOR_RED, "Der Spieler ist schon ein Clanmember!");
return 1;
}
else
{
SetPlayerName(member, string11);
}
return 1;
}
MFG, ROb