Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( hittype != BULLET_HIT_TYPE_NONE )
- {
- if( !( -1000.0 <= fX <= 1000.0 ) || !( -1000.0 <= fY <= 1000.0 ) || !( -1000.0 <= fZ <= 1000.0 ) )
- {
- return 0;
- }
- }
- if( hittype == BULLET_HIT_TYPE_PLAYER )
- {
- if(hitid == playerid)
- {
- Kick(playerid);//Kicka ga sa servera ako ima crasher. Dodajte adminima text da pise ako zelite
- return 0;
- }
- }
- if( hittype == BULLET_HIT_TYPE_PLAYER )
- {
- if( fX == 0.000000 && fY == 0.000000 && fZ == 0.500000 && weaponid == 0)
- {
- return 0;
- }
- }
- if( hittype == BULLET_HIT_TYPE_PLAYER ) // Bullet Crashing uses just this hittype
- {
- if( !( -20.0 <= fX <= 20.0 ) || !( -20.0 <= fY <= 20.0 ) || !( -20.0 <= fZ <= 20.0 ) ) // a valid offset, it's impossible that a offset bigger than 20 is legit (also less than -20.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)
- {
- return false; // let's desynchronize that bullet, so players won't crash
- }
- }
- if( hittype == 0 )
- {
- if( fX == 0.000000 && fY == 0.000000 && fZ == 0.000000 )
- {
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement