AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [HELP] adminmenu_custom (https://forums.alliedmods.net/showthread.php?t=316272)

specdo 05-15-2019 02:58

[HELP] adminmenu_custom
 
Hey, sorry if I posted this in the wrong section. I'm not new to the forum but this is the first time i post anything.

I can't figure it out so now I'm asking for help.
Basicly to get the command to work manualy you type ingame !rcon wcs_change_race (userid) ("Race Name")
NOTE: It has to be userid it can not be player name. This is no chat command, has to be executed in console or !rcon


Syntax: wcs_change_race (userid) (racename)

This is what I've got so far...
Code:

"Commands"
{
        "WCSAdmin"
        {
                "Change Player Race"
                {
                        "cmd"                        "wcs_change_race #1 #2"
                        "admin"                        "sm_kick"
                        "execute"                "server"
                        "1"
                        {
                                "type"                "player"
                                "method"        "userid"
                                "title"                "Select Player"
 
                        }
                        "2"
                        {
                                "type"                "list"
                                "title"                "Races"
                                "1"                "Undead Scourge"
                                "1."                "Undead Scourge"
                                "2"                "Shadow Hunter"
                                "2."                "Shadow Hunter"
                        }
 
                }
        }
}



All times are GMT -4. The time now is 20:25.

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