-
Posts
2,973 -
Joined
-
Last visited
-
Days Won
3
Everything posted by 50p
-
For start, everything is good. One of the ways to learn to script is by looking into already made scripts.
-
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.
-
Read that page again... And you better check your debug window (command: /debugscript 3).
-
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.
-
Try to create that object after you replaced it. And see if the created object is the same as the old object.
-
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
-
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
-
https://wiki.multitheftauto.com/index.ph ... _functions
-
There are register/login commands.
-
Tell me, what's so confusing? I was trying to keep it as easy to use as possible and look like Visual Studio.
-
getElementBoundingBox is only client-side. Maybe you try to call if from server-side script.
-
Good luck with your web resources.
-
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.
-
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?
-
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.
-
Your test.html is not RAW file. Also, make sure the port is correct.
-
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
-
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.
-
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()).
-
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.
-
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
-
It's on the next page. It can't go too far with so active forum. https://forum.multitheftauto.com/viewtop ... 91&t=25038
-
Why did you make new topic? You made one already about the same thing.
