Search found 10 matches
- Thu Jan 25, 2018 5:08 pm
- Forum: General
- Topic: steal succesrate shops
- Replies: -1
- Views: 5264
steal succesrate shops
stealing from a shop is to easy and i want to change that anyone who could help me ? // The risk and jail time depends on the total value of what's stealed. $successRate = ceil($userStats["Dexterity"]->value * $userStats["Dexterity"]->value) / ($total / 3); $res = rand(0, 100); /...
Re: Jail time
not sharing anything its a question to help me :p
Jail time
hi i use the jailbust module for my game and found a bug in the admin panel you can set the max time that you can be in jail but when i do a crime or steal anything from shops i always end up in jail with that max time there is set in the admin panel even when i put myself in jail for any time it wi...
- Mon Jan 22, 2018 10:21 pm
- Forum: General
- Topic: crimes random value
- Replies: -1
- Views: 9888
Re: crimes random value
So for the others who want to use this line
this is the good line
$v=rand(3,7)*1;
$userStats["!Currency"]->value+=$v;
ResultMessage("Pickpocket succesful you got $v !Currency .");
this is the good line
$v=rand(3,7)*1;
$userStats["!Currency"]->value+=$v;
ResultMessage("Pickpocket succesful you got $v !Currency .");
- Mon Jan 22, 2018 10:12 pm
- Forum: General
- Topic: crimes random value
- Replies: -1
- Views: 9888
Re: crimes random value
found it
!currency needs to be with a big C !Currency
!currency needs to be with a big C !Currency
- Mon Jan 22, 2018 9:54 pm
- Forum: General
- Topic: crimes random value
- Replies: -1
- Views: 9888
Re: crimes random value
Error in evaluated code:
$v=rand(3,7)*1;/*rnd*/$userStats["!currency"]->value+=$v;
ResultMessage("Pickpocket successful you got money.");
$v=rand(3,7)*1;/*rnd*/$userStats["!currency"]->value+=$v;
ResultMessage("Pickpocket successful you got money.");
- Mon Jan 22, 2018 9:37 pm
- Forum: General
- Topic: crimes random value
- Replies: -1
- Views: 9888
Re: crimes random value
the code in my last post is not working
- Mon Jan 22, 2018 9:15 pm
- Forum: General
- Topic: crimes random value
- Replies: -1
- Views: 9888
Re: crimes random value
for now i have something like this and i think/hope i'm close to a good result $v=rand(3,7)*1;/*rnd*/$userStats["!currency"]->value+=$v; ResultMessage("Pickpocket successful you got money."); also would like to know how to give a random item example i have car item and i want to ...
- Sun Jan 21, 2018 9:00 pm
- Forum: General
- Topic: crimes random value
- Replies: -1
- Views: 9888
crimes random value
is there anyone who can give me the code to a random value gain in crimes/jobs
something like =rand(2,5)*1;
something like =rand(2,5)*1;
- Tue Jan 16, 2018 8:22 pm
- Forum: Beginner Help and Support
- Topic: chivalry engine profile error
- Replies: -1
- Views: 4214
chivalry engine profile error
hi i want to use the chivalry engine and i have an error on the profile page https://github.com/MasterGeneral156/chivalry-engine i can't view any profile because it keeps saying The user you are trying to view does not exist, or has an account issue. <?php /* File: profile.php Created: 4/5/2016 at 1...