Raised This Month: $ Target: $400
 0% 

[SOLVED] cs_find_ent_by_owner broken?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 06-01-2018 , 08:22   Re: [SOLVED] cs_find_ent_by_owner broken?
Reply With Quote #4

Quote:
Originally Posted by HamletEagle View Post
Do you get any logs saying the native is disabled?
@Natsheh is in post

No, thanks for repply i forgot to read small note on this function:

Code:
Note
Unlike other mods CS keeps track of entities using a custom hashtable.
This function utilizes the hasthable and allows for considerably faster
classname lookup compared to the default FindEntityByString (used by
find_ent_by_owner() for example).
Note
This exclusively considers entities in the hashtable, created by the
game itself, using cs_create_entity(), or added via cs_set_ent_class()
IT is for entity created by these functions, it shoud be fine my mistake here

Im using now find_ent_by_owner of engine.inc

Ps. Have other way to find it than engine or fakemeta utils?


Thanks again
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
 



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 04:37.


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