View Single Post
VEN
Veteran Member
Join Date: Jan 2005
Old 09-09-2007 , 06:03   Re: Bullets rebound
Reply With Quote #10

Change fm_is_valid_ent(entity) to pev_valid(entity) and then you don't need to #include <fakemeta_util>

You better use engfunc(EngFunc_WriteCoord, ...) instead of write_coord(...), then you don't need to round vectors.

Also for example i do not see how g_shotgun_shot_particle_number[] is useful here. Snippets/tutorilas is to show you some scripting aspects/technique. You have to read and understand it not just copy/paste code blocks.

Last edited by VEN; 09-09-2007 at 06:06.
VEN is offline