Raised This Month: $ Target: $400
 0% 

Error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kard1nal
Senior Member
Join Date: Dec 2012
Location: Russia
Old 01-21-2013 , 08:47   Error
Reply With Quote #1

Hello.
Help me please to fix this error:
Code:
L 01/21/2013 - 17:19:05: [AMXX] Displaying debug trace (plugin "UJBM.amxx")
L 01/21/2013 - 17:19:05: [AMXX] Run time error 3: stack error 
L 01/21/2013 - 17:19:05: [AMXX] Displaying debug trace (plugin "UJBM.amxx")
L 01/21/2013 - 17:19:05: [AMXX] Run time error 5: memory access 
L 01/21/2013 - 17:19:05: [AMXX]    [0] UJBM.sma::evCurWeapon (line 525)
SZ_GetSpace: overflow on netchan->message
SZ_GetSpace: overflow on netchan->message
L 01/21/2013 - 17:19:05: FATAL ERROR (shutting down): ED_Alloc: no free edicts
FATAL ERROR (shutting down): ED_Alloc: no free edicts
Code(red line is contains an error):
Code:
register_event("CurWeapon", "evCurWeapon", "be", "1=1", "2!29")
public evCurWeapon(id) {
	if ((get_user_team(id) == 1) && (get_user_weapon(id) != CSW_KNIFE) && ((g_GameMode == 3) || (g_GameMode == 6)) && is_user_alive(id)) {
		strip_user_weapons(id)
		give_item(id, "weapon_knife")
	}
	else if ((get_user_team(id) == 2) && (get_user_weapon(id) != CSW_KNIFE) && ((g_GameMode == 5) || (g_GameMode == 8) || (g_GameMode == 9)) && is_user_alive(id)) {
		strip_user_weapons(id)
		give_item(id, "weapon_knife")
	}
}
Kard1nal is offline
Send a message via Skype™ to Kard1nal
 


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 13:34.


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