ocmd:f(playerid,params[])
{
new text[128];
if(sscanf(params,"s",text))return SendClientMessage(playerid,ROT,"INFO: /f [text]");
format(text,sizeof(text),"Member %s: %s",Spielername(playerid),text);
for(new i=0; i<GetMaxPlayers(); i++) // Der erste Error
{
if(IsPlayerConnected(i)) // Der zweite Error
{
if(isPlayerInFrakt(i,GetPVarInt(playerid,"Fraktion"))) // Die alle anderen Errors
{
SendClientMessage(i,BLAU,text);
}
}
}
return 1;
}
Die Errors : error 001: expected token: "-identifier-", but found "="
: error 029: invalid expression, assumed zero
: error 029: invalid expression, assumed zero
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line