Crashdetecter detects a error on PlayerDeath
#4

Quote:
Originally Posted by justinnater
Посмотреть сообщение
Change it to
if(PlayerTemp[killerid][isevent] && IsPlayerConnected(killerid))

If the person dies by another reason than another person, the killerid will return a non valid value like that.
you're checking if player is connected after checking if he is in event, so there won't be any effect at all.
right code would be:
PHP код:
if(IsPlayerConnected(killerid) && PlayerTemp[killerid][isevent]) 
Reply


Messages In This Thread
Crashdetecter detects a error on PlayerDeath - by ThatFag - 10.01.2017, 18:01
Re: Crashdetecter detects a error on PlayerDeath - by jlalt - 10.01.2017, 18:06
Re: Crashdetecter detects a error on PlayerDeath - by justinnater - 10.01.2017, 18:06
Re: Crashdetecter detects a error on PlayerDeath - by jlalt - 10.01.2017, 18:08
Re: Crashdetecter detects a error on PlayerDeath - by ThatFag - 10.01.2017, 21:17

Forum Jump:


Users browsing this thread: 2 Guest(s)