Talk:Gamemode.PlayerSpawn
From GMod Wiki
Are we sure this is shared? I can't seem to get it to run clientside code.. This only prints "Server" :
hook.Add("PlayerSpawn","InstanceTest",function(ply) if CLIENT then print "Client" end if SERVER then print "Server" end end)
--Crazy Quebecer 00:13, 13 October 2009 (UTC)
Oh nevermind it's listed as server in gamemode functions, this page confused me. --Crazy Quebecer 00:13, 13 October 2009 (UTC)