[Ajuda] Algum anti crasher 0.3.7
#3

Quote:
Originally Posted by RodrigoMSR
View Post
Tente:
PHP Code:
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
{
    if(!(
22 <= weaponid <= 34 || weaponid == 38) || !(<= hittype <= 4))
    {
        
Kick(playerid);
         return 
0;
    }
    if(
hittype == BULLET_HIT_TYPE_VEHICLE || hittype == BULLET_HIT_TYPE_PLAYER)
    {
        if(
BadFloat(fX) || BadFloat(fY) || BadFloat(fZ))
        {
            
Kick(playerid);
            return 
0;
        }
    }
    return 
1;
}
stock BadFloat(Float:f) return (>= 1000.0 || <= -1000.0); 
Se nгo adiantar, pode ser modificaзхes invбlidas em veнculos, use: https://sampforum.blast.hk/showthread.php?pid=1671500#pid1671500.
Vlw mano funcionou para uns certos comandos do s.0.b.e.i.t muito obrigado
Reply


Messages In This Thread
Algum anti crasher 0.3.7 - by Arleann - 05.05.2018, 15:17
Re: Algum anti crasher 0.3.7 - by RodrigoMSR - 05.05.2018, 16:08
Re: Algum anti crasher 0.3.7 - by Arleann - 06.05.2018, 14:37
Re: Algum anti crasher 0.3.7 - by XandyMello - 07.05.2018, 00:19
Re: Algum anti crasher 0.3.7 - by Arleann - 07.05.2018, 19:04

Forum Jump:


Users browsing this thread: 1 Guest(s)