Mam taki kod:
[lua] local theWeapon1 = getPedWeapon (source, 1)
local theWeapon2 = getPedWeapon (source, 2)
local theWeapon3 = getPedWeapon (source, 3)
local theWeapon4 = getPedWeapon (source, 4)
local theWeapon5 = getPedWeapon (source, 5)
local theWeapon6 = getPedWeapon (source, 6)
local theWeapon7 = getPedWeapon (source, 7)
local theWeapon8 = getPedWeapon (source, 8)
local theWeapon9 = getPedWeapon (source, 9)
local theWeapon10 = getPedWeapon (source, 10)
local theWeapon11 = getPedWeapon (source, 11)
local theWeapon12 = getPedWeapon (source, 12)
local weaponAmmo1 = getPedTotalAmmo (source, 1)
local weaponAmmo1 = getPedTotalAmmo (source, 2)
local weaponAmmo1 = getPedTotalAmmo (source, 3)
local weaponAmmo1 = getPedTotalAmmo (source, 4)
local weaponAmmo1 = getPedTotalAmmo (source, 5)
local weaponAmmo1 = getPedTotalAmmo (source, 6)
local weaponAmmo1 = getPedTotalAmmo (source, 7)
local weaponAmmo1 = getPedTotalAmmo (source, 8)
local weaponAmmo1 = getPedTotalAmmo (source, 9)
local weaponAmmo1 = getPedTotalAmmo (source, 10)
local weaponAmmo1 = getPedTotalAmmo (source, 11)
local weaponAmmo1 = getPedTotalAmmo (source, 12)
setTimer (giveWeapon, 4000, 1, source, theWeapon1, tonumber(weaponAmmo1), true)
setTimer (giveWeapon, 4000, 1, source, theWeapon2, tonumber(weaponAmmo2), true)
setTimer (giveWeapon, 4000, 1, source, theWeapon3, tonumber(weaponAmmo3), true)
setTimer (giveWeapon, 4000, 1, source, theWeapon4, tonumber(... |