Author Topic: Quick Question about adverts  (Read 228 times)

0 Members and 1 Guest are viewing this topic.

Offline J. K. Giant-Spoon

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Quick Question about adverts
« on: June 01, 2020, 08:11:13 AM »
Hi so I am just curious if it is possible to show adverts to selected groups only, I searched around a bit and couldn't find any information on it. Thanks everyone!  :D

Groups meaning user groups like: "admin", "superadmin".

EDIT: Would I use the DATA.Lua file to add the adverts and at the top it says: "MY_GROUP"
Would I just change that to the name of the group, say: "superadmin"?

My ULib/ULX versions (run "ulx version" in console):
ULib v2.63w
ULX v3.73

Game mode(s) I am having this problem on:
DarkRP
« Last Edit: June 01, 2020, 08:31:04 AM by J. K. Giant-Spoon »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8078
  • Karma: 389
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Quick Question about adverts
« Reply #1 on: June 01, 2020, 01:50:55 PM »
Ulx does not have advertising based on administration groups. Do not edit data.lua.
Advertising groups a, b, c are to allow ads to run consecutively based on time of each ad
A 1,2,3
B 1,2,3
C 1,2,3
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline J. K. Giant-Spoon

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Quick Question about adverts
« Reply #2 on: June 02, 2020, 01:58:19 AM »
Gotcha thank you a ton!