[Ajuda] tempo - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] tempo (
/showthread.php?tid=655381)
tempo -
Jorginhoda12 - 20.06.2018
Код:
stock Comma(numbers) //by Gamer931215
{
new temp[24],counter = -1;
valstr(temp,numbers);
for(new i = strlen(temp);i > 0; i--)
{
counter++;
if(counter == 3)
{
strins(temp,",",i);
counter = 0;
}
}
return temp;
}
Alguem me ajuda como converte isso pra ms, pois ta em segundos
Re: tempo -
NelsonC - 20.06.2018
Essa stock й para deixar os nъmeros assim: "100,000".
Re: tempo -
Jorginhoda12 - 20.06.2018
queria uma em ms, essa ta em segundos
Re: tempo -
Bruno13 - 20.06.2018
Quote:
Originally Posted by Jorginhoda12
queria uma em ms, essa ta em segundos
|
Que? Essa funзгo й para colocar as casas decimais de uma moeda.