ItsMods

Full Version: Coding Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys im running this code but it doesnt seem to work....

what im trying to do is put everyone on 1 team then when the match starting thing is gone its stops. But it doesnt

Code:
team()
{
   if(level.inGracePeriod)
   level endon("grace_period_ending");
   self maps\mp\gametypes\_teams::changeTeam("allies");
  
  
  
   }
(01-26-2011, 09:24)No One Wrote: [ -> ]Hey guys im running this code but it doesnt seem to work....

what im trying to do is put everyone on 1 team then when the match starting thing is gone its stops. But it doesnt

Code:
team()
{
   if(level.inGracePeriod)
   level waittill("grace_period_ending");
   self [[level.allies]]();
}
This one?
OFFTOPIC: Dawn sky and custom map and now teaming code, you are really making a zombie mod man
CUSTOM MAP and DAWN SKY: http://www.itsmods.com/forum/Thread-Prev...a-mod.html
TEAMING CODE: http://www.itsmods.com/forum/Thread-Coding-Problem.html
(01-26-2011, 10:34)alistair3149 Wrote: [ -> ]
(01-26-2011, 09:24)No One Wrote: [ -> ]Hey guys im running this code but it doesnt seem to work....

what im trying to do is put everyone on 1 team then when the match starting thing is gone its stops. But it doesnt

Code:
team()
{
   if(level.inGracePeriod)
   level waittill("grace_period_ending");
   self [[level.allies]]();
}
This one?
OFFTOPIC: Dawn sky and custom map and now teaming code, you are really making a zombie mod man
CUSTOM MAP and DAWN SKY: http://www.itsmods.com/forum/Thread-Prev...a-mod.html
TEAMING CODE: http://www.itsmods.com/forum/Thread-Coding-Problem.html

dawn sky was for a different mod and i gave up on the custom maps, still doesnt work
(01-26-2011, 11:09)No One Wrote: [ -> ]
(01-26-2011, 10:34)alistair3149 Wrote: [ -> ]
(01-26-2011, 09:24)No One Wrote: [ -> ]Hey guys im running this code but it doesnt seem to work....

what im trying to do is put everyone on 1 team then when the match starting thing is gone its stops. But it doesnt

Code:
team()
{
   if(level.inGracePeriod)
   level waittill("grace_period_ending");
   self [[level.allies]]();
}
This one?
OFFTOPIC: Dawn sky and custom map and now teaming code, you are really making a zombie mod man
CUSTOM MAP and DAWN SKY: http://www.itsmods.com/forum/Thread-Prev...a-mod.html
TEAMING CODE: http://www.itsmods.com/forum/Thread-Coding-Problem.html

dawn sky was for a different mod and i gave up on the custom maps, still doesnt work
Custom maps are easy with dyl's function
someone else can do them.

get back on topic
(01-26-2011, 11:53)No One Wrote: [ -> ]someone else can do them.

get back on topic
Have u tested the code?
(01-26-2011, 12:25)alistair3149 Wrote: [ -> ]
(01-26-2011, 11:53)No One Wrote: [ -> ]someone else can do them.

get back on topic
Have u tested the code?

Yea, it just gives the same result as my old one