View Single Post
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 09-04-2013 , 17:18   Re: [Any] Dev Zones (with natives for developers) v2.0
Reply With Quote #16

New version 2.0

-New cvars:
Code:
sm_devzones_mode "1" // 0 = Use checks every X seconds for check if a player join or leave a zone, 1 = hook zone entities with OnStartTouch and OnEndTouch (less CPU consume)
sm_devzones_checker "5.0" // checks and beambox refreshs per second, low value = more precise but more CPU consume, More hight = less precise but less CPU consume
sm_devzones_model "models/items/cs_gift.mdl" // Use a model for zone entity, if this model not exist in your game, change to other model (IMPORTANT: change this value only on map start)
-Added hook of OnStartTouch and OnEndTouch for reduce cpu consume

-Removed unnecesary native "Zones_IsClientInZone"

-Updated Slap zones to version 2.0
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 09-04-2013 at 17:23.
Franc1sco is offline
Send a message via MSN to Franc1sco