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;
}
Line warrnings SendClientMessageToAll(COLOR_WHITE, "Chatlog da duoc xoa boi %s", GetPlayerNameEx(playerid));
You need to use format before and then send the formatted message.
https://sampwiki.blast.hk/wiki/Format |