ylean_loansystem
https://ylean.tebex.io/package/5634716 https://ylean.tebex.io/package/5634728
1. SQL Setup
Import yl.sql
file to your servers database
2. Config
Ylean.csmla
explanation:
The variable "credit_score
" is the player's credit score threshold, and for a given credit score, the maximum loan amount that can be taken out is determined (the variable "max_loan
").
For example: If credit_score = 5, max_loan = 20000
a player with a credit score greater than or equal to 5 can take out a loan of up to $20,000. However, a player with a credit score of 4 will not be able to take out $20,000, but rather a lower amount.
3. Maximum interest rate and installments configuration
If you want to change maximum interest rate go to -> nui/script.js and edit:
If you want to change maximum/minimum installments go to -> nui/index html and edit those variables on line 24:
Last updated