SA-MP Forums Archive
A player's FPS in /stats - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: A player's FPS in /stats (/showthread.php?tid=335582)



A player's FPS in /stats - Incog_Nito - 18.04.2012

My GM allows me to see a player's stats (kills/deaths etc.) with the /stats command.

I'd also like to see a player's FPS when I type /stats [id].

How can I accomplish this?


Re: A player's FPS in /stats - [HiC]TheKiller - 18.04.2012

https://sampforum.blast.hk/showthread.php?tid=172202
https://sampforum.blast.hk/showthread.php?tid=321753

Take a look at those, you pretty much need to use GetPlayerDrunkLevel, I think there is a tutorial around somewhere about it too.


Re: A player's FPS in /stats - MP2 - 18.04.2012

FPS varies, so how are you going to save them as stats, an average?


Re: A player's FPS in /stats - Incog_Nito - 18.04.2012

No I want it to show the FPS at the time the command is executed.


Re: A player's FPS in /stats - MP2 - 19.04.2012

Oh right, I'd personally make that /whois or /info or something, as stats are generally a long-term thing, not realtime information.


Re: A player's FPS in /stats - Incog_Nito - 19.04.2012

Quote:
Originally Posted by MP2
Посмотреть сообщение
Oh right, I'd personally make that /whois or /info or something, as stats are generally a long-term thing, not realtime information.
Hmm or maybe /fps [id].