Issues with a Weapon System
#3

Код:
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
Thats for loading, which isn't right, because that is all 13 weapon slots shown as empty.

Код:
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 31 and var2 = 1000
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
I have received var1 = 0 and var2 = 0
And that's when I log off, but this time YINI doesn't bug out and say it can't reach my data file, but when I look into my data file, I get this:

Код:
Weapons = 0
Weapon_Ammo = 0
[Player Statistics]
Cash = 0
Admin = 0
Score = 0
[Player Inventory]
Job_Certificate = 0
The order isn't right, but that's about all that's wrong, apart from the obvious problem that nothing is showing up in the weapons and weapon ammo section.

To sum up:
The script isn't saving into the correct file when It closes, because it receives the variable but doesn't put it in the file. And when it loads the file to give the gun, regardless of what is in that file, it thinks nothing is in there.
Reply


Messages In This Thread
Issues with a Weapon System - by Zonoya - 08.03.2014, 20:52
Re: Issues with a Weapon System - by arakuta - 08.03.2014, 21:51
Re: Issues with a Weapon System - by Zonoya - 09.03.2014, 05:37
Re: Issues with a Weapon System - by Zonoya - 09.03.2014, 11:21
Re: Issues with a Weapon System - by arakuta - 09.03.2014, 12:41
Re: Issues with a Weapon System - by Zonoya - 09.03.2014, 13:51

Forum Jump:


Users browsing this thread: 1 Guest(s)