Quote:
Originally Posted by 11530
Assuming it is what I think it is, this is why I dislike IsValidClient stocks...
e.g. Their IsValidClient requires that attacker and victim be <= MaxClients so that hurts[victim] or vampiro[attacker] doesn't error later.
|
I would rather prefer that it be a native function instead, since it's so commonly used.
That, or at least allow try/catch statements in sourcepawn (which Voided said on a thread of mine that it's pending to come in a future sourcepawn version).
Invalid client exceptions are one of the biggest pains in the ass with sourcemod that are annoying to circumvent.