View Single Post
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 - 82 views - 418.1 KB)
Mankled is offline