Raised This Month: $12 Target: $400
 3% 

Basic SkillPoints v2.0.2 SE with API [FVault & SQL]


Post New Thread Reply   
 
Thread Tools Display Modes
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 05-22-2014 , 16:44   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #131

No.
__________________
PM for help = ignore
guipatinador is offline
dedict
Junior Member
Join Date: Jun 2014
Old 07-04-2014 , 10:12   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #132

How to edit the plugin, for look like this:

Player1 (1,117) [32/50] got 2 points for killing Player2 (1,001) [1/50]

(1,117) - the points of Player1
[32/50] - the stats of Player1

(1,001) - the points of Player2
[1/50] - the stats of Player2
dedict is offline
Lokogaditano
Senior Member
Join Date: Apr 2009
Old 08-23-2014 , 10:10   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #133

A cvar for, pause or start the plugin depending of the players inside the server?

I have a automix pug, for 5on5 , but plugin works when for ex are 4-6 players in server, and I want only work when there are 10 players, thx
Lokogaditano is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 09-26-2014 , 01:33   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #134

How to remove point after player nick, I mean player 32 john 33
Awesome_man is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 09-26-2014 , 03:57   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #135

Read the first post.

Code:
bps_skillpoints_on_nick 1 // Turn on/off SkillPoints in nickname ex: (nick <1337>) (updates when player spawn)
__________________
PM for help = ignore
guipatinador is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 09-26-2014 , 06:39   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #136

why points not saving ? i checked my points and dey were 0 and btw how point saved by nick ip or steamid where is d cvar ?

Also can you please create a script which show welcome message along with points for eg :-

Player (points 567) (Rank %s) Joined The Server

Last edited by Awesome_man; 09-26-2014 at 06:45.
Awesome_man is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 09-26-2014 , 07:09   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #137

Quote:
Originally Posted by Awesome_man View Post
why points not saving ? i checked my points and dey were 0
What version do you use? SQL or FVault ?

Quote:
and btw how point saved by nick ip or steamid where is d cvar ?
Save points by nick/ip is not supported.

Quote:
Also can you please create a script which show welcome message along with points for eg :-

Player (points 567) (Rank %s) Joined The Server
Add this to client_authorized,

PHP Code:
    new szStats]
    new 
szBHits]
    
    new 
iPos get_user_statsidszStatsszBHits )  
    new 
iSkillPoints skillpointsid )
    
    new 
szName32 ]
    
get_user_nameidszNamecharsmaxszName ) )
    
    
client_print0print_chat"%s (%i SkillPoints) (Rank %i) joined the server"szNameiSkillPointsiPos 
If this don't work, is because client_authorized is too early to call get_user_stats.
__________________
PM for help = ignore
guipatinador is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 09-26-2014 , 07:34   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #138

Quote:
Originally Posted by guipatinador View Post
What version do you use? SQL or FVault ?


Save points by nick/ip is not supported.



Add this to client_authorized,

PHP Code:
    new szStats]
    new 
szBHits]
    
    new 
iPos get_user_statsidszStatsszBHits )  
    new 
iSkillPoints skillpointsid )
    
    new 
szName32 ]
    
get_user_nameidszNamecharsmaxszName ) )
    
    
client_print0print_chat"%s (%i SkillPoints) (Rank %i) joined the server"szNameiSkillPointsiPos 
If this don't work, is because client_authorized is too early to call get_user_stats.
Thanks for you help and nice plugin though..

Can you please post full script for welcome message ?
Awesome_man is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 10-03-2014 , 07:34   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #139

How to show Points And Rank in hud upper left green color .. thnx in advance
Awesome_man is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 10-04-2014 , 11:46   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #140

Someone plz add My Points : %s In hud in this code

PHP Code:
#include < amxmodx >
#include < csx >

#define PLUGIN "" 
#define VERSION "1" 
#define AUTHOR "" 

const Float:REFRESH_RATE 1.0;
new 
maxplayers

public plugin_init() 

register_pluginPLUGINVERSIONAUTHOR )
maxplayers get_maxplayers()
set_task(1.0,"ShowHud",0,"",0,"b")
set_task(1.0,"Showpoints",0,"",0,"b")
set_taskREFRESH_RATE"TaskShowRank", .flags "b" );
}

public 
ShowHud()
{
for(new 
<= maxplayers i++)
{
new 
Frags get_user_frags(i)
new 
Deaths get_user_deaths(i)
set_hudmessage(0,255,0,0.02,0.3,01.01.00.10.21)
show_hudmessage(i,"Frags : %d ^nDeaths : %d",Frags,Deaths)
}
}

public 
TaskShowRank( )
{
new 
iPlayers32 ], iNum;
get_playersiPlayersiNum"ch" );

new 
iPlayeriStats];
new 
iTotalStats get_statsnum( );

for( new 
0iNumi++ )
{
iPlayer iPlayers];

set_hudmessage0,255,0,0.02,0.37, .holdtime = ( REFRESH_RATE 0.2 ), .fadeintime 0.0, .fadeouttime 0.0, .channel );
show_hudmessageiPlayer"Rank: %d / %d"get_user_statsiPlayeriStatsiStats ), iTotalStats );
}

Awesome_man 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 19:20.


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