29.06.2017, 19:03
i thought you mean something else you can use this:
PHP код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
if(weaponid >= 1 && weaponid <= 39)
{
//code
}
return 1;
}