[FREE] ac_switchjob – Fully server sided switch job


Hello, this is my first release here. Hope you like it. :man_bald:t6:

This is a very simple script that I wanted to release, because I couldn’t find any free script of this kind without vulnerabilities or with optimization stuff. The whole script is in server side which means that there are no possible exploits – e.g. setting any job you want or skipping the cooldown timer.

Feel free to suggest new features or report bugs.


Simple switchjob script for roleplay purposes.
Players can switch between two different jobs with command (/switchjob by default).

Features

Everything is easily configurable.

  • Discord webhook log
  • Command cooldown
  • Customisable notifications
  • Everything is server sided → No possible exploits
  • No need to manually insert any SQL stuff

Requirements

Download


Changelog

View changelog
  • 2021-08-19T22:00:00Z
    • Removed ESX Legacy requirement
      Resource can run on any ESX version that uses esx:getSharedObject.

  • 2021-08-25T22:00:00Z
    • Added new manifest entry
      Stops client from downloading the resource as it is server side only.

  • 2021-10-12T22:00:00Z
    • End support for old ESX and mysql-async
10 Likes

nice release

1 Like

Good man

1 Like

Update – 2021-08-19T22:00:00Z

  • Removed ESX Legacy requirement
    Resource can run on any ESX version that uses esx:getSharedObject.

Nice work!! :+1:

1 Like

https://docs.fivem.net/docs/scripting-reference/resource-manifest/resource-manifest/#server_only

1 Like

Update – 2021-08-25T22:00:00Z

  • Added new manifest entry
    Stops client from downloading the resource as it is server side only.
    Thanks to @ShahZaM for recommendation.
1 Like

any chance to addapt it for mysql-async ?

Look at this commit and undo the changes if you want to use mysql-async.

1 Like

It looks like a sqz_switchjob

Check the code honey :smiling_face_with_three_hearts:

please make for version qbcore

2 Likes

Nice script, can we have a physical button in the configuration to press to change jobs?

Thanks. Yes, just make a bind for the command.

1 Like

Hello and thanks for the reply! Unfortunately I tried but I can’t do you have a code string to integrate it? Thanks again!

https://docs.fivem.net/natives/?_0xD7664FD1