Making weapons loading short
#4

You can make those 2 arrays with 13 slots, and when you want to give the weapons you do
pawn Код:
GivePlayerWeapon(playerid, Weapon[playerid][0], Ammo[playerid][0]);
GivePlayerWeapon(playerid, Weapon[playerid][1], Ammo[playerid][1]);
And when you want to store them you do.
pawn Код:
GetPlayerWeaponData(playerid, 0, Weapon[playerid][0], Ammo[playerid][0]);
GetPlayerWeaponData(playerid, 1, Weapon[playerid][1], Ammo[playerid][1]);
And so on.
Reply


Messages In This Thread
Making weapons loading short - by ||123|| - 04.09.2010, 18:39
Re: Making weapons loading short - by Calgon - 04.09.2010, 18:42
Re: Making weapons loading short - by ||123|| - 04.09.2010, 18:44
Re: Making weapons loading short - by SpaZ (Ed) - 04.09.2010, 18:49
Re: Making weapons loading short - by Calgon - 04.09.2010, 18:55
Re: Making weapons loading short - by ||123|| - 04.09.2010, 19:03

Forum Jump:


Users browsing this thread: 1 Guest(s)