21.06.2014, 09:51
pawn Код:
CMD:cc(playerid, params[])
{
if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Ban can phai login truoc khi su dung lenh nay.");
if(PlayerInfo[playerid][pAdmin] < 4 && PlayerInfo[playerid][pHelper] < 2) return SendClientMessage(playerid, COLOR_GREY, "Ban Khong Duoc Phep Su Dung Lenh Nay.");
for(new i=0; i<100; i++)
{
SendClientMessageToAll(COLOR_WHITE, "Chatlog da duoc xoa boi %s", GetPlayerNameEx(playerid));
}
return 1;
}
pawn Код:
Line warrnings SendClientMessageToAll(COLOR_WHITE, "Chatlog da duoc xoa boi %s", GetPlayerNameEx(playerid));