Yelet
|
  |
| Joined: 04 Feb 2012 |
| Total Posts: 63 |
|
|
| 06 Feb 2012 08:34 PM |
Someone on this forum told me to type: print(wait()) to check the player's FPS...It just returns a number like: 0.033981034959993 204.01828667751 HALP? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Yelet
|
  |
| Joined: 04 Feb 2012 |
| Total Posts: 63 |
|
|
| 06 Feb 2012 08:40 PM |
| Please some serious answers? |
|
|
| Report Abuse |
|
|
| |
|
Yelet
|
  |
| Joined: 04 Feb 2012 |
| Total Posts: 63 |
|
|
| 06 Feb 2012 08:43 PM |
| Doesn't that divide the return by 1 making it the same number? Sorry for questioning oh great ones. |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 08:44 PM |
1/0.3 = 0.3 1/0.5 = 2
lrn2math |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 06 Feb 2012 08:47 PM |
Basic math time...
You have a cake. Cut it into four slices. Is each slice a whole cake? NOPE, it's 0.25 of a whole cake. |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 09:00 PM |
0.3/1 = 0.3 1/0.3 = 3.333
noob |
|
|
| Report Abuse |
|
|
Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 06 Feb 2012 09:24 PM |
| wait() will return the exact amount of time delayed by. Dividing one by the number returned from calling wait() without arguments will you how many FPS the player is getting. This is because calling wait() without arguments waits one frame. |
|
|
| Report Abuse |
|
|
| |
|
KingBoo
|
  |
| Joined: 16 Jul 2007 |
| Total Posts: 8495 |
|
|
| 06 Feb 2012 10:26 PM |
[[1/0.3 = 0.3 1/0.5 = 2
lrn2math]]
No, YOU lrn2math. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 06 Feb 2012 10:31 PM |
Dis b like calculating tax (GST, 13%)
item that costs $15 has a tax price of 13%, (15)(0.13)=$1.95, in total that item costs $16.95.
If you can't calculate tax, or percent off, den how you ever going to work for a company that sells merchandise?!
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 09:36 AM |
put down the laptop
and continue your journey to second grade |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
| |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
| |
|
|
| 07 Feb 2012 02:27 PM |
Oh cr-*Deleted*
I meant 1/3 D:. |
|
|
| Report Abuse |
|
|
owen0202
|
  |
| Joined: 27 Feb 2008 |
| Total Posts: 6912 |
|
|
| 07 Feb 2012 02:28 PM |
In a local script:
wait() is the ammount of time it takes for one frame to pass 1=1 second Thus.... 1/wait() is the local frames per second. |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 03:51 PM |
"If you can't calculate tax"
I can but lol I never have to because I live in a state without sales tax (except in restaurants, but that's not sales tax, and I don't really care when it comes to that) <3 |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
owen0202
|
  |
| Joined: 27 Feb 2008 |
| Total Posts: 6912 |
|
|
| 07 Feb 2012 04:47 PM |
It was assumption.
If you want a player's fps, then you should run that code in a local script. If you wanted the servers fps then that code should be ran in a regular script.
He asked in the case of a player, so am I wrong :(? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 07 Feb 2012 07:43 PM |
localscript = local fps, script = server fps
"in a state without sales tax"
WUUUT
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
| |
|