AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4 (https://forums.alliedmods.net/showthread.php?t=248314)

ESK0 01-08-2018 11:05

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
Quote:

Originally Posted by Jezis (Post 2570627)
Spoiler

Download newest .smx from GitHub I added VIPONLINE and some other stuffs without changing version. It means you are using “older” version

wolvez04 01-10-2018 03:50

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
Not sure whats wrong here?

L 01/10/2018 - 00:03:27: [SM] Blaming: ServerAdvertisements3.smx
L 01/10/2018 - 00:03:27: [SM] Call stack trace:
L 01/10/2018 - 00:03:27: [SM] [0] Format
L 01/10/2018 - 00:03:27: [SM] [1] Line 534, D:\Sourcemod\ServerAdvertisements3\ServerAdve rtisements3.sp::Timer_PrintMessage
L 01/10/2018 - 00:03:27: [SM] Exception reported: String formatted incorrectly - parameter 4 (total 3)
L 01/10/2018 - 00:03:27: [SM] Blaming: ServerAdvertisements3.smx

ESK0 01-10-2018 05:35

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
Quote:

Originally Posted by wolvez04 (Post 2570981)
Not sure whats wrong here?

L 01/10/2018 - 00:03:27: [SM] Blaming: ServerAdvertisements3.smx
L 01/10/2018 - 00:03:27: [SM] Call stack trace:
L 01/10/2018 - 00:03:27: [SM] [0] Format
L 01/10/2018 - 00:03:27: [SM] [1] Line 534, D:\Sourcemod\ServerAdvertisements3\ServerAdve rtisements3.sp::Timer_PrintMessage
L 01/10/2018 - 00:03:27: [SM] Exception reported: String formatted incorrectly - parameter 4 (total 3)
L 01/10/2018 - 00:03:27: [SM] Blaming: ServerAdvertisements3.smx

Paste your config

Jezis 01-28-2018 11:51

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
I have some problems using {red} and {blue} in single message. I know i can use darkred instead, but the red looks better for me. Any fix?

Spoiler

thoxik 01-28-2018 20:41

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
Quote:

Originally Posted by Jezis (Post 2574729)
I have some problems using {red} and {blue} in single message. I know i can use darkred instead, but the red looks better for me. Any fix?

Spoiler

I found out that red color has that problem... I deleted the message using red.. and then no more logs appeared.
Just change the red color until someone fix it.

ESK0 01-29-2018 04:20

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
As the error says. You cant use two team colors in one message :) IIRC theres no way to bypass it

kot4404 01-29-2018 07:09

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
I think cvar check for the config file would be nice feature, for example
"cvar" "sv_cheats 1"
and the advertisement would show only if the sv_cheats is set to 1
Also I got a question. What is the
Quote:

"Settings"
{
"Time" "120" // Time in seconds
}
for? I thought it is global setting between each advertisement until I specify otherwise, but my messages are displayed every 60 seconds

ESK0 01-29-2018 11:34

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
Quote:

Originally Posted by kot4404 (Post 2574916)
I think cvar check for the config file would be nice feature, for example
"cvar" "sv_cheats 1"
and the advertisement would show only if the sv_cheats is set to 1
Also I got a question. What is the

for? I thought it is global setting between each advertisement until I specify otherwise, but my messages are displayed every 60 seconds

Time should delay between messages.. for cvar check you can use
{CONVAR} ->{mp_friendlyfire},{sv_cheats},...., or convar from any pluigin.

kot4404 01-29-2018 12:03

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
Quote:

Originally Posted by ESK0 (Post 2574980)
Time should delay between messages.. for cvar check you can use
{CONVAR} ->{mp_friendlyfire},{sv_cheats},...., or convar from any pluigin.

I didn't mean showing the value of the cvar, more like show the ad only if the cvar has specified value

ESK0 01-29-2018 16:00

Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
 
Quote:

Originally Posted by kot4404 (Post 2574990)
I didn't mean showing the value of the cvar, more like show the ad only if the cvar has specified value

Well, I do not see great usability in this function.


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

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