Posts: 2,286
Threads: 18
Joined: Jun 2010
Quote:
Originally Posted by MP2
Right, but if you shoot someone, then ten minutes they suicide, it's going to say that the person who shot them killed them. What if they leave the server? That'll cause the script to fail to execute if used in an array.
It should still detect killerid with the custom health system. Not sure.
|
Well, I only showed you a part of the script, the critical one. There's also "OnPlayerTakeDamage" in my script, which makes the variables KillerID[playerid] and WeapID[playerid] invalid values like INVALID_PLAYER_ID and 500. But in the test, I commented it out, so I thought it's not the problem and left it like that.