Raised This Month: $12 Target: $400
 3% 

[ANY] ServerAdvertisement3 - MultiLang | *UPDATED 05.04.2020* | *VERSION 3.1.4


Post New Thread Reply   
 
Thread Tools Display Modes
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 01-08-2018 , 11:05   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #601

Quote:
Originally Posted by Jezis View Post
Spoiler
Download newest .smx from GitHub I added VIPONLINE and some other stuffs without changing version. It means you are using “older” version

Last edited by ESK0; 01-08-2018 at 11:05.
ESK0 is offline
wolvez04
Senior Member
Join Date: Feb 2016
Location: Andora
Old 01-10-2018 , 03:50   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #602

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
wolvez04 is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 01-10-2018 , 05:35   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #603

Quote:
Originally Posted by wolvez04 View Post
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
ESK0 is offline
Jezis
AlliedModders Donor
Join Date: Jul 2016
Location: Czech Republic
Old 01-28-2018 , 11:51   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #604

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
__________________

Jezis is offline
Send a message via ICQ to Jezis
thoxik
Member
Join Date: Oct 2017
Old 01-28-2018 , 20:41   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #605

Quote:
Originally Posted by Jezis View Post
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.
thoxik is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 01-29-2018 , 04:20   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #606

As the error says. You cant use two team colors in one message IIRC theres no way to bypass it
ESK0 is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 01-29-2018 , 07:09   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #607

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
kot4404 is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 01-29-2018 , 11:34   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #608

Quote:
Originally Posted by kot4404 View Post
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.
ESK0 is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 01-29-2018 , 12:03   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #609

Quote:
Originally Posted by ESK0 View Post
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
kot4404 is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 01-29-2018 , 16:00   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #610

Quote:
Originally Posted by kot4404 View Post
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.
ESK0 is offline
Reply


Thread Tools
Display Modes

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 17:11.


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