06.01.2013, 00:37
Hey guys! I've been trying to figure this script out.. it comes from the DevilAdminSystem.
But nothing happens! only thing that works is the SendClientMessage.. but the Killfeed is not being cleared..
Код:
CMD:cleardeathwindow(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 1) { for ( new i; i > 20; i++ ) { SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255); SendClientMessage(playerid, lightred, "[{B4B5B7}Admin{FF6347}]{B4B5B7} have cleared the Killfeed!"); } } else return SendClientMessage(playerid, lightred, "[{B4B5B7}System{FF6347}]: {B4B5B7}You aren't authorized to use this command."); return 1; }