[Ajuda] Textdraw estъpido
#1

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

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);
Reply
#2

pawn Код:
new kd;
kd = PlayerInfo[playerid][Kills] && PlayerInfo[playerid][Deaths]);
format(string,sizeof(string),"K/D: ~w~%0.2f",kd);
TextDrawSetString(STKD[playerid], string);
Testei nгo foi sу uma suposiзгo '-'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)