mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Updated explanation of find_entity saying "will return 0 if nothing is found"
This commit is contained in:
parent
da149e4580
commit
0b129c3a9f
@ -92,7 +92,7 @@ native entity_set_byte(iIndex, iKey, iVal);
|
|||||||
/* Creates an entity, will return the index of the created entity. ClassName must be valid. */
|
/* Creates an entity, will return the index of the created entity. ClassName must be valid. */
|
||||||
native create_entity(szClassname[]);
|
native create_entity(szClassname[]);
|
||||||
|
|
||||||
/* Finds an entity in the world, will return -1 if nothing is found */
|
/* Finds an entity in the world, will return 0 if nothing is found */
|
||||||
native find_entity(iIndex, szClass[]);
|
native find_entity(iIndex, szClass[]);
|
||||||
native find_ent_by_owner(iIndex, szClass[], iOwner);
|
native find_ent_by_owner(iIndex, szClass[], iOwner);
|
||||||
native find_ent_by_target(iIndex, szClass[]);
|
native find_ent_by_target(iIndex, szClass[]);
|
||||||
|
Loading…
Reference in New Issue
Block a user