Skip to content

Instantly share code, notes, and snippets.

@draobrehtom
Created July 1, 2024 09:04
Show Gist options
  • Select an option

  • Save draobrehtom/aed368561f2e4174e92464f606daef99 to your computer and use it in GitHub Desktop.

Select an option

Save draobrehtom/aed368561f2e4174e92464f606daef99 to your computer and use it in GitHub Desktop.
VORP Inventory Item Exploit - from 01.07.2024
TriggerServerEvent('syn_weapons:buyammo', 'water', 0, 1, 'Water')
TriggerServerEvent('syn_weapons:buyammo', 'water', 0, 1, 'Water')
TriggerServerEvent('syn_weapons:buyammo', 'water', 0, 1, 'Water')
TriggerServerEvent('syn_weapons:buyammo', 'water', 0, 1, 'Water')
TriggerServerEvent('syn_weapons:buyammo', 'water', 0, 1, 'Water')
TriggerServerEvent('syn_weapons:buyammo', 'water', 0, 1, 'Water')
TriggerServerEvent('syn_weapons:buyammo', 'water', 0, 1, 'Water')
-- Be careful, or you might flood your script with water
@draobrehtom
Copy link
Author

Partly it was fixed from next commit: VORPCORE/vorp_weaponsv2@e0676b0
But you can still exploit it by passing needed parameters from client to server like item price and ped coordinates. As the result you can buy any item just for $1 each.

@draobrehtom
Copy link
Author

TriggerServerEvent('syn_weapons:buyammo', {price=1, item='water'}, 'Water', {Pos=GetEntityCoords(PlayerPedId())}, 1, 'Stepping on the same rake over and over again.')

@draobrehtom
Copy link
Author

It's finally fixed

VORPCORE/vorp_weaponsv2@3e1c909

@draobrehtom
Copy link
Author

draobrehtom commented Dec 28, 2024

It's interesting how the maintainer first decided to ignore the issue when it was mentioned in this thread:
here

image

Only after yesterday's drama on CFX discord something started is going on here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment