#pragma semicolon 1#pragma newdecls required#include <sourcemod>#include <sdkhooks>#include <sdktools>public void OnEntityCreated(int entity, const char[] classname){ if (StrEqual(classname, "game_player_equip")) { SDKHook(entity, SDKHook_SpawnPost, OnGamePlayerEquipSpawn); }}public void OnGamePlayerEquipSpawn(int entity){ if (GetEntProp(entity, Prop_Data, "m_spawnflags") & 1) { return; } SetEntProp(entity, Prop_Data, "m_spawnflags", 4);}