
Var-AFK is a FiveM AFK script that turns idle time into configurable passive income. Players toggle AFK mode with a command, play an idle scenario animation, and collect randomized payouts to cash or bank on a timer, with an optional VIP multiplier on top. Works on ESX, QBCore, and Standalone servers.
Players enter AFK mode with a configurable command (default /afk) and leave it with a configurable exit key (default ESCAPE). Rename both to match your server conventions.
Payouts fire on a configurable interval (default 5 seconds) with a random amount between your min and max values. The amount can re-roll on every cycle so earnings stay unpredictable.
Money is paid through your framework's native money API, addAccountMoney on ESX and AddMoney on QBCore. Choose whether rewards land in the bank account or as cash.
An on-screen overlay shows the next payout amount and a live countdown timer, so players always know what they will earn and when.
AFK players play a configurable scenario animation, standing on the phone by default, which keeps the scene believable instead of frozen peds.
Reward donators or ranked players with a configurable earnings multiplier. The editable IsVIP() hook lets you plug in any group, permission, or framework check.
While AFK, the screen blurs, the player ped is dimmed with alpha transparency, the radar is hidden, and the player switches to a passive no-collision mode.
Controls and weapon firing are disabled during AFK mode, so idle players cannot shoot, drive, or interfere with active gameplay.
The resource checks for new versions on start and prints the result to the server console, so you always know when an update is available.
Oszczedzaj wiecej
Zamiast kupowac pojedyncze skrypty, uzyskaj dostep do calego katalogu, w tym tego, oraz wszystkich przyszlych wydan i priorytetowego wsparcia.
Installation takes a few minutes: drop the resource into your resources folder, add it to server.cfg with ensure, and adjust the shared config to set the command, payout interval, and reward range. No database setup is required.
Yes. Var-AFK supports ESX, QBCore, and Standalone servers. Payouts go through the framework money API, addAccountMoney on ESX and AddMoney on QBCore, so rewards land directly in the player's account.
That is entirely up to you. You configure the payout interval (5 seconds by default) and a min and max payout that can re-roll each cycle, and you choose whether the money goes to cash or bank. Together those settings define the exact earning rate on your server.
Yes. Var-AFK includes a VIP earnings multiplier with an editable IsVIP() hook. Point the hook at your group system, a permission check, or a framework job and VIP players automatically earn the boosted rate.
The ped plays an idle scenario animation (standing on the phone by default) while the screen blurs, the radar hides, and an overlay shows the next payout amount with a live countdown. Controls and firing are disabled and the player is set to a passive no-collision mode.
Var-AFK is a lightweight script. Its logic runs only for players who are actually in AFK mode, one payout timer and one overlay per idle player, with no database writes, so the resmon impact stays minimal.