Version of the Script
latest
Describe the bug
The event:
RegisterNetEvent('it-drugs:server:initiatedrug', function(cad)
Can be exploited and send a fake table to it with prices of your choosing. As it relies purely on the client. I've replicated this and spawned in ~1 billion in a single hit by making my drugs sell for mroe then they're meant to.
FYI.
Never Trust The Client.
To Reproduce
Literally read the event and/or trigger it yourself
Relevant log output
Version of the Script
latest
Describe the bug
The event:
RegisterNetEvent('it-drugs:server:initiatedrug', function(cad)
Can be exploited and send a fake table to it with prices of your choosing. As it relies purely on the client. I've replicated this and spawned in ~1 billion in a single hit by making my drugs sell for mroe then they're meant to.
FYI.
Never Trust The Client.
To Reproduce
Literally read the event and/or trigger it yourselfRelevant log output