Raised This Month: $ Target: $400
 0% 

Problem with Entity Think


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-11-2013 , 14:44   Re: Problem with Entity Think
Reply With Quote #1

PHP Code:
#include <engine>

public plugin_init()
{
    
register_think("XBOW""OnXbowThink");
}

public 
OnXbowThink(ent)
{
    
// Should be called fine.

__________________
hleV is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-11-2013 , 14:52   Re: Problem with Entity Think
Reply With Quote #2

Try to add flag FL_KILLME instead of hooking Think function.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
darktemplar
Member
Join Date: Sep 2009
Old 05-11-2013 , 14:56   Re: Problem with Entity Think
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
Try to add flag FL_KILLME instead of hooking Think function.
I want to do something in Think forward ;) . Not only remove the entity
darktemplar 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 16:16.


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