Jump to content

Gamesnert

MTA Contributors
  • Posts

    2,035
  • Joined

  • Last visited

Everything posted by Gamesnert

  1. Gamesnert

    Script help

    I just gave him a basic function so he could improve it as he build up experience. EDIT: Nvm, didn't see his post...
  2. Which version did you try to install? If you installed DP2.3, it shouldn't give this error. Reinstall? If you installed a version < DP2.3, install DP2.3 now. (uninstall the current one first)
  3. Gamesnert

    Script help

    Hehe, you welcome.
  4. Well, it does work for me... I don't understand how the function can't be called, since it works fine for me. Even if I would replace my piece with the one I posted, it would be exactly the same... =/
  5. I think some other scripts kind of conflicted with other scripts, causing trouble. What may also have been the big problem, that everything was protected. When protecting everything, the server is heavily limited for as far as I know.
  6. You can use setElementData to remember how many times he used nitro. And if it hits 10, you can remove the upgrade.
  7. That'd be... 9 o'clock here? In GMT+1? Anyway, am fixing the script. The new one should be there in a small moment. the updated version doesn't work either In what way doesn't the second version work? =/
  8. Well, the problem is that you need to use 2 keys. F3 and LMB. He only wants to use LMB, which is alot more user-friendly.
  9. ... Huh? I only have that with the MTA-MySQL module (that finally works) if I connect to something incorrectly... =/ I think you may need to reinstall MTA if you're having problems like that... Or maybe a redownload or something... I can't see what the problem is, yet there seems to be a huge one! =/ i did infact redownload/install mta but nothing happened. Ehm... I dunno... Could someone else come here and see what the problem is? =/
  10. i did give it admin rights in the acl Do you have an admin account? of course i have admin rights Have you started the necessary resources? http://development.mtasa.com/index.php? ... our_server Section: Remotely administrating your server
  11. http://development.mtasa.com/index.php? ... located.27 Does this help?
  12. It has been announced! November somewhere I thought... =/ But no, it isn't here yet and it's indeed false hope...
  13. Gamesnert

    Script help

    I... Ehm... Am not sure what you were planning to be honest... You are: -Creating a marker -MarkerHit needs to be activated with the addEventHandler inside MarkerHit... Doesn't really work... -Your idea was when someone (or someTHING) hits the marker, EVERY player must spawn..? I don't know, but I don't think your code makes that much sense looking at it that way... Good try though! I suppose you want to teleport the player that hit the marker? Then let me help you. createMarker ( 0, 0, 0, "cylinder", 3, 0, 255, 0, 175 ) function MarkerHit ( hitPlayer, matchingDimensio ) if getElementType(hitPlayer)=="player" then setElementPosition(hitPlayer,0,0,5) setPlayerRotation(hitPlayer,90) end end addEventHandler("onMarkerHit", getRootElement (), MarkerHit) Later you can make the code more and more advanced. But for now, it'll do.
  14. You forgot the huge FPS drop when a player finishes Is there an FPS drop? Never had any trouble with that... =/
  15. why is it difficult? it was easy as pie for me, until it caused a complete system crash to my server as i showed you before -.- Nah it isn't difficult, I just don't like hacking!
  16. Really quite simple mate. To reset nitro, just add the upgrade again. So for example: -Nitro x10 added -Nitro x10 used -Nitro x10 added (to stop using) etc. And well making it a toggle isn't that hard. Use variables.
  17. ... Huh? I only have that with the MTA-MySQL module (that finally works) if I connect to something incorrectly... =/ I think you may need to reinstall MTA if you're having problems like that... Or maybe a redownload or something... I can't see what the problem is, yet there seems to be a huge one! =/
  18. I don't know how that could fix it honestly... Lol And still, dunno how to fix it furthermore... =/ And 4 pages and still no solution... Lol that reminds me of a while ago. My friend had problems with the Red Alert 3 beta. Thought I'd post it on it's forums. After a week or so, 25 pages! (with FINALLY an answer ^^)
  19. Gamesnert

    Script help

    Ok, so what you exactly wanted to do? For as far as I can see in the last few posts, you want to fix a vehicle on marker hit. Is that right? If so, you need to remember that onMarkerHit will be triggered 2 times: 1. When the vehicle enters the marker 2. When you enter the marker To stop this, I'd recommend to use "if getElementType(source)=="vehicle" then..." or by replacing the event with onPlayerMarkerHit and adding parts like checking if the correct marker was hit etc. Do remember that with onPlayerMarkerHit it's the PLAYER that activates the event! And you still need to check if he is in a vehicle by for example getPlayerOccupiedVehicle! That's why I recommend the getElementType way. It's much easier. I think that should be able to fix your problem, or what is the problem? What did you enter in fixVehicle? I may hope the vehicle element?
  20. Adding something like... function destroyStingerKeybind( a, b, player ) if( isElement( theStingers[ player ] ) ) then destroyElement( theStingers[ player ] ) destroyElement( theColShapes[ player ] ) end end bindKey("F1","down",destroyStingerKeybind,thePlayer) ...Near the bottom somewhere maybe? thanks much easier to understand than sa-mp's pwn. Lol, pwn seems soooo not pwnage!
  21. Adding something like... function destroyStingerKeybind( a, b, player ) if( isElement( theStingers[ player ] ) ) then destroyElement( theStingers[ player ] ) destroyElement( theColShapes[ player ] ) end end bindKey("F1","down",destroyStingerKeybind,thePlayer) ...Near the bottom somewhere maybe?
  22. like this ? When Account Not exist It will Add new Account,Next time I am Connect to my server,It's say Account is exist,Please enter your Password,and chatbox say,You Successfully logined. and I am type correct password,it's say Your Password is Incorrect.and over 3 times it's kick by Console. Ok, so that's weird... Now, I have never used that script, so is there anyone who knows better what's going on? =/
  23. That'd be... 9 o'clock here? In GMT+1? Anyway, am fixing the script. The new one should be there in a small moment.
  24. Only today it's an active forum. Normally it's quite quiet. =/
×
×
  • Create New...