Jump to content

myonlake

Members
  • Posts

    2,312
  • Joined

  • Days Won

    41

Everything posted by myonlake

  1. @CapY: Exactly. I assume he solved it by making triggers on client/server side.
  2. 1. Stop spamming the forum with every thread with the same name: "Help me", "Help please", "HELP!!!"... Nobody wants to help someone who makes 100 topics about your problems. Make one thread, put them all in there and delete your old threads. 2. https://community.multitheftauto.com/ 3. We ARE NOT making scripts FOR YOU.
  3. BinSlayer, they're able to be decrypted easily if you have a super computer access for 30 minutes. You are not able to decrypt MD5 hash easily without a super computer. You are only able to decrypt MD5 by making words and sentences and matching them to the one you want to get. That way you will get your password, but you really need a super computer for making that lots of functions at a time. It would take 30 minutes from a super computer, your computer would count it in 2 years.
  4. myonlake

    MYSQL

    Just use MySQL Way easier.
  5. viewtopic.php?f=91&t=37985 Make yourself.
  6. https://community.multitheftauto.com/index.php?p= ... ils&id=495
  7. Man... we cannot make you the scripts just like createJob("Hooker"). You need to try yourself first, and explain us how do you want it created: markers, GUI, commands... Creating gamemodes and scripts usually base on many plans. I have plans to make a gamemode which has a GUI for jobs at City Hall of Los Santos, just South-West from the LSPD building. It has a gridlist, which includes a job for City Taxi, Bus and Trucks. It also has a job selection for paramedics and police officers.
  8. Moderators and Administrators are able to kick players from your server. The script checks if the player who triggers the moving gate function has permission to kick a player. In another words, it checks if you're an admin or moderator. It only works for admins and moderators, not for everyone.
  9. You mean, you want to be an admin?
  10. -- Gate object, which will be created when the resource is started local gate = createObject(985, -1534.4836425781, 482.15185546875, 6.1875, 0, 0, 270.27014160156) -- Marker, which will be created when the resource is started local marker = createMarker(-1530, 483, 6.3, "cylinder", 4, 255, 255, 255, 140) -- Function, which moves the gate when you hit the marker and you have a right to kick a player function moveGate(hitPlayer, matchingDimension) if hasObjectPermissionTo(hitPlayer, "function.kickPlayer") then -- Check if the player has permission to kick a player moveObject(gate, 5000, -1534.4836425781, 482.15185546875, 2.9375) -- Function that moves the gate away setTimer(moveBack, 5000, 1) -- Timer that triggers when the gate is moved end end addEventHandler("onMarkerHit", marker, moveGate) -- When the player hits a marker with name 'marker', the function with name 'moveGate' will be triggered -- Function that moves the gate back to it's position function moveBack() moveObject(gate, 5000, -1534.4836425781, 482.15185546875, 6.1875) end
  11. myonlake

    Functions.

    Hello there, new scripter! As you're a new scripter, I'd suggest to start from the scripting manual. I started my scripting from there aswell, now I am an advanced scripter (I think, heh'). 'Creating a server' manual: https://wiki.multitheftauto.com/wiki/Server_Manual Scripting introduction: https://wiki.multitheftauto.com/wiki/Scr ... troduction Server-Side Functions: https://wiki.multitheftauto.com/wiki/Ser ... _Functions Events: https://wiki.multitheftauto.com/wiki/Ser ... ing_Events Client-Side Functions: https://wiki.multitheftauto.com/wiki/Cli ... _Functions Events: https://wiki.multitheftauto.com/wiki/Cli ... ing_Events
  12. hasObjectPermissionTo isObjectInACLGroup moveObject createObject getElementType onMarkerHit onMarkerLeave
  13. myonlake

    Changing Skins

    Have you tried to restart the resource few times or MTA? If it doesn't help, it's the .txd fault, re-download it or something :3
  14. myonlake

    Changing Skins

    1. You had forgotten the 'meta.xml' meta tags? meta.xml 2. Your files are in server-side? Change it to client-side from the 'meta.xml'. 3. Your files are in an another folder like '/resource/textures/'? function onResourceStart() skin1 = engineLoadTXD("textures/veg.txd") skin2 = engineLoadDFF("textures/veg.dff", 22) engineImportTXD(skin1, 22) engineReplaceModel(skin2, 22) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) meta.xml
  15. Messy. Are you sure that's the full code? If not: - There is no function for 'cerrar' or 'animacion'. - You haven't defined animacion Problems: - You are using the script in client-side, this is a server-side stuff function bind() local accountname = getAccountName(getPlayerAccount(source)) if isObjectInACLGroup("user." .. accountname, aclGetGroup("Admin")) or isObjectInACLGroup("user." .. accountname, aclGetGroup("VIP")) then if guiGetVisible(iphone) == true then if not animacion then cerrar(localPlayer) end else if animacion then guiSetVisible(iphone, true) setElementData(localPlayer, "panel", "main") addEventHandler("onClientRender", getRootElement(), sacarSXPhone) end end end addCommandHandler("iphone", bind) addEventHandler("onPlayerLogin", getRootElement(), bind) function bindme() for i,v in ipairs(getElementsByType("player")) do bindKey(v, "I", "down", bind) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), bindme)
  16. - How to make your server show in the in-game server browser 1. Your 'mtaserver.conf' file has an 'ase' meta function, which is made to show the server on Game-Monitor website and in-game server browser. 1 2. Your ports are not opened. Go to 'Windows Firewall' and open the necessarry ports (server port: 22003, HTTP port: 22005). That way the players are able to join your server. 3. Make sure the 'mtaserver.exe' is allowed in your 'Windows Firewall'. Allow the program to run and it will fix the problem. - How to see the accounts list As far as I know, you are not able to see them because of the high security risk. It's compiled and so on. I am not one hundred percent sure, but I assume it's like this.
  17. If you tried it and it works fine on you, mind giving us something to work on? How are we going to solve this without any help. Scripting forum is for help, not to say that you know the answer and you're not going to share it until we solve it with nothing to work with.
  18. Solidsnake is one of the most talented scripters, so don't think that copying from the wiki, or creating something same by yourself is going to work; he has tried everything there can be, and now asking for solutions from other scripters who may have solved this. However, this is the wrong place to post. Report it up at Mantis or PM one of the developers who are involved with functions.
  19. I tried to hack the server with one text box, but I took an arrow in the knee.
  20. As what I already said: You are not able to cancel quit event. Try to understand that!
  21. What errors they are, mind giving me the errors?
×
×
  • Create New...