AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Player's birthday. (https://forums.alliedmods.net/showthread.php?t=113784)

rautamiekka 08-01-2014 07:14

Re: Player's birthday.
 
Quote:

Originally Posted by thetwistedpanda (Post 2177237)
There are dozens of solutions to this little problem, but the easiest way (while not the correct way) [...]

What's the correct ?

thetwistedpanda 08-01-2014 07:20

Re: Player's birthday.
 
I'd use GetSteamAccountID, but it'd break compatibility completely and actually require a re-write.

rautamiekka 08-01-2014 07:21

Re: Player's birthday.
 
Quote:

Originally Posted by thetwistedpanda (Post 2177249)
I'd use GetSteamAccountID, but it'd break compatibility completely and actually require a re-write.

Quite bad way, IMO.

Dr. McKay 08-01-2014 12:25

Re: Player's birthday.
 
Quote:

Originally Posted by thetwistedpanda (Post 2177249)
I'd use GetSteamAccountID, but it'd break compatibility completely and actually require a re-write.

The "correct" way to do this while still using STEAM_-esque IDs is to only compare from character 8 onwards.

If the string "auth" contains "STEAM_0:0:23071901", then auth[8] will be "0:23071901", which is actually how SourceMod internally stores admin Steam IDs.

rautamiekka 08-02-2014 20:22

Re: Player's birthday.
 
Plugin doesn't work on CS:GO:
Code:

01:13:14  Filename: birthday1.1.smx
          Load error: Native "BfWriteByte" was not found
          File info: (title "Player's birthday") (version "1.1")
          File URL: none

https://forums.alliedmods.net/showthread.php?t=208145


All times are GMT -4. The time now is 11:47.

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