Skip to content

Conversation

@Brito1227
Copy link

You can never trust the client, using the client to check permissions is bad, it shouldn't be done, which is what admin menu do in the client TriggerServerEvent('ps-adminmenu:server:SaveCar', props, sharedVehicles, hash, props.plate), I simply added a check to the server, without this update a cheater can easily put an infinite number of cars in the garage.

@Brito1227
Copy link
Author

After a review, I realized the problem was bigger; with this change, everything would be handled by the server the way it should be.

@Brito1227 Brito1227 changed the title Add permission check to admin car save event Security problem: cheaters can exploit it. Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant