 |
|
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
|

11-20-2010
, 13:28
Re: Need some help for register plugin and my plugin.
|
#3
|
Quote:
Originally Posted by Altecaho
1.I guess:
Code:
register_concmd("amx_register", "register_user", ADMIN_ALL, "<mod:1[Name],2[Ip],3[SteamID]> <password>");
register_concmd("amx_login", "login_user", ADMIN_ALL, "<password>");
register_concmd("amx_changepassword", "change_password", ADMIN_ALL, "<old password> <new password>");
TO
Code:
register_clcmd("/register", "register_user", ADMIN_ALL, "<mod:1[Name],2[Ip],3[SteamID]> <password>");
register_clcmd("/login", "login_user", ADMIN_ALL, "<password>");
register_clcmd("/cpass", "change_password", ADMIN_ALL, "<old password> <new password>");
But i'm not really sure about that ;D
|
You can't just change it like that (and they are registered wrong anyways). You have to register say and filter the string which means a significant change to the code. Just use the console.
__________________
|
|
|
|