View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-23-2009 , 13:43   Re: Drop Nightvision Goggles
Reply With Quote #5

Hi. Some suggestions.

- You could use cstrike, most of people use it, and would more efficient. Using fakemeta for that is not a benifit.
- Cache the value of engfunc( EngFunc_AllocString, "info_target"
- I would use Ham_Touch with "info_target" ; it would be more efficent and there will be less call.
- nvgent = -1; <= You can use FM_NULLENT , it's more readable. This define already exists.
- EngFunc_RemoveEntity ; I would use use FL_KILLME to let the engine decide the right moment.
Arkshine is offline