Raised This Month: $7 Target: $400
 1% 

[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 09-14-2017 , 12:19   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #531

Quote:
Originally Posted by Obyboby View Post
Why is the first line of ***** having more spacing than the bottom one?



Can't seem to be able to fix it. The string is the same for top and bottom...

PHP Code:
"it" "{Purple}***************************************\n{Lime}Benvenuto su nudonudo, {PLAYERNAME}! \n Per favore rispetta le regole, consultabili tramite {Green}!rules \n {lime}Visita il nostro sito nudonudo.it (work in progress!) \n Unisciti al nostro gruppo Steam! Scrivi {Green}!group {Default}in chat\n \n{Purple}***************************************" 
EDIT: ok, soon after I posted, I realized why. It's just the way the **** looks lol. There's a spacing at the bottom in the character itself. RIP.
) Great
ESK0 is offline
tzzion
Member
Join Date: Oct 2016
Old 09-18-2017 , 21:04   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #532

Hi

HUD messages appear for a set amount of time, and after that, they no longer appear.

Chat messages are working perfectly

I'm using this in ServerAdvertisements3.cfg

Code:
"ServerAdvertisements3"
{
  "Settings"
  {
    "ServerName" "[{orange}Toxic-BR{default}]" // Server tag
    "MySQL" "0" // If 1 -> Messages will be loaded from MySQL
    "ServerType" "default" // Only if MySQL is 1 -> Simply divide messages to groups (e.g. 3 servers uses ServerType surf and 2 servers uses jailbreak)
    "Time" "12" // Time in seconds
    "Languages"  "EN;CZ" // List of languages / Keep the main language first (If player connect from Country you did not translated. He will get messages in language which is the first in list).
    "Default language" "geoip" // Value = "geoip" or "ingame"
    "Log expired messages" "0" // 1 = Enabled -> Messages are loged in Sourcemod's error log
    "ServerTracker" "1" // 1 = Enabled, 0 = Disabled
  }
  "Welcome Message"
  {
    "Enabled" "1" // 1 = Enabled / 0 = Disabled,
    "Type" "T" // Type of message - Only T and C types are supported right now
    "en" "{orange}***************************************\n{darkred}Bem vindo ao servidor {blue}{PLAYERNAME}! \n {green}Escreva {lime}guns {green}para abrir o menu de armas \n {green}Escreva {lime}!comandos {green}para ver os comandos do server\n{orange}***************************************"
    "cz" "{orange}*************************************** \n{darkred}V*tej na tomto serveru {PLAYERNAME}! \n {lime}Tento server použ*vá ServerAdvertisements3 \n Autor: {bluegrey}www.steamcommunity.com/id/esk0\n{orange}***************************************"
    "Delay" "5.0" // Time in seconds after is client connected to server to show message
    "flags" "" // Client with this flag will get welcome message - Keep empty for all
  }
  "Messages"
  {
    "1"
    {
      "enabled" "1" // Message is temporarily disabled - Default: 1
      "maps" "all" //- Default: all
      "en" "Mapa atual: {lime}{CURRENTMAP} \n Admins Online: {darkred}{ADMINSONLINE} \n Proximo mapa: {lime}{NEXTMAP}"
      "cz"  "Momentálně se hraje: {CURRENTMAP} \n Počet hráčů: {PLAYERCOUNT} \n Př*št* mapa: {NEXTMAP} \n Friendly fire: {mp_friendlyfire} \n Gravitace: {sv_gravity}"
      "type" "T"
      "tag" "[{green}TOXIC-BR{default}]"
    }
    "2" // HUD MESSAGE
    {
      "enabled" "1"
      "en" "Bem vindo ao Servidor da TOXIC BR"
      "cz"  "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "type" "h"
      "color" "0, 255, 111" // RGB (R G B)
      "color2" "255, 0, 17" // RGB (R G B)
      "effect" "2" // 0,1,2
      "channel" "5" // Any number
      "posx" "-1.0" //left to right
      "posy" "0.15" //top to bottom
      "fadein" "0.2" //Fade in time
      "fadeout" "0.2" //Fade out time
      "holdtime" "10.0" //Message hold time
    }
    "3"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{lime}!ws {default}- Escolher uma skin \n {lime}!knife {default}- Escolher uma faca \n {lime}guns {default}- Abrir o menu principal"
      "cz"  "Admini: {ADMINSONLINE}"
      "type" "T"
      "tag" "[{green}TOXIC-BR{default}]"
    }
    "4"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{lime}!grupo {default}- Entrar no grupo da Steam \n {lime}!sugerir {default}- Dar sugestoes \n {lime}!membros {default}- Ver os membros do clan"
      "cz"  "Admini: {ADMINSONLINE}"
      "type" "T"
      "tag" "[{green}TOXIC-BR{default}]"
    }
    "5"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{lime}!vip {default}- Abrir o menu sobre o {orange}Vip \n {lime}!comprar {default}- Comprar o {orange}Vip \n {purple}Colabore com o servidor :)"
      "cz"  "Admini: {ADMINSONLINE}"
      "type" "T"
      "tag" "[{green}TOXIC-BR{default}]"
    }
    "6" // HUD MESSAGE
    {
      "enabled" "1"
      "en" "Escreva !vip para abrir o menu sobre o VIP"
      "cz"  "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "type" "h"
      "color" "0, 145, 255" // RGB (R G B)
      "color2" "255 255 51" // RGB (R G B)
      "effect" "2" // 0,1,2
      "channel" "5" // Any number
      "posx" "-1.0" //left to right
      "posy" "0.05" //top to bottom
      "fadein" "0.2" //Fade in time
      "fadeout" "0.2" //Fade out time
      "holdtime" "7.0" //Message hold time
    }
    "7" // HUD MESSAGE
    {
      "enabled" "1"
      "en" "Escreva guns para abrir o menu de ARMAS"
      "cz"  "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "type" "h"
      "color" "255 112 0" // RGB (R G B)
      "color2" "255 255 51" // RGB (R G B)
      "effect" "1" // 0,1,2
      "channel" "5" // Any number
      "posx" "-1.0" //left to right
      "posy" "0.05" //top to bottomm
      "fadein" "0.2" //Fade in time
      "fadeout" "0.2" //Fade out time
      "holdtime" "7.0" //Message hold time
    }
    "8" // HUD MESSAGE
    {
      "enabled" "1"
      "en" "Escreva !ws para escolher uma SKIN"
      "cz"  "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "type" "h"
      "color" "255, 0, 17" // RGB (R G B)
      "color2" "255, 0, 17" // RGB (R G B)
      "effect" "2" // 0,1,2
      "channel" "5" // Any number
      "posx" "-1.0" //left to right
      "posy" "0.05" //top to bottom
      "fadein" "0.2" //Fade in time
      "fadeout" "0.2" //Fade out time
      "holdtime" "7.0" //Message hold time
    }
    "9" // HUD MESSAGE
    {
      "enabled" "1"
      "en" "Escreva !knife para escolher uma FACA"
      "cz"  "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "type" "h"
      "color" "255, 0, 17" // RGB (R G B)
      "color2" "255 112 0" // RGB (R G B)
      "effect" "2" // 0,1,2
      "channel" "5" // Any number
      "posx" "-1.0" //left to right
      "posy" "0.05" //top to bottom
      "fadein" "0.2" //Fade in time
      "fadeout" "0.2" //Fade out time
      "holdtime" "7.0" //Message hold time
    }
    "10" // HUD MESSAGE
    {
      "enabled" "1"
      "en" "Visite nosso servidor de AWP"
      "cz"  "NEW HUD MESSAGE TEXT BY {PLAYERNAME}"
      "type" "h"
      "color" "255, 0, 17" // RGB (R G B)
      "color2" "255 112 0" // RGB (R G B)
      "effect" "2" // 0,1,2
      "channel" "5" // Any number
      "posx" "-1.0" //left to right
      "posy" "0.05" //top to bottom
      "fadein" "0.2" //Fade in time
      "fadeout" "0.2" //Fade out time
      "holdtime" "7.0" //Message hold time
    }
    "11"
    {
      "enabled" "1" // Message is enabled
      "maps" "all"
      "en" "{darkred}*************************************** \n{orange}IP do servidor de AWP:{default}185.50.105.218:27146\n{darkred}***************************************"
      "cz"  "Admini: {ADMINSONLINE}"
      "type" "T"
      "tag" "[{green}TOXIC-BR{default}]"
    }
  }
}
Can anybody help me?
tzzion is offline
szogun
Senior Member
Join Date: Apr 2016
Old 10-01-2017 , 16:36   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #533

Quote:
L 10/01/2017 - 22:26:21: [SM] Plugin "ServerAdvertisements3.smx" encountered error 23: Native detected error
L 10/01/2017 - 22:26:21: [SM] Invalid timer handle 3e890c1b (error 3) during timer end, displayed function is timer callback, not the stack trace
L 10/01/2017 - 22:26:21: [SM] Unable to call function "Timer_WelcomeMessage" due to above error(s).
szogun is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 10-07-2017 , 13:36   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #534

Should be fixed in new version Download it now from github
ESK0 is offline
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 10-09-2017 , 17:48   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #535

Hello ESK0
Can you add {ADMINSONLINE} in number count like {PLAYERCOUNT}?
My 2nd suggestion is "{MAXSLOTS}"
Sw33T3R is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 10-09-2017 , 18:20   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #536

Quote:
Originally Posted by Sw33T3R View Post
Hello ESK0
Can you add {ADMINSONLINE} in number count like {PLAYERCOUNT}?
My 2nd suggestion is "{MAXSLOTS}"
Sure Will be added in new version soon
ESK0 is offline
Sw33T3R
AlliedModders Donor
Join Date: Mar 2014
Old 10-09-2017 , 18:38   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #537

Quote:
Originally Posted by ESK0 View Post
Sure Will be added in new version soon
Thanks for your fast reply!

But i have 1 more question.
Its possible to print HUD Message & Chat Message at the same time?

EDIT:
BTW Color {Lightred2}doesn't working and {RED} is green O_o?
Game: CSGO (I downloaded plugin from your github)


Last edited by Sw33T3R; 10-09-2017 at 19:23.
Sw33T3R is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 10-11-2017 , 04:14   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #538

Quote:
Originally Posted by Sw33T3R View Post
Thanks for your fast reply!

But i have 1 more question.
Its possible to print HUD Message & Chat Message at the same time?

EDIT:
BTW Color {Lightred2}doesn't working and {RED} is green O_o?
Game: CSGO (I downloaded plugin from your github)

Colors are from MultiColors include.. Idk why is green called RED I just took list of colors from it and pasted it here. No its not possible at the moment.
ESK0 is offline
michaelrw
Senior Member
Join Date: Jul 2017
Old 10-11-2017 , 20:20   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #539

any way to make it so some messages display only 1 time per every 3 cycles (or every x cycles)

how it is now:
msg1, msg2, msg3, msg4 >> repeat

what it could be like:
msg1, msg2, msg3 (cycle 1)
msg1, msg2, msg3 (cycle 2)
msg1, msg2, msg3, msg4 (cycle 3)


essentially there are some messages that I don't want to be run all the time (especially the message that displays in the hud, type h). Not sure if this is already possible
michaelrw is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 10-12-2017 , 02:55   Re: [ANY] ServerAdvertisement3 - MultiLang | *UPDATED 19.7.2017* | *VERSION 3.1.3
Reply With Quote #540

Quote:
Originally Posted by michaelrw View Post
any way to make it so some messages display only 1 time per every 3 cycles (or every x cycles)

how it is now:
msg1, msg2, msg3, msg4 >> repeat

what it could be like:
msg1, msg2, msg3 (cycle 1)
msg1, msg2, msg3 (cycle 2)
msg1, msg2, msg3, msg4 (cycle 3)


essentially there are some messages that I don't want to be run all the time (especially the message that displays in the hud, type h). Not sure if this is already possible
No, its not possible
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 01:52.


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