Freyr Posted January 5, 2004 Share Posted January 5, 2004 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 More sharing options...
divoid Posted January 6, 2004 Share Posted January 6, 2004 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 More sharing options...
Freyr Posted January 7, 2004 Author Share Posted January 7, 2004 Thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.