View Single Post
E1_531G
Senior Member
Join Date: Dec 2017
Old 07-21-2019 , 10:45   Re: [CSTRIKE] Non-player entity 0 out of range
Reply With Quote #6

pWeapon is an ent. The correct check will be this:
Quote:
pWeapon > 0
or
Quote:
pev_valid(pWeapon)
__________________
My English is A0

Last edited by E1_531G; 07-21-2019 at 10:46.
E1_531G is offline