OwlGamingCommunity / MTA

OwlGaming roleplay script for Multi Theft Auto on GTA:SA
https://owlgaming.net
GNU General Public License v2.0
82 stars 101 forks source link

Fixing bug #32

Closed MrSol0 closed 2 years ago

MrSol0 commented 2 years ago

So after brain stomring of ways to exploit this vulnerability, the only way i was able to exploit it is by buying two vehicles with one token, however i was unable to find a way to buy a vehicle +35k because of if gui["_root"] then return end. the serverside has no return false and it continues directly to giving the player the car even when exceptions happen similar to an old bug that enabled players to buy cars with no bankmoney. this code should fix it