Errors in crashdetect "Array index out of bounds" HELP
#5

Exactly, but that way the specific playerid options wont work at all.

As an example, if some player dies from whatever circumstance other than being killed, it wont display the text "Has sido asesinado por". And that may be a problem in some cases.

If that's how it should work in your GM, then leave it like that.

If you have some specific function that does not require the killerid to be valid, move it on top of the line we just created:

Код:
//here would be your playerid specific function
if(killerid == INVALID_PLAYER_ID) return 1;
EDIT: The same as what the guy above said, I was prepared to tell you this but I did not refresh the page on time. But that's how it should work.
Reply


Messages In This Thread
Errors in crashdetect "Array index out of bounds" HELP - by tomasfernandez - 17.03.2017, 22:52
Re: Errors in crashdetect "Array index out of bounds" HELP - by Toroi - 17.03.2017, 23:13
Respuesta: Errors in crashdetect "Array index out of bounds" HELP - by tomasfernandez - 17.03.2017, 23:29
Re: Errors in crashdetect "Array index out of bounds" HELP - by Jelly23 - 17.03.2017, 23:30
Re: Errors in crashdetect "Array index out of bounds" HELP - by Toroi - 17.03.2017, 23:34

Forum Jump:


Users browsing this thread: 1 Guest(s)