Thread
:
Looking for coder for perkmod.
View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
11-28-2020 , 13:01 Re: Looking for coder for perkmod.
#
7
Is easier sharing the .sp because your log differs from the lines from the main post, unless you downloaded from another post/page
Btw "Client index 0 is invalid" is really easy to fix just by adding a "if (client > 0)" in most of the cases
In your case seems that it throws when the damage came from the worldspawn entity for example (fall damage)
And for "Entity 18 (1 is invalid" is like the same, just add an "if (IsValidEntity(entity))" before.
Everytime you mess with timers you must check if the client is valid, cause it can be disconnect/destroyed during the delay.
__________________
My Plugins
Last edited by Marttt; 11-28-2020 at
13:03
.
Marttt
View Public Profile
Send a private message to Marttt
Visit Marttt's homepage!
Find More Posts by Marttt