public static float GetEdictFieldFloat(edict_t ed, string field, float defValue = 0) { ddef_t def = CachedSearch(ed, field); if (def == null) { return(defValue); } return(ed.GetFloat(def.ofs)); }
public static float GetEdictFieldFloat(edict_t ed, string field, float defValue = 0) { ddef_t def = CachedSearch(ed, field); if (def == null) return defValue; return ed.GetFloat(def.ofs); }