Hallo wenn ich den Befehl
ocmd:invite(playerid,params[])
{
new pID,s[128],name[128],eec[128];
GetPlayerName(playerid,name,sizeof(name));
if(GetPVarInt(playerid,"ClanLeader") == 1)
{
if(sscanf(params,"u",pID)) return SCM(playerid,Rot,"Benutze:/cc {TEXT}");
if(GetPVarInt(pID,"Clan") >= 1) return SCM(playerid,Rot,"Nein"); // deine Nachricht !
SetPVarInt(pID,"Clan",GetPVarInt(playerid,"ClanLeader"));
SaveAcc(pID);
format(s,sizeof(s),"Du wurdst von Leader %s in den Clan %s eingeladen",name,GetPVarString(playerid,"Clan",eec,128));
SetPlayerName(pID,eec);
SendClientMessage(playerid,hblau,s);
}
return 1;
}
Mache Scheißt der Server ab!