General > Developers Corner

Spawn script

(1/2) > >>

Deathtitan77:
Alright, so I am making a jailbreak gamemode. I am having a problem though, I can't get my spawn script to work. I would appreciate any help.

GM.Name = "Jailbreak"
GM.Author = ""
GM.Email = ""
GM.Website = ""

warden = ""
function GM:Initialize()
self.BaseClass.Initialize( self )
end

function GM:CreateTeams()
team.SetUp( 1, "Guards"    , Color(0  ,0,255), false)
team.SetSpawnPoint( 1, "info_player_counterterrorist" )
team.SetUp( 2, "Prisoners" , Color(255,0,0  ), false)
team.SetSpawnPoint( 2, "info_player_terrorist" )
end

nathan736:
give us full code this is not the spawn system this is just the back bone team system
PS: MOVE THIS TO DEV AREA
PSS: use the code brackets or use ideone for reading >: )

Bite That Apple:

--- Quote from: nathan736 on February 11, 2013, 10:55:38 AM ---give us full code this is not the spawn system this is just the back bone team system
PS: MOVE THIS TO DEV AREA
PSS: use the code brackets or use ideone for reading >: )

--- End quote ---

Who is us?

Deathtitan77:
Well, this is my code. This is my whole spawn code.

Bite That Apple:
Are there any console errors? If there are no errors, are you making sure to play the gamemode on a counter strike map or a map you made using counter strike as your mod in SDK Hammer?

Navigation

[0] Message Index

[#] Next page

Go to full version