[Ajuda] Hacker fly? me ajudem por favor.
#1

Olб galera, estou com um problema em meu server, jб tenho essas duas proteзхes:
PHP код:
public OnPlayerWeaponShotplayeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ )
{
    if( 
hittype != BULLET_HIT_TYPE_NONE // Bullet Crashing uses just this hittype
    
{
        if( !( -
1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) ) // a valid offset, it's impossible that a offset bigger than 1000 is legit (also less than -1000.0 is impossible, not used by this hack, but still, let's check for it, just for the future, who knows what hacks will appear). The object with biggest offset is having ~700-800 radius.
        
{
            
BanEx(playerid"WeaponCrash");
            return 
0// let's desynchronize that bullet, so players won't crash
        
}
    }
    return 
1;

PHP код:
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
{
if(
hittype == BULLET_HIT_TYPE_PLAYER)
{
if(!(-
20.0 <= fX <= 20.0) || !(-20.0 <= fY <= 20.0) || !(-20.0 <= fZ <= 20.0))
{
BanEx(playerid"WeaponCrash");
return 
0;
}
}
return 
1;

Uma й no prуprio gm, e a outra й em um fs, mбs com essas proteзхes nгo estou conseguindo bloquear o ataque de um individuo, nгo consigo ver como й o ataque dele, mбs jб vi que ele voa atй o player e comeзa a crashar, peзo a ajuda de vocкs.
Reply


Messages In This Thread
Hacker fly? me ajudem por favor. - by maykoncoelho - 29.04.2015, 16:05
Re: Hacker fly? me ajudem por favor. - by MaykonStriker - 29.04.2015, 16:46
Re: Hacker fly? me ajudem por favor. - by JkS - 29.04.2015, 16:50
Re: Hacker fly? me ajudem por favor. - by MaykonStriker - 29.04.2015, 17:32
Re: Hacker fly? me ajudem por favor. - by matheusspohr - 29.04.2015, 18:00
Re: Hacker fly? me ajudem por favor. - by JkS - 29.04.2015, 19:08
Respuesta: Hacker fly? me ajudem por favor. - by maykoncoelho - 29.04.2015, 20:52
Re: Hacker fly? me ajudem por favor. - by JonathanFeitosa - 29.04.2015, 23:04
Re: Hacker fly? me ajudem por favor. - by matheusspohr - 30.04.2015, 01:05

Forum Jump:


Users browsing this thread: 1 Guest(s)