AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Point System v0.3.2 - [HideNSeek] (https://forums.alliedmods.net/showthread.php?t=293915)

SXJ Team. 02-14-2017 14:43

Point System v0.3.2 - [HideNSeek]
 
1 Attachment(s)
Point System by hleV/tvix1337 - [v0.3.2]



Description:

Advanced plugin statistics, performed on the basis of the original Bollnas Point System.

Say commands:

/rank
/rankstats
/top15

Admin Commands:

amxx_points_kill #default: 10+
amxx_points_death #default: -5
amxx_points_survive #default: 15+
amxx_points_suicide #default: -10
amxx_points_headshot #default: 15+

Note:

Non-Steam players are NOT ranked.
Added Kills / Deaths ratio checker.

Credits:

hleV

Craxor 02-15-2017 03:31

Re: Point System v0.3.2 - [HideNSeek]
 
Insteand of Trie you can use Nvaut Array and save also after map change.

Napoleon_be 02-15-2017 13:00

Re: Point System v0.3.2 - [HideNSeek]
 
PHP Code:

get_datadir(g_File63);
add(g_File63"/ranks.ini"); 

PHP Code:

get_user_authid(Clientg_Data[Client][Data_SteamID], 31); 

PHP Code:

get_user_name(Clientg_Data[Client][Data_Name], 31); 

and so on.... Don't hardcode these, use charsmax() instead.

HamletEagle 02-15-2017 13:16

Re: Point System v0.3.2 - [HideNSeek]
 
Quote:

Originally Posted by Craxor (Post 2495521)
Insteand of Trie you can use Nvaut Array and save also after map change.

He is already saving using files. I did not read the code, but: even if he would go for nvault array(but saving in files it's ok too) trie is still welcome. Loading/Saving each time in nvault would be a very poor way. Saving data into tries and inserting/retrieving only one time it's better.

HamletEagle 04-08-2020 06:15

Re: Point System v0.3.2 - [HideNSeek]
 
Unapproved, way too simple. Better plugins exist.


All times are GMT -4. The time now is 08:52.

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