
Our community already has a lot of wonderful guides and if I want to integrate some, I will first ask permission to the owner of that guide and they will be credited for their help. Everything you need to know is here!Īs I said, I will try and update this guide as much as I can! Starting with Basics and Rules.

This guide will include everything you need,from base building and making cash,to fighting crime in the city. Rules and gameplay on other servers might variate. As this is a big project, it will be updated every once in a while with a new chapter.ĭon't forget that this guide will teach you the ways of DarkRP as it is played on our CG DarkRP Server. Timer.Simple(0, function() GAMEMODE.ShowTeam = DarkRP.Hello and welcome to Cloud Gaming! This guide will teach you all of the information that you will need in order to play on our DarkRP server. Usermessage.Hook("OnChangedTeam", OnChangedTeam) Hook.Call("OnPlayerChangedTeam", GAMEMODE, LocalPlayer(), oldTeam, newTeam) Hook.Call("teamChanged", GAMEMODE, oldTeam, newTeam) - backwards compatibility Local oldTeam, newTeam = um:ReadShort(), um:ReadShort() Hook.Call("teamChanged", GAMEMODE, GAMEMODE.DefaultTeam, GAMEMODE.DefaultTeam) If not and not ply:Alive() and string.find(string.lower(bind), "voicerecord") then return true end Local bnd = string.match(string.lower(bind), "gm_+?") Return - Not the original rectangle for yourself! ugh!įunction GM:PlayerBindPress(ply, bind, pressed) Return jobTable.ShowSpare2(LocalPlayer()) Return jobTable.ShowSpare1(LocalPlayer()) Local jobTable = LocalPlayer():getJobTable() Local mouseX, mouseY = ScrW() / 2, ScrH() / 2

This is the cl_gamemode_a file: local GUIToggled = false unknown - gamemodes/darkrp/gamemode/modules/base/cl_gamemode_a:62 Call - gamemodes/darkrp/gamemode/modules/base/cl_gamemode_a:23Ģ. I am attempting to enable and use the default jobs on the server, but I get this error in the client console whenever I press F4: gamemodes/darkrp/gamemode/modules/base/cl_gamemode_a:23: attempt to index local 'jobTable' (a nil value)ġ. I am creating a DarkRP server with the latest version of Garry's Mod.
