17.12.2011, 17:30
pawn Код:
new
weapons[13][2] //Creating the variable for the data.
;
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]); //Getting the data.
UserInfo[playerid][w_Slot1] = weapons[1][0]; //Trying to update Weapon Slot 1's Weapon ID.
UserInfo[playerid][w_Slot1A] = weapons[1][1]; // Trying to update Weapon Slot 1's Ammo count.
}