KICK/BAN problem
#4

about the second problem:
pawn Код:
CMD:kick(playerid, params[])
{
    new igr, rzl[40], str[300], admin[MAX_PLAYER_NAME], kicked[MAX_PLAYER_NAME];
       if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, Crvena, "Niste ovlasceni.");
       GetPlayerName(playerid, admin, MAX_PLAYER_NAME);
       GetPlayerName(igr, kicked, MAX_PLAYER_NAME);
       if(sscanf(params, "us[40]", igr, rzl)) return SendClientMessage(playerid, COLOR_GRAD2, "{FF8040}CMD: {80FFFF}/kick [Id igraca/deo imena] [razlog]");
       format(str, sizeof(str), "SERVER: Admin %s je kikao %s, razlog: %s.", admin, kicked, rzl);
       SendClientMessageToAll(Crvena, rzl);
       Kick(igr);
return 1;
}
Reply


Messages In This Thread
KICK/BAN problem - by Vegas. - 23.03.2013, 12:37
Re: KICK/BAN problem - by Joshman543 - 23.03.2013, 12:43
Re: KICK/BAN problem - by Vegas. - 23.03.2013, 12:47
Re: KICK/BAN problem - by HurtLocker - 23.03.2013, 13:01
Re: KICK/BAN problem - by Vegas. - 23.03.2013, 21:53

Forum Jump:


Users browsing this thread: 2 Guest(s)