Attempt to get rock throwing to work

This commit is contained in:
Jackz 2022-07-21 22:52:36 -05:00
parent 08874d5266
commit b6ccd98725
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
7 changed files with 105 additions and 3 deletions

View file

@ -138,7 +138,8 @@ public Action Timer_KickBot(Handle timer, int client) {
}
public Action Timer_Delete(Handle h, int id) {
AcceptEntityInput(id, "Kill");
if(IsValidEntity(id))
AcceptEntityInput(id, "Kill");
return Plugin_Handled;
}