Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Spawn Command
#1
Hey,
i want to know what the Command is, to Respawn from Spectating ( not from the Team Spectators. Like in SnD when u are dead)?

Code:
maps\mp\gametypes\_globallogic_spawn::spawnPlayer()
doesnt seem to work. The whole game freezes then.

Sooooooo?
Reply

#2
Don't mess with god.
Reply

#3
(08-10-2011, 21:53)Lemon Wrote: Don't mess with god.

But i need tooooo.
Reply

#4
Make your own gametype. It's easier to make one than modifying an existing gametype. And cool.
Reply

#5
(08-10-2011, 22:03)Lemon Wrote: Make your own gametype. It's easier to make one than modifying an existing gametype. And cool.

and how? xD
Reply

#6
There was a tut afaik.
Reply

#7
(08-10-2011, 22:09)Lemon Wrote: There was a tut afaik.

In fact the "tutorial" was missing parts, I asked th creator and helped him fixing it so I doubt you should use it, as you still need to get a .gsc like tdm.gsc
Reply

#8
use:
Code:
self thread [[level.spawnClient]]
and to prevent players from spawning without them having selected a class yet(which can give some serious issues) add this above the above code:
Code:
if (maps\mp\gametypes\_globallogic_utils::isValidClass( self.class ))
Reply

#9
Code:
WaittillDeath()
{
    self endon("disconnect");
    self endon("endthat_shit");
    while(1)
    {
        self waittill("death");
        wait 0.5;
        self Respawn();
    }
}



Code:
Respawn()
{
   self thread maps\mp\gametypes\_globallogic_spawn::spawnPlayer();
}

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help auto command Dynasty 6 4,359 08-26-2013, 16:05
Last Post: hillbilly
Exclamation [Request] Random Weapon At Spawn Scripts18 3 4,738 07-27-2013, 23:53
Last Post: DidUknowiPwn
  Help Spawn Message Playing on Respawn? Killjoy 7 5,232 07-11-2013, 14:53
Last Post: Killjoy
  [Release] Spawn Polygons and Pyramids Yamato 6 4,613 06-20-2013, 12:30
Last Post: Yamato
  Question on how to "Spawn" a flying rocket as a player? akillj 8 5,543 06-04-2013, 01:54
Last Post: rotceh_dnih
  Help pickup mod + spawn fx m4gicaL 1 2,669 03-07-2013, 17:52
Last Post: tadej
  !come command Dr3am95 12 7,862 02-12-2013, 12:08
Last Post: SgtLegend
  Help No more free spawn influencers! JustDoingThisShit 0 5,087 02-03-2013, 20:21
Last Post: JustDoingThisShit
  whats the command to get string length pedjas 4 3,096 01-20-2013, 18:30
Last Post: pedjas
  W@W: Making player spawn with a custom default class. koil 9 5,453 01-13-2013, 12:10
Last Post: koil

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.