Get Escape Coins
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
Can you also add negative values (below 0)? I mean for example:
MIN -1000
MAX 15000
MIN -1000
MAX 15000
There is a problem in posting codes since we transferred from old HOST, I can't post code so I attach the .sma.
I did it, try:
NOTE: Change random(0, 1) to random_num(0, 1) and then compile.
I did it, try:
From:czirimbolo wrote: ↑3 years ago Can you also add negative values (below 0)? I mean for example:
MIN -1000
MAX 15000
#define MIN_RANDOM 0
and #define MAX_RANDOM 300
modify it to be from anything to anything. As you need and then recompile it.NOTE: Change random(0, 1) to random_num(0, 1) and then compile.
Last edited by Raheem 3 years ago, edited 1 time in total.
Reason: I forget something in the code, fix it as I stated
Reason: I forget something in the code, fix it as I stated
He who fails to plan is planning to fail
-
- Veteran Member
- Posts: 598
- Joined: 7 years ago
- Contact:
Can you make seperate values for coins and exp? I meanRaheem wrote: ↑3 years ago There is a problem in posting codes since we transferred from old HOST, I can't post code so I attach the .sma.
I did it, try:
- rewards.sma
From:czirimbolo wrote: ↑3 years ago Can you also add negative values (below 0)? I mean for example:
MIN -1000
MAX 15000#define MIN_RANDOM 0
and#define MAX_RANDOM 300
modify it to be from anything to anything. As you need and then recompile it.
MIN EXP -1000
MAX EXP 50000
MIN COINS 0
MAX COINS 500
Because max values are too low for EXP and when you make it higher, it can be too much for coins
thanks a lot bro. it-s working, you are the best
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute
Sign in
Who is online
Users browsing this forum: No registered users and 0 guests