[Ajuda] Repetiзгo de mensagens
#1

Vejam a imagem, explica tudo.


Um erro. Na primeira frase й "Quando estou sozinho e coloco o comando '/coletet' ..."

Cуdigo do comando:

pawn Код:
CMD:coletet(playerid)
{
    new Float:X, Float:Y, Float:Z;
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, VERMELHO, "ERRO: Vocк nгo й um adiministrador para usar esse comando.");
    GetPlayerPos(playerid, X, Y, Z);
    for(new x = 0; x < MAX_PLAYERS; x++) {
    if(IsPlayerInRangeOfPoint(x, 50.0, X, Y, Z))
{
    SetPlayerArmour(x, 100);
    new nome[MAX_PLAYER_NAME], stringnome[300];
    GetPlayerName(playerid, nome, sizeof(nome));
    format(stringnome, sizeof(stringnome), "AdmCMD: O jogador %s deu colete a todos perto dele.",nome);
    SendClientMessageToAll(ROXOCLARO, stringnome);
}
}
    return 1;
}
Reply


Messages In This Thread
Repetiзгo de mensagens - by Gabriel Santana - 20.08.2012, 00:35
Re: Repetiзгo de mensagens - by leonardo1434 - 20.08.2012, 00:41
Re: Repetiзгo de mensagens - by Gabriel Santana - 20.08.2012, 00:46

Forum Jump:


Users browsing this thread: 1 Guest(s)