OnplayerDeath and OnPlayerTakeDamage - Array index out of bounds
#5

Quote:
Originally Posted by drawax
Посмотреть сообщение
I read about this before I opened the thread, but where do I have to check it exactly in my code, if it's a "suicide", for example the death caused by falling, or burning etc?


@Sunehildeep
I changed it, and now I get these errors as well:

Код:
[debug]  Attempted to read/write array element at index 65535 in array of size 201
[debug] AMX backtrace:
[debug] #0 00251640 in public OnPlayerDeathACT (0, 65535, 54) from ClassRPG.amx
[debug] #1 0002c4f8 in public OnPlayerDeath (0, 65535, 54)
At the beginning of your callback, before putting your own code.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)