TGIANN Exit Sleeping

:arrow_forward: Showcase Video :arrow_forward:
:sos: Discord(Support) :sos:

Introduction

When players log out, a ped version of their character spawns at their last location. This ped persists in the game world, allowing other players to interact with, move, or manipulate it. Essentially, it mirrors Rust’s mechanic, where your character continues to “exist” in the world even when you’re offline.

Features

  • Full Sync: Ensures complete synchronization across the server.
  • Highly Configurable: Many options can be adjusted directly from the configuration file.
  • Compatibility: Works seamlessly with both ESX, QB and QBOX frameworks.
  • Multi-Script Support: Compatible with tgiann_clothing, illenium_appearance, crm_appearance, rcore_clothing, and qb-clothing.
  • Player Interaction: Allows the carrying of sleeping players.
  • Dynamic Updates: Automatically updates the last location of moved players.
  • Logout Time Filter: Only displays players who logged out within the last 3 days (this value is configurable via the config file).
Updates

v1.1.0

  • Fixed incorrect unixTime type in the database! You need to replace curdate() with unix_timestamp().
  • Added the ability to put players into vehicles and remove them.
  • Fixed an issue where the player’s position was not being saved to the database when moved.
  • Fixed a compatibility issue with illenium_appearance skin data not working in ESX.
  • Removed qb-target support (might be added again in the future).

v1.0.3

  • Fixed issues related to the control of clothing scripts.
  • Added an explanation for crm_appearance.

v1.0.2

  • fix typo: citizenId - identifier for getPlayerSkin

v1.0.1

  • Added author and description to the fxmanifest file.
  • Updated the README with SQL installation instructions and the Requirements section.
  • Included the missing sql.sql file.

Requirements

Config File

TGIANN | Exit Sleeping - FREE

TGIANN | Exit Sleeping - FREE

Code is accessible Yes
Subscription-based No
Lines (approximately) 400+
Requirements Check Requirements
Support Yes
18 Likes

nice Release like always i dont need it but well done buddy
:sunglasses:

3 Likes

that’s actually a really cool idea
It would make roleplay feel way more natural if someone disconnects
instead of just instantly falling asleep, their character could walk like an NPC to a preset location and then lie down
you could even add a small disconnect icon above their head to show they left the game might be an interesting touch
good job TGIANN :clap: :heart:

1 Like

looks like a more basic version of this [Free] Sleep On Disconnect [QBcore]

1 Like

nice work :heart:

1 Like

Is it possible to make sure that the sleeping PED is with the clothes and appearance of the player and not the basic PED?

hmmm

1 Like

the sleeping pad is an exact copy of the player. this can be canceled with a small line deletion if desired

1 Like

Thanks for the free release! :purple_heart:
If I could make a quick suggestion, it would be cool to have the option to rob the player, maybe as a config option.

1 Like

when he sleeps in ped he doesn’t have my ped’s clothes but the basic ones without hair

1 Like

merci <3

1 Like

Hi!

Appearances do not apply to sleeping characters.
I use qb-core and illenium-appearance. tgiann-core is installed and in the boot order it is located after qb-core. There are no errors in the console or server console. script configuration by default

2 Likes

@DirkScriptz fixed this proplem pls re-download from github

1 Like

Hello,
For me, everything is installed correctly, but the player won’t sleep after disconnecting or even after using the test command…

I’m using the latest version of ESX and there are no F8/Console errors, and nothing in the debugger.

The exact same thing happens to me, it is necessary to activate the discord thing in the tgiann-core?
I’m asking because I didn’t enable it.

It’s okay, I’m not the only one, that reassures me :smiley:

make sure the script starts and install tgiann-core. you can get it for free from my tebex

As stated in my post, the core and script are off to a good start.

[    c-scripting-core] Creating script environments for tgiann-core
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] Started withs;
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] Language Setting: fr
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] es_extended
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] oxmysql
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] ox_target
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] qb-target
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] oxlib
[  script:tgiann-core] [TGIANN-CORE:SUCCESS] ox_inventory
[           resources] Started resource tgiann-core
[ citizen-server-impl] server thread hitch warning: timer interval of 288 milliseconds
║            Podz1401║ ensure tgiann-exit-sleeping
[    c-scripting-core] Creating script environments for tgiann-exit-sleeping
[  script:es_extended] [WARNING] Command "exittest" already registered, overriding command
[           resources] Started resource tgiann-exit-sleeping
[script:tgiann-exit-s] MySQL.ready

Yes I have it, I have the tgiann-core, I don’t have any startup errors, but it doesn’t work for me, just like what happens to Podz1401

Same problem here… all installed, not errors, but doesnt work