SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/10/2019, 10:54 PM   #1
vpontin
Little Clucker
 
vpontin's Avatar
 
Join Date: Dec 2010
Location: Someplace...
Posts: 29
Reputation: 0
Question K/D ratio as score

Can someone help me to make the the score use a rounded value of kill/death ratio?

Thanks in advance!
vpontin is offline   Reply With Quote
Old 17/10/2019, 11:35 PM   #2
Lokii
Huge Clucker
 
Join Date: Sep 2017
Posts: 375
Reputation: 87
Default Re: K/D ratio as score

https://wiki.sa-mp.com/wiki/Floatround
https://wiki.sa-mp.com/wiki/Floatround_method

PHP Code:
floatround(kdfloatround_round); 
__________________
Lokii 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
PHP ratio help Champ Scripting Help 1 06/01/2014 07:57 PM
[Help!]Ratio Zhoom Scripting Help 7 03/02/2012 05:58 PM
K/D ratio MP2 Scripting Help 9 19/09/2011 10:04 PM
K/D ratio Wesley221 Help Archive 10 20/08/2011 06:03 PM
Ratio jaksimaksi Help Archive 2 31/08/2010 11:47 AM


All times are GMT. The time now is 07:46 AM.


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