03.08.2017, 22:07
Aqui esta um comando BASICO de banimento 
Adcione essa stock para nгo ter erros

PHP код:
CMD:ban(playerid, params[])
{
new BanID, Motivo[30], MsgALL[150];
if( sscanf( params, "ds[30]", BanID, Motivo )) return SendClientMessage(playerid, -1,"Use: /Ban [Id] Motivo");
if(!IsPlayerConnected(BanID)) return 1;
format(MsgALL, sizeof(MsgALL), "[BAN] O Admin %s Baniu o Player %s. Motivo: %s", PlayerName(playerid), PlayerName(BanID), Motivo);
SendClientMessageToAll(-1, MsgALL);
Ban(BanID);
return true;
}
PHP код:
stock PlayerName(playerid)
{
new aname[24];
GetPlayerName(playerid, aname, 24);
return aname;
}