Raised This Month: $ Target: $400
 0% 

Creating an entity messes up


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VEN
Veteran Member
Join Date: Jan 2005
Old 01-03-2007 , 16:08   Re: Creating an entity messes up
Reply With Quote #1

I already said what you have to do:
Quote:
Also in keyvalue hook check for entity validity and necessary classname key.
Basically what you are doing is set every entity origin to {0, 0, 0}.
You do not want to do that for every entity so you have to check for entity classname: get_kvd(kvdid, KV_ClassName, ...)

But as i said before you better also check for entity validity, this may save the server from crash.
VEN is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 01-03-2007 , 16:55   Re: Creating an entity messes up
Reply With Quote #2

Quote:
But as i said before you better also check for entity validity, this may save the server from crash.
Hey VEN, thanks for helping so far. I do not understand what you mean to check for entity valid. How do I know if an entity is valid or not? The entity "info_tfdetect" is a entity you can use when mapping, so I guess it's valid?

Sorry that I don't understand
hlstriker 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 22:28.


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