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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 10-05-2014 , 07:49   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #141

You Can Add it in Hud_message ??
Code:
You're Points %d/%d | Level %s
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 10-05-2014 , 13:06   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #142

Quote:
Originally Posted by Dr Zayd View Post
You Can Add it in Hud_message ??
Code:
You're Points %d/%d | Level %s
Can you please do it ?
Awesome_man is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 10-06-2014 , 12:11   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #143

when I changed Classes and Levels that time showing error in compile time

new const CLASSES[ MAX_CLASSES ][ ] = {
"NEW",
"NOOB",
"GAMER",
"GOOD",
"TOP",
"BEST"
}

new const LEVELS[ MAX_LEVELS ] = {
500,
1200,
1800,
2500,
3500,
5000,
100000 /* high value (not reachable) */
}
__________________
MaTriX is my life
Visit Here ;) For ZP MODs
feifei is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-06-2014 , 12:34   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #144

You have so many cvars, you can make an enum, loop through all of them and cache the values on Hltv event and in a forward like plugin_cfg. In client_death forward you should cache g_iEnableAnnounceOnChat to avoid useless native calls, also check if the attacker is connected.
__________________
HamletEagle is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 10-07-2014 , 09:28   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #145

Quote:
Originally Posted by Dr Zayd View Post
You Can Add it in Hud_message ??
Code:
You're Points %d/%d | Level %s
Just read a tutorial about hud messages. I will not teach you how to make hud messages.

Quote:
Originally Posted by feifei View Post
when I changed Classes and Levels that time showing error in compile time
(...)
You are doing it wrong. If you have 5 elements in "CLASSES" array, you need to have 5 elements in "LEVELS" array.


Quote:
Originally Posted by HamletEagle View Post
You have so many cvars, you can make an enum, loop through all of them and cache the values on Hltv event and in a forward like plugin_cfg. In client_death forward you should cache g_iEnableAnnounceOnChat to avoid useless native calls, also check if the attacker is connected.
This plugin is old. In fact, it was one of the first plugins that I did so don't worry if it is not optimized.
__________________
PM for help = ignore

Last edited by guipatinador; 10-07-2014 at 09:30.
guipatinador is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-07-2014 , 11:55   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #146

Then optimize it or request to be send to unnaproved.
__________________
HamletEagle is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 10-07-2014 , 15:18   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #147

I am not obliged to ask for disapproving just because you think it is not optimized.
__________________
PM for help = ignore
guipatinador is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 10-13-2014 , 09:27   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #148

can any one tell me how to give XP ???

I joined my server
then typed
bps_give STEAM_0:0:4987XXX 400

but it showing ---->>>>
Client with that name or userid not found
Sorry, player STEAM_0 could not be found or targetted!
__________________
MaTriX is my life
Visit Here ;) For ZP MODs

Last edited by feifei; 10-13-2014 at 09:27.
feifei is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-13-2014 , 10:43   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #149

Try to put "" around the steamid
@guipatinador, you said that it's not optimized.
__________________

Last edited by HamletEagle; 10-13-2014 at 10:57.
HamletEagle is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 10-13-2014 , 10:52   Re: Basic SkillPoints v2.0.2 SE with API [FVault & SQL]
Reply With Quote #150

Quote:
Originally Posted by HamletEagle View Post
Try to put "" arounc the steamid
@guipatinador, you said that it's not optimized.
I did bro still not working
__________________
MaTriX is my life
Visit Here ;) For ZP MODs
feifei 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 07:36.


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