SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Filterscripts (https://forum.sa-mp.com/forumdisplay.php?f=17)
-   -   [FilterScript] FPS Textdraw by De4dpOol. (https://forum.sa-mp.com/showthread.php?t=564098)

De4dpOol 19/02/2015 02:54 PM

FPS Textdraw by De4dpOol.
 

Hello, I made a FPS textdraw today. I took like 15 - 20 minutes (including textdraw). This is my third FS and I tested it, it works fine.

INFO
- Updates the textdraw every 500 milliseconds. (Changing it might cause bugs and wrong FPS detection)
- A Good/Bad text. If player have FPS less than 20 he will see [BAD] and if he have FPS more than 20 he will see [GOOD].
- Removed the lag problem (not using OnPlayerUpdate anymore).

PICTURE
http://i.gyazo.com/e9d4530ff9e01f763c815bc1f92c90de.jpg

BUGS
No bugs found. Please report if you found any.

DOWNLOAD
http://pastebin.com/u/De4dpOol

DjoleJohnson 19/02/2015 09:13 PM

Re: FPS Textdraw by De4dpOol.
 
good

fonia5 19/02/2015 09:29 PM

Re: FPS Textdraw by De4dpOol.
 
Drunklevel?

Nice work.

M0HAMMAD 20/02/2015 10:00 AM

Re: FPS Textdraw by De4dpOol.
 
Good job but don't copy from other scripts ! you just edit some "new"s and ...
http://forum.sa-mp.com/showthread.php?t=321753

De4dpOol 20/02/2015 01:18 PM

Re: FPS Textdraw by De4dpOol.
 
Quote:

Originally Posted by M0HAMMAD (Post 3377629)
Good job but don't copy from other scripts ! you just edit some "new"s and ...
http://forum.sa-mp.com/showthread.php?t=321753

No, it is not a copy. This is the only way to detect FPS (I think) so you will probably see too many similar scripts. I did some improvements from the existing scripts by removing OnPlayerUpdate code and made a textdraw. Thanks anyway.

Ritzy2K 21/02/2015 08:29 AM

Re: FPS Textdraw by De4dpOol.
 
Looks Good...+rep..

Ill change the textdraw size and make it more prettier and use it for me :3

Ritzy2K 21/02/2015 08:31 AM

Re: FPS Textdraw by De4dpOol.
 
Sorry for double post...can u explain 'drunklevel' in that fs :s it looks like u extracted a little part from some GM and post it here :(?

De4dpOol 21/02/2015 10:33 AM

Re: FPS Textdraw by De4dpOol.
 
Quote:

Originally Posted by DopeX (Post 3378828)
Sorry for double post...can u explain 'drunklevel' in that fs :s it looks like u extracted a little part from some GM and post it here :(?

Using drunk level is the only way to detect the FPS, there is no other way to do it in pawn.
You lose drunklevel per 1 FPS. So if you have lower FPS, you will stay drunk for longer.

arlindi 21/02/2015 09:11 PM

Re: FPS Textdraw by De4dpOol.
 
Something Simple But its Good
Not Bad

Ritzy2K 23/02/2015 04:43 AM

Re: FPS Textdraw by De4dpOol.
 
My apologies...drunklevel is the only way to detect FPS...i learned something new :D


All times are GMT. The time now is 12:56 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.