AMX Mod X API Documentation

Signature
stock bool:fm_is_ent_classname(index, const classname[]) { if(!pev_valid(index)) return false; new class[32]; pev(index, pev_classname, class, sizeof class - 1); if(equal(class, classname)) return true; return false;}
Notes
  • checks whether the entity's classname is equal to the passed classname
Назад
Верх