18.11.2013, 18:20
bem eu fiz uns menu de status para os players mas o unico problema й que o textdraw do k/d ratio estб a bater mal e nao funciona direito. eu testei em sendclientmessage e deu direito mas no textdraw nao.
Estб ai o code
Estб ai o code
pawn Код:
new Float:kd;
kd = float(PlayerInfo[playerid][Kills])/float(PlayerInfo[playerid][Deaths]);
format(string,sizeof(string),"K/D: ~w~%0.2f",kd);
TextDrawSetString(STKD[playerid],string);