View Single Post
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-04-2018 , 16:12   Re: Stealthy Snipers
Reply With Quote #2

Did it take you 1 min to make this plugin?.

You can optimize it alot.
  1. When buying the item, make them invisible then instead of using prethink.
  2. You are using cstrike for no reason at all.
  3. I would use pdata to get weapon id, or use ham_item_deploy and cache id instead.
  4. You're not checking if player is alive or not.

Or, if you want to make a more simple plugin, use atfp.

Please learn a bit more before posting a plugin.
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 04-04-2018 at 16:15.
SkumTomteN is offline