weapon config help
#4

Quote:
Originally Posted by cipi89
View Post
Code:
if((weapon == WEAPON_CARPARK || weapon == WEAPON_HELIBLADES || weapon == WEAPON_VEHICLE_MINIGUN) && GangTeam[playerid] == 0)
I'm asking about FLAMETHROWER and EXPLOSION which aren't WEAPON_CARPARK, WEAPON_HELIBLADES, WEAPON_VEHICLE_MINIGUN.

Instead they're 37 and 51 if im not mistaken so why would code above prevent damage from weapon 37 or 51?

Thats what I'm asking
Returning 0 will result in not receiving any damage. Since you only have return 0 under specific conditions it will only prevent damage there. Are you sure you didn't assign ID 51(explosion) as on of these? WEAPON_CARPARK, WEAPON_HELIBLADES, WEAPON_VEHICLE_MINIGUN
Reply


Messages In This Thread
weapon config help - by cipi89 - 07.05.2020, 01:38
Re: weapon config help - by Adamoneoone - 07.05.2020, 09:41
Re: weapon config help - by cipi89 - 08.05.2020, 10:19
Re: weapon config help - by jasperschellekens - 08.05.2020, 11:18
Re: weapon config help - by cipi89 - 08.05.2020, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)