[Ajuda] Como arrumar isso?
#1

pawn Код:
if(IsPlayerInRangeOfPoint(killerid, 100, 1970.0239,-1198.5100,17.4500))// << Cordenadas exatamente no meio da favela.
        {
            new string[128], killer[MAX_PLAYER_NAME];
            GetPlayerName(killerid, killer, sizeof(killer));
            format(string, sizeof(string), "| ANTI - DM | %s matou %s no ParkGlen e nгo foi para lista de procurados!(Area de DM liberado).", killer, nome(playerid));
            SendClientMessageToAll(0xCAFF70AA, string);
        }
        else
        {
            if(GetPlayerWantedLevel(killerid) == 0){SetPlayerWantedLevel(killerid, 1);}
            else if(GetPlayerWantedLevel(killerid) == 1){SetPlayerWantedLevel(killerid, 2);}
            else if(GetPlayerWantedLevel(killerid) == 2){SetPlayerWantedLevel(killerid, 3);}
            else if(GetPlayerWantedLevel(killerid) == 3){SetPlayerWantedLevel(killerid, 4);}
            else if(GetPlayerWantedLevel(killerid) == 4){SetPlayerWantedLevel(killerid, 5);}
            else if(GetPlayerWantedLevel(killerid) == 5){SetPlayerWantedLevel(killerid, 6);}
            else if(GetPlayerWantedLevel(killerid) == 6){SetPlayerWantedLevel(killerid, 6);}
            new string[128], killer[MAX_PLAYER_NAME];
            GetPlayerName(killerid, killer, sizeof(killer));
            format(string, sizeof(string), "| ANTI - DM | %s matou %s e estб sendo procurado.", killer, nome(playerid));
            SendClientMessageToAll(0xCAFF70AA, string);
        }
Meu Server avisa pra todos quanto um player mata o outro dentro da aerea de DM, e quando fora tambйm, sу que: quando algum player realmente mata o outro, a mensagem aparece da forma correta mas, quando um player morre por contra propria aparece como alguem tivesse matado ele fora da area de DM, e aparece da seguinte forma:"| ANTI - DM | (aqui aparece um espaco sem nada, sу um espaco mesmo) matou %s e estб sendo procurado."
ou quando um adm da o comando /kill [id] tambйm aparece dessa forma citada acima, como-se o adm tivesse matado ele fora da favela, mas nao aparece o nome do adm, no lugar aparece um espaco, e o adm tambйm nao leva estrelas... o que realmente nao deve acontecer caso de suicidio e caso comando de adm, mas com a mensagem nao й assim que acontece, se alguem podesse me ajudar num code que: quando o player se suicida, nгo aparecer mensagem nenhuma, e assim com comandos de adm...
Reply


Messages In This Thread
Como arrumar isso? - by HumildadeForevis - 07.09.2013, 18:31
Re: Como arrumar isso? - by Coe1 - 07.09.2013, 18:40
Re: Como arrumar isso? - by HumildadeForevis - 07.09.2013, 19:02
Re: Como arrumar isso? - by Coe1 - 07.09.2013, 19:08
Re: Como arrumar isso? - by HumildadeForevis - 07.09.2013, 19:25
Re: Como arrumar isso? - by Coe1 - 07.09.2013, 19:32
Re: Como arrumar isso? - by HumildadeForevis - 07.09.2013, 19:54
Re: Como arrumar isso? - by Coe1 - 07.09.2013, 20:01
Re: Como arrumar isso? - by HumildadeForevis - 07.09.2013, 20:31
Re: Como arrumar isso? - by Coe1 - 07.09.2013, 20:40

Forum Jump:


Users browsing this thread: 5 Guest(s)