Skip to content

Instantly share code, notes, and snippets.

@Ext-NT
Last active June 13, 2023 17:34
Show Gist options
  • Save Ext-NT/c8cd58dcd9db634e8bb9768b9a06d5db to your computer and use it in GitHub Desktop.
Save Ext-NT/c8cd58dcd9db634e8bb9768b9a06d5db to your computer and use it in GitHub Desktop.
nt unlimited garage space (credits to ray adams)
javascript:(async(a,b='',c,d=JSON.parse(JSON.parse(localStorage['persist:nt']).user).garage)=>{if(!a)return;for(c=0;c<a*30;c++)b+=`garage%5B${c}%5D=${d[c]||''}&`;await fetch('api/v2/loot/arrange-cars',{'headers':{'Authorization':'Bearer '+localStorage.player_token,'Content-Type':'application/x-www-form-urlencoded'},'body':b,'method':'POST','mode':'cors'});alert`Logging you out... Please log back in to see changes.`;document.querySelector('a.dropdown-link[href="/"]').click()})(prompt`Number of garage sections (~30 max):`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment