I would like to know how i can make “developer 1” run for admins when they join?
gameevent.Listen( "player_connect" ) hook.Add( "player_connect", "DeveloperEnable", function( data ) RunConsoleCommand( "developer", "1" ) end
Ty, would it work adding it to initialspawn?
[editline]25th August 2015[/editline]
And i would simple just add this to the PlayerIntialSpawn?
if ply:IsTrialAdmin then
RunConsoleCommand( “developer”, “1” )
PlayerInitialSpawn is serverside only, so you could do ply:ConCommand with that hook.
ALlright, what would the code for ply:ConCommand be?
wow, are you really that lazy :o