Ulysses Stuff > General Chat & Help and Support
How to add a advert?
Brett900:
Ok, i'm looking at my Garrysmod/lua/ulx/configs/server.ini and i'm confused on this hole section.
--- Code: ---// Adverts
// addCsayAdvert <msg> <r> <g> <b> <repeat_time> <length> [<group>]
// addAdvert <msg> <repeat_time> [<group>]
// addCsayAdvert puts adverts in the middle of the screen, addAdvert puts adverts in the text area.
// You can use %host%, %curmap%, and %ulx_version% in your message and have it automagically parsed for you.
// If you specify a group, adverts in that group will run sequentially instead of simultaneously. EX:
// ulx addAdvert "This message is run first" 10 a
// ulx addAdvert "This message is run second" 10 a
ulx addCsayAdvert "You're playing on %host%, Enjoy your stay!"100 255 200 300 10
// Please, if you have any compassion at all, leave this one in.
ulx addAdvert "This server is running ULX version %ulx_version% from ulyssesmod.net" 360
--- End code ---
I really don't know how to make a advert useing this code.
--- Code: ---addCsayAdvert <msg> <r> <g> <b> <repeat_time> <length> [<group>]
--- End code ---
Or this one.
--- Code: ---addAdvert <msg> <repeat_time> [<group>]
--- End code ---
Even if i could were would i put the new advert?
Can someone help me? Please?
Golden-Death:
// addCsayAdvert <msg> <r> <g> <repeat_time> <length> [<group>]
// addAdvert <msg> <repeat_time> [<group>]
// addCsayAdvert puts adverts in the middle of the screen, addAdvert puts adverts in the text area.
// You can use %host%, %curmap%, and %ulx_version% in your message and have it automagically parsed for you.
// If you specify a group, adverts in that group will run sequentially instead of simultaneously. EX:
// ulx addAdvert "This message is run first" 10 a
// ulx addAdvert "This message is run second" 10 a
ulx addCsayAdvert "You're playing on %host%, Enjoy your stay!"100 255 200 300 10
// Please, if you have any compassion at all, leave this one in.
ulx addAdvert "This server is running ULX version %ulx_version% from ulyssesmod.net" 360
// just put it here
ulx addAdvert "I'm a monkey!" 361
Megiddo:
GD's right, put it anywhere.
Brett900:
Do the #'s always need to be diffrent?
Megiddo:
Only if you want them to be.
Navigation
[0] Message Index
[#] Next page
Go to full version