View Single Post
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-20-2012 , 11:59   Re: Basic SkillPoints v1.1.2 with API [nVault & SQL]
Reply With Quote #29

Hi hi hi,
I don't add /topskill for SQL yet, but you can do the following,

PHP Code:
public plugin_init( )
{
    
// code
    
    
register_clcmd"say /topskill""TopSkill" )
    
    
// rest of the code
}

// somewhere at the plugin

public TopSkillid )
    
show_motdid"URL_TO_SKILLPOINTS""SkillPoints" 
And the result will be http://i.imgur.com/YH34u.jpg

Last edited by guipatinador; 08-20-2012 at 12:03.
guipatinador is offline