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

[css/csgo] Extra Zeph Store Menu Chat Trigger [!shop/!market/!skins]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
beetlejuice
Member
Join Date: Oct 2016
Old 06-27-2017 , 16:10   [css/csgo] Extra Zeph Store Menu Chat Trigger [!shop/!market/!skins]
Reply With Quote #1

I think this is simple request, or maybe i am wrong

Basically i would like to be able to open !store with !shop, !skins, !market (even !grocery lol)...all leading to main zeph store in game menu as !store does.... I see many players do mistakes even dough i advertise a lot about it . (even in server name). Some peeps are just confused by nature i guess <3 or come from different games or never went to groceries

Thanks
beetlejuice is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 06-27-2017 , 17:12   Re: [css/csgo] Extra Zeph Store Menu Chat Trigger [!shop/!market/!skins]
Reply With Quote #2

https://github.com/dvarnai/store-plu.../store.sp#L272

Add:

Code:
RegConsoleCmd("sm_skins", Command_Store);
RegConsoleCmd("sm_market", Command_Store);
RegConsoleCmd("sm_grocery", Command_Store);
and recompile.
__________________
sneaK is offline
beetlejuice
Member
Join Date: Oct 2016
Old 06-27-2017 , 17:20   Re: [css/csgo] Extra Zeph Store Menu Chat Trigger [!shop/!market/!skins]
Reply With Quote #3

Thanks sneaK,

It is for Zeph's latest store not that one...or i am missing something?

I tried to compile zephs store with latest sm adding what u suggested but it is massive mod and i get like 27 errors and most of them are out of my skill domain to fix.
beetlejuice is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 06-27-2017 , 17:24   Re: [css/csgo] Extra Zeph Store Menu Chat Trigger [!shop/!market/!skins]
Reply With Quote #4

You can do sneaK or compile this:

PHP Code:
#include <sourcemod>


#define CMD1 "sm_shop"
#define CMD2 "sm_skins"
#define CMD3 "sm_marker"
#define CMD4 "sm_grocery"
//#define CMD5 "sm_COMMAND"
//#define CMD6 "sm_COMMAND"

public void OnPluginStart()
{
    
RegConsoleCmd(CMD1Cmd_Store"Open Store");
    
RegConsoleCmd(CMD2Cmd_Store"Open Store");
    
RegConsoleCmd(CMD3Cmd_Store"Open Store");
    
RegConsoleCmd(CMD4Cmd_Store"Open Store");
    
//RegConsoleCmd(CMD5, Cmd_Store, "Open Store");
    //RegConsoleCmd(CMD6, Cmd_Store, "Open Store");
    
}


public 
Action Cmd_Store(int clientint args)
{
    
FakeClientCommand(client"sm_store");

__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
beetlejuice
Member
Join Date: Oct 2016
Old 06-27-2017 , 21:58   Re: [css/csgo] Extra Zeph Store Menu Chat Trigger [!shop/!market/!skins]
Reply With Quote #5

Thank you very much!
beetlejuice 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 17:21.


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