When player die
#9

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
When a run time error occurs, the code after will not be executed. That happens because you do not check if the killerid is valid player (when a player dies by explosion, falling etc killer is INVALID_PLAYER_ID which is 65535) before using it in arrays and causes Run time error 4: "Array index out of bounds".

I'm talking about those two:
pawn Код:
WarTim[killerid]
WantedLevel[killerid]
Konstantinos, you always help me! Thank you , i fix that mistake, i will write new post if bug happen more.
Reply


Messages In This Thread
When player die - by DusanInfinity - 07.05.2016, 14:07
Re: When player die - by saffierr - 07.05.2016, 14:11
Re: When player die - by DusanInfinity - 07.05.2016, 14:19
Re: When player die - by ZToPMaN - 07.05.2016, 14:24
Re: When player die - by DusanInfinity - 07.05.2016, 14:28
Re: When player die - by Dayrion - 07.05.2016, 16:00
Re: When player die - by DusanInfinity - 07.05.2016, 17:17
Re: When player die - by Konstantinos - 07.05.2016, 17:36
Re: When player die - by DusanInfinity - 07.05.2016, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)