Raised This Month: $51 Target: $400
 12% 

Help Needed!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
youngjay
Junior Member
Join Date: Dec 2010
Old 05-20-2012 , 10:25   Help Needed!
Reply With Quote #1

ok i got my server running source and i got model menu for skins the skins work an everything but everyone has them im trying to make it only to admins that i give the custom flag to and that is T flag but it still isnt wokring in the cfg please help thanks heres the code.

//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Member Skins"
{
//Sourcemod admin group required to see/access this submenu
"t" "t"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Dog"
{
//path to the model file. This will automatically be precached
"path" "models\player\pil\re1\dog\dog_pil.mdl"
}
"PedoBear"
{
//path to the model file. This will automatically be precached
"path" "models\player\kuristaja\pbear\pbear.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Dog"
{
"path" "models\player\pil\re1\dog\dog_pil.mdl"
}
"PedoBear"
{
//path to the model file. This will automatically be precached
"path" "models\player\kuristaja\pbear\pbear.mdl"
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files
youngjay is offline
pillepallus
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 10:39   Re: Help Needed!
Reply With Quote #2

try
Code:
"Models"{

"Member Models"{
"Admin" "t"

"Team1"{
"Dog"{"path" "models\player\pil\re1\dog\dog_pil.mdl"}
"PedoBear"{"path" "models\player\kuristaja\pbear\pbear.mdl"}
}

"Team2"{
"Dog"{"path" "models\player\pil\re1\dog\dog_pil.mdl"}
"PedoBear"{"path" "models\player\kuristaja\pbear\pbear.mdl"}
}
}

"Public Models"{
"Admin" ""

"Team1"{
}

"Team2"{
}
}

"Reserved Models"{
"Admin" "Member"

"Team1"{
}

"Team2"{
}
}
}

Last edited by pillepallus; 05-20-2012 at 10:42.
pillepallus is offline
pillepallus
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 10:52   Re: Help Needed!
Reply With Quote #3

or short: "t" "t" --> "Admin" "t"
pillepallus is offline
youngjay
Junior Member
Join Date: Dec 2010
Old 05-20-2012 , 11:41   Re: Help Needed!
Reply With Quote #4

now that ive done that it says i dont have access to that command when i type !models but i got the T flag z:t on my sourcemod flags on the admin list.
youngjay is offline
pillepallus
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 12:05   Re: Help Needed!
Reply With Quote #5

Quote:
Originally Posted by youngjay View Post
now that ive done that it says i dont have access to that command when i type !models but i got the T flag z:t on my sourcemod flags on the admin list.
hmm no idea, check ur config again. we talking about skinchooser, right?

Last edited by pillepallus; 05-20-2012 at 12:08.
pillepallus is offline
youngjay
Junior Member
Join Date: Dec 2010
Old 05-20-2012 , 12:15   Re: Help Needed!
Reply With Quote #6

no model menu the config is model.ini i would like to use skin chooser but it makes every model invis in game.

Last edited by youngjay; 05-20-2012 at 12:17.
youngjay is offline
pillepallus
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 13:34   Re: Help Needed!
Reply With Quote #7

Quote:
Originally Posted by youngjay View Post
no model menu the config is model.ini i would like to use skin chooser but it makes every model invis in game.
then u should post something like this:
Code:
"Admin"        "Full Admins"
Code:
Group Notes: 
Groups are set up in configs/admin_groups.cfg
 Players can be a member of multiple groups (in admins.cfg file add the "group" section multiple times)
 A group can be defined with no admin flags. This could be useful for  'vip' members that are allowed a special set of models but still  shouldn't receive admin privileges.
i can't see handling for flags like "t,z"... u need to use the groupname.

Last edited by pillepallus; 05-20-2012 at 13:35.
pillepallus is offline
youngjay
Junior Member
Join Date: Dec 2010
Old 05-20-2012 , 13:41   Re: Help Needed!
Reply With Quote #8

ok so i change it to that and i added my self to the group z:Full Admins and it says i dont have access to that command so what am i doing wrong?
youngjay is offline
pillepallus
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 13:46   Re: Help Needed!
Reply With Quote #9

Quote:
Originally Posted by youngjay View Post
ok so i change it to that and i added my self to the group z:Full Admins and it says i dont have access to that command so what am i doing wrong?
please post:
admin_groups.cfg
admins.cfg
updated model.ini
pillepallus is offline
youngjay
Junior Member
Join Date: Dec 2010
Old 05-20-2012 , 16:37   Re: Help Needed!
Reply With Quote #10

Admin group.cfg
Groups
{
/**
* Allowed properties for a group:
*
* "flags" - Flag string.
* "immunity" - Immunity level number, or a group name.
* If the group name is a number, prepend it with an
* '@' symbol similar to admins_simple.ini. Users
* will only inherit the level number if it's higher
* than their current value.
*/
"Default"
{
"immunity" "1"
}

"Full Admins"
{
/**
* You can override commands and command groups here.
* Specify a command name or group and either "allow" or "deny"
* Examples:
* ":CSDM" "allow"
* "csdm_enable" "deny"
*/
Overrides
{
}
"flags" "abcdefghizt"

/* Largish number for lots of in-between values. */
"immunity" "99"
}
}



Admins.cfg

/**
* USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES.
*
* Each admin should have its own "Admin" section, followed by a name.
* The name does not have to be unique.
*
* Available properties: (Anything else is filtered as custom)
* "auth" - REQUIRED - Auth method to use. Built-in methods are:
* "steam" - Steam based authentication
* "name" - Name based authentication
* "ip" - IP based authentication
* Anything else is treated as custom.
* Note: Only one auth method is allowed per entry.
*
* "identity" - REQUIRED - Identification string, for example, a steamid or name.
* Note: Only one identity is allowed per entry.
*
* "password" - Optional password to require.
* "group" - Adds one group to the user's group table.
* "flags" - Adds one or more flags to the user's permissions.
* "immunity" - Sets the user's immunity level (0 = no immunity).
* Immunity can be any value. Admins with higher
* values cannot be targetted. See sm_immunity_mode
* to tweak the rules. Default value is 0.
*
* Example:
"BAILOPAN"
{
"auth" "steam"
"identity" "STEAM_0:1:16"
"flags" "abcdef"
}
*
*/
Admins
{
}


Updated Model.ini
//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "t"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Dog"
{
//path to the model file. This will automatically be precached
"path" "models\player\pil\re1\dog\dog_pil.mdl"
}
"PedoBear"
{
//path to the model file. This will automatically be precached
"path" "models\player\kuristaja\pbear\pbear.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Dog"
{
"path" "models\player\pil\re1\dog\dog_pil.mdl"
}
"PedoBear"
{
//path to the model file. This will automatically be precached
"path" "models\player\kuristaja\pbear\pbear.mdl"
}
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files
youngjay is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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