Suggested Get Escape Coins

Plug-ins compatibility with Zombie Escape 1.x only!


czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#21

Post by czirimbolo » 3 years ago

Can you also add negative values (below 0)? I mean for example:
MIN -1000
MAX 15000
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#22

Post by Raheem » 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:
czirimbolo wrote: 3 years ago Can you also add negative values (below 0)? I mean for example:
MIN -1000
MAX 15000
From: #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
He who fails to plan is planning to fail

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#23

Post by czirimbolo » 3 years ago

Raheem 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
czirimbolo wrote: 3 years ago Can you also add negative values (below 0)? I mean for example:
MIN -1000
MAX 15000
From: #define MIN_RANDOM 0 and #define MAX_RANDOM 300 modify it to be from anything to anything. As you need and then recompile it.
Can you make seperate values for coins and exp? I mean

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
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#24

Post by Raheem » 3 years ago

rewards.sma
(2.72 KiB) Downloaded 328 times
rewards.sma
(2.72 KiB) Downloaded 328 times
He who fails to plan is planning to fail

BandiT
Member
Member
Romania
Posts: 59
Joined: 4 years ago
Contact:

#25

Post by BandiT » 3 years ago

thanks a lot bro. it-s working, you are the best

Post Reply

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

Register

Sign in

Who is online

Users browsing this forum: Yandex [Bot] and 0 guests