[Ajuda] Como por "SendClientMessageToAll" no Ban System.
#8

Tenta aew
pawn Код:
public OnBanResponse(index, response_code, data[])
{
    new string[256];
    if(response_code == 200)
    if(strcmp(data, "Success?Ban added", true)) printf("[SAMP-BANS]: Error,  API responded with: %s", data);
    else SendClientMessage(index, 0xFFFFFF, "The ban was added");
    format(string, sizeof(string),"O jogador %s foi banido do servidor!");
    SendClientMessageToAll(COLOR_RED, string);
    else printf("[SAMP-BANS]: Encountered an error, the page didn't respond");
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)