Skip to content

This project adds gameevent.Listen to the menu state of Garry's Mod.

Notifications You must be signed in to change notification settings

RaphaelIT7/gmod-gameevent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Project adds gameevent.Listen to the Menu State.
With this module, you also get access to the client_beginconnect, client_connect and server_spawn gameevents.

Note: This Project uses Garry's Mod Common

How to Install

  1. You need to download the gmsv_gameevent_win32.dll from the latest release
  2. Move the gmsv_gameevent_win32.dll into your garrysmod/lua/bin folder.
  3. You need insert

Windows:

if file.Exists("lua/bin/gmsv_gameevent_win32.dll", "GAME") then
  require("gameevent")
end

Linux:

if file.Exists("lua/bin/gmsv_gameevent_linux.dll", "GAME") then
  require("gameevent")
end

Into the garrysmod/lua/menu/menu.lua file at the bottom.

Note: If you change your Gmod branch or an update is made, your changes could get removed.