Pseudo code idea for fix weapon dissapeared.
-
I'm a newbie coding i just wrote an pseudo code idea very easy if someone can teach me how to make or make it.
create string array and save all WEAPON_SINGLEPLAYER (Any weapon that not deleted by game)
function OnGameEvent_player_save_game()
check current character we using
find all weapon
if that each weapon is not in array we made
save in .ini or any file you like
end functionfunction OnGameEvent_player_load_game()
check current character we using
give each weapon contain in .ini file
end function