27.07.2013, 07:53
Quote:
And here's finally my question: There is any way to disable OnPlayerTakeDamage with normal weapons?
|
pawn Код:
public OnPlayerTakeDamage(playerid,issuerid,Float:amount,weaponid)
{
if( is_normal_weapon_check( weaponid ) )
return 1;
if(EnableDamage[weaponid] == false)
amount = 0;
return 1;
}