Jump to content

Home

Delayed Respawn


Freyr

Recommended Posts

I'm getting into coding a little and I hope someone could answer my question:

 

How do you keep a person from respawning for a set amount of time? My guess would be that you have to change the delay variable in the respawn function. :)

Link to comment
Share on other sites

g_combat.c

 

find the instances where "client->respawnTime" is set. like on approx line 2726 where it says "self->client->respawnTime = level.time + 1700;" 1700 is your delay in ms, 1.7 seconds. there are a few differant places where respawnTime is set for differant conditions, just search for them, fairly simple

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...