Raised This Month: $ Target: $400
 0% 

Run time error 10: native error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Evaldas
Member
Join Date: Jul 2005
Location: Lithuania
Old 04-01-2006 , 18:15   Run time error 10: native error
Reply With Quote #1

It's an old plugin, but it's converted and some thing like that. It works, but generates this log. Log is huge and up to 5Mb, so I would like to ask, where is the ploblem?

Code:
L 04/01/2006 - 10:39:44: [AMXX]    [0] snipers.sma::check_movement (line 86)
L 04/01/2006 - 10:39:44: [ENGINE] Invalid player 1 (not in-game)
L 04/01/2006 - 10:39:44: [AMXX] Displaying debug trace (plugin "snipers.amxx")
L 04/01/2006 - 10:39:44: [AMXX] Run time error 10: native error (native "entity_get_int")
Here is the part from line 79 to 96:

Code:
public check_movement(playerid[])     { /* tikriname žaidėjų judėjimą */     new id = playerid[0]     /* new Float:vector[3]     entity_get_vector(id, EV_VEC_velocity, vector)     FVecIVec(vector, velocityI) */         new flags = entity_get_int(id, EV_INT_flags)         if (!(flags & FL_ONGROUND))         { /* jei ore, nuimame skopą */         client_cmd(id,"lastinv;lastinv")         unscope_func(id)         return PLUGIN_HANDLED     }         return PLUGIN_HANDLED }
__________________
Evaldas 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 16:39.


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