Raised This Month: $ Target: $400
 0% 

No.1 player in top15


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 11-24-2010 , 16:50   No.1 player in top15
Reply With Quote #1

how to detect nickname of player who is number 1 in top15?
OvidiuS is offline
Send a message via Skype™ to OvidiuS
BackStats
Senior Member
Join Date: Oct 2008
Old 11-24-2010 , 16:52   Re: No.1 player in top15
Reply With Quote #2

use nVault editor
BackStats is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-24-2010 , 16:54   Re: No.1 player in top15
Reply With Quote #3

Quote:
Originally Posted by BackStats View Post
use nVault editor
Unnecessary.

http://www.amxmodx.org/funcwiki.php?go=func&id=919

Use 0 for index.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 11-24-2010 , 16:55   Re: No.1 player in top15
Reply With Quote #4

can you tell me what is specific part od code do get player name from rank vault
p.s thx exolent
OvidiuS is offline
Send a message via Skype™ to OvidiuS
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 11-24-2010 , 17:33   Re: No.1 player in top15
Reply With Quote #5

can't make it work, i dont know how to use it, to get name of player who is first in top 15 :S
PHP Code:
public Info(id)
{
 static 
stats[8], body[8], name[32]
 new 
number_one get_stats(0statsbodyname);
client_print(idprint_chat"B.....

OvidiuS is offline
Send a message via Skype™ to OvidiuS
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-24-2010 , 17:45   Re: No.1 player in top15
Reply With Quote #6

How can you not know?
The funcwiki shows how to use the function.
All you have to do is call the function and you have the name in the variable.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-24-2010 , 18:21   Re: No.1 player in top15
Reply With Quote #7

Quote:
Originally Posted by OvidiuS View Post
can't make it work, i dont know how to use it, to get name of player who is first in top 15 :S
PHP Code:
public Info(id)
{
 static 
stats[8], body[8], name[32]
 new 
number_one get_stats(0statsbodyname);
client_print(idprint_chat"B.....

Revisit Exolent's link as you are not following what it says completely. Also, you'll need to learn how to use client_print().
__________________
fysiks is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 11-24-2010 , 18:43   Re: No.1 player in top15
Reply With Quote #8

i know how to use client_print xD (i put..... cause under it, it's another code.............
i dont know how to get name from vault, but nevermind
i can't learn if i don't try
thank you
OvidiuS is offline
Send a message via Skype™ to OvidiuS
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-24-2010 , 19:49   Re: No.1 player in top15
Reply With Quote #9

Quote:
Originally Posted by OvidiuS View Post
i know how to use client_print xD (i put..... cause under it, it's another code.............
i dont know how to get name from vault, but nevermind
i can't learn if i don't try
thank you
Afaik, you don't need to do anything with "vault" as Exolent said. Use the get_stat() command correctly is all that we are saying.
__________________
fysiks is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 11:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode