Try adding the cheat flag to the equip command.
public OnPluginStart()
{
new flags;
flags = GetCommandFlags("equip");
SetCommandFlags("equip", flags|FCVAR_CHEAT);
}
Might work :).
On Thu, Feb 19, 2009 at 10:55 PM, Arg! <[email protected]> wrote:
> If its in sourcemod, have a look at what the melee only mod is doing, might
> provide some ideas.
>
> On Fri, Feb 20, 2009 at 2:46 PM, <[email protected]> wrote:
>
> > Anyone know of a way to disable achievements and all unlockable weapons?
> > Working on a new mod for TF2 however the lockout menu would create a
> number
> > of headaches for us.
> >
> >
> > Thanks in advance
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds