Float but still int
#2

Also I tried with manual numbers and I still get 0.000... Here's code

Код:
	new _ran = _HRP_RANDOM(5, 75);
	_HRP_Korisnik[_playerid][_kBrzinaOpijanja] = /*_HRP_RANDOM(5, 75)*/ 61 / 95 /*(_HRP_kOstalaMasa{_playerid} + _HRP_kMisicnaMasa{_playerid} + _HRP_kMasaSala{_playerid})*/;
	printf("al %f, random %d masa %d", _HRP_Korisnik[_playerid][_kBrzinaOpijanja], _ran, _HRP_kOstalaMasa{_playerid} + _HRP_kMisicnaMasa{_playerid} + _HRP_kMasaSala{_playerid});
Also I use rBits for some vars but not for these Float vars
Reply


Messages In This Thread
Float but still int - by vannesenn - 07.11.2015, 11:32
Re: Float but still int - by vannesenn - 07.11.2015, 13:26
Re: Float but still int - by PrO.GameR - 07.11.2015, 16:57
Re: Float but still int - by vannesenn - 07.11.2015, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)