Raised This Month: $ Target: $400
 0% 

sv_password Remover


Post New Thread Reply   
 
Thread Tools Display Modes
thEsp
BANNED
Join Date: Aug 2017
Old 07-08-2019 , 10:32   Re: sv_password Remover
Reply With Quote #11

Check if length is higher than 1 or string is not null (""). You do not have to do both.
thEsp is offline
Mikaeel123
Senior Member
Join Date: Oct 2018
Old 07-08-2019 , 10:57   Re: sv_password Remover
Reply With Quote #12

Hi . i can some help you . this plugin every round change the sv_password .
PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
register_plugin("sv_unlag roundly","1","V.")
    
register_logevent("LogEvent_Round_Start"2"1=Round_Start")   
}
public 
LogEvent_Round_Start() 
{
    
server_cmd("sv_password "place the pw")
    return PLUGIN_CONTINUE

Change the place and compile in amx mod x . Is this good for you ??

Last edited by Mikaeel123; 07-08-2019 at 10:57.
Mikaeel123 is offline
thEsp
BANNED
Join Date: Aug 2017
Old 07-08-2019 , 12:10   Re: sv_password Remover
Reply With Quote #13

The question is, does it even compile?
thEsp is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 07-08-2019 , 13:21   Re: sv_password Remover
Reply With Quote #14

Quote:
Originally Posted by thEsp View Post
Check if length is higher than 1 or string is not null (""). You do not have to do both.
Hy, I'm not, expert in scripting nor I know much, I got the idea but can't apply it, by the way I like the idea of Mikaeel123

Logevent_Round (May be Defined {#DefineRounds} in plugin itself Or Changed by cvar, example: every 2 rounds).

Quote:
Originally Posted by Mikaeel123 View Post
Hi . i can some help you . this plugin every round change the sv_password .
PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
register_plugin("sv_unlag roundly","1","V.")
    
register_logevent("LogEvent_Round_Start"2"1=Round_Start")   
}
public 
LogEvent_Round_Start() 
{
    
server_cmd("sv_password "place the pw")
    return PLUGIN_CONTINUE

Change the place and compile in amx mod x . Is this good for you ??
Yes its helpful, The idea is good to check pass every round but I don't think this plugin will work !! Since its pcvar string and application of command is bit incorrect.

Instead I would prefer to check pass Every 2 rounds. {Or #DefineRounds In Plugin Or Cvar for it (Check_Rounds)}, it will really be appreciated, if someone would help.

Last edited by Alber9091; 07-08-2019 at 13:47.
Alber9091 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:42.


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