help with say cmd
Hi guys i want a say cmd .setpass "password" to set sv_password "password". I try to make it with this code but it isn work when i write .setpass 32 but when i write .setpass and it dont set any password because i dont give one.
Quote:
|
Re: help with say cmd
PHP Code:
:) |
Re: help with say cmd
sv_password is not a command, therefore you cannot use server_cmd native to change its value
|
Re: help with say cmd
Quote:
|
Re: help with say cmd
First off all, efficiency !
You need to use a natives from get admin rights, like in amxmisc include. Second, post the whole code using a [PHP] tag or [CODE] tag :) For hook a say command you need to custom function, to hook the first char '.' and put as console command. see the amxmodx documentation for more info, or look this: https://forums.alliedmods.net/showthread.php?t=207106 |
Re: help with say cmd
Quote:
|
Re: help with say cmd
Quote:
|
| All times are GMT -4. The time now is 16:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.