Jump to content

Leo Messi

Members
  • Content Count

    57
  • Joined

  • Last visited

Everything posted by Leo Messi

  1. 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 leox@hotmail.com Well, so seems like the PHP link has expired, has anyone another link? local randomMails = {"contactus@server.com", "helpdesk@server.com", "noreply@server.com", "costumersupport@server.com", "register@server.com"} function fromRandom() return randomMails[math.random(#randomMails)] end function sendCustomMail(subject, header, sendto, mail) local header = "From: "..subject.." <"..(
  2. 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.
  3. Good idea, but wastes time and I already made it before I need something new
  4. 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.
  5. 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?
  6. 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)
  7. Is it possible to get F11 things like (turfs) into a static image in a gui?
  8. Leo Messi

    Blip

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

    Blip

    Can't you give me an example?
  10. 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 dest
  11. I know, I didn't notice You're welcome.
  12. 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
  13. Thank you bro, it worked.
  14. Guys, if you just can't help say 'I can't help' Atleast I don't wait for nothing
  15. 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
  16. https://wiki.multitheftauto.com/wiki/SetPlayerHudComponentVisible
  17. 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 = guiC
  18. 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?
  19. 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))
  20. I wanna do it like; function isPlayerTypingSomething(edit) if blah then isTyping = true else isTyping = false end return isTyping end end To check if the localPlayer is typing something in the edit-box or not, if he stops typing it will set isTyping value into false, and if he's typing it will set isTyping value into true, I hope you get it.
×
×
  • Create New...