FixVPhysicsCrush: fix plugin error
This commit is contained in:
parent
25a55f6a1f
commit
5d6fc9e6e8
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user