AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Become VIP Plus (https://forums.alliedmods.net/showthread.php?t=304480)

OciXCrom 01-24-2020 08:19

Re: Become VIP Plus
 
Quote:

Originally Posted by HamletEagle (Post 2681430)
PHP Code:

strtolower(g_ePlayerData[id][Info]) 

Why are you doing that when saving by name? If 2 names differ only in lowercase/uppercase then you just messed the saving for this 2 players.

That's all that popped up in the whole 5 minutes I took to read the sma.

Since the game doesn't allow 2 players with the same name (e.g. Player and PlayeR isn't valid), plus admins in users.ini are usually added without the case-sensitive flag "k", I think it's better to save data case-insensitively.

Players often tend to change the case in their names and pretty much most of the times it is the same player, so there's no need for this plugin to prevent them from doing so.

HamletEagle 02-07-2020 09:56

Re: Become VIP Plus
 
Assuming what people usually do or don't is not solid design IMO. I suppose you could add a cvar and let each server owner decide.

lolerto 02-08-2021 13:57

Re: Become VIP Plus
 
Hi, vip access is for a limited time or unlimited?

OciXCrom 02-08-2021 14:21

Re: Become VIP Plus
 
Quote:

Originally Posted by lolerto (Post 2736162)
Hi, vip access is for a limited time or unlimited?

Until you decide to reset the data.

l00ka 03-14-2023 15:44

Re: Become VIP Plus
 
Is it possible to make this plugin give flags based on playtime? Or maybe even both kills + playtime.


All times are GMT -4. The time now is 01:58.

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