hello again. sorry for spaming with topics but i got a lot of free time. soo, i get this error
Code:
L 01/22/2021 - 13:08:47: [AMXX] Displaying debug trace (plugin "playermenu.amxx", version "2.0")
L 01/22/2021 - 13:08:47: [AMXX] Run time error 4: index out of bounds
L 01/22/2021 - 13:08:47: [AMXX] [0] playermenu.sma::camreset (line 677)
and this is the code
PHP Code:
public camroundstart(id){
remove_task(id + CamTask)
set_task(get_pcvar_float(CamResetTime), "camreset",id + CamTask)
camset[id] = false
}
public camreset(id){
camset[id] = true
camera[id] = false
if (is_user_alive(id)) set_view(id, CAMERA_NONE)
}
line 677
PHP Code:
set_task(get_pcvar_float(CamResetTime), "camreset",id + CamTask)
"camreset" is a function but i get "index out of bounds".