AMX Mod X API Documentation

Signature
native pev_valid(entindex);
Description

Checks the validity of an entity.

Parameters
  • entindex The entity id to check.
Returns

0 on invalid entity

1 on entity is valid

2 on entity is valid and it has private data (safe to use pdata natives on).

Назад
Верх