Jump to content

[HELP] Resources


Zombieh

Recommended Posts

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.

Link to comment

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.

Link to comment

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.

Link to comment

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...