ocmd:unfreeze(playerid,params[])
{
if(GetPVarInt(playerid,"Adminlevel") <2)return SendClientMessage(playerid,Rot,"Rang zu Niedrig.");
new ID, grund[128], string[128], string2[128];
if(sscanf(params,"i",ID))return SendClientMessage(playerid,Blau,"Benutze /unfreeze [ID]");
TogglePlayerControllable(ID,1);
format(string,sizeof(string), "[Admin Control] {FF6E00}%s{FFFFFF} wurde von {FF6E00}%s{FFFFFF} entFreeze. Grund {FF6E00}[%s]",SpielerName(playerid),SpielerName(playerid),grund);
format(string2,sizeof(string2), "[Admin Control] {FF6E00}%s{FFFFFF} hatt dich entfreezt {FF6E00}%s{FFFFFF} Grund {FF6E00}[%s]",SpielerName(playerid),SpielerName(playerid),grund);
SendClientMessageToAll(Rot,string);
SendClientMessage(ID,Rot,string2);
SetPVarInt(playerid,"pFreezed",0);
return 1;
}
C:\Users\Giuseppe\Desktop\MyServer\gamemodes\admin.pwn(715) : error 001: expected token: ";", but found "-identifier-"