Как сделать выдачу кредитов по флагу

dll

Участник
Сообщения
3
Реакции
0
Как сделать что-бы кредиты можно было выдавать например с флагом t
 

Mr_panica

XenForo one 💖
Сообщения
921
Реакции
436
Если тебе нужно ограничить команду по флагу, файлик overrides.cfg.

C-подобный:
Overrides
{
    /**
     * By default, commands are registered with three pieces of information:
     * 1)Command Name         (for example, "csdm_enable")
     * 2)Command Group Name    (for example, "CSDM")
     * 3)Command Level        (for example, "changemap")
     *
     * You can override the default flags assigned to individual commands or command groups in this way.
     * To override a group, use the "@" character before the name.  Example:
     * Examples:
     *        "@CSDM"            "b"                // Override the CSDM group to 'b' flag
     *         "csdm_enable"    "bgi"            // Override the csdm_enable command to 'bgi' flags
     *
     * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
     * any setting that csdm_enable previously had.
     *
     * You can make a command completely public by using an empty flag string.
     */
    
  "sm_givecredits" "t"
    
}
 
Сверху Снизу