Franc1sco / sm-zombiereloaded-3-Franug-Edition

Improved version of zombiereloaded plugin with support for CS:GO and CS:S
https://forums.alliedmods.net/showthread.php?t=277597
GNU General Public License v3.0
41 stars 35 forks source link

[CSGO] sm_flags issue #35

Open brkvlr opened 3 years ago

brkvlr commented 3 years ago
configs/zr/playerclasses.txt
  "zombie_admin"
{
    // General
    "enabled"               "yes"
    "team"                  "0"
    "team_default"          "no"
    "flags"                 "0"
    "group"                 ""
    "sm_flags"              "p"

    configs/zr/models.txt
"zombie_admin"
{
    "name"      "mutation_light"
    "path"      "models/player/custom_player/zombie/mutation_light/"
    "team"      "zombies"
    "access"    "hidden"
    "group"     ""
}

When I set it as above, the models only appear on people with the p flag. However, these special models randomly come to rare players who do not have this flag. Am I doing something wrong somewhere I don't understand?

killshotzz commented 3 years ago

Flags seems to be wrong, as when you set it to 0, it will select random people.

brkvlr commented 3 years ago

What should the flags be? 1: Admins only 2: Mother Zombie Only Unfortunately there is no other option.

oylsister commented 2 years ago

This problem is caused by current zr_classfix plugins which haven't filter the class with sm_flags. You may try this new version of plugins instead. also if you specific for sm_flags, just set the normal flags to 0.

https://github.com/oylsister/sm-zombiereloaded-3-Franug-Edition/blob/master/optional%20plugins/zr_classfix.sp

Ps. I didn't put the .smx file in my fork version, so you have to compile this .sp by yourself