Raised This Month: $ Target: $400
 0% 

Removing entity on player disconnect.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KiLLeR.
Senior Member
Join Date: Jul 2014
Location: Bulgaria
Old 12-13-2014 , 12:21   Re: Removing entity on player disconnect.
Reply With Quote #1

The error is:
Code:
L 12/13/2014 - 18:59:18: [ENGINE] Invalid entity 112
L 12/13/2014 - 18:59:18: [AMXX] Displaying debug trace (plugin "toxic_bomb.amxx")
L 12/13/2014 - 18:59:18: [AMXX] Run time error 10: native error (native "entity_get_int")
L 12/13/2014 - 18:59:18: [AMXX]    [0] toxic_bomb.sma::toxic_think (line 154)
I get this error when player is killed from thinking entity.

Last edited by KiLLeR.; 12-13-2014 at 12:21.
KiLLeR. is offline
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 12-13-2014 , 15:37   Re: Removing entity on player disconnect.
Reply With Quote #2

Quote:
Originally Posted by KiLLeR. View Post
The error is:
Code:
L 12/13/2014 - 18:59:18: [ENGINE] Invalid entity 112
L 12/13/2014 - 18:59:18: [AMXX] Displaying debug trace (plugin "toxic_bomb.amxx")
L 12/13/2014 - 18:59:18: [AMXX] Run time error 10: native error (native "entity_get_int")
L 12/13/2014 - 18:59:18: [AMXX]    [0] toxic_bomb.sma::toxic_think (line 154)
I get this error when player is killed from thinking entity.
PHP Code:
if ( !is_user_alive(id) ) return PLUGIN_HANDLED

Last edited by Kellan123; 12-13-2014 at 15:38.
Kellan123 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 15:18.


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