#online Status
1 messages · Page 1 of 1 (latest)
Yes please, this is something that is a must for my server. Sadly, crims metagame if there are cops online or not and then go out and do all of their illegal stuff that's allowed without cops (drug sales) so they have no risk of being caught. I can't let them know when cops are offline for this reason.
i mean easy solution is just dont let your players get away with metagaming or physically cop lock certain activities. another alternative is in your server [framework].lua the RefreshCompanies add a dummy player who is always on duty to the services you want to display as on duty. i havent implemented or tested this so may want to double check stuff like company messages and company calling to make sure the dummy player doesnt mess that up
I wish I could have a magic crystal ball to see when people purpousfully metagame, haven't found that yet. But I do like your dummy suggestion, thanks didn't think of that but I can see that will probably be a good work-around.
I have most "big time" criminal activities locked to needing PD online, but on my server for crims, selling drugs is the main source of income so I cannot lock that down to only when PD are online.
gotcha. out of the scope of the phone but creating a robust logging system is your "crysatal ball" log whenever drugs are sold an if there are cops on or not and whos doing it. You see the same name selling boatloads of drugs everyday at 5am when everyone is asleep then you deal with that situation
but yeah dummy should work just like i said mess around with it and make sure the calls and messages dont break
I do like logging, but I don't like the bullshit session that ensues when I accuse someone of that lol (But I work nights and that's when I get home from work and the only time I can do my sales... not my fault there's no cops on! bla bla)
I will test the dummy thing and post back here if it works without issue so others may benefit from it.
yeah i hear yah. not tryna tell you how to run your server just offering technical advice.
yeah probably #1033023706286522478 too
Its all good, I do appreciate it.
for i = 1, #Config.Companies.Services do
local jobData = Config.Companies.Services[i]
Config.Companies.Services[i].open = openJobs[jobData.job] or true --Changed this from false to true. Now the "offline" status will never show for any jobs
end