Nonsolid player model on failed spawn
How to remove player model that shows up when he didn't spawn correctly? That is, when there are less spawnpoints than needed, player spawns in one of existing ones and dies, but model shows up. I tried setting the rendering, didn't help :/
|
Re: Nonsolid player model on failed spawn
Add more spawns to avoid the problem in the first place?
If you tried to set rendering of the player I doubt it would work. The player is already dead and the entity is probably replaced with a new one. You can try hooking SetModel and see if you find anything of value. If you do just remove the entity. |
Re: Nonsolid player model on failed spawn
Well, adding more spawns wouldn't help, because I said that only for example. I have something like this: I put players in T team only if gamemode hasn't started, else I put them in Spec team, but that does some bugs like crosshair disappear or you could walk like living one etc. can't remember exactly. But the point is, when put into spec team ir SUPERCEDE ham_spawn_pre event so he won't spawn and stay in dead, but the player model shows up.
And I will look into that SetModel, but any other ideas are welcomed :) |
| All times are GMT -4. The time now is 18:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.