Tematy otagowane jako: coś?
1. Nie rozumiem o co chodzi ktoś coś?
https://prnt.sc/qc78j5
to jest do 708
Kod: setTimer(function()
if not getElementData(localPlayer,'logedin') then return end
if (getElementData(localPlayer, "blood") <= 0) then <-- linijka 708
if not getElementData(localPlayer, "isDead") then
local grunt = getGroundPosition(getElementPosition(localPlayer))
triggerServerEvent("kilLDayZPlayer", localPlayer, false, false,false,grunt);
end
end
if (getElementData(localPlayer, "blood") > 12000) then
setElementData(localPlayer, "blood", 12000);
end
end,50,0)
[/code]
tutaj 361
Kod: function math.round(number, decimals, method)
local decimals = decimals or 0;
local factor = 10^decimals;
if (method == "ceil" or method == "floor") then
return math[method](number*factor)/factor;
else
return tonumber(("%."..decimals.."f"):format(number)); <--- linijka 361
end
end
2. Skąd wziąć o to coś?
function createVehicleForPlayer(thePlayer, command, vehicleModel)
------
Chodzi mi o to w nawiasie, sk?d wzi??, po co to i jak u?ywa?, prosz? o odpowied? <33333333