error
#1

hi i have this errors and warning> error 012: invalid function call, not a valid address
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

on this command

dcmd_ban(playerid, params[])
{
new id, tmp[128],string[128];
if(sscanf(params, "uz", id, tmp)) return SendClientMessage(playerid, COLOR_RED, "[AIUTO]: /BAN [ID / NOME] [MOTIVO]");
if(!IsPlayerConnected(id) || id == playerid) return SendClientMessage(playerid, COLOR_RED, "и offline o sei te stesso");
format(string, sizeof string, "Player: %s и stato bannato da %s%s%",Name(id), AdminName(playerid),tmp);
SendClientMessageToAll(YELLOW, string), print(string);
format(string,sizeof(string),"Bannato da %s",AdminName(playerid));
SendCommandMsg(playerid,"ban");
return BanEx(id,tmp);
}


error line is :
format(string, sizeof string, "Player: %s и stato bannato da %s%s%",Name(id), AdminName(playerid),tmp);


help please
Reply


Messages In This Thread
error - by iJumbo - 29.08.2010, 11:51
Re: error - by Jeffry - 29.08.2010, 13:56
Re: error - by iJumbo - 29.08.2010, 14:32
Re: error - by Jeffry - 29.08.2010, 14:40
Re: error - by Hiddos - 29.08.2010, 14:42
Re: error - by iJumbo - 29.08.2010, 15:49

Forum Jump:


Users browsing this thread: 1 Guest(s)