Matiashelland
New Member
- Nov 25, 2014
- 8
- 0
Hello Forum.
I try adding a code to my hotel but get some error.
I like to add a system the i name "crime"
The point is that you click a button to complete a robbery and get money that varies from 1000coins to 50.000coins
The chance to complete a successful robbery comes from how much attack your user has. 1 in attack gives zero chance of successful crime and 50 give 100% chance.
If anyone has any good advice or a similar code, I would appreciate it.
(For the CMS)
Database: User, coins, attack.
Thank!
I try adding a code to my hotel but get some error.
I like to add a system the i name "crime"
The point is that you click a button to complete a robbery and get money that varies from 1000coins to 50.000coins
The chance to complete a successful robbery comes from how much attack your user has. 1 in attack gives zero chance of successful crime and 50 give 100% chance.
If anyone has any good advice or a similar code, I would appreciate it.
(For the CMS)
Database: User, coins, attack.
Thank!