General > Developers Corner

ULX Jail save

(1/2) > >>

Scozor:
Hello, here is it possible that someone JAIL when I save it prevents the player disconnects and reconnects and is no longer in jail?

I am a strict administrator and wish to put heavy penalty as long enough jails.

Thank you for your response, I grieve French and I use google translation.

Caustic Soda-Senpai:
No. You can't have it prevent a player from disconnecting. If you want it so they get added to like a jail table so they stay jailed for (x) time and when they connect they get rejailed then that's different.

jakej78b:
I'm pretty sure that's what he's asking. Not to prevent disconnects, but to make it so they get rejailed if they disconnect and reconnect. Keep in mind he used google translate so the english is most likely flawed. Your best option would be to modify the jail or write your own custom command that saves the time and steamid so that when they rejoin it will force them to serve the remainder of their time.

Scozor:
Hi, yes sorry google translation is not perfect.

The problem that I really struggle with programming in lua, is there a pay system scriptfodder?

Yes I just want the player back to jail if he did not finish his time.
I know to program in C ++ and JavaScript but I find the different lua and I'm struggling.

Bite That Apple:
Oddly enough, this is one of the most difficult things I ever tried to do in my life. I can't seem to even do this myself. I'll look more into this.

Navigation

[0] Message Index

[#] Next page

Go to full version