View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-27-2015 , 11:39   Re: [cs:go] menu pop-up on roundstart and chat cmd.
Reply With Quote #7

Code:
RegConsoleCmd("shop", Cmd_Shop, "Shop command");
is in the code I gave you. It registers both /shop and !shop

(It also registers the server console and client console shop commands, but those probably aren't going to be used.)

As for the spawn thing... weird, there's no special code in there to only show the first time a player is spawned.

I did notice that CS:GO has both "player_spawn" and "player_spawned"... I wonder if that matters.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline