Quote:
Originally Posted by thEsp
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
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.