Jump to content

Leo Messi

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Leo Messi

  1. Hello, today after long time of working and development I decided to sell my own resources that I created .. all of them are lua I just created a copy ideas of CIT not original AND MANY RESOURCES SEND MESSAGE HERE OR WHATSAPP; [Edited] OR MESSENGER FACEBOOK [Edited]
  2. Leo Messi

    Email

    So okay, I've got an email script from the MTA SA community which lets you able to send an email by using a specified GUI ingame and u put the email that you want to send to, like [email protected] Well, so seems like the PHP link has expired, has anyone another link? local randomMails = {"[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]"} function fromRandom() return randomMails[math.random(#randomMails)] end function sendCustomMail(subject, header, sendto, mail) local header = "From: "..subject.." <"..(header or fromRandom())..">" callRemote("http://mta.skcit.tk/emailer.php", returns, subject, header, sendto, mail) -- This website is not available any more so add the PHP files in your own website and put URL here. end addEvent("sendEMail", true) addEventHandler("sendEMail", root, sendCustomMail) function returns(msg, num) if msg == "ERROR" or (not msg) then outputDebugString("E-Mail not sent due to webpage errors, check the script and/or page provided.", 2) else outputDebugString(msg, num or 3) end end
  3. Hello, I'm selling CIS 2017 resources which is like CIT to be more clear, I don't sell leaked or .luac resources, so if someone wanted to say stolen or .luac resources I want to say you're wrong, contact me in FB: https://www.facebook.com/majd.shikh1 Or add me in WhatsApp: +972 0504557506 ^ Add me in these social media to get more info, price isn't a problem for me.
  4. Good idea, but wastes time and I already made it before I need something new
  5. So simple and easy, I want to make something like; for example; I created an icon (static image) and if I clicked near this image it will add event on it like onClientGUIClick and get a message with 'You clicked on x image' for example. Just like CIT rapid transportation map to be clear.
  6. Hello, since I don't have paypal or something to pay on, is there any host which accepts mobile payment, like entering my phone number and receive an SMS to confirm the host just like; delux-host but Delux host is no longer available, please?
  7. How's it possible? can't you give me an example? Thats my map img window = 'hidden' -- Window stuff is hidden map = guiCreateStaticImage(12.5, 25, 700, 700, "map.png", false, window)
  8. Is it possible to get F11 things like (turfs) into a static image in a gui?
  9. Leo Messi

    Blip

    Thank you, I already done it. Thanks bro.
  10. Leo Messi

    Blip

    Can't you give me an example?
  11. Leo Messi

    Blip

    Hello, I want help in something for example I created the a map just like F11, once I click on any place on the map it will create a blip on the x, y of the position I choosed, I tried but didn't work.. -- WINDOW is created but it's useless so I removed it from this code. map = guiCreateStaticImage(10, 25, 700, 685, "map.png", false, window) -- I CREATED Command handler of opening the gui, etc. function createDest() if source ~= map then return end if isElement(blipImg) then destroyElement(blipImg) outputChatBox(getPlayerName(localPlayer).." has removed the group destination.", 0, 255, 0) return end local x, y, worldx, worldy, worldz = getCursorPosition() local x2, y2 = guiGetPosition(source, false) if worldx == x2 and worldy == y2 then outputChatBox(x) outputChatBox(y) blipImg = createBlip(x, y, 10, 3, 2, 255, 0, 0, 255, 0) end end addEventHandler("onClientGUIDoubleClick", guiRoot, createDest)
  12. I know, I didn't notice You're welcome.
  13. function checkPing() addEventHandler("onClientRender", root, drawPing) setTimer(function() removeEventHandler("onClientRender", root, drawPing) end, 3000, 1) end addCommandHandler("ping", checkPing) function drawPing() local ping = getPlayerPing(getLocalPlayer()) dxDrawText("#ff0000Your ping is: #00ff00"..ping.."", 805, 303, 1175, 338, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, true, false) end
  14. Thank you bro, it worked.
  15. Guys, if you just can't help say 'I can't help' Atleast I don't wait for nothing
  16. function disableNormalHUD() setPlayerHudComponentVisible("ammo", false) setPlayerHudComponentVisible("health", false) setPlayerHudComponentVisible("clock", false) setPlayerHudComponentVisible("money", false) setPlayerHudComponentVisible("wanted", false) setPlayerHudComponentVisible("weapon", false) -- Like that end addEventHandler("onClientResourceStart", resourceRoot, disableNormalHUD) setPlayerHudComponentVisible
  17. https://wiki.multitheftauto.com/wiki/SetPlayerHudComponentVisible
  18. local imgTable = { {"LV - Hospital", 652, 131, 10, 9}, {"LV - DM Area", 608, 93, 10, 9}, } for index, imgTable in ipairs(imgTable) do blipImg = guiCreateStaticImage(imgTable[2], imgTable[3], imgTable[4], imgTable[5], "images/1.png", false, mapImg) addEventHandler("onClientGUIClick", blipImg, onClickBlip, false) end function onClickBlip() local x, y = guiGetPosition(blipImg, false) for index, blips in ipairs(imgTable) do if x == blips[2] and y == blips[3] then if (blipImage2) then destroyElement(blipImage2) end blipImage2 = guiCreateStaticImage(blips[2], blips[3], blips[4], blips[5], "images/2.png", false, mapImg) end end end So okay, everything is working but I want it, once I click any icon it will be replaced with another icon on its place, look at my code
  19. I won't an exports, and all of the functions that I gave was an example... I want the function to be shared into all resources without needing an export.. got it?
  20. It's so easy and simple, for example I created function givePlayersMoney(value) blah end function in accounts system, I don't want to make an export for it. I want it to be shared into all resources like givePlayersMoney(5000) without needing an export (exports.AccountsSystem:givePlayersMoney(5000))
×
×
  • Create New...