warning 202: what ?
#1

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;
}
Line warrnings SendClientMessageToAll(COLOR_WHITE, "Chatlog da duoc xoa boi %s", GetPlayerNameEx(playerid));
help
Reply
#2

pawn Код:
CMD:cc(playerid, params[])
{
    new string[128];
    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++)
    {
        format(string, sizeof(string), "Chatlog da duoc xoa boi %s", GetPlayerNameEx(playerid));
        SendClientMessageToAll(COLOR_WHITE, string);
    }                                                                                    
    return 1;
}
Try this.
Reply
#3

Quote:
Originally Posted by Laurey
Посмотреть сообщение
pawn Код:
CMD:cc(playerid, params[])
{
    new string[128];
    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++)
    {
        format(string, sizeof(string), "Chatlog da duoc xoa boi %s", GetPlayerNameEx(playerid));
        SendClientMessageToAll(COLOR_WHITE, string);
    }                                                                                    
    return 1;
}
Try this.
thanks u
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)