20.05.2018, 13:47
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;
}
my only guess is that you also use OnPlayerTakeDamage in other scripts and return there 0 too change it to 1!