Quote:
Originally Posted by Frozen Dreams
... And yeah limiting the maximum amount of money one is able to steal would be awesome.
|
Find:
PHP Code:
if ($rest<0) {
eval("standarderror(\"".gettemplate('store_steal_error')."\");");
}
add below it:
PHP Code:
if if (($getduser[storep]/$stealmoney)>3/4) {
eval("standarderror(\"".gettemplate('store_steal_error')."\");");
}
This will prevent a person from stealing more than %75 of the person's funds. Just change the
3/4 fraction to another fraction to increase/decrease the limit.