qb-core icon indicating copy to clipboard operation
qb-core copied to clipboard

Handle vehicle spawning and deleting commands on the server

Open EinS4ckZwiebeln opened this issue 11 months ago • 2 comments

Description

The /car [vehicleModel] & /dv commands will now spawn and delete entities using exclusively server-side logic. This improves security and compatibility with the sv_entityLockdown strict mode.

Checklist

  • [x] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • [x] My code fits the style guidelines.
  • [x] My PR fits the contribution guidelines.

EinS4ckZwiebeln avatar Mar 24 '24 13:03 EinS4ckZwiebeln

The car command is cool but the dv i'd still like the functionality of deleting the closest vehicles too as it does now

GhzGarage avatar May 11 '24 23:05 GhzGarage

@GhzGarage A bit late but that should do the trick. :)

EinS4ckZwiebeln avatar Jun 11 '24 21:06 EinS4ckZwiebeln

This PR has had 60 days of inactivity & will close within 7 days

github-actions[bot] avatar Sep 19 '24 15:09 github-actions[bot]