Raised This Month: $ Target: $400
 0% 

Solved [AMXX] Run time error 10: native error (native "engfunc")


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AMATERASU78
New Member
Join Date: Jul 2021
Old 08-19-2021 , 00:07   Re: [AMXX] Run time error 10: native error (native "engfunc")
Reply With Quote #2

Quote:
Originally Posted by AMATERASU78 View Post
Dear, Alliedmodders im getting one runtime error ten in a plugin.. I hope if you can help me to solve it

Error:

PHP Code:
L 08/19/2021 00:49:19: [AMXXDisplaying debug trace (plugin "dripper.amxx"version "1.0")
L 08/19/2021 00:49:19: [AMXXRun time error 10native error (native "engfunc")
L 08/19/2021 00:49:19: [AMXX]    [0dripper_fix.sma::fm_addtofullpack_post (line 362)
L 08/19/2021 00:49:19: [FAKEMETAInvalid entity 
Code:
PHP Code:
public fm_addtofullpack_post(eseuserhosthost_flagsplayerp_set)
{
    if(!
player)
        return 
FMRES_IGNORED
        
    
if(!is_user_connected(host) || !is_user_alive(user))
        return 
FMRES_IGNORED
        
    
if(!zp_get_user_zombie(user) || !zp_get_user_nemesis(user) || headshot_korban[user] != 1)
        return 
FMRES_IGNORED
        
    
if(host == user)
        return 
FMRES_IGNORED
    
    
new Float:PlayerOrigin[3], Float:anglesss[3]
    
pev(userpev_originPlayerOrigin)
    
    
engfunc(EngFunc_GetBonePositionuser8PlayerOriginanglesss)
                        
    
engfunc(EngFunc_SetOriginguillotine_korban[user], PlayerOrigin)
    
engfunc(EngFunc_SetOriginguillotine_korban[user], PlayerOrigin)

    return 
FMRES_HANDLED

Nvm, I guess i have found it..

Last edited by AMATERASU78; 08-19-2021 at 00:09.
AMATERASU78 is offline
 



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 02:32.


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