Raised This Month: $ Target: $400
 0% 

what is wrong with my code ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mankled
Senior Member
Join Date: Oct 2019
Old 09-26-2020 , 00:12   Re: what is wrong with my code ?
Reply With Quote #5

I enabled debug mode and I found the problem, but i dont know how to solve it:

I use ZPA mode and im getting the error on line 2518:

PHP Code:
if (g_nemesis[victim] || g_assassin[victim] || (g_assassin[attacker] && get_pcvar_num(cvar_nemfraggore))) 
Error:
PHP Code:
L 09/25/2020 14:10:34: [AMXX]    [0zombie_plague_advance_v1-6-1.sma::fw_PlayerKilled (line 2518)
L 09/25/2020 14:10:34: [AMXXDisplaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx")
L 09/25/2020 14:10:34: [AMXXRun time error 4index out of bounds 
Here is the .sma
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague_advance_v1-6-1.sma - 87 views - 418.1 KB)
Mankled 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 13:46.


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