EZ Life Style
Allow players to select the life style they want and integrate their choice into other scripts. Give starter items based on player interests, and start them in a location occurring to their lifestyle.
Last updated
Was this helpful?
Allow players to select the life style they want and integrate their choice into other scripts. Give starter items based on player interests, and start them in a location occurring to their lifestyle.
Last updated
Was this helpful?
Unzip the script folder within your server resources folder. Ensure script in server.cfg ... "ensure ez_lifestyle".
Go to vorp_character/server/server.lua
and search for the event "vorpcharacter:saveCharacter". Change/ modify it to add the following code:
Just in case if you ever want to remove the script, you do not have to worry about removing the code, as we have made use of the function CheckLifeStyle() to check if the resource is running or not.
If you have renamed the script, make sure to change the name of the resource in the function CheckLifeStyle().
Create the attribute.
Make sure to remove default cash for new players from vorp_core/config.lua
. Furthermore, make sure to remove any default items and weapons from the vorp_inventory/config.lua
.