AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Need advertise plugin with more lines (https://forums.alliedmods.net/showthread.php?t=286855)

mazdarx8 08-26-2016 08:54

Need advertise plugin with more lines
 
Hi,

I need an advertise plugin with more than 1 lines..

Example see screenshot:
http://imgur.com/a/VPmZA

Hope someone can help me!

AeroAcrobat 08-26-2016 10:27

Re: Need advertise plugin with more lines
 
use \n for newlines if supported by the plugin

BraveFox 08-26-2016 12:27

Re: Need advertise plugin with more lines
 
If you wan't I can make one with the text you choose

my11 08-26-2016 12:28

Re: Need advertise plugin with more lines
 
which plugin support this line?

mazdarx8 08-26-2016 14:22

Re: Need advertise plugin with more lines
 
I am using this plugin:
https://forums.alliedmods.net/showthread.php?p=2199152

Is this supported?
If not, can someone take this plugin and make it supportable?

Thanks !

my11 08-26-2016 16:27

Re: Need advertise plugin with more lines
 
Not support :C

could you paste the serveradvertisement.cfg? pls

mazdarx8 08-30-2016 14:44

Re: Need advertise plugin with more lines
 
Push...the Advertisement plugins for csgo, dont work with newline.

Arkarr 08-31-2016 13:28

Re: Need advertise plugin with more lines
 
Not tested. Added "\n" support.

NOTE:
I find the plugin very bad thinked. Like, it's doing a lot of string processing for nothin (see LoopClients), the string should be processed only once and it should be at the plugin loaded event. Otherwise, you spent a way too much resources.
PHP Code:

https://forums.alliedmods.net/showpost.php?p=2451376&postcount=19 


shanapu 08-31-2016 13:36

Re: Need advertise plugin with more lines
 
Quote:

Originally Posted by Arkarr (Post 2449906)
Not tested. Added "\n" support.

good idea as you realized it with ExplodeString and "/n". I also made my thoughts, but skipped it.

nice work! :bacon!: but also untested ;D

Arkarr 08-31-2016 14:01

Re: Need advertise plugin with more lines
 
Quote:

Originally Posted by shanapu (Post 2449910)
good idea as you realized it with ExplodeString and "/n". I also made my thoughts, but skipped it.

nice work! :bacon!: but also untested ;D

Well, thanks I guess. Random result might happen. Anyway, I'll rewrite it as soon as possible.

EDIT:

Still not tested. I think I managed to save you a bit of resources.
PHP Code:

https://forums.alliedmods.net/showpost.php?p=2451376&postcount=19 



All times are GMT -4. The time now is 14:19.

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