weapon save ? have solution?
#3

Quote:
Originally Posted by Troydere
Посмотреть сообщение
I don't know much about Y_INI, but I think you should make the tag the same as your public tag, so, instead of this:

Код:
 INI_SetTag(filew,"WeaponSave");
You'd do this

Код:
 INI_SetTag(filew,"weapon");
Also, the entire code of saving weapon is wrong, you loop through the opening and closing of the file, which totally destroys the reason why Y_INI exists, i'd do something like this:


EDIT before even posting:

Nevermind everything, while I was writing up an example for you, I noticed not only the mentioned above is wrong, but everything else from loading to saving.

I found this while ******-ing, please use it as an example, try to understand it and make your code from it:

http://pastebin.com/6ABeNvDu
thanks for the solution I would understand more deeply
Reply


Messages In This Thread
weapon save ? have solution? - by Jihanz - 15.03.2017, 04:35
Re: weapon save ? have solution? - by Toroi - 15.03.2017, 06:43
Re: weapon save ? have solution? - by Jihanz - 15.03.2017, 09:56

Forum Jump:


Users browsing this thread: 2 Guest(s)