|
|
#1 |
|
I like turtles
![]() Join Date: Jan 2006
Location: Slovenia
Posts: 531
Reputation: 340
|
So I see noone made any examples from my suggestion how to build a fps counter using drunklevel, so here is a basic copy-pastable code i wrote for my needs that you can use:
pawn Code:
The first person to make a Filterscript out of this with a on-screen FPS textdraw gets eternal gratitude from the turtle! Remember, this will only work correctly with 0.3b, also you can still set drunk level to >2000 and it will work properly, the trick does not interfere / break any existing script functionality. Last edited by JernejL; 28/07/2011 at 07:28 AM. |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
Good tutorial! But next time use PVars? :P
|
|
|
|
#3 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: May 2009
Location: C:\Windows\System32\brian_furious.dll
Posts: 749
Reputation: 35
|
NIce, i'll test it tomrrow..but it looks nice
P.S it works only for 0.3b? |
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2010
Posts: 2,151
Reputation: 201
|
Nice ill test it soon !
|
|
|
|
|
|
#5 |
|
I like turtles
![]() Join Date: Jan 2006
Location: Slovenia
Posts: 531
Reputation: 340
|
It only works for 0.3b yes, i obviously stated that in my post.
Also, i don't use pvars because the script i am working with needs THE ULTIMATE PERFORMANCE at runtime, last time i checked arrays were still faster than pvars. |
|
|
|
|
|
#6 |
|
Guest
Posts: n/a
|
Well with PVars you can share the FPS through other scripts. But I guess there are other workarounds
|
|
|
|
#7 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,294
Reputation: 281
|
here you go:
pawn Code:
rest you can do yourself
|
|
|
|
|
|
#8 | |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: May 2009
Location: C:\Windows\System32\brian_furious.dll
Posts: 749
Reputation: 35
|
Quote:
it's easy, useful and works |
|
|
|
|
|
|
#9 |
|
Guest
Posts: n/a
|
Looks good
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2009
Location: The Polish guy in The Netherlands
Posts: 2,294
Reputation: 281
|
AND no lagg ;d
Do you have more scripts where you want to add some ideas to it or realise? xD |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|