Question - Weapons
#4

I have a code of record:

Код:
for(new slot; slot < 13; slot++)
{
new weaponid, ammo, WeapString[32], AmmoString[32];
GetPlayerWeaponData(playerid, slot, weaponid, ammo);

format(WeapString, sizeof(WeapString), "Bron%d", slot);
format(AmmoString, sizeof(AmmoString), "Ammo%d", slot);

dini_IntSet(PlayerFile(playerid), WeapString, weaponid);
dini_IntSet(PlayerFile(playerid), AmmoString, ammo);
}
And the problem is that I like AK47 ammo in the weapon 350, and saves me a -1. And here I have a question how to fix it?
Reply


Messages In This Thread
Question - Weapons - by MrLeNy - 22.05.2010, 13:31
Re: Question - Weapons - by ViruZZzZ_ChiLLL - 22.05.2010, 13:32
Re: Question - Weapons - by Gamer_Z - 22.05.2010, 13:33
Re: Question - Weapons - by MrLeNy - 22.05.2010, 13:35
Re: Question - Weapons - by Gamer_Z - 22.05.2010, 13:38
Re: Question - Weapons - by MrLeNy - 22.05.2010, 13:40
Re: Question - Weapons - by Gamer_Z - 22.05.2010, 13:44
Re: Question - Weapons - by MrLeNy - 22.05.2010, 13:45
Re: Question - Weapons - by Gamer_Z - 22.05.2010, 13:47
Re: Question - Weapons - by MrLeNy - 22.05.2010, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)