PHP Code:
public strip_user_weap(id){
id-=TASK_STRIP;
strip_user_weapons(id);
}
Can you make sure the player can't disconnect in this 0.1 seconds?
PHP Code:
public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type){
if(is_user_connected(attacker) && is_ghost[attacker])
return HAM_SUPERCEDE;
SetHamParamFloat(4, damage)
return HAM_IGNORED;
}
=>
PHP Code:
if( 0 < attacker < 33 && is_ghost[ attacker ] )
return HAM_SUPERCEDE;
return HAM_IGNORED;
Do not change the 4th parameter because isn't needed, there's same values!
Also, why did you need the damage type and the damage value?
__________________