AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Delayed text output in chat (https://forums.alliedmods.net/showthread.php?t=270741)

GreenBandana 08-28-2015 08:56

[HELP] Delayed text output in chat
 
I hope this can be achieved just by using console commands.

I want to output the following text in chat when I execute a config on my server:

say >>>5 seconds remaining<<<
say >>>4 seconds remaining<<<
say >>>3 seconds remaining<<<
say >>>2 seconds remaining<<<
say >>>1 seconds remaining<<<

Basically a simple countdown. The chat message has to appear every second.

Also I wonder if I could change that value to every 30 seconds or every minute.

GreenBandana 08-30-2015 03:29

Re: [HELP] Delayed text output in chat
 
push

GreenBandana 09-01-2015 11:19

Re: [HELP] Delayed text output in chat
 
push

GreenBandana 09-02-2015 09:47

Re: [HELP] Delayed text output in chat
 
push

GreenBandana 09-03-2015 05:24

Re: [HELP] Delayed text output in chat
 
push

HamletEagle 09-03-2015 06:04

Re: [HELP] Delayed text output in chat
 
For God sake, stop bumping. Wait 14 days, then you will be able to bump.

aron9forever 09-03-2015 07:35

Re: [HELP] Delayed text output in chat
 
you can just add "wait;wait;wait" between the commands
wait skips one tick during the execution of a script
if you're running at 100fps then 100x wait will delay one second

that is if I understood right and you want this inside a .cfg file

if you want it inside a plugin just use set_task

GreenBandana 09-03-2015 19:48

Re: [HELP] Delayed text output in chat
 
I thought the wait command only worked in CSS but not in CS:GO?

fysiks 09-03-2015 20:51

Re: [HELP] Delayed text output in chat
 
What is your scripting question?

aron9forever 09-04-2015 04:53

Re: [HELP] Delayed text output in chat
 
Quote:

Originally Posted by GreenBandana (Post 2339620)
I thought the wait command only worked in CSS but not in CS:GO?

this is the amxmodx section, aka cs 1.6


All times are GMT -4. The time now is 22:16.

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