Quote:
Originally Posted by Jimmmy
Nгo precisa de [128] ..
30+ 40 = string[ 70 ]
PHP код:
CMD:kick(playerid, params[])
{
if(pHelper[playerid] == 1)
{
new ID, Motivo[40], string[70];
if(sscanf(params, "ds", ID, Motivo)) return SendClientMessage(playerid, 0xFFFFFFAA, "Digite /kick ID Motivo");
format(string, sizeof(string), "Vocк foi kickado [ Motivo %s ]", Motivo);
SendClientMessage(ID, 0xFFFFFFAA, string);
Kick(ID);
}
return 1;
}
|
nгo mostrou o motivo do kick so mostrou server closed the connection