Quantum is a Garry's Mod RPG framework.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
-- __ _ _______ _ __
|
|
|
|
-- / / /\ | | |__ __| | | \ \
|
|
|
|
-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \
|
|
|
|
-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > >
|
|
|
|
-- \ \ / ____ \| | | | | | | | __/ (__| | | | / /
|
|
|
|
-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/
|
|
|
|
|
|
|
|
local snm = {} -- Safe. Networked. Message
|
|
|
|
|
|
|
|
function snm.RunNetworkedFunc( func, args )
|
|
|
|
net.Start( "quantum_menu_button_net" ) -- used for menu buttons etc
|
|
|
|
net.WriteString( func ) -- don't worry! it's very secure :D
|
|
|
|
net.WriteTable( args )
|
|
|
|
net.SendToServer()
|
|
|
|
end
|
|
|
|
|
|
|
|
return snm
|