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

Solved question about ham_spawn


Post New Thread Reply   
 
Thread Tools Display Modes
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-25-2021 , 10:56   Re: question about ham_spawn
Reply With Quote #11

When Ham_Spawned and Ham_Killed are used in same script user may join with the Ham_Killed function applied. Task eliminated it. E.g. death cam.

Ham_Spawn Description.
Spoiler

Quote:
Originally Posted by lexzor View Post
Are there better options to detect player spawn without any glitches ??
Reset_hud is the wrong way. Since you are using CS have you tried Ham_CS_RoundRespawn? What did you do to resolve this please?
__________________
DJEarthQuake is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-28-2021 , 19:24   Re: question about ham_spawn
Reply With Quote #12

The only caveat that I know of for using Ham_Spawn for the "player" entity is that you need to check if the user is alive before doing anything because it's called once when you join and you are not alive yet.

@DJEarthQuake, that doesn't necessitate delaying the code.
__________________
fysiks is offline
lexzor
Veteran Member
Join Date: Nov 2020
Old 07-28-2021 , 19:34   Re: question about ham_spawn
Reply With Quote #13

Quote:
Originally Posted by DJEarthQuake View Post
What did you do to resolve this please?
Nothing, plugin still use ham_spawn and now it s working properly, i don t know where the problem was because i just made the plugin again.
lexzor is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 07-29-2021 , 12:11   Re: question about ham_spawn
Reply With Quote #14

@fysiks it's more of a deathmatch problem. Mods that are round based seldomly see it. Thanks for chiming in though. Appreciate your insight.
__________________
DJEarthQuake 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 11:38.


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