2023-12-21 13:58:05 -05:00
|
|
|
|
|
|
|
GM.Name = "Cops 'n Robbers"
|
|
|
|
GM.Author = "Fesiug"
|
|
|
|
GM.Email = "publicfesiug@outlook.com"
|
|
|
|
GM.Website = "https://github.com/Fesiug/copsnrobbers"
|
|
|
|
GM.TeamBased = true
|
|
|
|
|
|
|
|
AddCSLuaFile("cl_hud.lua")
|
2023-12-21 20:40:47 -05:00
|
|
|
AddCSLuaFile("cl_selectteam.lua")
|
2023-12-21 13:58:05 -05:00
|
|
|
if CLIENT then
|
|
|
|
include ("cl_hud.lua")
|
2023-12-21 20:40:47 -05:00
|
|
|
include ("cl_selectteam.lua")
|
2023-12-21 13:58:05 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
AddCSLuaFile("player_class_cnr.lua")
|
|
|
|
include ("player_class_cnr.lua")
|
|
|
|
|
2023-12-21 19:04:34 -05:00
|
|
|
AddCSLuaFile("logic.lua")
|
|
|
|
include ("logic.lua")
|
|
|
|
|
2023-12-21 20:40:47 -05:00
|
|
|
AddCSLuaFile("playerbs.lua")
|
|
|
|
include ("playerbs.lua")
|
|
|
|
|
2023-12-21 13:58:05 -05:00
|
|
|
function GM:Initialize()
|
|
|
|
-- Do stuff
|
|
|
|
end
|
|
|
|
|
|
|
|
concommand.Add( "cnr_cheat_weapons", function( p )
|
|
|
|
p:Give( "cnr_ak47" )
|
2023-12-21 20:40:47 -05:00
|
|
|
p:Give( "cnr_deagle" )
|
2023-12-21 13:58:05 -05:00
|
|
|
p:Give( "cnr_glock" )
|
|
|
|
p:Give( "cnr_m4a1" )
|
|
|
|
p:Give( "cnr_m4s90" )
|
|
|
|
p:Give( "cnr_m249" )
|
|
|
|
p:Give( "cnr_mac10" )
|
|
|
|
p:Give( "cnr_mossberg" )
|
|
|
|
p:Give( "cnr_mp5" )
|
|
|
|
p:Give( "cnr_p220" )
|
|
|
|
p:Give( "cnr_usp" )
|
|
|
|
end)
|
|
|
|
|
2023-12-21 20:40:47 -05:00
|
|
|
-- Include module loader here
|