Ulysses Stuff > General Chat & Help and Support
How to use adverts?
jesus:
OK...
I have 0.9
And I use this:
--- Quote ---function ulx_loadConfig( name, userid, steamid )
if gConfigLoaded == true then
return -- Already loaded
end
-- Adverts
-- addCsayAdvert( msg, r, g, b, repeat_time, length )
-- addAdvert( msg, repeat_time )
-- You can use %hostname%, %curmap%, and %nextmap% in your text and have it automaticly parsed for you
addCsayAdvert( "Welcome to %hostname%, enjoy your stay!", 100, 255, 200, 300, 5 )
addAdvert( "Remember to play nicely!", 360 )
addAdvert( "Jesus is admin on this server.", 613 )
addAdvert( "Red team = Admin, yellow = VIP and blue = Normal.", 605 )
addCsayAdvert( "The map you are playing on is %curmap%", 100, 255, 200, 150, 5 )
gConfigLoaded = true
end
--- End quote ---
But nothing comes up.
If i'm doing something wrong please tell me exactly what to type into the console to activate it.
Mank:
--- Quote from: jesus on November 14, 2005, 09:52:19 AM ---OK...
I have 0.9
And I use this:
But nothing comes up.
If i'm doing something wrong please tell me exactly what to type into the console to activate it.
--- End quote ---
You're a beta tester?
jesus:
--- Quote from: Mank on November 14, 2005, 01:14:32 PM ---You're a beta tester?
--- End quote ---
No, 0.9 has been released to the public.
But can anyone help??
Mank:
--- Quote from: jesus on November 14, 2005, 01:27:30 PM ---No, 0.9 has been released to the public.
But can anyone help??
--- End quote ---
Oh, I didn't read the main site.
Megiddo:
--- Quote from: jesus on November 14, 2005, 09:52:19 AM ---OK...
I have 0.9
And I use this:
But nothing comes up.
If i'm doing something wrong please tell me exactly what to type into the console to activate it.
--- End quote ---
You're probably just not noticing it come up :-P . If you leave your console for a while and come back, you should see the messages in your console. ( Or you could set the time to 10 seconds to doubly make sure it's working )
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version