Headshot not working!
#4

PHP код:
if(issuerid != INVALID_PLAYER_ID && playerData[issuerid][isInDM])
    {
        return 
0;
    }
    if(
issuerid != INVALID_PLAYER_ID && playerData[issuerid][isInCVR])
    {
        return 
0;
    }
    if(
issuerid != INVALID_PLAYER_ID && playerData[issuerid][isinFREEFORALL])
    {
        return 
0;
    }
    if(
issuerid != INVALID_PLAYER_ID && playerData[issuerid][isInEvent])
    {
        return 
0;
    }
    if(
issuerid != INVALID_PLAYER_ID && playerData[issuerid][isInDuel])
    {
        return 
0;
    }
    if (
playerData[playerid][isInDM])
    {
         return 
0;
     }
     if (
playerData[playerid][isInCVR])
    {
         return 
0;
     }
     if (
playerData[playerid][isinFREEFORALL])
    {
         return 
0;
     }
     if (
playerData[playerid][isInEvent])
    {
         return 
0;
     }
     if (
playerData[playerid][isInDuel])
    {
         return 
0;
     } 
This cause OnPlayerTakeDamage not work in other scripts return 1 instead

my only guess is that you also use OnPlayerTakeDamage in other scripts and return there 0 too change it to 1!
Reply


Messages In This Thread
Headshot not working! - by BlackLineCnR - 20.05.2018, 13:16
Re: Headshot not working! - by TadePoleMG - 20.05.2018, 13:36
Re: Headshot not working! - by BlackLineCnR - 20.05.2018, 13:38
Re: Headshot not working! - by Lokii - 20.05.2018, 13:47
Re: Headshot not working! - by BlackLineCnR - 20.05.2018, 13:49
Re: Headshot not working! - by TadePoleMG - 20.05.2018, 13:53
Re: Headshot not working! - by BlackLineCnR - 20.05.2018, 13:55
Re: Headshot not working! - by Lokii - 20.05.2018, 13:55
Re: Headshot not working! - by TadePoleMG - 20.05.2018, 13:58
Re: Headshot not working! - by TadePoleMG - 20.05.2018, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)