View Single Post
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-24-2009 , 12:54   Re: Set Password
Reply With Quote #10

Quote:
Originally Posted by Alucard^ View Post
And why not? ;P
This limits its for CS 1.6 Only.

Idea: Show the new password to admins, and PROTECTED to normal players.

PHP Code:
    register_cvar("sp_author"AUTHOR,FCVAR_SPONLY|FCVAR_SERVER
    
register_cvar("sp_version"VERSIONFCVAR_SPONLY|FCVAR_SERVER
You dont need to have 2 cvars, and i dont see point to having such cvars for such simple plugin.

Use pcvar pointer for sv_password.
__________________
xPaw is offline