kewiiNNN Posted October 9, 2015 Share Posted October 9, 2015 Whats wrong here? script wont load. addEventHandler("onClientRender", root, function() if not getElementData(localPlayer, "screenmod") and not getElementData(localPlayer, "toghud") then dxDrawImage(_UPVALUE0_ * 1530, _UPVALUE1_ * 150, 25, 30, "images/interface/starback.png", 0, 0, 0, tocolor(255, 255, 255, 200)) dxDrawImage(_UPVALUE0_ * 1480, _UPVALUE1_ * 150, 25, 30, "images/interface/starback.png", 0, 0, 0, tocolor(255, 255, 255, 200)) dxDrawImage(_UPVALUE0_ * 1430, _UPVALUE1_ * 150, 25, 30, "images/interface/starback.png", 0, 0, 0, tocolor(255, 255, 255, 200)) dxDrawImage(_UPVALUE0_ * 1380, _UPVALUE1_ * 150, 25, 30, "images/interface/starback.png", 0, 0, 0, tocolor(255, 255, 255, 200)) dxDrawImage(_UPVALUE0_ * 1330, _UPVALUE1_ * 150, 25, 30, "images/interface/starback.png", 0, 0, 0, tocolor(255, 255, 255, 200)) dxDrawImage(_UPVALUE0_ * 1280, _UPVALUE1_ * 150, 25, 30, "images/interface/starback.png", 0, 0, 0, tocolor(255, 255, 255, 200)) if getPlayerWantedLevel() ~= 0 then if getPlayerWantedLevel() == 1 then dxDrawImage(_UPVALUE0_ * 1530, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) elseif getPlayerWantedLevel() == 2 then dxDrawImage(_UPVALUE0_ * 1530, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1480, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) elseif getPlayerWantedLevel() == 3 then dxDrawImage(_UPVALUE0_ * 1530, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1480, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1430, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) elseif getPlayerWantedLevel() == 4 then dxDrawImage(_UPVALUE0_ * 1530, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1480, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1430, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1380, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) elseif getPlayerWantedLevel() == 5 then dxDrawImage(_UPVALUE0_ * 1530, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1480, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1430, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1380, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1330, _UPVALUE1_ * 150, 25, 30, "images/interface/star.png", 0, 0, 0, tocolor(255, 255, 255, 255)) elseif getPlayerWantedLevel() == 6 then dxDrawImage(_UPVALUE0_ * 1530, _UPVALUE1_ * 150, 25, 30, "images/interface/stargold.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1480, _UPVALUE1_ * 150, 25, 30, "images/interface/stargold.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1430, _UPVALUE1_ * 150, 25, 30, "images/interface/stargold.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1380, _UPVALUE1_ * 150, 25, 30, "images/interface/stargold.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1330, _UPVALUE1_ * 150, 25, 30, "images/interface/stargold.png", 0, 0, 0, tocolor(255, 255, 255, 255)) dxDrawImage(_UPVALUE0_ * 1280, _UPVALUE1_ * 150, 25, 30, "images/interface/stargold.png", 0, 0, 0, tocolor(255, 255, 255, 255)) end end dxDrawImage(_UPVALUE2_ - 295 - 10, 82, 293, 46, "images/interface/bg2.png", 0, 0, 0, tocolor(255, 255, 255, 250)) dxDrawImage(_UPVALUE2_ - 290 - 10, 5, 294, 101, "images/interface/bg.png", 0, 0, 0, tocolor(255, 255, 255, 250)) if getPedOxygenLevel(getLocalPlayer()) < 1000 or isElementInWater(getLocalPlayer()) then dxDrawText(math.floor(getPedOxygenLevel(getLocalPlayer()) / 10) .. "%", _UPVALUE2_ - 118 + 56, 70, 36, 36, tocolor(255, 255, 255, 255), 1, _UPVALUE3_, "left", "top") dxDrawImage(_UPVALUE2_ - 178 - 10 + 100, 65, 29, 26, "images/interface/oxygen.png", 0, 0, 0, tocolor(255, 255, 255, 250)) end dxDrawImage(_UPVALUE2_ - 235 - 10 + 100, 65, 29, 26, "images/interface/colete.png", 0, 0, 0, tocolor(255, 255, 255, 250)) dxDrawText(math.ceil((math.floor(getPedArmor(getLocalPlayer())))) .. "%", _UPVALUE2_ - 175 + 56, 70, 36, 36, tocolor(255, 255, 255, 255), 1, _UPVALUE3_, "left", "top") dxDrawImage(_UPVALUE2_ - 295 - 10 + 100, 65, 29, 26, "images/interface/vida.png", 0, 0, 0, tocolor(255, 255, 255, 250)) dxDrawText(math.ceil((math.floor(getElementHealth(getLocalPlayer())))) .. "%", _UPVALUE2_ - 232 + 56, 70, 36, 36, tocolor(255, 255, 255, 255), 1, _UPVALUE3_, "left", "top") dxDrawImage(_UPVALUE2_ - 412 - 10 + 182, 23, 118, 64, "images/weapon/" .. getPedWeapon(getLocalPlayer()) .. ".png", 0, 0, 0, tocolor(255, 255, 255, 250)) dxDrawText((10 > getRealTime().hour and "0" .. getRealTime().hour or getRealTime().hour) .. ":" .. (10 > getRealTime().minute and "0" .. getRealTime().minute or getRealTime().minute) .. ":" .. (10 > getRealTime().second and "0" .. getRealTime().second or getRealTime().second), _UPVALUE2_ - 338 - 12 + 278, 18, 20, 20, tocolor(255, 255, 255, 255), 1, _UPVALUE4_) if getPedWeapon(getLocalPlayer()) == 0 or getPedWeapon(getLocalPlayer()) == 1 or getPedWeapon(getLocalPlayer()) == 2 or getPedWeapon(getLocalPlayer()) == 3 or getPedWeapon(getLocalPlayer()) == 4 or getPedWeapon(getLocalPlayer()) == 5 or getPedWeapon(getLocalPlayer()) == 6 or getPedWeapon(getLocalPlayer()) == 7 or getPedWeapon(getLocalPlayer()) == 8 then dxDrawText("M\195\163os", _UPVALUE2_ - 462 - 10 + 196, 101, 20, 20, tocolor(255, 255, 255, 255), 1, _UPVALUE4_) else dxDrawText(getPedAmmoInClip(getLocalPlayer()) .. "/" .. math.ceil((getPedTotalAmmo(getLocalPlayer()) - getPedAmmoInClip(getLocalPlayer())) / tonumber(getWeaponProperty(getPedWeapon(getLocalPlayer()), "poor", "maximum_clip_ammo") or 1)), _UPVALUE2_ - 468 - 10 + 196, 101, 20, 20, tocolor(255, 255, 255, 255), 1, _UPVALUE4_) end if 10 > getPlayerMoney(getLocalPlayer()) then elseif 100 > getPlayerMoney(getLocalPlayer()) then elseif 1000 > getPlayerMoney(getLocalPlayer()) then elseif getPlayerMoney(getLocalPlayer()) < 10000 then elseif getPlayerMoney(getLocalPlayer()) < 100000 then elseif getPlayerMoney(getLocalPlayer()) < 1000000 then elseif getPlayerMoney(getLocalPlayer()) < 10000000 then elseif getPlayerMoney(getLocalPlayer()) < 100000000 then elseif getPlayerMoney(getLocalPlayer()) < 1000000000 then elseif getPlayerMoney(getLocalPlayer()) < 10000000000 then end dxDrawText("#acd373€#FFFFFF#acd373" .. getPlayerMoney(getLocalPlayer()), _UPVALUE2_ - 160 - 10, 43, _UPVALUE2_ - 332 - 10 + 315, 20, tocolor(255, 255, 255, 255), 1, _UPVALUE5_, "right", "top", false, false, false, true) end end) function dobozbaVan(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, _ARG_4_, _ARG_5_) XY = { guiGetScreenSize() } _ARG_4_ = _ARG_4_ or getCursorPosition() * XY[1] _ARG_5_ = _ARG_5_ or getCursorPosition() * XY[2] if _ARG_0_ <= _ARG_4_ and _ARG_4_ <= _ARG_0_ + _ARG_2_ and _ARG_1_ <= _ARG_5_ and _ARG_5_ <= _ARG_1_ + _ARG_3_ then return true else return false end end addEventHandler("onClientResourceStart", resourceRoot, function() for _FORV_3_, _FORV_4_ in ipairs(_UPVALUE0_) do showPlayerHudComponent(_FORV_4_, false) end end) addEventHandler("onClientResourceStop", resourceRoot, function() for _FORV_3_, _FORV_4_ in ipairs(_UPVALUE0_) do showPlayerHudComponent(_FORV_4_, true) end end) function kikapcshud() Bekapcsol = not Bekapcsol if not Bekapcsol then elseif Bekapcsol then end end function isInSlot(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_) if isCursorShowing() then XY = { guiGetScreenSize() } if dobozbaVan(_ARG_0_, _ARG_1_, _ARG_2_, _ARG_3_, getCursorPosition() * XY[1], getCursorPosition() * XY[2]) then return true else return false end end end Link to comment
KariiiM Posted October 9, 2015 Share Posted October 9, 2015 (edited) _UPVALUE0_ and _UPVALUE1_ are not defined also it look a leaked script Edited October 9, 2015 by Guest Link to comment
kewiiNNN Posted October 9, 2015 Author Share Posted October 9, 2015 so what i have to do? Link to comment
KariiiM Posted October 9, 2015 Share Posted October 9, 2015 so what i have to do? It's leaked script Link to comment
kewiiNNN Posted October 9, 2015 Author Share Posted October 9, 2015 it cant be fixable? Link to comment
KariiiM Posted October 9, 2015 Share Posted October 9, 2015 it cant be fixable? You have nothing to do without server side Link to comment
kewiiNNN Posted October 9, 2015 Author Share Posted October 9, 2015 server.lua addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), function() end) function saveData(_ARG_0_) setAccountData(getPlayerAccount(source), "avatar", _ARG_0_) end addEvent("saveAvatar", true) addEventHandler("saveAvatar", getRootElement(), saveData) function onPlayerLogin(_ARG_0_, _ARG_1_) setElementData(source, "avatar", getAccountData(_ARG_1_, "avatar")) end addEventHandler("onPlayerLogin", getRootElement(), onPlayerLogin) Link to comment
Dealman Posted October 9, 2015 Share Posted October 9, 2015 This is a decompiled script, and as such you should know by now that you won't get a lot of help here. Link to comment
KariiiM Posted October 9, 2015 Share Posted October 9, 2015 This is a decompiled script, and as such you should know by now that you won't get a lot of help here. Yes you're right, i just tested an decomplier programe and it do the same, with undefined arguments @kewi, there's no ways learn or leave from that Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now