Co mo?e by? odpowiedzialne za to, ?e kas? z pracy daje dwa razy wi?cej?
(Mam dwie prace wgrane i gdy jedna jest wy??czona to daje normalnie a gdy si? j? w??czy to dwa razy wi?cej)
Jak masz ogrpg to znajdziesz w ogrpg-prace-setting takie co?:
addEvent("givePlayerMoney", true)
addEventHandler("givePlayerMoney", root, function(value,value2)
-- nie zalogowana osoba a fuj
if not tonumber(value) then return end
if not getElementData(source,"player:logged") then return end
givePlayerMoney(source,value*2) -- tutaj zmieniasz z 2 na 1
local rnd={math.random(1,30),math.random(1,2)}
if rnd[1] == 1 or rnd[1] == 15 or rnd[1] == 26 then
local rep=getElementData(source,"player:reputation") or 0
local xd=rep+rnd[2]
setElementData(source,"player:reputation",xd)
triggerClientEvent(source, "reputation:show", resourceRoot,rnd)
end
end)
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach