Raised This Month: $ Target: $400
 0% 

Invalid entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 02-01-2016 , 02:01   Invalid entity
Reply With Quote #1

Hi everybody, well I use the sandbags of larp but I have problems with removing the entity, the problem is that the entity never takes off in new round and I get this error:

L 01/31/2016 - 20:01:26: [ENGINE] Invalid entity 275
L 01/31/2016 - 20:01:26: [AMXX] Displaying debug trace (plugin "zp_extra_sandbags.amxx", version "1.1")
L 01/31/2016 - 20:01:26: [AMXX] Run time error 10: native error (native "find_ent_by_class")
L 01/31/2016 - 20:01:26: [AMXX] [0] zp_extra_sandbags.sma::event_newround (line 445)

PHP Code:
public event_newround() 

    new 
pallets = -1
    
while((pallets find_ent_by_class(pallets"amxx_pallets")) > 0//this is the error line
    
{
        
remove_entity(pallets); 
    } 

I use amx version 1.8.3-dev-git4990, can someone help me pls..

Last edited by wicho; 02-01-2016 at 02:02.
wicho is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-01-2016 , 03:03   Re: Invalid entity
Reply With Quote #2

Sorry about that, it's a side-effect of a fix for something else. We need to remove such checks in some natives. Meanwhile, I can suggest you to use the fakemeta version.
__________________
Arkshine 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 09:31.


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