Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GM:PlayerInitialSpawn(ply)
- self.BaseClass:PlayerInitialSpawn(ply)
- DarkRP.log(ply:Nick().." ("..ply:SteamID()..") has joined the game", Color(0, 130, 255))
- ply.DarkRPVars = ply.DarkRPVars or {}
- ply:restorePlayerData()
- ply:ConCommand( "rpgintro" )
- initPlayer(ply)
- ply.SID = ply:UserID()
- timer.Simple(1, function()
- if not IsValid(ply) then return end
- local group = GAMEMODE.Config.DefaultPlayerGroups[ply:SteamID()]
- if group then
- ply:SetUserGroup(group)
- end
- end)
- restoreReconnectedEnts(ply)
- end
Advertisement
Add Comment
Please, Sign In to add comment