hi körnte mir da jemand bei helfen
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(1236) : error 017: undefined symbol "ooc"
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(1240) : error 001: expected token: ",", but found ";"
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(1241) : error 001: expected token: ",", but found "-string-"
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(1241) : warning 215: expression has no effect
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(1241) : error 001: expected token: ";", but found ")"
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(1241) : error 029: invalid expression, assumed zero
C:\Users\david\Desktop\Blue-Mix-Reallife Sever\gamemodes\Neu.pwn(1241) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
das ist der befehl
ocmd:ooc(playerid,params[])
{
if(ooc == 0) return SendClientMessage(playerid,Rot,"Der Globaler Chat ist deaktiviert!");
new text[128];
new string[128];
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name);
if(sscanf(params,"s",text)) return SendClientMessage(playerid,Rot"Benutze /ooc [text]!");
format(string,sizeof(string),"[Globaler-Chat] %s: %s",Name,text);
SendClientMessageToAll(Grün,string);
return 1;
}
ocmd:chataus(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,FARBE,"Du bist kein Admin!");
if(ooc == 0)
{
SendClientMessageToAll(FARBE,"Der Chat wurde aktiviert!");
ooc = 1;
return 1;
}
else if(ooc == 1)
{
SendClientMessageToAll(FARBE,"Der Chat wurde deaktiviert!");
ooc = 0;
return 1;
}
return 1;
}