Quote:
Originally Posted by fysiks
If this is the fix, you should explain what you actually did so people can understand without having to intimately inspect the code that you posted and assume that what you posted is the fix. The Scripting Help forum is for learning after all.
Checking if the attacker is alive is not the proper solution to this problem. Whether or not a player is dead or alive is not a cause of an index out-of-bounds error. Also, the attacker might not be alive but the action should likely still happen. I believe that the proper solution is to check if the attacker is an actual player i.e. 0 < attacker < maxplayers
|
Actually posting code > bitching about posts in the wrong forum, non-descriptive titles, et.c.
This is a forum. It's somewhat of a dialogue. If the user responds with "I don't understand, can you explain" I would. The change is so small that comparing it is so easy there's no point of explaining. The thread author also doesn't seem to have any knowledge of coding and also no interest in changing that.
__________________