Raised This Month: $51 Target: $400
 12% 

Run time error 10: native error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
eNNkds
Member
Join Date: Sep 2012
Location: Romania
Old 12-20-2021 , 08:32   Run time error 10: native error
Reply With Quote #1

Hi. After i change the game base form 1.8.2 to 8.3 without recompiled the plugin
i get this error from plugin

Code:
L 12/20/2021 - 13:15:53: [AMXX] Displaying debug trace (plugin "biohazard.amxx", version "2.00 Beta 3")
L 12/20/2021 - 13:15:53: [AMXX] Run time error 10: native error (native "is_user_vip")
L 12/20/2021 - 13:15:53: [AMXX]    [0] biohazard.sma::client_putinserver (line 615)
native that have in plugin: is_user_vip(id);

error is from client putinserver.

PHP Code:
public client_putinserver(id)
{
    if(!
g_botclient_pdata && g_czero
    {
        static 
param[1]
        
param[0] = id
        
        
if(!task_exists(TASKID_CZBOTPDATA))
            
set_task(1.0"task_botclient_pdata"TASKID_CZBOTPDATAparam1)
    }
    
    if(
get_pcvar_num(cvar_randomclass) && g_classcount 1)
    {
        
g_player_class[id] = _random(g_classcount)
        if((!
is_user_vip(id) && g_class_data[g_player_class[id]][DATA_ONLYVIP] > 0.0) || (!is_user_admin(id) && g_class_data[g_player_class[id]][DATA_ONLYADMIN] > 0.0))
            
g_player_class[id] = 0;
    }


Last edited by eNNkds; 12-20-2021 at 09:53. Reason: i get fixed myselft thank you
eNNkds is offline
Send a message via Skype™ to eNNkds
 



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 07:39.


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