Jump to content

50p

Retired Staff
  • Posts

    2,973
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by 50p

  1. 50p

    Register system

    For start, everything is good. One of the ways to learn to script is by looking into already made scripts.
  2. 50p

    Bind keys

    Having description of all parameters is not always enough... especially for someone who has no scripting knowledge whatsoever. He needs to learn Lua first.. then he can start scripting.
  3. 50p

    replace models

    You did the right thing with engineLoadDFF before. Specify 0 as the 2nd argument if you're loading any model but vehicles. So, if you're loading new vehicle model you need to specify ID of vehicle you're replacing but if you're loading new object model use 0. Engine functions are not perfect and will never be. You will sometimes see white object without texture and sometimes you'll see texture loaded properly. Restarting resource sometimes help but not always. Sometimes you'll have to restart resource even 10 times to get textured models. That happens and is normal.
  4. 50p

    replace models

    Read that page again... And you better check your debug window (command: /debugscript 3).
  5. You detach the trailer when being in one place so it will reattach. I've had the problem with detachTrailerFromVehicle couple of days ago and couldn't do anything about it. It also seems to reattach trailer for remote players when using detachTrailerFromVehicle while driving truck with attached trailer.
  6. 50p

    replace models

    Try to create that object after you replaced it. And see if the created object is the same as the old object.
  7. 50p

    Register system

    To call a function from different resource you need to export that function first (meta.xml). If a function is exported you can then call it like so: exports.resourcename:exportedFunction( ) If you want to call a client-side function from server-side script you can do that by adding new event client-side and trigger it from the server-side script. https://wiki.multitheftauto.com/index.php?title=AddEvent
  8. It is possible. It's not even that hard to make. https://wiki.multitheftauto.com/index.ph ... _functions https://wiki.multitheftauto.com/index.ph ... adioSwitch
  9. 50p

    Register system

    https://wiki.multitheftauto.com/index.ph ... _functions
  10. 50p

    Register system

    There are register/login commands.
  11. Tell me, what's so confusing? I was trying to keep it as easy to use as possible and look like Visual Studio.
  12. 50p

    Need basic help

    getElementBoundingBox is only client-side. Maybe you try to call if from server-side script.
  13. Good luck with your web resources.
  14. 50p

    MAP Install

    Ahh ok that mean i will try to do make Roller Coaster Generator plugin work....BUT i cant .... can you help me with that problem too? If you want to get help with the roller coaster plugin, go and ask in its topic on the forums. Always ask in the topic or script/program that you need help with but I guess you just did.
  15. Of course it does require you to login. You can make it public by giving everyone access to web resources (also webadmin or resourcebrowser). Before you start your server open acl.xml and go to acl "Default", than find this line: <right name="general.http" access="false" /> Change it to "true" and everyone will have access to http resources. EDIT: Where is your previous message? Why did you delete it?
  16. 50p

    MAP Install

    Load the map into map editor? Try to read the tutorial or https://wiki.multitheftauto.com/index.ph ... rce:Editor What I see here is that you try to load the map with custom objects, as far as I know, you can't do that.
  17. Your test.html is not RAW file. Also, make sure the port is correct.
  18. 50p

    Houses

    And now you need to learn scripting. There is no easy explanation how to make the houses... You need to know what interiors you want to use, positions of markers and the places to warp. https://wiki.multitheftauto.com/index.ph ... =Main_Page
  19. 50p

    MAP Install

    Don't use nightly builds. Use official 1.0. If it says it's a map but there is no map file then the guy making that resource must be new to MTA. Map can be in .lua file but must be valid map format. It doesn't matter what extension the file is as far as it's added to meta.xml with the tag.
  20. When I read this topic it was 6:00am and I was asleep but whatever, I can see it easily Why don't you simply use client-side event onClientPlayerWasted or onClientPedWasted? Make sure the dead person is you (getLocalPlayer()).
  21. We can't see any "Respawn in 10 Seconds" text in your code, so we can't tell you what is wrong but I can tell you how to outputChatBox message that is visible only to 1 player. https://wiki.multitheftauto.com/index.ph ... putChatBox You need to use the "visibleTo" parameter. Use player element to display message to that player.
  22. You can use modules to extend MTA functionality. There are a few MySQL modules already made, eg. https://wiki.multitheftauto.com/index.ph ... /MTA-MySQL I don't really know what "Account System" you want to create... MTA has a built-in account system that makes everything easier. Much much easier then it is with SA-MP. Here you can find Account Functions: https://wiki.multitheftauto.com/index.ph ... _functions
  23. It's on the next page. It can't go too far with so active forum. https://forum.multitheftauto.com/viewtop ... 91&t=25038
  24. Why did you make new topic? You made one already about the same thing.
×
×
  • Create New...