floats
#12

Yes i have the variable as a float, its in table. Float:fStock
And no i am storing them as floats not as integers
EDIT: fu** i just needed to convert the TakeOff = 1; to a float,
Код:
FactoryInfo[GetPVarInt(playerid, "InFactory")][fStock] -= float(TakeOff);
Reply


Messages In This Thread
SOLVED[Floats] - by armyoftwo - 09.10.2010, 09:48
Re: floats - by hencz - 09.10.2010, 09:54
Re: floats - by armyoftwo - 09.10.2010, 09:56
Re: floats - by Mean - 09.10.2010, 10:25
Re: floats - by armyoftwo - 09.10.2010, 11:35
Re: floats - by legodude - 09.10.2010, 11:58
Re: floats - by Voldemort - 09.10.2010, 12:48
Re: floats - by Babul - 09.10.2010, 13:01
Re: floats - by armyoftwo - 09.10.2010, 13:09
Re: floats - by armyoftwo - 09.10.2010, 13:16
Re: floats - by Babul - 09.10.2010, 13:37
Re: floats - by armyoftwo - 09.10.2010, 14:09

Forum Jump:


Users browsing this thread: 5 Guest(s)