Removing "Mole" option
Moderator: Forum Moderator
Removing "Mole" option
Could someone show me how to remove the "mole" from shopmenu and also the say command? I'd like it so the "mole" cannot be purchased. Only used by a warden. Thanks.
-
- Spell Breaker
- Posts: 398
- Joined: Sun Apr 27, 2008 10:11 pm
Re: Removing "Mole" option
open items.inl and change this line
to
Code: Select all
case ITEM_MOLE:
{
g_bPlayerBoughtMole[id] = true;
}
Code: Select all
case ITEM_MOLE:
{
client_print( id, print_center, "Mole has Been Disabled" );
new money = cs_get_user_money(id)
cs_set_user_money(id, ITEM_COST[ITEM_MOLE] + money)
}

Re: Removing "Mole" option
Thanks again for your help. 
Disabling the "mole" item should be added to the plugin. A lot of people hate it.

Disabling the "mole" item should be added to the plugin. A lot of people hate it.
-
- Spell Breaker
- Posts: 398
- Joined: Sun Apr 27, 2008 10:11 pm
Re: Removing "Mole" option
its possible i made several scripts where u can disable it on certain maps for myself, its not easy tho and i believe geesu has alot of other things that he needs to fix first

Re: Removing "Mole" option
Your fix works fine. Thanks again.