10.02.2016, 12:56
how to make decimal and save it in this code?
Code:
PlayerInfo[playerid][pRatio]=PlayerInfo[playerid][pKill]/PlayerInfo[playerid][pDeath]; format(str,sizeof(str),"~g~Kills:~w~%i-~r~Deaths:~w~%i-~p~Ratio ~g~K~w~/~r~D~w~:%i",PlayerInfo[playerid][pKill],PlayerInfo[playerid][pDeath],PlayerInfo[playerid][pRatio]); TextDrawSetString(info2[playerid],str);