Jump to content

[HELP] Resources


Zombieh

Recommended Posts

Posted

Ok im new to the forum and new to the resources stuff.

Can anyone explain to me how resources works?

And for example how i put the loopgenerator resource to startup with the local server, i need it for map editing.

Thank you for the help.

Zombieh.

  • MTA Team
Posted

Check out our wiki article about resources:

https://wiki.multitheftauto.com/index.ph ... =Resources

One of the [VCP] leaders // honorary member of the =PCP= gang.

 

Do not PM me your MTA:SA Client / Server support questions, Lua scripting questions, unban requests or server toplist concerns - please ask them here: MTA:SA Support subforum, here: Scripting subforum, here: Ban appeals or here: Servers instead.

For other inquiries - please expect delays in replies when messaging me.

Posted

resources are basically part of code that can be running but must not necessarily. SA MP (as far as i know, it may have changed but i don't think so) only runs one big mess of code file at once, where everything that the server might want to do must be in.

You can compare the resource system to the pcs folder system, it sorts things for the user to have easy access and also just gives the possibility to add new folders next to, or in other folders. It's also good for the server, he knows that all the resources exist but he does not care (much) about what they're containing until someone tries to start them (and run the code inside)

A resource can be a gamemode, which mostly handles most of the abilities players have on a server

a map which offers unique gameplay on modes even after playing them 1 million times

or a script which adds features or possibilities, for example if someone gets shot in the head he dies instantly or if he presses button X something happens to him or someone else.

Posted

Oh, thanks for all, it was very useful, and thanks DarkDragon[GER] to explain how resources works :D

AND A LAST QUESTION PLEASE: I did put the loopgenerator in the resources directory, but when i join the map editor if i scroll in the bar that should appear it doesnt, and i load up the definition window and loopgenerator doesnt appears, can anyone tell me how to put it?

Thak you.

Zombieh.

  • MTA Team
Posted

In case you don't know how to add yourself as an admin to your MTASA server, it's explained here:

https://wiki.multitheftauto.com/index.ph ... nistrators

One of the [VCP] leaders // honorary member of the =PCP= gang.

 

Do not PM me your MTA:SA Client / Server support questions, Lua scripting questions, unban requests or server toplist concerns - please ask them here: MTA:SA Support subforum, here: Scripting subforum, here: Ban appeals or here: Servers instead.

For other inquiries - please expect delays in replies when messaging me.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...