xFabel

Members
  • Content Count

    309
  • Joined

  • Last visited

  • Days Won

    1

xFabel last won the day on August 29

xFabel had the most liked content!

Community Reputation

14 Decent

About xFabel

  • Rank
    Prankster

Details

  • Gang
    F.B.I

Recent Profile Visitors

532 profile views
  1. يعني صعب انه فيه مثال له ولا كيف؟
  2. the problem is picture of the player comes alone and I do not want him like this I want to come one picture of the player i hope you understand me ^^
  3. ممكن طريقه ؟ او كود بسيط الي يسوي انيشين صرآحه حاولت م فهمت كيف اطبق الطريقه
  4. btw cant share codes private
  5. فيه طريق علي الصور؟ التوقع بيكون انيميشن كذا مثال: 0.png 5.png 25.png 50.png الخ لين 100
  6. طيب والجوده وش حله؟
  7. آول شيئ السلام عليكم جآي استفسر علي كيف اسوي دائره تتحرك سويت توبيك نفس ذا الموضوع بس مآ استفدت شيئ مهم انا حين استفسر علي كيف اسوي دائر تتحرك مثل ب صوره كل شيئ واضح ب صوره لحد يقولي استعمل وظيفةdxDrawCircle ترا استخدمته مليون مره وطلع لي شكل زفت مره حاولت اعدل شوي ب شيدرfx بس مالي خبره ب شيدر تكفون حل بالله
  8. i did but not give one avatar pictures for i, player in ipairs(getElementsByType("player")) do local avatar = getElementData(player, "avatarHash") or false if (not loadedTexture[player]) then if avatar then local path = ":avatars/avatarcache/"..avatar if fileExists(path) then loadedTexture[player] = dxCreateTexture(path) else loadedTexture[player] = false end end end end local avatar = loadedTexture[player] or tes.defaultAvatar dxSetShaderValue(tes.maskShader, "imageTexture", avatar) dxDrawImage(x * (1312/sx), y * (722/sy) + offsetY, x * (25/sx), y * (50/sy), tes.maskShader,0,0,0, tocolor(255,255,255,255*toptimes.progress), false) in first code he was giving like this what's wrong?
  9. hey I have a problem in loop between players problem that the picture is repeated and I do not want to be repeated everyone i want one picture how? for i, player in ipairs(getElementsByType("player")) do local avatar = getElementData(player, "avatarHash") or false if (not loadedTexture[player]) then if avatar then local path = "avatars/avatarcache/"..avatar if fileExists(path) then loadedTexture[player] = dxCreateTexture(path) else loadedTexture[player] = false end end end local avatar = loadedTexture[player] or tes.defaultAvatar dxSetShaderValue(tes.maskShader, "imageTexture", avatar) dxDrawImage(x * (1312/sx), y * (722/sy) + offsetY, x * (25/sx), y * (50/sy), tes.maskShader,0,0,0, tocolor(255,255,255,255*toptimes.progress), false) end
  10. i put 325 too before and nothing too engineSetModelLODDistance(elementID, eventName == "onClientResourceStart" and 325 or 100) addEvent("onSettingChange", true) addEventHandler("onSettingChange", localPlayer, function(variable, value) if variable == "draw_distance" then local state = not (value == "Off") draw.setVisible(state, true) end end) function draw.setVisible(visible, notifyDisplay) draw.visible = visible and true or false if draw.visible then removeEventHandler("onClientResourceStart", root,draw.changeDistance) addEventHandler("onClientResourceStart", root,draw.changeDistance) end if notifyDisplay then triggerEvent("notification:create", localPlayer, "Draw distance", "is now "..(draw.visible and "ON" or "OFF")) end end function draw.changeDistance() for i,object in pairs(getElementsByType("object")) do if isElement(object) then local elementID = getElementModel(object ) engineSetModelLODDistance(elementID, eventName == "onClientResourceStart" and 325 or 100) end end end Anyone guys?
  11. i tried some and I couldn't find any solution function draw.setVisible(visible, notifyDisplay) draw.visible = visible and true or false if draw.visible then removeEventHandler("onClientResourceStart", root,draw.changeDistance) addEventHandler("onClientResourceStart", root,draw.changeDistance) end if notifyDisplay then triggerEvent("notification:create", localPlayer, "Draw distance", "is now "..(draw.visible and "OFF" or "ON")) end end function draw.changeDistance() for i,object in pairs(getElementsByType("object")) do if isElement(object) then local elementID = getElementModel(object ) engineSetModelLODDistance(elementID, eventName == "onClientResourceStart" and 1000 or 0) end end end addEventHandler("onClientResourceStart", root,draw.changeDistance)
  12. سلامات! الحين تتحدثون ب مشكله ثانيه ولا سالفه حقتي؟