Thread: ProKreedz 2.31
View Single Post
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 06-07-2015 , 16:46   Re: ProKreedz 2.31
Reply With Quote #992

Woah, this is still alive.

Quote:
Originally Posted by darksidebv View Post
The /savepos version supports only steam IDs that has 8 numbers or less ? Because my friend just bought Counter-Strike on steam and she can't use the /savepos function because it says "You require steam to use this function" . And I noticed her steam id has 9 numbers .
Yea, I believe that's how I wrote it back then.

I recommend you to go at

Code:
if(equal(authid, "VALVE_ID_LAN") || equal(authid, "STEAM_ID_LAN") || strlen(authid) > 18
{
ColorChat (id, GREEN, "%s^x01 %L", prefix, id, "KZ_NO_STEAM")

return PLUGIN_HANDLED
}
and remove strlen(authid) > 18 because that counts the number of digits the authid had. I made it so it's good against non-steam users who used to have "big" fake steam IDs.

About the noclip, just remove the cvar from plugin_init and the function whatsoever.

If i ever have time, I would refactor this code, but currenty my laptop is not so good in CS 1.6 and the demand doesn't seem too big.
__________________
My nickname is nucLeaR, I just screwed up at registering and didn't want to change after that X_X.
NucL3ra is offline
Send a message via Yahoo to NucL3ra