Posts: 4
Threads: 3
Joined: Aug 2010
whenever it ry to kick somebody i type in /kick thier name then reason but so far whenever i do this it trys to kick the wrong player
Posts: 1,162
Threads: 19
Joined: Jun 2010
Try using «cn» and not name.
Like: /kick 5 tker
Use Tab to see what «cn» the player you wanna set vote for have.
Posts: 481
Threads: 11
Joined: Jul 2010
Posts: 205
Threads: 3
Joined: Jun 2010
i think this was made by bukz (im not sure), i made a little modification:
newmenu "k/b"
menuitem "kick" [ alias kb [kick]; showmenu "cn"]
menuitem "ban" [ alias kb [ban]; showmenu "cn"]
newmenu "cn"
menuitemvar [findpn 0] [cnnk = 0; showmenu "cna"]
menuitemvar [findpn 1] [cnnk = 1; showmenu "cna"]
menuitemvar [findpn 2] [cnnk = 2; showmenu "cna"]
menuitemvar [findpn 3] [cnnk = 3; showmenu "cna"]
menuitemvar [findpn 4] [cnnk = 4; showmenu "cna"]
menuitemvar [findpn 5] [cnnk = 5; showmenu "cna"]
menuitemvar [findpn 6] [cnnk = 6; showmenu "cna"]
menuitemvar [findpn 7] [cnnk = 7; showmenu "cna"]
menuitemvar [findpn 8] [cnnk = 8; showmenu "cna"]
menuitemvar [findpn 9] [cnnk = 9; showmenu "cna"]
menuitemvar [findpn 10] [cnnk = 10; showmenu "cna"]
menuitemvar [findpn 11] [cnnk = 11; showmenu "cna"]
menuitemvar [findpn 12] [cnnk = 12; showmenu "cna"]
menuitemvar [findpn 13] [cnnk = 13; showmenu "cna"]
menuitemvar [findpn 14] [cnnk = 14; showmenu "cna"]
menuitemvar [findpn 15] [cnnk = 15; showmenu "cna"]
menuitemvar [findpn 16] [cnnk = 16; showmenu "cna"]
menuitemvar [findpn 17] [cnnk = 17; showmenu "cna"]
menuitemvar [findpn 18] [cnnk = 18; showmenu "cna"]
menuitemvar [findpn 19] [cnnk = 19; showmenu "cna"]
menuitemvar [findpn 20] [cnnk = 20; showmenu "cna"]
newmenu "cna"
menuitem "Being a noob." [ $kb $cnnk "Being a noob."]
menuitem "Modified map." [ $kb $cnnk "Modified map."]
menuitem "Inappropriate behavior." [ $kb $cnnk "Inappropriate behavior."]
menuitem "Cheating." [ $kb $cnnk "Cheating."]
menuitem "Impersonation." [ $kb $cnnk "Impersonation."]
menuitem "Inappropriate name." [ $kb $cnnk "Inappropriate name."]
menuitem "Racism." [ $kb $cnnk "Racism."]
menuitem "Spamming." [ $kb $cnnk "Spamming."]
menuitem "Vote abuse." [ $kb $cnnk "Vote abuse."]
menuitem "Team killing." [ $kb $cnnk "Team killing."]
//menuitem "" [ $kb $cnnk ""]
//menuitem "" [ $kb $cnnk ""]
//menuitem "" [ $kb $cnnk ""]
//menuitem "" [ $kb $cnnk ""]
Posts: 4
Threads: 3
Joined: Aug 2010
(29 Oct 10, 08:00PM)macm Wrote: i think this was made by bukz (im not sure), i made a little modification:
newmenu "k/b"
menuitem "kick" [ alias kb [kick]; showmenu "cn"]
menuitem "ban" [ alias kb [ban]; showmenu "cn"]
newmenu "cn"
menuitemvar [findpn 0] [cnnk = 0; showmenu "cna"]
menuitemvar [findpn 1] [cnnk = 1; showmenu "cna"]
menuitemvar [findpn 2] [cnnk = 2; showmenu "cna"]
menuitemvar [findpn 3] [cnnk = 3; showmenu "cna"]
menuitemvar [findpn 4] [cnnk = 4; showmenu "cna"]
menuitemvar [findpn 5] [cnnk = 5; showmenu "cna"]
menuitemvar [findpn 6] [cnnk = 6; showmenu "cna"]
menuitemvar [findpn 7] [cnnk = 7; showmenu "cna"]
menuitemvar [findpn 8] [cnnk = 8; showmenu "cna"]
menuitemvar [findpn 9] [cnnk = 9; showmenu "cna"]
menuitemvar [findpn 10] [cnnk = 10; showmenu "cna"]
menuitemvar [findpn 11] [cnnk = 11; showmenu "cna"]
menuitemvar [findpn 12] [cnnk = 12; showmenu "cna"]
menuitemvar [findpn 13] [cnnk = 13; showmenu "cna"]
menuitemvar [findpn 14] [cnnk = 14; showmenu "cna"]
menuitemvar [findpn 15] [cnnk = 15; showmenu "cna"]
menuitemvar [findpn 16] [cnnk = 16; showmenu "cna"]
menuitemvar [findpn 17] [cnnk = 17; showmenu "cna"]
menuitemvar [findpn 18] [cnnk = 18; showmenu "cna"]
menuitemvar [findpn 19] [cnnk = 19; showmenu "cna"]
menuitemvar [findpn 20] [cnnk = 20; showmenu "cna"]
newmenu "cna"
menuitem "Being a noob." [ $kb $cnnk "Being a noob."]
menuitem "Modified map." [ $kb $cnnk "Modified map."]
menuitem "Inappropriate behavior." [ $kb $cnnk "Inappropriate behavior."]
menuitem "Cheating." [ $kb $cnnk "Cheating."]
menuitem "Impersonation." [ $kb $cnnk "Impersonation."]
menuitem "Inappropriate name." [ $kb $cnnk "Inappropriate name."]
menuitem "Racism." [ $kb $cnnk "Racism."]
menuitem "Spamming." [ $kb $cnnk "Spamming."]
menuitem "Vote abuse." [ $kb $cnnk "Vote abuse."]
menuitem "Team killing." [ $kb $cnnk "Team killing."]
//menuitem "" [ $kb $cnnk ""]
//menuitem "" [ $kb $cnnk ""]
//menuitem "" [ $kb $cnnk ""]
//menuitem "" [ $kb $cnnk ""]
do i put this in my main.cs or what something i am new to this game
Posts: 3,780
Threads: 33
Joined: Jun 2010
24 Dec 10, 08:09PM
(This post was last modified: 24 Dec 10, 08:10PM by V-Man.)
The easiest way to install it (but may make uninstalling more difficult later) is to copy that code and open config\autoexec.cfg for editing (like a text file). Paste the code in that file. Now in-game you can type
/showmenu "k/b"
and the menu will pop up.
If you want to make it easier, add something like
alias kb [showmenu "k/b"]
in autoexec.cfg. Then you can type
/kb
and the menu will pop up.