07.08.2011, 22:13
hello!
have me small question in float numbers....
i try to make command , write the health from the player..
this the command:
but this write this:
if have me 100% health.
this write:
100.00000000
instead 100.0
what's thie happen ?
thank for the helpers
have me small question in float numbers....
i try to make command , write the health from the player..
this the command:
pawn Код:
if(!strcmp(cmdtext,"/MyHealth",true))
{
new Health;
GetPlayerHealth(playerid,Health);
format(String,256,"Your health is: %f.",Health);
SendClientMessage(playerid,c_red,String);
return true;
}
if have me 100% health.
this write:
100.00000000
instead 100.0
what's thie happen ?
thank for the helpers