Hey,
Fehler :
error 029: invalid expression, assumed zero
Zeile:
ocmd:(playerid,params[])
{
new aname[MAX_PLAYER_NAME];
new Text[128], string[128];
GetPlayerName(playerid,aname,sizeof(aname));
if(sSpieler[playerid][Adminlevel] >=1
{
if(sscanf(params,"s",Text))
{
SendClientMessage(playerid,Weiss,"Benutzung /a [text]");
return 1;
}
format(string,sizeof(string),"( %d Admin %s: %s )",sSpieler[playerid][Adminlevel],aname,Text);
SendAdminMessage(Grun,string);
return 1;
}
else
{
SendClientMessage(playerid,Rot,"Du bist kein Admin Level 1");
return 1;
}
}
Danke im Vorraus
mfg.