[Ajuda] /megafone
#1

Se alguem poder da uma ajuda ai no comando, quando eu do /megafone a messagem do Texto nгo aparece

pawn Код:
CMD:megafone(playerid, params[])//Arrumar Megafone !
{
    new string[100], texto[100];
    if(PlayerDados[playerid][Calado] == true) return SendClientMessage(playerid, -1, "Jogador nгo pode falar no megafone pq foi calado !");
    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo estб Online !");
    if(PlayerDados[playerid][Organizacao] != 2)
    {
        SendClientMessage(playerid, -1, "Vocк nгo й um Oficial do Governo !");
        return 1;
    }
    if(BaterCartao[playerid] != 1)
    {
        SendClientMessage(playerid, -1, "Vocк nгo {FF0000}Bateu Cartгo !");
        return 1;
    }
    if(sscanf(params, "s",texto)) return SendClientMessage(playerid, -1, "Use: /megafone [Fala]");
    if(PlayerDados[playerid][Organizacao] == 2)
    {
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        format(string, sizeof(string), "Policial Militar %s: %s", Nome(playerid), texto);
        IsPlayerInRangeOfPoint(playerid,60.0,X,Y,Z);
        printf("%s", string);
    }
    return 1;
}
A Fala nгo aparece ...
Reply


Messages In This Thread
/megafone - by Tiger_Maconha - 12.10.2012, 23:23
Re: /megafone - by ForT - 13.10.2012, 00:14
Re: /megafone - by Tiger_Maconha - 13.10.2012, 01:31
Re: /megafone - by ForT - 13.10.2012, 01:33
Re: /megafone - by Tiger_Maconha - 13.10.2012, 01:43

Forum Jump:


Users browsing this thread: 1 Guest(s)