forked from UNLOZE/sm-plugins
fix errors
ExtraCommands: add sm_setmvp
This commit is contained in:
@@ -129,6 +129,10 @@ public void OnEntityCreated(int entity, const char[] classname)
|
||||
|
||||
public void OnEntityDestroyed(int entity)
|
||||
{
|
||||
// wtf sourcemod?
|
||||
if(entity == -1)
|
||||
return;
|
||||
|
||||
RemoveWeapon(EntIndexToEntRef(EntRefToEntIndex(entity)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user