Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. TAPL

    Youtube links

    http://youtubeinmp3.com/api/
  2. local _, _, Pz = getElementPosition(player) local _, _, Mz = getElementPosition(marker) if Mz + 5 >= Pz then -- code -- end ينقل الى قسم البرمجة
  3. انسخ الكود مره ثانية
  4. addEvent("startSound", true) addEventHandler("startSound", root, function(url, speaker) if isElement(sound) then destroyElement(sound) end local x, y, z = getElementPosition(speaker) sound = playSound3D(url, x, y, z) attachElements(sound, speaker) end) addEventHandler("onClientGUIClick", root, function() if (source == playButton) then local link = guiGetText(linkEdit) if (link ~=) then triggerServerEvent("setCustomStream", root, link) else local radioUrl = guiGridListGetItemText(radioGrid, guiGridListGetSelectedItem(radioGrid), 2) if (radioUrl ~= "") then triggerServerEvent("setCustomStream", localPlayer, radioUrl) end end end end) addEvent("setCustomStream", true) addEventHandler("setCustomStream", root, function(radio) if isElement(speaker) then destroyElement(speaker) end local vehicle = getPedOccupiedVehicle(source) if vehicle then local x, y, z = getElementPosition(source) speaker = createObject(2229, x, y, z) triggerClientEvent(root, "startSound", root, radio, speaker) attachElements(speaker, vehicle) end end)
  5. he means some people remove their object from gta3.img + gta_int.img to cheat. I'm not blind i can read.
  6. outputChatBox("Anti Change Nick", root,0,255,255,true) nTable = {} addEventHandler("onPlayerChangeNick", root, function() if (nTable[source] or 0) >= 8 then banPlayer(source, false, false, true, root, "Don't spam nick = ban 10 minutes", 600) else nTable[source] = (nTable[source] or 0) + 1 end end) addEventHandler("onPlayerQuit", root, function() nTable[source] = nil end)
  7. Replace line 17 with: triggerServerEvent("setCustomStream", root, radioUrl, localPlayer) And remove this with one 'end'. if (p == source) then And change this: triggerClientEvent(root, "startSound", root, radio) To: triggerClientEvent(root, "startSound", p, radio)
  8. I told you already, use the admin panel.
  9. What do you mean by "Object Remover"? If you can't edit the wiki example to work with your needs, you can simply use the admin panel to take screen shot. If you don't have the newer admin panel, you can get it from here: https://mtasa-resources.googlecode.com/files/mtasa-resources-r967.zip
  10. If you want to show the taken image you must use this event: https://wiki.multitheftauto.com/wiki/OnPlayerScreenShot Example on the wiki^^
  11. 7 minutes to read and understand the whole topic is not enough, please read the topic and also check the wiki there is examples.
  12. What doesn't work?
  13. https://forum.multitheftauto.com/viewtopic.php?f=148&t=38203
  14. TAPL

    don't work!

    That's because you never cancelled the event (this event not cancelable anyway) and you never removed the player from the vehicle.
  15. TAPL

    Table limit

    Try something like: SELECT column_name FROM table_name LIMIT 10
  16. createMarker getElementType setElementDimension getElementDimension onMarkerHit
  17. Where is who defined?
  18. المود انحذف يغلق
  19. الكود يخص تصويت او شي كذا الكود ماله اي معنى بدون كود السيرفر
  20. أنت متأكد ان مود الأدمنية عندك مركب بالسيرفر؟ لما تسجل حساب وش الي يجي بالشات؟ /register جرب تركب أدمنية آخر اصدار https://mtasa-resources.googlecode.com/files/mtasa-resources-r967.zip
  21. الظاهر ان الأدمنية عندك مو شغاله mtaserver.conf تأكد ان مود الأدمنية مضاف مع بداية تشغيل السيرفر في ملف لان التسجيل موجود في مود الأدمنية
  22. getAccount getAccountPlayer
  23. You're welcome.
  24. The Killer نفس الشي إذا الآيدي يتغير راح تصير مشكلة خصوصاً إذا السيرفر كل ثانية 10 داخلين و 10 خارجين يعني تخيل انك مسوي مود ارسال فلوس عن طريق الآيدي و جالس تكتب في اف8 الآيدي الي بترسل له الفلوس و قبل ما تضغط انتر تغير الآيدي وقتها الفلوس تلقيها راحت لأبو لمبه
  25. كود سيئ كل ما يدخل لاعب يتغير الآيدي حقك
×
×
  • Create New...