I have the following code with this error Message:
I know that I need to check weather _Player is Null, so I did:Maniaplanet wrote:Invalid access to parameter (Null object or elem not found in array) : PendingEvents[0]>.Shooter
Code: Select all
if(_Player == Null) return;
Code: Select all
if(!ScoreList.existskey(_Player)) ScoreList[_Player] = 0;
Marco
PS:
If you didn't notice the function gets called from PendingEvents