How to..
#6

pawn Код:
new Weapon_Data[MAX_PLAYERS][26];
//Saving
for (new i = 0; i < 13; i++)
{
  GetPlayerWeaponData(playerid, i, Weapon_Data[playerid][i], Weapon_Data[playerid][i + 13]);
}
//Reading
for (new i = 0; i < 13; i++)
{
  GivePlayerWeapon(playerid, Weapon_Data[playerid][i], Weapon_Data[i + 13]);
}
I dont think that this was hard...

*Slot 12 could be removed from saving because slot 12 only contains the detonator
Reply


Messages In This Thread
How to.. - by Torran - 16.03.2010, 15:39
Re: How to.. - by smeti - 16.03.2010, 15:56
Re: How to.. - by Torran - 16.03.2010, 15:59
Re: How to.. - by Nero_3D - 16.03.2010, 16:08
Re: How to.. - by Torran - 16.03.2010, 16:10
Re: How to.. - by Nero_3D - 16.03.2010, 23:02
Re: How to.. - by Torran - 16.03.2010, 23:08
Re: How to.. - by Rzzr - 16.03.2010, 23:10
Re: How to.. - by smeti - 17.03.2010, 12:46

Forum Jump:


Users browsing this thread: 1 Guest(s)