Jump to content

? servers

? players online

Model Chooser help [Server]

Recommended Posts


  • Content Count:  8758
  • Joined:  07/27/09
  • Status:  Offline

I'm trying to make a server, and I'm using the SourceMod model chooser (link). I have it configured correctly, except that I can't access any of the skins. I set myself to the group "Server_Admin" in the admins.cfg and admin_simple.ini files on my server, and I have this for my models.ini file (for the model chooser):

 

//Configure your menu here

"Models"

{

//Name of the item to appear in the menu

"Admin Models"

{

//Sourcemod admin group required to see/access this submenu

"Admin" "Server_Admin"

 

//Models available for team 1 (terrorist / allies)

"Team1"

{

//Name to appear in submenu

"Cool Model 1"

{

//path to the model file. This will automatically be precached

"path" "models/player/ics/t_guerilla_z/t_guerilla.mdl"

}

"Cool Model 2"

{

//path to the model file. This will automatically be precached

"path" "models/player/ics/t_arctic_admin/t_arctic.mdl"

}

}

 

//Models available for team 2 (ct / axis)

"Team2"

{

"CT Only Model"

{

"path" "models/player/ics/ct_gsg9_admin/ct_gsg9.mdl"

}

}

}

}

 

//All other files needed for the above models must be listed in modeldownloads.ini

//This forces the clients to download the needed files

 

I left the models default for now.

 

 

Excerpt from the admins.cfg and admins_simple.ini files:

 

admins.cfg:

 

Admins

{

}

"[sG] President Shadow"

{

"auth" "steam"

"identity" "STEAM_0:0:18873882"

"flags" "abcdfgjkopq"

"group" "Server_Admin"

 

 

admins_simple.ini:

 

"STEAM_0:0:18873882" "50@Server_Admin"

 

Whenever I go into a server, I can't access the skins (You do not have access to this command). I'm not sure how to fix this problem. Help?

 

EDIT: I fixed the permissions problem. It was because in the admin_groups.cfg file, I listed the "Server_Admin" group under the end bracket (my mistake). I'm now wondering how to allow someone to see multiple categories listed under different permissions.

Edited by Prez
Link to comment

  • Content Count:  8758
  • Joined:  07/27/09
  • Status:  Offline

Ah, I fixed the permissions problem. The groups in admins.cfg was listed outside of the end bracket by mistake (^^). I'm now not sure how to have multiple categories for a person. Like, I made one called supporter skins just like SG, but I'm not sure how to set it up so I can access both.

Link to comment

  • Content Count:  1300
  • Joined:  06/24/07
  • Status:  Offline

you set each skin type (supporter admin etc) to a custom flag or a sm cmd flag ie if you want admins to have the skins you can set the skin auth to use the admin chat flag (j) or define supporter (reserved slot ) as flag (a)

 

if you are primary server admin or owner then define yourself with a Z, that gives you all the flags instantly, (unless you use simple color chat then you end up with the all the various stuff before your name, and its annoying)

 

if you want to define based off non admin cmd flags sm contains several ones for cmd overrides and such they are o, p,q,r,s, and t.

  • Like 1
Edited by Jager
Link to comment

Reply to Thread

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...