Raised This Month: $ Target: $400
 0% 

BIG umbrella swarm error.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kaspet
Member
Join Date: Jan 2009
Old 05-15-2010 , 05:15   BIG umbrella swarm error.
Reply With Quote #1

Code:
L 05/15/2010 - 11:57:36: [AMXX] Displaying debug trace (plugin "umbrella_swarms.amxx")
L 05/15/2010 - 11:57:36: [AMXX] Run time error 10: native error (native "cs_get_user_submodel")
L 05/15/2010 - 11:57:36: [AMXX]    [0] umbrella_swarms.sma::Task_Strip (line 2946)
L 05/15/2010 - 11:57:36: [CSTRIKE] Invalid player 14
L 05/15/2010 - 11:57:36: [AMXX] Displaying debug trace (plugin "umbrella_swarms.amxx")
L 05/15/2010 - 11:57:36: [AMXX] Run time error 10: native error (native "cs_get_user_submodel")
L 05/15/2010 - 11:57:36: [AMXX]    [0] umbrella_swarms.sma::Task_Strip (line 2946)
L 05/15/2010 - 11:57:36: [CSTRIKE] Invalid player 15
L 05/15/2010 - 11:57:36: [AMXX] Displaying debug trace (plugin "umbrella_swarms.amxx")
L 05/15/2010 - 11:57:36: [AMXX] Run time error 10: native error (native "cs_get_user_submodel")
L 05/15/2010 - 11:57:36: [AMXX]    [0] umbrella_swarms.sma::Task_Strip (line 2946)
L 05/15/2010 - 11:57:36: [CSTRIKE] Invalid player 17
L 05/15/2010 - 11:57:36: [AMXX] Displaying debug trace (plugin "umbrella_swarms.amxx")
L 05/15/2010 - 11:57:36: [AMXX] Run time error 10: native error (native "cs_get_user_submodel")
L 05/15/2010 - 11:57:36: [AMXX]    [0] umbrella_swarms.sma::Task_Strip (line 2946)
L 05/15/2010 - 11:57:36: [CSTRIKE] Invalid player 18
L 05/15/2010 - 11:57:36: [AMXX] Displaying debug trace (plugin "umbrella_swarms.amxx")
L 05/15/2010 - 11:57:36: [AMXX] Run time error 10: native error (native "cs_get_user_submodel")
L 05/15/2010 - 11:57:36: [AMXX]    [0] umbrella_swarms.sma::Task_Strip (line 2946)
In sma file:

Code:
public Task_Strip(task) 
{
	new id = task - TASKID_STRIP
	if (cs_get_user_submodel(id)) - this is the 2946 line.
		cs_set_user_submodel(id, 0)
	fm_strip_user_weapons(id)

   	if (g_zombie[id] && InfectedClass[id] == 0)
    	{
And this error kick 50% player in server with overflowed error.
Whats wrong with this code?

and a litlle one error:
Code:
L 05/15/2010 - 12:36:27: [CSTRIKE] Invalid player 14
L 05/15/2010 - 12:36:27: [AMXX] Displaying debug trace (plugin "umbrella_swarms.amxx")
L 05/15/2010 - 12:36:27: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 05/15/2010 - 12:36:27: [AMXX]    [0] umbrella_swarms.sma::count (line 1672)
Code:
if(get_pcvar_num(cvar_zmrespawn))
	{
    		static id, CsTeams:team
    		id = tid-TID_RESP
    		team = cs_get_user_team(id)
    		if(!is_user_connected(id) || is_user_alive(id) || (team != CS_TEAM_T))
        		return

Last edited by kaspet; 05-15-2010 at 05:45.
kaspet is offline
 


Thread Tools
Display Modes

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


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