Raised This Month: $ Target: $400
 0% 

[FAKEMETA] Invalid entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Neko3in1
Member
Join Date: Dec 2013
Location: Indonesia
Old 01-16-2014 , 07:38   [FAKEMETA] Invalid entity
Reply With Quote #1

L 01/16/2014 - 19:221: [FAKEMETA] Invalid entity
L 01/16/2014 - 19:221: [AMXX] Displaying debug trace (plugin "xxx.amxx")
L 01/16/2014 - 19:221: [AMXX] Run time error 10: native error (native "get_pdata_int")
L 01/16/2014 - 19:221: [AMXX] [0] xxx.sma::fw_PlayerPostThink (line 180)

PHP Code:
    new ent get_pdata_cbase(id373)
    if(
get_pdata_int(ent434) == CSW_XX && have_XX[id])
    {
        if(
mode1)
        
set_pev(id,pev_maxspeed,get_pcvar_float(XXX_uspeed1))
        
        if(
mode2)
        
set_pev(id,pev_maxspeed,get_pcvar_float(XXX_uspeed2))
        
        if(
mode3)
        
set_pev(id,pev_maxspeed,get_pcvar_float(XXX_uspeed3))
    } 
anyone can help me ??
Neko3in1 is offline
Old 01-16-2014, 07:45
DavidJr
This message has been deleted by DavidJr. Reason: Wrong thread
Neko3in1
Member
Join Date: Dec 2013
Location: Indonesia
Old 01-16-2014 , 07:59   Re: [FAKEMETA] Invalid entity
Reply With Quote #3

Quote:
Originally Posted by DavidJr View Post
PHP Code:
get_pdata_cbase(id373


PHP Code:
get_pdata_cbase(id3735
ahh thanks for help.. keep getting error

PHP Code:

L 01
/16/2014 19:50:46: [FAKEMETAInvalid entity
L 01
/16/2014 19:50:46: [AMXXDisplaying debug trace (plugin "xxx.amxx")
L 01/16/2014 19:50:46: [AMXXRun time error 10native error (native "get_pdata_int")
L 01/16/2014 19:50:46: [AMXX]    [0xx.sma::fw_PlayerPostThink (line 183
PHP Code:
public fw_PlayerPostThink(id)
{
    new 
mode1 hit[id] < get_pcvar_num(xx_cng)
    new 
mode2 hit[id] >= get_pcvar_numxx_cng)
    new 
mode3 change[id] && changefor[id]
    
    new 
ent get_pdata_cbase(id3735)
    if(
get_pdata_int(ent434) == CSW_XX && have_XX[id])
    {
        if(
mode1)
        
set_pev(id,pev_maxspeed,get_pcvar_float(xx_uspeed1))
        
        if(
mode2)
        
set_pev(id,pev_maxspeed,get_pcvar_float(xx_uspeed2))
        
        if(
mode3)
        
set_pev(id,pev_maxspeed,get_pcvar_float(xx_uspeed3))
    }    

Neko3in1 is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 01-16-2014 , 08:13   Re: [FAKEMETA] Invalid entity
Reply With Quote #4

check pev_valid 2 for ent
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Neko3in1
Member
Join Date: Dec 2013
Location: Indonesia
Old 01-16-2014 , 08:17   Re: [FAKEMETA] Invalid entity
Reply With Quote #5

Quote:
Originally Posted by Bos93 View Post
check pev_valid 2 for ent
Arigatou!!!! Solved
Neko3in1 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 10:12.


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