FixVPhysicsCrush: fix plugin error

This commit is contained in:
BotoX 2019-09-29 21:11:52 +02:00
parent 3cd5e45ee9
commit c52752211c

View File

@ -93,6 +93,9 @@ public void OnEntityCreated(int entity, const char[] classname)
public MRESReturn OnAcceptInput(int entity, Handle hReturn, Handle hParams)
{
if(!IsValidEntity(entity))
return;
char sCommand[128];
DHookGetParamString(hParams, 1, sCommand, sizeof(sCommand));