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

You need to use format before and then send the formatted message.

https://sampwiki.blast.hk/wiki/Format
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You need to use format before and then send the formatted message.

https://sampwiki.blast.hk/wiki/Format
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)