[Ajuda] Crash Dll. Script Slб
#4

Quote:
Originally Posted by PabLo98
Посмотреть сообщение
Tenta utilizar isso:

PHP код:
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ) {
    
        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))) {
            return 
0;
        }
    }

@edit

https://sampforum.blast.hk/showthread.php?pid=3477784#pid3477784
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerCameraMode(playerid) == 53)  
    {  
        new Float:kLibPos[3];  
        GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]);
        if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 )  
        {  
            BanEx(playerid, "WeaponCrasher");  
            return 0;  
        }  
    }  
    return 1;
}
Este?
Reply


Messages In This Thread
Crash Dll. Script Slб - by ShOwD - 06.06.2015, 19:56
Re: Crash Dll. Script Slб - by ShOwD - 06.06.2015, 23:52
Re: Crash Dll. Script Slб - by Pablo098 - 06.06.2015, 23:57
Re: Crash Dll. Script Slб - by ShOwD - 07.06.2015, 00:12
Re: Crash Dll. Script Slб - by Pablo098 - 07.06.2015, 00:16

Forum Jump:


Users browsing this thread: 1 Guest(s)