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

I Need Fix bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mr_A
Junior Member
Join Date: Nov 2017
Old 10-13-2018 , 06:27   I Need Fix bug
Reply With Quote #1

I Have Bug in Plugin level system Plase
Error Code
Quote:
L 10/13/2018 - 13:22:42: [CSTRIKE] Invalid player 12
L 10/13/2018 - 13:22:42: [AMXX] Displaying debug trace (plugin "Level_System.amxx", version "1.3")
L 10/13/2018 - 13:22:42: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 10/13/2018 - 13:22:42: [AMXX] [0] Level_System.sma::level_status (line 299)


include:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <nvault>
#include <fun>
#include <cstrike>
#include <fakemeta_util> 


Code plugin
PHP Code:
    else 
    
    if(
is_user_alive(Spec)) // When Spectating Someone.
    
{
        
    if(
cs_get_user_team(id) == CS_TEAM_CT)
    {        
    
set_hudmessage(2001500, -1.00.7906.01.1)
    
ShowSyncHudMsg(idg_MsgSync"[DcS] Spectating: %s^n[ Level : %d ] - [ Exp %d/%d ]",PlayerName,g_level[Spec],level_exp[Spec],g_level_exp[Spec])
    }
    
    if(
cs_get_user_team(id) == CS_TEAM_T)
    {        
    
set_hudmessage(2001500, -1.00.7906.01.1)
    
ShowSyncHudMsg(idg_MsgSync"[DcS] Spectating: %s^n[ Level : %d ] - [ Exp %d/%d ]",PlayerName,g_level[Spec],level_exp[Spec],g_level_exp[Spec])
    }
    
    }


Last edited by Mr_A; 10-13-2018 at 06:29.
Mr_A 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 15:09.


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