04.09.2010, 18:55
Quote:
I want to load them...like making a loop which loads all of them.
|
pawn Код:
new weapons[MAX_PLAYERS][13][2]; // 0 - Weapon ID | 1 - Ammo Count
stock getPlayerWeaponsToArray(playerid) {
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weapons[playerid][i][0], weapons[playerid][i][1]);
}
return 1;
}