Scripts/AG Perm IDs
AG Perm IDs
Permanent Player IDs + 25 Perm ID Commands for Qbox
"What's your ID?" "It changed, I relogged."
Never again.
Server IDs reset every time a player reconnects. Reports get messy, staff waste time, and the wrong person gets banned. AG Perm IDs gives every player one number that never changes, and every admin command takes that number.
Screenshots
What you get
Why servers switch
- One ID per player, for good. It survives reconnects, restarts and crashes.
- Choose your own numbers. IDs start at #500, so #1–#499 are yours to give to owners, staff and VIPs.
- Ban players who've already left. Rule breakers who log off are still bannable.
- Works with 9 ambulance scripts out of the box, detected automatically.
- Drop in and go. Creates its own database tables, so there's no SQL to import.
- Light on resources. No client loops run unless an admin turns on overhead IDs.
The perm id system
- Tied to the player's Rockstar license, so the ID follows the player across every character
/setpermid503 1 give someone a special number/swappermid1 2 swap two players' numbers/permid503 look up anyone, online or offline, with name and last seen date/permidsshow perm IDs above players' heads, with server IDs alongside for txAdmin/idplayers check their own perm ID and server ID
Players
/giveitem503 phone 1 give items (ox_inventory)/givemoney503 bank 5000 give cash, bank or crypto/revive·/reviveall·/heal·/killtarget anyone, or leave the ID empty for yourself
Bans
/ban503 7d Cheating works even when the player is offline- Lengths 30m · 12h · 7d · 2w · perm
- Banned players see the reason, time left and your appeal link when they try to join
/unban503 also works offline- Temp bans expire on their own
Teleporting
/tp503 or/tpx y z go to a player or coords/tptome503 bring a player to you/tpmteleport to your waypoint, which finds the ground for you and works in vehicles
Vehicles & cleanup
/fixrepair and clean your vehicle or any player's/dvdelete the vehicle you're in, or the closest one/dvarea·/dvallclear vehicles nearby or across the whole map, skipping cars with players in them/dvpclear NPC peds (never players)/dvoclear spawned objects
Developer tools
/heading·/getvector3·/getvector4copy your position straight to your clipboard, ready to paste into any config
Works with your ambulance script
- Revives go through your ambulance script's own system, so death screens, injuries and timers reset properly instead of glitching.
- Supported qbx_medical · wasabi_ambulance (v1 & v2) · 0R Ambulance Job · OSP Ambulance · ARS Ambulance Job · Piotreq Ambulance Job · Brutal Ambulance Job · qb-ambulancejob
- Detected automatically. If you don't run any of these, revive, heal and kill fall back to plain GTA health.
For developers
- Exports GetPermId(source) · GetSourceFromPermId(permId) · SetPermId · SwapPermIds
- Perm IDs are synced to every client through each player's state bag, so scoreboards and HUDs can show them in one line
- Every admin action is logged to the server console
- Easy config admin group, radii, money types, ban appeal message, overhead display, ambulance script
Requirements
- Qbox (qbx_core) · ox_lib · oxmysql · ox_inventory
Setup
- Drop it in your resources, ensure it, and restart. Some commands share names with Qbox defaults (like
/tpand/giveitem), so the included README shows you the one-word edits that rename the old versions. - AG PERM IDs one player, one number, for good.
More from AG Scripts

AG HUD
The last HUD your server will need. Players restyle it in-city with HUD Studio: 8 vitals styles, 9 money styles, 7 themes. Runs at 0.01ms.

AG Radio
A touchscreen handheld radio on pma-voice: job-locked channels, callsigns, a panic alarm, 5 screen themes and a radio you can drag anywhere.

AG Used Car Dealer
A player-owned used car lot: buy from players or take cars on consignment, check plates, price them up, and sell by test drive or auction.
AG Perm IDs
One player ID that never changes, through reconnects and restarts, plus 25 admin commands that use it. Ban players who have already left. Qbox.