Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/19 in Posts

  1. السلام عليكم ورحمة الله وبركاته كيف حالكم رجعتلكم بمود حصري جديد ما اتوقع احد جابه قبل كذا بدون كلام كثير كل شي عن هذا المود في هذا الرابط تلقونه ولا احد يجي يقولي وين الصور ض22 قلتلكم في الرابط هذا https://www.youtube.com/watch?v=kMOYsG_RTh8&t=15s بالتوفيق للجميع
    1 point
  2. Si el meta te corrió el código significa que está bien. El problema es en el client en esta linea: dxDrawImage(10, 10, 48, 48, "img/display.png") Te olvidaste de eliminar el 'img/' ya que la imagen está suelta en tu archivo y no dentro de otra carpeta. Por lo tanto, tendría esa linea tendrás que reemplazarla por esta: dxDrawImage(10, 10, 48, 48, "display.png")
    1 point
  3. Sí pero el archivo teleimage.lua tiene que estar del lado client. Si no me entendés, acá te dejo un ejemplo: <script src="teleimage.lua" type="client" />
    1 point
  4. addEventHandler("onClientRender", root, function() if ( getElementData( localPlayer, "dibujarImagen" ) == true ) then dxDrawImage(10, 10, 48, 48, "img/display.png") end end ) local marker = createMarker(7147.4609375, -2186.1020507813, 3.7390625476837, "cylinder", 1.75, 255, 0, 0) function showimage(hit) if getElementType(hit) == "player" then if hit == getLocalPlayer() then --local name = getPlayerName(getLocalPlayer()) --if getPlayerName(hit) == name then setElementData( hit, "dibujarImagen", true ) end end end addEventHandler("onClientMarkerHit", marker, showimage ) function unShowImage(leave) if getElementType(leave) == "player" then if leave == getLocalPlayer() then setElementData( leave, "dibujarImagen", false ) end end end addEventHandler("onClientMarkerLeave", marker, unShowImage ) Tuviste algunos errores: 1- No pusiste los eventos ( Que son muy importantes para ejecutar la función ). 2- El tamaño del marker estaba mal. 3- La función dxDrawImage solo se muestran por 1 milisegundo, por lo tanto, podrías haber usado el evento onClientRender. 4- La función showimage no está cerrada. 5- Esta linea es innecesaria : local name = getPlayerName(getLocalPlayer()) if getPlayerName(hit) == name then El codigo no lo probé todavía pero creo que está bien y si no, me avisas por fa. Suerte
    1 point
  5. Usa onClientMarkerHit onClientMarkerLeave dxDrawImage
    1 point
  6. ?.. مود اكتر من رائع تسلم يدك ع الطرح
    1 point
  7. مسوي تزبد انت ووجهك , الشركات تشتغل على خطط معينه وكلهم في مكان واحد مو كل واحد في ارض ولما تجتمع مع واحد ويكون بجمبك وانت تبرمج انكسر حاجز الافكار المختلفه
    1 point
  8. 1 point
  9. Faça a parte do dano client-side. Dai você usa o evento onClientVehicleDamage e verifica se o attacker for um player, o motorista não perde vida.
    1 point
  10. Hopefully removing its stolen content.
    1 point
  11. If you really expect that someone help you to copy a other server then at least have patience.
    1 point
×
×
  • Create New...