Bullet Crasher Problem.
#1

Hi, Doesnt work. It does not detect. Why could it be ?
PHP код:
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ) {
    if(
hittype != BULLET_HIT_TYPE_NONE) {
        if((
fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || (hittype || hittype 4)) {
            return 
Kick(playerid);
        }
    }
    else {
        if (
weaponid <= || weaponid 46) return 0// Kick(playerid);
    
}
    return 
1;

Reply
#2

Your code does not match the working code.

https://sampforum.blast.hk/showthread.php?tid=535559
Reply
#3

Quote:
Originally Posted by MicroKyrr
Посмотреть сообщение
Your code does not match the working code.

https://sampforum.blast.hk/showthread.php?tid=535559
Thanks solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)