Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnMapStart(){
- ....
- CreateTimer(5.0, CPTimer);
- }
- public Action:CPTimer(Handle:timer){
- new index = -1;
- while((index = FindEntityByClassname(index, ("team_control_point_master"))) != -1){
- RemoveEdict(index);
- }
- index = -1;
- while((index = FindEntityByClassname(index, ("trigger_capture_area"))) != -1){
- SetEntPropFloat(index, Prop_Data, "m_flCapTime", 0.5);
- }
- }
Add Comment
Please, Sign In to add comment