OnPlayerWeaponShoot
#5

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
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.
The SetPlayerTeam method isn't good. If you set all the players team to the same one then all the death reasons will get messed up.
Reply


Messages In This Thread
OnPlayerWeaponShoot - by audriuxxx - 15.05.2014, 19:25
Re: OnPlayerWeaponShoot - by Riddick94 - 15.05.2014, 19:30
Re: OnPlayerWeaponShoot - by audriuxxx - 15.05.2014, 19:41
Re: OnPlayerWeaponShoot - by Riddick94 - 15.05.2014, 19:44
Re: OnPlayerWeaponShoot - by SickAttack - 15.05.2014, 20:18
Re: OnPlayerWeaponShoot - by Riddick94 - 15.05.2014, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)