Jump to content

myonlake

Members
  • Posts

    2,312
  • Joined

  • Days Won

    41

Everything posted by myonlake

  1. If you really want to replace 'T' then you might as well use onPlayerChat and cancelEvent. Then just make it display everything locally.
  2. It wouldn't matter if you had 100 timers running at the same time if the server is just good enough to handle all that. One timer is nothing, not even if it had 50ms as it's duration and looped to infinite.
  3. What gamemode are you running, even. Basic Roleplay or Paradise? If it's vG, gtfo, we do not help with leaked resources.
  4. myonlake

    [HELP] MySQL

    Well, it seems like you have blocked that IP-address or the server accepts only localhost connections. Have you already set up your MySQL username and password? Also, does that error occur in the phpMyAdmin page? Is that your own computer or are you using a VPS? Because if you're using it on your own computer, make sure to connect via http://127.0.0.1/ or http://localhost/ instead of your whole real IP-address. I just suggest you re-install XAMPP with the tutorial I posted you above in order to flush everything out.
  5. myonlake

    need help! :D

    I don't understand what you want. Do you want to create a vehicle script with locks? createVehicle setVehicleLocked
  6. myonlake

    [HELP] MySQL

    Installation of XAMPP (normal installation) 1. Download XAMPP (installer: http://sourceforge.net/projects/xampp/f ... 5/download | extract-able: http://sourceforge.net/projects/xampp/f ... 5/download). Only download either the installer or the extract-able. Installer is user-friendly, but the extract-able shouldn't make any errors and also allows you to install it as a non-administrator user. 2. Install XAMPP. 2.1. If you are using the installer, just follow the instructions that comes with the installer. 2.2. If you are using the extract-able, place the extracted xampp -folder in your C-drive at C:\. 3. Run the setup_xampp.bat -file for complete installation of the services. 4. Start the control panel via the xampp -folder. 4.1. It is suggested to put up a shortcut to the control panel on your desktop for easier start-up in the future. 5. Start the Apache -service and the MySQL -service Question: Apache -service starts and stops, why? Answer: If you are running Skype, bring it up. Go to the settings panel, open up the additional settings panel, go to the connection section, untick the Alternatively use port 80.. or so, and if the above box has numbers 80 on it, switch it over to 2891. Additionally you could stop all other programs that you do not use, they might be using the port number 80 and that means you can't run Apache. 6. Open your web browser and go to: http://localhost/. 7. Choose your language (English is recommended). 8. Go to the security section. 9. Set the usernames and passwords, make sure they are not too simple. 10. Go over to http://localhost/phpmyadmin. 11. Log in with the credentials you set before. 12. Create a database with a name, you could use "rp" for it, for example. 13. Select the database from the list and press "Import" from the upper panel. 14. Find the database from your paradise -folder, somewhere. 15. Import the database and it should put in all the tables. 16. Stop Apache and leave your web browser. --- Doesn't work? I'd give up.
  7. myonlake

    Starting Resource...?

    You need to be the server administrator in order to do that. This is made via the console, by doing 'addaccount '. Then open the acl.xml from the deathmatch -folder and add yourself as an administrator there. When you get in-game, log in via /login with the username and password and then just type "start " to start a resource. Alternatively you can just type "start " via the server console.
  8. Unfortunately the feature doesn't work anymore for some reason. It worked fine before but hasn't been working since a few months ago. There's no other way to reconnect a player afaik.
  9. Don't argue. Solidsnake gave you two good resources that do the job. Admin panel is an admin panel, not a developer panel.
  10. Ok , i want block , how ? You can't, you never will, good bye.
  11. That's a kind of unique scripting as I call it, meaning, that everything is precisely as you want it, but it will only work how you want it, but there are lot of exceptions, which then will cause the script to not work. What I suggest is to make a separate spawning script. You spawn the player in a function and it will play the sound to the player. You can also try to make something like.. Server-side addEventHandler("onPlayerSpawn", root, function(posX, posY, posZ, spawnRotation, theTeam, theSkin, theInterior, theDimension) if (posX >= -2654 and posX <= -2656) and (posY >= 638 and posY <= 640) and (posZ >= 13 and posZ <= 15) then playSoundFrontEnd(source, 16) end end )
  12. myonlake

    HELP :D

    You can get the element's alpha by using getElementAlpha function.
  13. This is the only multiplayer you can get at this very moment. http://iv-multiplayer.com/
  14. Then you might want to reinstall your GTA or MTA.
  15. Well I haven't had issues with anything as I run 7 game servers from my home computer. No lagging and no lag even when I spam syncs from client to server. Either you are using a very low connection internet and you should get a VPS for that, or just buy a new connection from your provider. I have 0.8 Mbps up and 20 Mbps down, no lag.
  16. i wont learn it : x my en too bad.. Could you make bind? Then don't begin scripting if you can't understand it. And no, we can not make a bind for you as you can't even try properly.
  17. Well, it is able to fetch the camera matrix and if you'd like to move the camera matrix a little bit without absolute positions, you can just fetch the matrix and add a few meters in it. Like the example in the Wiki Page: local x, y, z, lx, ly, lz = getCameraMatrix() -- Get the current location and lookat of camera x, lx = x + 1, lx + 1 -- What will be the new x and x lookat values setCameraMatrix(x,y,z,lx,ly,lz) -- Set camera to new position It can be made a smooth transition with rendering. Such rendering is used on some racing servers, like FFS.
  18. Then use strings and convert them later to a number perhaps?
  19. You can also do it without any timers, which might decrease the chance of lag and timing out. Just make a variable and make it increase itself and when it hits a certain amount, it will decrease the time variable. This might not work well on old machines since the rendering isn't working well over there, so the "timer" would be slow. Maybe if you implement a synchronization with the server, it could work out. But if you think you don't need to worry about any of these issues, go ahead and use timers.
  20. Honestly speaking your resource makes no sense. It made more sense if you had, for example, a global bans list which is used by multiple popular servers. The original ban script works perfectly and if there's a problem with it, you simply report it to the Mantis and let the developers fix them. Nothing is impossible.
  21. You can always use TeamViewer or programs for remote controlling. But the most efficient way to do that, is to buy a VPS.
  22. myonlake

    Binds

    Or if you don't want to reset your binds, then just open the F8 console and type in 'bind T chatbox say' and then press enter.
  23. You do realize that this is not a board where you come in without an intention to buy a script. And those functions that csiguusz gave you are a good start for you.
  24. Make sure the server is not already running or another program is using the port already. You might also want to try another port, for example 22006 or so. Remember to open it as well.
  25. Some things are impossible. We can't do everything that GTA itself can't handle.
×
×
  • Create New...