Skip to content

A binary Lua module for Garry's Mod to tell when a datapack is created.

Notifications You must be signed in to change notification settings

q3k/gm_datapack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

To use gm_datapck in Garry's Mod, add this to your serverside Lua code:

require("datapack")
hook.Add("DatapackCompressed", "SomeUniqueName", function(Path)
	-- Do whatever you want in here
	-- Path is the path of the new datapack
end)

About

A binary Lua module for Garry's Mod to tell when a datapack is created.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published