Saving Player Weapons With Y_INI??
#1

Hello forum members,
Recently i have switched from the DINI file system to the YINI system after much convincing. So far i have found this system very similar and easy to use and i have decided to experiment. I have a player info enum in my gamemode,

Code:
enum Info
{
	pPass,
	pMoney,
	pHealth,
	pArmour,
	pScore,
	pKills,
	pDeaths,
	pWep1,
	pWep1a,
	pWep2,
	pWep2a,
	pWep3,
	pWep3a,
	pWep4,
	pWep4a,
	pWep5,
	pWep5a,
	pWep6,
	pWep6a,
	pWep7,
	pWep7a,
	pWep8,
	pWep8a,
	pWep9,
	pWep9a,
	pWep10,
	pWep10a,
	pWep11,
	pWep11a,
	pWep12,
	pWep12a
}
new PlayerInfo[MAX_PLAYERS][Info];
I have successfully set up the saving and loading of the first 5 items in the Info enum, however i want to include a way of saving a players weapons aswell. Enum Description: pWep1 is the weapon id and pWep1a is the ammo of weapon 1. I have never set up a way of saving and loading a players weapons and i am hoping that someone can help me to create a way. If anyone can help i would appreciate it.
Reply


Messages In This Thread
Saving Player Weapons With Y_INI?? - by stuoyto - 29.05.2012, 17:04
Re: Saving Player Weapons With Y_INI?? - by Jonny5 - 29.05.2012, 18:12
Re: Saving Player Weapons With Y_INI?? - by LeonRedfield - 29.05.2012, 18:43
Re: Saving Player Weapons With Y_INI?? - by Riwerry - 10.11.2013, 21:39

Forum Jump:


Users browsing this thread: 2 Guest(s)