Not saving to ini file (Weapon Data)
#6

It is, only changes some things. You now need to get the players weapon for every slot, which are currently ~12. After that you need to get the ammo for all these 12 weapons, if the slot was used.

Edit: Okay, I'll asume the GetPlayerWeaponData works. Then you still didn't use it correctly. You created a loop specially for the weapon slots. Then you are using it for players? That means you save it for 13 players.

Edit2: Also, dini_Set is for strings. Use dini_SetInt.
Reply


Messages In This Thread
Not saving to ini file (Weapon Data) - by Robbin237 - 02.05.2009, 09:53
Re: Not saving to ini file (Weapon Data) - by HB - 02.05.2009, 09:55
Re: Not saving to ini file (Weapon Data) - by Robbin237 - 02.05.2009, 09:56
Re: Not saving to ini file (Weapon Data) - by HB - 02.05.2009, 09:58
Re: Not saving to ini file (Weapon Data) - by Robbin237 - 02.05.2009, 09:58
Re: Not saving to ini file (Weapon Data) - by HB - 02.05.2009, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)