Raised This Month: $51 Target: $400
 12% 

Problem with spawning at round start...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blue2kx
Member
Join Date: Mar 2009
Old 03-16-2009 , 21:47   Problem with spawning at round start...
Reply With Quote #1

I've got a problem when people respawn at round start. What happens is that some people "die" or they spawn with 0 hp. Their screen (as I've seen and experienced) goes sideways on the ground. They appear alive in the TAB screen but in actuality, they're dead. Either that happens or they are also buried or stuck. I know there's the unstuck command for this situation in the menu but I was wondering what the cause of these in the first place and/or if anybody has had any similar problems and how they fixed it...

Thanks for any advice ! :O
blue2kx is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 03-17-2009 , 02:57   Re: Problem with spawning at round start...
Reply With Quote #2

Quote:
Originally Posted by blue2kx View Post
or they spawn with 0 hp.
Dieing will cause anything, but that will do it. Also it has nothing to do with spawning. Basically if your plugin does this:
Code:
pev(index, pev_health, <int like 100>)
It should turn the player's view almost upside down and set his health to 0. This will happen almost with any kind of thing, like armor, owner etc.
Health is a float and when it gets an int, it gets messed up.
This will instead work, cause the native changes it first float.
Code:
set_user_health(index, 0)
SnoW is offline
Send a message via MSN to SnoW
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 03-17-2009 , 14:50   Re: Problem with spawning at round start...
Reply With Quote #3

Yeah, some of your sub-plugins might be doing that.
__________________
MeRcyLeZZ is offline
blue2kx
Member
Join Date: Mar 2009
Old 03-17-2009 , 15:18   Re: Problem with spawning at round start...
Reply With Quote #4

I figure it might be the regeneration plugin I put in, I'll retest it. Thanks!
blue2kx 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 07:57.


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