OnPlayerWeaponshot problem.
#2

Quote:
Originally Posted by Gaurav_Rawat
Посмотреть сообщение
The code should work like if team is in A they can't hit the object other team can.
make use of the return values.
Quote:
Originally Posted by wikisamp
0 - Prevent the bullet from causing damage.
1 - Allow the bullet to cause damage.
so
return 1;
will allow the object to be hit
while
return 0;
just won't
Reply


Messages In This Thread
OnPlayerWeaponshot problem. - by Gaurav_Rawat - 03.01.2015, 14:11
AW: OnPlayerWeaponshot problem. - by CutX - 03.01.2015, 14:14
Re: OnPlayerWeaponshot problem. - by Gaurav_Rawat - 03.01.2015, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)