Actions:customjob

From PrometheusIPN Wiki
Revision as of 16:21, 6 October 2015 by Marcuz (talk | contribs) (Custom jobs)
Jump to: navigation, search

Custom jobs

Custom jobs with Prometheus are really simple once you understand the principles of them:


Adding the action

When adding the custom job action there are a few things yo need to understand.

These are the default values of the custom job action, if you do not choose to expand any of the checkboxes then the user will not be able to decide anything themself. 5yG2.png

You can fill them out as described above if you don't want the users to be able to choose anything themself. The model paths is the path to the actual model starting from the root directory of your garrysmod server(The folder your addons folder, data folder, cfg folder, gamemodes folder, lua folder, etc is in). So the path to a model could be models/author/model.mdl

If you expand the weapons dropbox you will get something like this: UL7E.png

You can add more weapons by clicking the green + button and remove them by pressing the red -. The price is the amount in the packages currency that will be added to the final price of the package if the user chooses this weapon. Credits is the amount of final credits cost of the package if the user chooses this weapon. If you are not using the credits system there is no need to specify the credits value as the user can't pay using it if that's the case.

The same process goes for models, license, friends and salary.

The users view of things

Depending on what you enabled or didn't enable the user will get something like this whenever they try to purchase a custom job package: