[clarified] entities with owner delete themselves ?
I get errors on disconnects that find_ent_by_owner() user's does not exist (doh, he just quit...) ... but, I want to know if entities that have owners delete themselves when the owner is gone ? if they don't I would make an alternative to find_ent_by_owner() to delete them...
|
Re: entities with owner delete themselves ?
Quote:
|
Re: entities with owner delete themselves ?
that sux, because upon disconnect I can't delete them easily using find_ent_by_owner(), I need to do a loop... anyway, It's possible so w/e
|
Re: entities with owner delete themselves ?
use pev_valid( owner )
|
Re: entities with owner delete themselves ?
Quote:
You could save ents in an dynamic array, i mean a 33 array, in each cell a dynamic array that holds owner ents, then you can retrieve them easily on disconnect. There should be a better way, but that was just a coming idea :) |
Re: entities with owner delete themselves ?
:oops:
|
Re: entities with owner delete themselves ?
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 01:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.