getfps command?
#1

Hi guys, can you please tell me how to make this command? /getfps (ID)
It gets the current fps of the chosen player
Reply
#2

******.
Reply
#3

I ******d, but couldn't find. I only found the method with drunklevel calculations, but I don't want to go so deep, just a simple /getfps command
I think in 0.3x there is something like GetPlayerFPS(playerid) not really sure.

And MP2, please if you don't want to help don't even post.
Reply
#4

I ******d "samp getfps" and found what you are looking for within 10 seconds.
Reply
#5

Quote:
Originally Posted by Hitman-97-
Посмотреть сообщение
I ******d, but couldn't find. I only found the method with drunklevel calculations, but I don't want to go so deep, just a simple /getfps command
That's exactly how you count a player's fps. The SetPlayerDrunkLevel article on the wiki says quite clearly how to do it. Set a player's drunk level to 100 (since the max FPS is 90 in samp (frame limiter)), set a 1 second timer and check his drunk level. If it is 50 after 1 second, it means his FPS is 50. If it's 30, it means his fps is 70. The SetTimer functions on SA:MP are way off tho, and you will get a +-0.05 second inaccuracy. (there is a fix for that)

Quote:
Originally Posted by Hitman-97-
Посмотреть сообщение
there is something like GetPlayerFPS(playerid) not really sure.
No there isn't, and if there would be, why are you asking? It's not rocket science to make a command that tells you what some function returns.

Quote:
Originally Posted by Hitman-97-
Посмотреть сообщение
And MP2, please if you don't want to help don't even post.
I literally just had to ****** "get player fps samp" to get into the wiki article, so i guess MP2's post was quite useful.
Reply
#6

Quote:
Originally Posted by Hitman-97-
Посмотреть сообщение
I ******d, but couldn't find. I only found the method with drunklevel calculations, but I don't want to go so deep, just a simple /getfps command
#define lazy

Quote:
Originally Posted by Hitman-97-
Посмотреть сообщение
And MP2, please if you don't want to help don't even post.
I'll post wherever and whenever I want, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)