Raised This Month: $ Target: $400
 0% 

cs_get_user_team error log o_O


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 06-20-2017 , 10:20   cs_get_user_team error log o_O
Reply With Quote #1

Hi Ther i have error of cs_get_user_team and i tired all ways to fix and i didnt found any thing show me its wrong code so can any one take look for the script

Error Log:
Quote:
L 06/20/2017 - 01:04:23: Start of error session.
L 06/20/2017 - 01:04:23: Info (map "cs_1337_assault") (file "addons/amxmodx/logs/error_20170620.log")
L 06/20/2017 - 01:04:23: [CSTRIKE] Invalid player 1
L 06/20/2017 - 01:04:23: [AMXX] Displaying debug trace (plugin "Umbrella_Swarm.amxx", version "6.0")
L 06/20/2017 - 01:04:23: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 06/20/2017 - 01:04:23: [AMXX] [0] Umbrella_Swarm.sma::changeTeam (line 2144)
L 06/20/2017 - 16:11:28: Start of error session.
L 06/20/2017 - 16:11:28: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20170620.log")
L 06/20/2017 - 16:11:28: [CSTRIKE] Invalid player 22
L 06/20/2017 - 16:11:28: [AMXX] Displaying debug trace (plugin "Umbrella_Swarm.amxx", version "6.0")
L 06/20/2017 - 16:11:28: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 06/20/2017 - 16:11:28: [AMXX] [0] Umbrella_Swarm.sma::cmdRespawn (line 60
L 06/20/2017 - 16:29:59: [CSTRIKE] Invalid player 3
L 06/20/2017 - 16:29:59: [AMXX] Displaying debug trace (plugin "Umbrella_Swarm.amxx", version "6.0")
L 06/20/2017 - 16:29:59: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 06/20/2017 - 16:29:59: [AMXX] [0] Umbrella_Swarm.sma::cmdRespawn (line 60
Script of Change TEAM error:
PHP Code:
public changeTeamid )
{
    switch( 
cs_get_user_teamid ) )
    {
        case 
CS_TEAM_CTcs_set_user_teamidCS_TEAM_T );
        case 
CS_TEAM_Tcs_set_user_teamidCS_TEAM_CT );
    }

    
round_count 0;

Hier the code of that line 2144
Quote:
switch( cs_get_user_team( id ) )
PHP Code:
public cmdRespawn(id)
{
    
//log_to_file(g_logfile, "cmdRespawn");
    
remove_task(id+TID_RESP);
    
    if((
get_pcvar_num(cvar_zombie_respawn) || get_pcvar_num(cvar_human_respawn)) && gRoundStarted)
    {
        static 
CsTeams:team;
        
        if(!(
<= id <= 32))
            return;
            
        
team cs_get_user_team(id);
        
        if(!
is_user_connected(id) || is_user_alive(id) || (team != CS_TEAM_T && team != CS_TEAM_CT))
            return;
        
        switch(
team)
        {
            case 
CS_TEAM_T:
            { 
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
 



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 23:04.


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