23.10.2011, 11:41
ahh kk sorry and its 0.3c hes one of the commands:
it does the same for every command that i tested but not with explode how ever i went to id 64 and it still was exploding me thanks in advance
pawn Код:
CMD:kick(playerid, params[])
{
new
pID,
reason[70]
;
if(gPlayerData[playerid][E_ADMIN_LEVEL] < 2) return 0;
else if(sscanf(params, "uS(No reason)[70]", pID, reason)) SendUsage(playerid, "/kick [PLAYER_ID] [REASON]");
else if(!IsPlayerConnected(pID)) SendError(playerid, "This player is not connected!");
else if(pID == playerid) SendError(playerid, "You cannot kick yourself.");
else if(IsHigherAdminLevel(pID, playerid)) SendError(playerid, "This player has a greater admin level then yours!");
else
{
SendClientMessageFormattedToAll(COLOR_YELLOW, ""COL_GREY"[SERVER]{FFFFFF} %s(%d) has been kicked from the server by %s(%d) [Reason: %s]", ReturnPlayerName(pID), pID, ReturnPlayerName(playerid), playerid, reason);
Kick(pID);
}
return 1;
}