PDA

View Full Version : OnPlayerDeath crash


Palashte
17/05/2014, 04:35 PM
... delete it

Palashte
17/05/2014, 04:47 PM
delete it ..

driftpower
17/05/2014, 04:49 PM
shouldn't you check if PlayerInfo[killerid][pMember] is a valid playerid first?

Palashte
17/05/2014, 06:12 PM
delete it

Konstantinos
17/05/2014, 06:21 PM
driftpower is right. You must check if killerid is not INVALID_PLAYER_ID before using it inside arrays otherwise it will cause run time error 4.