Help with Float
#5

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
Can you explain your problem a little bit better.
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)
Reply


Messages In This Thread
Help with Float - by mokinys98 - 26.04.2018, 11:13
Re: Help with Float - by Xportaler - 26.04.2018, 11:17
Re: Help with Float - by mokinys98 - 26.04.2018, 12:00
Re: Help with Float - by CodeStyle175 - 26.04.2018, 12:14
Re: Help with Float - by mokinys98 - 26.04.2018, 12:24
Re: Help with Float - by Bruno13 - 26.04.2018, 13:08
Re: Help with Float - by AdamsLT - 26.04.2018, 13:35
Re: Help with Float - by mokinys98 - 26.04.2018, 14:05
Re: Help with Float - by AdamsLT - 26.04.2018, 14:21
Re: Help with Float - by mokinys98 - 26.04.2018, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)