Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CSGO] sm_flags issue #35

Open
brkvlr opened this issue Aug 5, 2021 · 3 comments
Open

[CSGO] sm_flags issue #35

brkvlr opened this issue Aug 5, 2021 · 3 comments

Comments

@brkvlr
Copy link

brkvlr commented Aug 5, 2021

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
Copy link

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

@brkvlr
Copy link
Author

brkvlr commented Aug 6, 2021

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

@oylsister
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants