Egekan

Members
  • Content count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Egekan

  • Rank
    Member
  • Birthday 30/09/99

Details

  • Gang
    CIT
  • Location
    Ankara/Turkey
  • Occupation
    Student
  1. unable to use engineImportTXD

    I've a server to test customskins I've made. The script works fine with skinid:217. Whenever I try to use the same code on id:141 or id:283, it doesn't work at all. engineApplyShaderToWorldTexture is not working aswell, I've made some sultan paintjobs by using the function before. So I know how to use it. Script: function staffskin(plr) txtstaff = engineLoadTXD("csher.txd") engineImportTXD(txtstaff,283) txtstaff = engineLoadTXD("skin2.txd") engineImportTXD(txtstaff,141) end addCommandHandler("marineskin",staffskin) Meta: <meta> <script src="joinquit.lua" type="client" /> <file src="csher.txd" /> <file src="skin2.txd" /> </meta>
  2. connection timed out!!!

    Hello, if you have firewall, you must allow MTA to have acces to the internet. If you don't know how to do that: Choose Start -> Control Panel -> System and Security -> Allow a Program through Windows Firewall. Pick MTA from there, if you can't see it in the list, click ''Allow another app'' and find it there. After you've done with that you need to disable your antivirus software. Try again you probably will be able to play.
  3. Can't open ports! Please help!

    Exactly. After you set your static ip don't forget to change the defined IP Adress(192.168.2.208) to the new ip adress(the IP adress chosen by you) which is in Port Forwarding page.
  4. Can't open ports! Please help!

    I'm having the same problem atm, - Disable your Windows and tp-link(which is probably in the security section) firewalls. - Set a static ip for you computer. Because everytime you connect, it gives you a random ip number. If you don't know how to set a static ip: http://www.linksys.com/us/support-article?articleNum=140106
  5. What does local port mean?

    Thank you but still.. The console says that my ports haven't opened yet.
  6. What does local port mean?

    Hello, I have a home-made server. I'm a newbie scripter and sometimes I need to test my scripts with my friend(s). I'm using: As you see my ports are ready(I guess) But still, the console(openports) says that every port is closed. I think the problem is "Local Port". I couldn't find any information about it on the net. I have no idea about what does it mean. Can someone tell me what am I supposed to do to solve this problem. By the way if it's wrong place to ask this, I'm sorry. I couldn't find a better place to ask. Thank you.
  7. Using tables with if statement

    Thank you very much!
  8. Using tables with if statement

    Hello, I'm a newbie scripter and I'm trying to script somethings for fun. I have a private scripting server. I have an accesspanel gui, there are some dev. access codes(passwords) to login as a scripter. Is is possible to use allow some poeple login with their own codes? First one checks if the code which is in the editbox is exists or not. As you see if it does, the person will be able to click the button. function devenable() local acscodes = {"1234", "1231"} if guiGetText(accesscode.edit) == acscodes then -- Checks if the code is valid or not. guiSetEnabled(connect.button, true) else guiSetEnabled(connect.button, false) end end setTimer(devenable, 1000,0) function devaccess() if guiGetEnabled(connect.button,true) then guiSetVisible(ServAccess.window, false) showCursor(false) end if guiGetText(accesscode.edit) == acscodes[1] then outputChatBox("Hello, Egekan. Developer Mode is enabled!", 0, 200, 0) elseif guiGetText(accesscode.edit) == acscodes[2] then outputChatBox("Hello, AnyPerson. Developer Mode is enabled!", 0, 200, 0) end end addEventHandler("onClientGUIClick", connect.button, devaccess) it's fine if I use this one instead, which means the script is good enough local acscodes = 1234 Thank you for helping
  9. setAccountData işlemiyor

    function SASA() local ortakveri = getAccountData(ac,"ortakveri") local ac = getPlayerAccount(source) if (ac) and (not isGuestAccount(ac)) and (ortakveri) and (getClanData(ortakveri,"isim", false)) then setAccountData(ac,"ortakveri",false) -- only this setting data. why ? setAccountData(ac,"uye",false) -- not set setAccountData(ac,"yetkili",false) -- not set setAccountData(ac,"kurucu",false) -- not set end end addEventHandler("onPlayerLogin",root, SASA) Debug olayı bazen saçmalıyor bende de, hiç emin değilim ama bi dene şunu belki işini görür getClanData kısmında hata yapmış olabilirim düzelt debug hatalı derse.
  10. Script yardım

    Superman scriptinin kodlarını ya da kendisini buraya atarsan sana yardımcı olurum.