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

Help creating admin (or player) specific weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BaronVonBats
Junior Member
Join Date: Oct 2015
Old 06-25-2016 , 07:20   Help creating admin (or player) specific weapons
Reply With Quote #1

First off, yes I know giveweapon exists.

So, the beginning of my config is the usual "custom_weapons_v3" etc.

with the target being * - all players, so, now I want to make some weapons exclusive to me. (Or other players in the future)

After having 3 }}} placed at the bottom of my config. I then began with

"custom_specific"
{
"mysteamidhere"
{
"weaponidhere"
{
"attributes and so on"
}
}
}

And I get no errors in the console, but nothing happens.

I have scanned over the threads on Q&A, no results from what I can see.

The demonstration config provides nothing other than "This goes here, that does that, oh did you know * lets you do everything"

Or at-least that's how I view it.

EDIT: For confirmation, I have restart the server, refreshed the plugin multiple times, switched classes and switched back, kicked myself, restarted then reloaded, you name it.

EDIT: Found a temporary solution, just use the admin flag, but that allows SOME admins to have it.

Last edited by BaronVonBats; 06-25-2016 at 08:16.
BaronVonBats is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-25-2016 , 08:07   Re: Help creating admin (or player) specific weapons
Reply With Quote #2

The example config file included in the download shows how to do this, that and the information in the FAQ thread should have everything you need.

http://hg.limetech.org/projects/tf2i...ns.example.txt
__________________
asherkin is offline
BaronVonBats
Junior Member
Join Date: Oct 2015
Old 06-25-2016 , 08:17   Re: Help creating admin (or player) specific weapons
Reply With Quote #3

Quote:
Originally Posted by asherkin View Post
The example config file included in the download shows how to do this, that and the information in the FAQ thread should have everything you need.

http://hg.limetech.org/projects/tf2i...ns.example.txt

Thanks, I always miss the important things.
BaronVonBats is offline
Old 06-26-2016, 11:30
BaronVonBats
This message has been deleted by BaronVonBats. Reason: I found the solution via experimentation, GO SCIENCE
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 15:16.


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