No Spawn
How can i prevent a player frome spawning on a new rund .
whitout killing them so fast that they dont know what happen? |
Re: No Spawn
Are you referring to preventing players from spawning after the round starts?
Otherwise...if you want to "slow down" a user kill...just print some text on the client's screen, and then set_task() for a few seconds to kill him. Maybe even stop his movement before you kill him. Hopefully that's what you're looking for. Kind of a weird question, so bare with me. |
Re: No Spawn
k thx but is thare enyway you can prevent some players frome spawning at all.
i dont want some players to spawn at round starts. |
Re: No Spawn
You can do it with HamSandwich.... :S
Code:
/*Description: Respawn function for players/bots only! Do not use this on non player/bot entities!*/ |
Re: No Spawn
I believe you can simply change the pev_deadflag from DEAD_RESPAWNING to DEAD_NONE - I don't remember the constants off the top of my head, but I remember it dictating whether or not the client was ready to respawn.
EDIT: Found the const. It's change DEAD_RESPAWNABLE to DEAD_DEAD |
Re: No Spawn
k thx gonna try that
|
Re: No Spawn
I try to do some like this in CS.
Using set_pev(id, pev_deadflag, DEAD_DEAD) in spawn function (on ResetHUD event). It's work. But have two problem: 1. Player model. It's stay visible and partial in ground. 2. On next round start, player have not any weapon (and knife too). Where is my mistake? Or all right? PS: Sorry for my english. :oops: PPS: I'm find answer on my question #1. Just block "ClCorpse" message. |
| All times are GMT -4. The time now is 16:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.