Shao, I wasn't able to reproduce your issue at my end, I even searched in the forum and haven't found any similar case (found only this post
here), maybe some plugin is messing with your
OnPlayerRunCmd.
Btw, I added a client index check now on OnPlayerRunCmdPost.
--------------------------------------------------
moschinovac,
Related to the sprite being visible through walls, try to do the following steps (added as a
Note to the main thread).
- The default plugin sprite is visible through walls, this is because of an attribute on the original .vmt file ($ignorez 1).
If this bothers you, try setting the following cvar to one of these materials:
PHP Code:
l4d_spot_marker_sprite_model "materials/vgui/hud/icon_locator_generic.vmt"
PHP Code:
//can't recolor, default color: white
l4d_spot_marker_sprite_model "materials/vgui/resource/downarrow.vmt"
__________________