qb-core
qb-core copied to clipboard
[Update] Stuff and Things - Fix Exploit
- Support for heading with TeleportToCoords event
- Support for teleporting to location name with /tp and a default file with locations to use
- Remove 'QBCore:Server:AddItem' event (requires PR to other resources that use it)
- Support for an array of items that do the same thing with QBCore.Functions.CreateUsableItem
- Player exists check before removing or adding permission
- Trigger OnPlayerUnload as a server side event too
- Player.Functions.GetMetaData function
- Added reason to money remove logs
- Set dirt level to 0 on /car vehicles
The following PRs reflect the removal of QBCore:Server:AddItem: https://github.com/qbcore-framework/qb-prison/pull/63 https://github.com/qbcore-framework/qb-smallresources/pull/199 https://github.com/qbcore-framework/qb-drugs/pull/55 https://github.com/qbcore-framework/qb-inventory/pull/251
@IdrisDose Finished current requested changes. Please verify the deprecation is what you wanted.
regarding bb5ea4d
I was meaning the same way I've done it before #442 so it doesn't run the function just prints it in the server console.
This looks good but
Update doors on teleport so they don't get stuck (requires my doorlock PR that creates an updateDoors event
This is more of a workaround than a fix, I would rather fix this issue in qb-doorlock instead of making resources that change your location require to call this event
This is more of a workaround than a fix, I would rather fix this issue in qb-doorlock instead of making resources that change your location require to call this event
Agreed
@ItsANoBrainer conflicterinos
@IdrisDose Done
the tp to locations just pops the Player not Online notification no errors
@vBooya You did not pull it properly then, because I just setup a vanilla qb-core recipe from tx and had no issues. Try repulling.
hopefully someone else can confirm it works, i literally went over it twice and copy pasted so i didnt mess up any typing
@ItsANoBrainer
One of my devs cannot load into the server. He has no character at all and this is the error message. There was another error before but I fixed it by adding the following:
The issue is, that its trying to access PlayerData.job.name but PlayerData.job / PlayerData.gang is nil.
Nevermind, just saw it has been fixed
@ItsANoBrainer lets get this merged
This failing check is literally bullshit
Nevermind