Raised This Month: $ Target: $400
 0% 

Make commands to be ecexuted every roundstart.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
r3D w0LF
Senior Member
Join Date: Dec 2013
Location: Albania
Old 12-29-2013 , 05:55   Make commands to be ecexuted every roundstart.
Reply With Quote #1

There is a task plugin which executes commands every x seconds/minutes/hours or specific hour. I want a plugin which executes those commands every x seconds of round start. EX at the first 5 secs of round i want to execute this cmd: amx_enablecmd 1 and and at 60 secs of round i wana use this command amx_enablecmd 0
r3D w0LF is offline
naven
Veteran Member
Join Date: Jun 2008
Location: Poland, Cieszyn
Old 12-29-2013 , 06:38   Re: Make commands to be ecexuted every roundstart.
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=130616
3rd example.
__________________
naven.com.pl
"At the end of the day, there are always going to be mental disorders and people who cause violence for no other reason than the fact that they're fucked up and lost. And all we can do is try to learn from it." Corey Taylor.
naven is offline
r3D w0LF
Senior Member
Join Date: Dec 2013
Location: Albania
Old 12-29-2013 , 12:04   Re: Make commands to be ecexuted every roundstart.
Reply With Quote #3

Quote:
Originally Posted by naven View Post
sorry but i didnt understood it. Wheres cvar like amx_task 30 "amx_enablecmd 1" s
I want plugin to be amx_round 30 "cmd" where: amx_round "sec" "cmd"
r3D w0LF is offline
r3D w0LF
Senior Member
Join Date: Dec 2013
Location: Albania
Old 02-08-2014 , 13:26   Re: Make commands to be ecexuted every roundstart.
Reply With Quote #4

Bump.
r3D w0LF is offline
r3D w0LF
Senior Member
Join Date: Dec 2013
Location: Albania
Old 03-20-2014 , 05:35   Re: Make commands to be ecexuted every roundstart.
Reply With Quote #5

bump
r3D w0LF is offline
connoisseur
Senior Member
Join Date: Jan 2012
Old 03-20-2014 , 09:40   Re: Make commands to be ecexuted every roundstart.
Reply With Quote #6

Try this.
Spoiler

Create a file named cmdschedule.txt in the configs directory.
Put commands in the following manner:
"command" "time in seconds"

Example: "mp_friendlyfire 1" "10"
"mp_friendlyfire 0" "40"
This will turn on friendly fire after 10 seconds and turn it off after 40 seconds each round.

Last edited by connoisseur; 03-20-2014 at 09:44. Reason: Added an example
connoisseur is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode