Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 30/01/20 in all areas

  1. If you want to do so, your event should be attached to root. resource_1 function onResourceStart() triggerEvent("eventHandler", root) end addEventHandler("onResourceStart", resourceRoot, onResourceStart) resource_2 function eventHandler() iprint("Serverside function was triggered at resource: "..getResourceName(getThisResource()).." from resource: "..getResourceName(sourceResource)) end addEvent("eventHandler", true) addEventHandler("eventHandler", root, eventHandler) Result:
    1 point
  2. Mówisz że jest to porządny serwer a prawdopodobnie właściciele tego serwera nie mają za grosz szacunku:
    1 point
  3. Havia hospedado um serviço do tipo a um tempo, provavelmente ainda funcione: local emailConfig = { name = "", -- NOME user = "", -- E-MAIL (GMAIL) pass = "", -- SENHA (GMAIL) link = "http://site.mtabrasil.com.br/email/enviarEmail.php" } addCommandHandler( "teste", function(thePlayer, _, sendTo) local postData = toJSON( { to = sendTo, subject = "E-mail teste", text = "<p>Olá</p>", name = emailConfig.name, user = emailConfig.user, pass = emailConfig.pass } ) fetchRemote(emailConfig.link, returns, postData) end ) function returns(msg, num) if msg == "ERROR" or num ~= 0 then outputDebugString("Erro no envio do e-mail! (verifique o script e/ou página web)", 2) end end No caso foi feito para funcionar com conta do gmail, pois ajuda que não cai em caixas de spam/lixeira. Deve-se habilitar na conta do gmail o "uso de dispositivos menos seguros" e não recomendo usar sua conta pessoal, crie uma nova só para esta finalidade.
    1 point
  4. Aquela rodinha com os MBs sempre vai estar lá. É nativa do MTA. Mas se vc quer que apareça algo durante o download, dá pra usar isTransferBoxActive para saber se está baixando algo ou não.
    1 point
  5. There is someone imitating server mine "KSA | ~ Team YrF9 '- ~ | Hajwalh Saudi Arabia" server Has this name is a tradition that serves the name "KSA | ~ Team YrF9 '- ~ | Hajwalh السعودية" this mtasa://46.105.250.205:26088 and this mtasa://164.132.15.157:25060 This server has a fake property name mine This name is official "Saudi Arabia | ~ Team YrF9 '- ~ | Hajwalh Saudi Arabia" This is the official IP "46.105.250.205505060" This person has a server that uses his own server as a deduction and the servers are repeated in your name and this causes a problem for us in the visitors. Please take the necessary action. and i want any way Anyone player searching in search mta sa don't The enemy server does not appear. I want to approve the official search under my server "YRF9' " and thanks.
    1 point
  6. hello sir am Arabian developer but what am gonna get?
    1 point
  7. By coming to the MTA forums and asking which mod is better, you are only going to get one answer. But hey, at least here there can be some sort of discourse. On the SA-MP forums, even a small hint towards the notion of MTA will usually see you swiftly banned. I remember looking through old threads here one day. There was discussion and speculation about how Kyle (or whatever his name is) actually stole some of MTA's early code to make SA-MP. If my memory serves me correctly, I believe he was even a member of the MTA Team at some point in time circa 2004 or 2005. I guess that is a real testament to the way each mod is run. Politics aside, I find MTA to be much heavier on the system. The game is old enough so that shouldn't even be a factor anymore. But the trade off with that is, you get a ton more features. The extensibility of CEGUI, DirectX and CEF is honestly really amazing. All of these are a ton better than the server-side GUIs that SA-MP offers. I find MTA to be generally just made better. MTA is also open-source, whereas SA-MP isn't - if that sort of thing is important to you.
    1 point
  8. Tag can't start with a number. Rule nr.4: http://www.adobepress.com/articles/article.asp?p=1179145&amp;seqNum=4 (There are all 9 rules on that page) Also a XML validator will tell you where an error might be located: https://www.xmlvalidation.com/index.php Last note: Try not to use custom tags based on your data. Pre-sets of tags like col, txd and database are fine. The methods you should use for custom data are: <tag>value</tag> and attributes="..."
    1 point
  9. Yo guys, I've been working on a another theme in the last days. It was based on Metro Style (added on Windows 8, Windows Phone, etc). ------------------------------------------------------------- What is Metro Style | Images of Metro Style ------------------------------------------------------------- Below, some screenshots: * Agradecimentos ao XeoN pelos screenshots. Download: http://www.mediafire.com/?0jj2qc3jd9ypjyh Feel free to edit anything. I added the PSD file into download file, so you'll be able to edit anything on theme (colors, for example). (=
    1 point
×
×
  • Create New...