I need some help with my code. Simply it doesnt work.
I have an entity in the map im playing its name is “es1” with the obsolete pic
team.SetUp( 1, test, Color (0, 0, 255, 255)) team.SetSpawnPoint( test, "es1" )
AddCSLuaFile( "shared.lua" ) AddCSLuaFile( "cl_init.lua" ) include( 'shared.lua' ) function spawn1( pl ) pl:SetTeam( 1 ) pl:Spawn() end add.concommand( spawn1, "spawn1" )
And yes i did copy this from the help thread cuz noone answered.
WHY U N SPAWN