Raised This Month: $ Target: $400
 0% 

Nonsolid player model on failed spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 09-06-2013 , 10:40   Nonsolid player model on failed spawn
Reply With Quote #1

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 :/
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 09-06-2013 , 10:57   Re: Nonsolid player model on failed spawn
Reply With Quote #2

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.
__________________
Black Rose is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 09-06-2013 , 11:30   Re: Nonsolid player model on failed spawn
Reply With Quote #3

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
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode