23.12.2009, 16:01
Код:
new u[128]; format(u,sizeof(u),"%i",(1/2)*100); SendClientMessage(playerid,RED,u);
Anybody know why?
new u[128]; format(u,sizeof(u),"%i",(1/2)*100); SendClientMessage(playerid,RED,u);
Originally Posted by DeathOnaStick
Try saving it into a variable before using it in the function. I guess that is the prob.
|
Originally Posted by Celson
Quote:
|
new u[128];
format(u,sizeof(u),"%f", floatmul(floatdiv(1.0, 2.0), 100.0));
SendClientMessage(playerid,RED,u);
Originally Posted by Celson
Heh. Thank you very much for your help DeathOnaSnake
|
Originally Posted by DeathOnaStick
Quote:
No prob |