SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 19/02/2015, 03:54 PM   #1
De4dpOol
Huge Clucker
 
De4dpOol's Avatar
 
Join Date: Oct 2014
Posts: 240
Reputation: 39
Default 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


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

DOWNLOAD
http://pastebin.com/u/De4dpOol
De4dpOol is offline   Reply With Quote
Old 19/02/2015, 10:13 PM   #2
DjoleJohnson
Little Clucker
 
DjoleJohnson's Avatar
 
Join Date: Jul 2014
Location: Kikind,Serbian
Posts: 35
Reputation: 12
Default Re: FPS Textdraw by De4dpOol.

good
DjoleJohnson is offline   Reply With Quote
Old 19/02/2015, 10:29 PM   #3
fonia5
Gangsta
 
fonia5's Avatar
 
Join Date: Jun 2014
Location: United Kingdom
Posts: 841
Reputation: 116
Default Re: FPS Textdraw by De4dpOol.

Drunklevel?

Nice work.
fonia5 is offline   Reply With Quote
Old 20/02/2015, 11:00 AM   #4
M0HAMMAD
Gangsta
 
M0HAMMAD's Avatar
 
Join Date: May 2014
Posts: 521
Reputation: 34
Default 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
M0HAMMAD is offline   Reply With Quote
Old 20/02/2015, 02:18 PM   #5
De4dpOol
Huge Clucker
 
De4dpOol's Avatar
 
Join Date: Oct 2014
Posts: 240
Reputation: 39
Default Re: FPS Textdraw by De4dpOol.

Quote:
Originally Posted by M0HAMMAD View Post
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.

Last edited by De4dpOol; 21/02/2015 at 12:23 PM.
De4dpOol is offline   Reply With Quote
Old 21/02/2015, 09:29 AM   #6
Ritzy2K
High-roller
 
Ritzy2K's Avatar
 
Join Date: Jun 2014
Location: India
Posts: 1,672
Reputation: 168
Default 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 is offline   Reply With Quote
Old 21/02/2015, 09:31 AM   #7
Ritzy2K
High-roller
 
Ritzy2K's Avatar
 
Join Date: Jun 2014
Location: India
Posts: 1,672
Reputation: 168
Default Re: FPS Textdraw by De4dpOol.

Sorry for double post...can u explain 'drunklevel' in that fs it looks like u extracted a little part from some GM and post it here ?
__________________
Ritzy2K is offline   Reply With Quote
Old 21/02/2015, 11:33 AM   #8
De4dpOol
Huge Clucker
 
De4dpOol's Avatar
 
Join Date: Oct 2014
Posts: 240
Reputation: 39
Default Re: FPS Textdraw by De4dpOol.

Quote:
Originally Posted by DopeX View Post
Sorry for double post...can u explain 'drunklevel' in that fs 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.
De4dpOol is offline   Reply With Quote
Old 21/02/2015, 10:11 PM   #9
arlindi
Banned
 
Join Date: May 2014
Posts: 875
Reputation: 27
Default Re: FPS Textdraw by De4dpOol.

Something Simple But its Good
Not Bad
arlindi is offline   Reply With Quote
Old 23/02/2015, 05:43 AM   #10
Ritzy2K
High-roller
 
Ritzy2K's Avatar
 
Join Date: Jun 2014
Location: India
Posts: 1,672
Reputation: 168
Default Re: FPS Textdraw by De4dpOol.

My apologies...drunklevel is the only way to detect FPS...i learned something new
__________________
Ritzy2K is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Automatic random weather with weather news by De4dpOol. De4dpOol Filterscripts 8 19/04/2015 12:35 PM


All times are GMT. The time now is 10:15 PM.


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