Its useless to do checks if is higher than 0, you just need:
PHP Code:
if(get_user_frags(isVictim))
{
set_user_frags(isAttacker, get_user_frags(isAttacker) + iAmount)
set_user_frags(isVictim, get_user_frags(isVictim) - iAmount)
}
Anyway if you check if frags = 0, then it will also affect when frags are 0.
__________________