You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After writing the Addon Weapons menu under weapon options, I realized they're not spawnable using the Weapon Loadouts. I opened up the Weapon Loadouts.cs and idk wtf is going on there. If the addon weapons could be added so that they're spawnable with the loadouts, that would be pretty cool. I guessing it has to do with this code, but this is above my coding ability:
{
var handle = StartFindKvp("vmenu_string_saved_weapon_loadout_");
var saves = new Dictionary<string, List<ValidWeapon>>();
while (true)
{
var kvp = FindKvp(handle);
if (string.IsNullOrEmpty(kvp))
{
break;
}
saves.Add(kvp, JsonConvert.DeserializeObject<List<ValidWeapon>>(GetResourceKvpString(kvp)));
}
EndFindKvp(handle);
return saves;
}
The text was updated successfully, but these errors were encountered:
After writing the Addon Weapons menu under weapon options, I realized they're not spawnable using the Weapon Loadouts. I opened up the Weapon Loadouts.cs and idk wtf is going on there. If the addon weapons could be added so that they're spawnable with the loadouts, that would be pretty cool. I guessing it has to do with this code, but this is above my coding ability:
The text was updated successfully, but these errors were encountered: