Select one of the following categories to start browsing the latest GTA 5 PC mods:
@thalilmythos I did it. Sadly, ScriptHookV does not provide a way to check if the player performed a manual save, only autosaves.
@thalilmythos I understand now, i already got an idea on how to solve it so i will probably update today.
The only revolver missing is the Heavy Revolver, all the other revolvers are there under the pistols section. And yes, i will add all the missing weapons, but that takes a while.
@thalilmythos nvm what i said, i understand what you meant now. I gotta tweak the saving process a little, i will update it soon
@Hydraxonn Sorry, it does not work those maps. I don't use those maps so i didn't take them into account when i was making the script.
@thalilmythos No, it doesn't give you full ammo, it's saved with the exact quantity of ammo you bought.
If you buy 50 rounds of incendiary ammo, it's gonna give you that when the loadout loaded again.
If you had 50 from your previous buy, and you buy 20 more, it's gonna give you 70, but it doesn't give you full ammo
@thalilmythos The savefile is created/updated when the player closes the Little Jacob menu and he leaves. A GTA autosave is also triggered. Just like when you buy in ammunation.
But now that you say this, i should also update the savefile when the Player manually saves the game, I didn't think of that.
@Joe Gillian Thank you :)
@NaijaMango Ok, i think i got it. I was reading the error log you posted earlier, and the error is a LemonUI error, not from my code. The problem comes from a missing method in the NativeListItem class.
Now, i was reading hte LemonUI releases changelog and that error was fixed in the latest version (1.5.1), so, you're probably running an old version of LemonUI. Try installing the latest version of LemonUI (which is linked in the requirements) and see if that solves the error
@NaijaMango Yeah, please do. That's a very strange error...
@loginos Sure, I'll add that option