Raised This Month: $ Target: $400
 0% 

[HELP] Delayed text output in chat


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GreenBandana
Junior Member
Join Date: Feb 2015
Old 08-28-2015 , 08:56   [HELP] Delayed text output in chat
Reply With Quote #1

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.

Last edited by GreenBandana; 08-29-2015 at 05:46.
GreenBandana is offline
GreenBandana
Junior Member
Join Date: Feb 2015
Old 08-30-2015 , 03:29   Re: [HELP] Delayed text output in chat
Reply With Quote #2

push
GreenBandana is offline
GreenBandana
Junior Member
Join Date: Feb 2015
Old 09-01-2015 , 11:19   Re: [HELP] Delayed text output in chat
Reply With Quote #3

push
GreenBandana is offline
GreenBandana
Junior Member
Join Date: Feb 2015
Old 09-02-2015 , 09:47   Re: [HELP] Delayed text output in chat
Reply With Quote #4

push
GreenBandana is offline
GreenBandana
Junior Member
Join Date: Feb 2015
Old 09-03-2015 , 05:24   Re: [HELP] Delayed text output in chat
Reply With Quote #5

push
GreenBandana is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-03-2015 , 06:04   Re: [HELP] Delayed text output in chat
Reply With Quote #6

For God sake, stop bumping. Wait 14 days, then you will be able to bump.
__________________
HamletEagle is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-03-2015 , 07:35   Re: [HELP] Delayed text output in chat
Reply With Quote #7

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
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
GreenBandana
Junior Member
Join Date: Feb 2015
Old 09-03-2015 , 19:48   Re: [HELP] Delayed text output in chat
Reply With Quote #8

I thought the wait command only worked in CSS but not in CS:GO?
GreenBandana is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-04-2015 , 04:53   Re: [HELP] Delayed text output in chat
Reply With Quote #9

Quote:
Originally Posted by GreenBandana View Post
I thought the wait command only worked in CSS but not in CS:GO?
this is the amxmodx section, aka cs 1.6
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
GreenBandana
Junior Member
Join Date: Feb 2015
Old 09-04-2015 , 05:18   Re: [HELP] Delayed text output in chat
Reply With Quote #10

Quote:
Originally Posted by aron9forever View Post
this is the amxmodx section, aka cs 1.6
Oh sorry then. Where is the CS:GO section?
GreenBandana 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 22:16.


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