View Single Post
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 07-17-2021 , 09:04   Re: [MVP] MVP Of the Round + Custom SoundTracks (reAPI Support)
Reply With Quote #53

Quote:
Originally Posted by lexzor View Post
Code:
L 07/16/2021 - 19:08:22: [AMXX] Displaying debug trace (plugin "most_valuable_player.amxx", version "2.0")
L 07/16/2021 - 19:08:22: [AMXX] Run time error 10: native error (native "ArrayGetArray")
L 07/16/2021 - 19:08:22: [AMXX]    [0] most_valuable_player.sma::PlayTrack (line 985)
L 07/16/2021 - 19:08:22: [AMXX]    [1] most_valuable_player.sma::CalculateTopKiller (line 855)
L 07/16/2021 - 19:08:22: [AMXX]    [2] most_valuable_player.sma::task_check_scenario (line 775)
Can't figure out too much from this error, but I made a small change to code, to check if arraysize - 1 is smaller than UserSelectedTrack.

Show one more line from above which provides the error.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline