Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. ترا الموضوع قديييم مره + هذا برنامج مهو مود مو لازم زياده مشاركات + شوف القوانين ممنوع رفع المواضيع القديمه حسب علمي مافيه قانون يمنع رفع المواضيع القديمة
  2. TAPL

    whats wrong?

    I assume that you want to attach the marker so you will need this too: attachElements
  3. not working You don't even know how to add an 'end, did you ever make the code? i don't think so.
  4. You're welcome.
  5. This depend on the event you'll use, or maybe you just want to use getPlayerFromName.
  6. I tested it and it worked. http://i.imgur.com/OorQyDp.jpg
  7. I guess that's because your name has hex color.
  8. https://wiki.multitheftauto.com/wiki/CreateVehicle The vehicles created client side you cannot enter them and you have to trigger to server side for this purpose.
  9. These errors appears when you use invalid target name, to avoid it you have to use if statement to check if the target aren't false or nil.
  10. You miss 'end'.
  11. Actually you should use localPlayer instead of source as i guess there something wrong with the trigger maybe? Do you use any export at server side? it might that the exported resource haven't started yet.
  12. Button = {} Put this at the top of the script.
  13. The table textePerso might be not defined and this cause the script stops execution at line 126.
  14. Line 5 at server side replace this: triggerClientEvent(player, "copytoclipboard", player) With: triggerClientEvent(player, "copytoclipboard", player, accName) And line 3 at client side replace this: function () With: function (accName)
  15. setClipboard is client side only and for that you'll need to trigger from server side to client side. triggerClientEvent
  16. TAPL

    get selected items

    You're welcome.
  17. TAPL

    setTimer

    ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ برب انتحار
  18. هو في الحقيقة الكلام يطلع بس لان حجم الليبل صغير عشان كذا ما يبان الرقم خخ gLabel = guiCreateLabel(15, 29, 105, 18, "", false, GUIEditor.window[1]) كبر حجم عرض الليبل كذا gLabel = guiCreateLabel(15, 29, 205, 18, "", false, GUIEditor.window[1])
  19. ايش الي ما ضبط بالكود الي حاطه؟ وش مشكلته
  20. ايش الي ما ضبط؟
  21. TAPL

    setTimer

    جرب كلينت فقط addEventHandler("onClientPlayerJoin", root, function() text = "The Player ["..getPlayerName(source).."] Join The Server" if isTimer(theHell) then killTimer(theHell) end theHell = setTimer(function() text = "" end, 10000, 1) end) addEventHandler("onClientRender", root, function() dxDrawText(text, 11, 228, 335, 265, tocolor(252, 84, 1, 255), 1.50, "default-bold", "left", "top", false, false, true, false, false) end)
  22. You're welcome.
  23. function finishCasinoRobbery() for robber, _ in pairs (robbers) do if isElement(robber) then if exports["cops"]:isPlayerJailed(robber) then outputChatBox("[Casino-robbery] You are in jail, so you do not get the reward.", robber, 255, 0, 0) elseif exports["cops"]:isPlayerArrested(robber) then outputChatBox("[Casino-robbery] You are handcuffed, so you do not get the reward.", robber, 255, 0, 0) else givePlayerMoney(robber, reward) outputChatBox("Casino Robbery: You successfully robbed the casino, you got $"..reward..".", robber, 0, 255, 0 ) triggerClientEvent(robber, "soitaMusa", robber) end end end stopCasinoRobbery ( ) end
  24. المنت داتا مو اكاونت داتا ما يحتاج ريندر ذا الأفنت افضل https://wiki.multitheftauto.com/wiki/OnClientElementDataChange
×
×
  • Create New...