ocmd:n(playerid,params[])
{
new string[128];
if(sscanf(params,"s[128]",string))return SendClientMessage(playerid, WEIß,"{FFD200}Benutzung:{FEFEFE} /n [Nachricht]");
for(new i=0; i<MAX_PLAYERS; i++)
{
if(pInfo[playerid][pLevel] > 3 && pInfo[playerid][pAdmin] == 0)return SendClientMessage(playerid,GRAU,"Du bist kein Neuling mehr!");
if(pInfo[playerid][pNeulingChat] != 1)return SendClientMessage(playerid,GRAU,"Der Neulingschat ist derzeit {FF3C00}offline");
if(pInfo[playerid][pAdmin] > 0)
{
format(string, sizeof(string), "[%s{00E1FF}] %s: %s",GetAdminName(playerid),GetName(playerid),string);
}
else
{
format(string, sizeof(string), "{00E1FF}[Neuling{00E1FF}] %s: %s",GetName(playerid),string);
}
if(GetPlayerScore(i)<=3 || pInfo[i][pAdmin] >= 1)
{
SendClientMessage(i,HELLBLAU,string);
}
}
return 1;
}"
Hei ich hab ein Problem wen ich ihn /n Chat schreibe kommt mein Name 3x.