Raised This Month: $ Target: $400
 0% 

csdm_misc error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
d3L
BANNED
Join Date: Apr 2012
Location: Timisoara
Old 12-26-2013 , 12:22   csdm_misc error
Reply With Quote #1

Hi, I got this error:

Code:
FAKEMETA] Invalid entity
L 12/26/2013 - 18:11:10: [AMXX] Displaying debug trace (plugin "csdm_misc.amxx")
L 12/26/2013 - 18:11:10: [AMXX] Run time error 10: native error (native "pev")
L 12/26/2013 - 18:11:10: [AMXX]    [0] csdm_misc.sma::OnEntSpawn (line 90)
Can someone take a look at the sma and try to fix it ?
Thanks.
Attached Files
File Type: sma Get Plugin or Get Source (csdm_misc.sma - 771 views - 6.0 KB)
d3L is offline
Send a message via Yahoo to d3L
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 12-26-2013 , 14:00   Re: csdm_misc error
Reply With Quote #2

Hmmm.... i'm not sure... but...

PHP Code:
pev(entpev_classnameclassname31
->

PHP Code:
pev(entpev_classnamesizeof classname 1
wTf. is offline
d3L
BANNED
Join Date: Apr 2012
Location: Timisoara
Old 12-26-2013 , 14:13   Re: csdm_misc error
Reply With Quote #3

I googled a few minutes and I found this http://www.amxmodx.lt/viewtopic.php?f=21&t=3493
I modified like that guy said but nothing.. i can't compile it for different reasons/errors... you think that guy is right?
d3L is offline
Send a message via Yahoo to d3L
d3L
BANNED
Join Date: Apr 2012
Location: Timisoara
Old 12-27-2013 , 10:28   Re: csdm_misc error
Reply With Quote #4

not working...
d3L is offline
Send a message via Yahoo to d3L
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 12-27-2013 , 12:33   Re: csdm_misc error
Reply With Quote #5

Ok, you try this: http://www.amxmodx.lt/viewtopic.php?p=19893#p19893

PHP Code:
public OnEntSpawn(ent)
{
    if (
g_MapStripFlags MAPSTRIP_HOSTAGE)
    {
        new 
classname[32]
        
        
pev(entpev_classnameclassname31)
        
        if (
equal(classname"hostage_entity"))
        {
            
engfunc(EngFunc_RemoveEntityent)
            return 
FMRES_SUPERCEDE
        
}
    }
    
    return 
FMRES_IGNORED

->

PHP Code:
public OnEntSpawn(ent)
{
    if (
g_MapStripFlags MAPSTRIP_HOSTAGE && pev_valid(ent))
    {
        new 
classname[32]
        
        
pev(entpev_classnameclassname31)
        
        if (
equal(classname"hostage_entity"))
        {
            
engfunc(EngFunc_RemoveEntityent)
            return 
FMRES_SUPERCEDE
        
}
    }
    
    return 
FMRES_IGNORED

wTf. is offline
d3L
BANNED
Join Date: Apr 2012
Location: Timisoara
Old 12-27-2013 , 15:22   Re: csdm_misc error
Reply With Quote #6

thanks dude, test it right now i'll tell you soon if it works
d3L is offline
Send a message via Yahoo to d3L
Reply


Thread Tools
Display Modes

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 20:43.


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