hello
i need hud element plugin to tupe something in down of server!
not like ServerAd in left of server ore another plugins!
sry bad english !
What?? I'm greatly confused...
my mean in plugin ore some source code to write my own text in server ike this picture
(07-02-2014, 06:50)s.j-rez Wrote: [ -> ]my mean in plugin ore some source code to write my own text in server ike this picture
My browser crashed when I opened this. :Troll:
Simply use ServerAd, just edit the position.
do you have any source code to creat password for server ?
like !setpassword 123 -> !unsetpassword
(07-03-2014, 11:32)s.j-rez Wrote: [ -> ]do you have any source code to creat password for server ?
like !setpassword 123 -> !unsetpassword
Split the message to the two parts.
First one is "!setpassword", second is password.
So something like this ( pseudocode, I don't remember C# anymore. )
Code:
string[] cmd = Message.Split(' ');
string firstVar = cmd[0];
string secondVar = cmd[1];
if ( firstVar == !setpassword ) {
if( secondVar.length < 1 )
return chattype.none;
iprintln(string.Format("server password changed to {0}", secondVar));
setDvar("g_password", secondVar);
}
To "unset" password simply do "setDvar("g_password", "");".
(07-03-2014, 12:12)Nekochan Wrote: [ -> ] (07-03-2014, 11:32)s.j-rez Wrote: [ -> ]do you have any source code to creat password for server ?
like !setpassword 123 -> !unsetpassword
Split the message to the two parts.
First one is "!setpassword", second is password.
So something like this ( pseudocode, I don't remember C# anymore. )
Code:
string[] cmd = Message.Split(' ');
string firstVar = cmd[0];
string secondVar = cmd[1];
if ( firstVar == !setpassword ) {
if( secondVar.length < 1 )
return chattype.none;
iprintln(string.Format("server password changed to {0}", secondVar));
setDvar("g_password", secondVar);
}
To "unset" password simply do "setDvar("g_password", "");".
you type code for set password and unset password..
please make and compile.
& upload
thank you