[Ajuda] Crash SA-MP 0.3.7
#4

pawn Код:
if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7
        if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) {
        format(string, sizeof(string), "[INFO] O Jogador %s (ID:%d) Pode ser um hacker ou sofrendo ataque de um hacker, (problemas com tiros que pode dar crash) kick ou /desbugar",pname,playerid);
        ABroadCast(0xFFFF00AA,string,1);
        return 0;
        }
        }else {
        if (weaponid <= 0 || weaponid > 46)
        {
        format(string, sizeof(string), "{FF0000}[TBG]Security kickou o jogador %s | Motivo: dano com arma maior que 46 e menor que 0 (inexistente)",pname,playerid);
        SendClientMessageToAll(Azul,string);
        Kick(playerid);
        return 0;
        } // Isto porque tб enviando com arma invбlida, (0 й o punho) e nгo existe armas maiores que id 46.
        }

Use de base isso dentro da public OnPlayerWeaponShot

Atenciosamente,
Reply


Messages In This Thread
Crash SA-MP 0.3.7 - by MaykonStriker - 22.05.2015, 03:22
Re: Crash SA-MP 0.3.7 - by Locky_ - 22.05.2015, 09:38
Re: Crash SA-MP 0.3.7 - by JonathanFeitosa - 22.05.2015, 12:17
Respuesta: Crash SA-MP 0.3.7 - by [BWL]Chamaleon - 22.05.2015, 19:40
Re: Crash SA-MP 0.3.7 - by MaykonStriker - 22.05.2015, 19:54
Respuesta: Crash SA-MP 0.3.7 - by [BWL]Chamaleon - 22.05.2015, 22:10
Re: Respuesta: Crash SA-MP 0.3.7 - by RDM - 30.05.2015, 15:50
Re: Crash SA-MP 0.3.7 - by AzulimZW - 30.05.2015, 15:56
Re: Crash SA-MP 0.3.7 - by JonathanFeitosa - 30.05.2015, 16:07
Re: Crash SA-MP 0.3.7 - by RDM - 30.05.2015, 22:08

Forum Jump:


Users browsing this thread: 1 Guest(s)