23.12.2009, 10:35
Search for OnPlayerHealthChange callback. You can find it in YSI (YSI\System\YSI_callbacks.own)
if thats what you mean be 'set damage of X weapon'.
Code:
SetDisabledWeapons Warning: This function is removed in SA-MP 0.3. Alternatively you can return 0 in OnPlayerUpdate if they use a bad weapon, and change their weapon

