AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Autoresponder and Advertiser (with color and conditions!) (https://forums.alliedmods.net/showthread.php?t=27814)

fatal_nl 07-12-2017 12:43

Re: Autoresponder and Advertiser (with color and conditions!)
 
Suddenly this plugin stopped working correcty after Steam updated CS 1.6 about 2 days ago.

Example from advertisements.ini:

Code:

Hello %s welcome to the server.
Used to appear in the server as:

Code:

Hello fatal_nl welcome to the server.
And now it says:

Code:

Hello  s welcome to the server.

Cd5ssmffan 06-19-2018 19:21

Re: Autoresponder and Advertiser (with color and conditions!)
 
I don't think I should post a suggestion for this because it's already very similar to this plugin. All the same, I would like to see a plugin like this with a feature where it sends messages after my own specified period of time, or when stuff happens (bomb planted, dropped, gun picked, dropped, new round, basically everything that I can see in the API)

mahdiso 06-22-2019 13:30

Re: Autoresponder and Advertiser (with color and conditions!)
 
this plugin show ad 10 sec by 10 sec
can i change it to forexample 2 sec? (every 2 sec show next paragraf)

srry for bad english

thEsp 06-22-2019 14:38

Re: Autoresponder and Advertiser (with color and conditions!)
 
Quote:

Originally Posted by mahdiso (Post 2656350)
this plugin show ad 10 sec by 10 sec
can i change it to forexample 2 sec? (every 2 sec show next paragraf)

srry for bad english

https://forums.alliedmods.net/showthread.php?p=2646101

georgik57 06-22-2019 23:17

Re: Autoresponder and Advertiser (with color and conditions!)
 
Quote:

Originally Posted by mahdiso (Post 2656350)
this plugin show ad 10 sec by 10 sec
can i change it to forexample 2 sec? (every 2 sec show next paragraf)

srry for bad english

Change these and then recompile:
PHP Code:

//Minimum difference between two different ads (float)
new const Float:RAND_MIN 60.0;

//Maximum difference between two different ads (float)
new const Float:RAND_MAX 80.0


mahdiso 06-23-2019 04:12

Re: Autoresponder and Advertiser (with color and conditions!)
 
Quote:

Originally Posted by georgik57 (Post 2656393)
Change these and then recompile:
PHP Code:

//Minimum difference between two different ads (float)
new const Float:RAND_MIN 60.0;

//Maximum difference between two different ads (float)
new const Float:RAND_MAX 80.0



and can i change source to show message to dead player?
or show all off the message at the same time?

georgik57 06-23-2019 05:49

Re: Autoresponder and Advertiser (with color and conditions!)
 
Use thesp's plugin in this case
https://forums.alliedmods.net/showthread.php?p=2646101

DJEarthQuake 11-30-2020 14:07

Re: Autoresponder and Advertiser (with color and conditions!)
 
Found server freeze linked to using this plugin again. This is what I have done to stabilize it. The original code works but when other plugins were sending a number or messages the server stability was compromised. The way Autoresponder and Advertiser (with color and conditions!) was coded if message cannot get through the outcome is catastrophic instead of skipping message.


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

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