Ok, just a couple things left
gamemodes\engine\gamemode\init.lua:58: unexpected symbol near ')'
GM:PlayerInitialSpawn() // When spawning after joining the sever
ply:SetTeam(3)
Spectate( ply, ent )
ply:Spectate( OBS_MODE_CHASE )
ply:SpectateEntity( ent )
player.concommand( "sb_teams" ) ) <----------This one is the prob, i forgot to mark it
Well just looking at that o.o.
You are not sending var parameters in the function, ply there is marked as global, uhmm.
Another thing is that i think that is "function GM:PlayerInitialSpawn( ply )" instead "GM:PlayerInitialSpawn()" so you need to fix it and close.
Use ply:ConCommand() instead and if you running local use RunConsoleCommand(). Anyway valve will block some of the client commands unless you know how to bypass that ez shiz
. bai
and sry for mah english sux. :C