PDA

View Full Version : Preventing Weapon Damage


IzadorO
17/09/2015, 11:14 PM
Any way to prevent weapon damage w/o use of weapon-config.inc?

Nero_3D
18/09/2015, 12:31 AM
Set everyone in the same team, read that

https://wiki.sa-mp.com/wiki/SetPlayerTeam

IzadorO
18/09/2015, 12:37 AM
I already know that can be used, but I want to have it so I can disable spray can damage and that only.

Abagail
18/09/2015, 12:43 AM
You can use OnPlayerTakeDamage, OnPlayerGiveDamage... whatever else and set their health / armor applicably. Though amount is the armor and health combined in those callbacks.