native is_valid_ent(iIndex);
iIndex | Entity index |
Returns if an entity index is valid (as required by other engine natives).
Engine considers an entity index valid if it is in the range between 1 and the maximum number of entities possible. The index also has to point to an existing entity or, if it is a client index, the client has to be connected.
1 if entity is valid, 0 otherwise
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.