26.04.2018, 12:24
Yes, i have Mysql business, this is the part of the script were payout is every 1min
now its doing that profit = profit + how_much_should_earn_1min
but i want to do that if player have privilages like V.I.P or Admin the profit raises
profit = (profit + how_much_should_earn_1min) * kof[admin or vip number]
like if player have level 5admin add to his profit +300%
so i tried to use Float and when i use it it f**k my Mysql datbase, so i run some test and i noticed that my Float:kof dosen't change and outputs Trash like (11544455413)
now its doing that profit = profit + how_much_should_earn_1min
but i want to do that if player have privilages like V.I.P or Admin the profit raises
profit = (profit + how_much_should_earn_1min) * kof[admin or vip number]
like if player have level 5admin add to his profit +300%
so i tried to use Float and when i use it it f**k my Mysql datbase, so i run some test and i noticed that my Float:kof dosen't change and outputs Trash like (11544455413)