15.05.2014, 19:44
Oh, so you mean custom weapon damages? Fine. Basically, my method is, to set all the player's to the same team (SetPlayerTeam) so they are not able to damage each other. But you can also do "return 0;" to callback OnPlayerWeaponShot, that depends on you.
Either way, when you do that, you can use OnPlayerGiveDamage CALLBACK or OnPlayerWeaponShot with IF STATEMENT, which will check, if player just shot player to use that to create your own custom weapon damages.
There are MANY filterscripts already, that are doing custom weapon damages. Try search, and get your problem sorted, easy job.
Either way, when you do that, you can use OnPlayerGiveDamage CALLBACK or OnPlayerWeaponShot with IF STATEMENT, which will check, if player just shot player to use that to create your own custom weapon damages.
There are MANY filterscripts already, that are doing custom weapon damages. Try search, and get your problem sorted, easy job.