View Single Post
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 11-29-2010 , 10:11   Re: Attack Marker - Colored markers which shows your teammates where to attack.
Reply With Quote #8

You didn't look into the code, did you?

I didn't use OnGameFrame, I've used a timer that repeads itself in the interval of sm_attackmarker_marker_tick. So if sm_attackmarker_marker_tick is 2.5, the markers are drawn every 2.5 sec.
So this plugin has a tick by itself.

English isn't my native language, so is tick the wrong word for that cvar? I know I've could have used sm_attackmarker_marker_interval, but its longer so I thought tick describes it and is short.
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline