97 |
// type = 10: "noise3" |
// type = 10: "noise3" |
98 |
// type = 11: "viewmodel" |
// type = 11: "viewmodel" |
99 |
// type = 12: "weaponmodel" |
// type = 12: "weaponmodel" |
100 |
stock find_entity(ent, szValue[], type=0) |
|
101 |
|
stock vexd_find_entity(ent, szValue[], type=0) |
102 |
{ |
{ |
103 |
static _g_FindEntTypes[13][] = |
static _g_FindEntTypes[13][] = |
104 |
{ |
{ |
125 |
return engfunc(EngFunc_FindEntityByString, ent, _g_FindEntTypes[type], szValue); |
return engfunc(EngFunc_FindEntityByString, ent, _g_FindEntTypes[type], szValue); |
126 |
} |
} |
127 |
|
|
128 |
|
#define find_entity vexd_find_entity |
129 |
|
|
130 |
//From AMX Mod: |
//From AMX Mod: |
131 |
// Find an entity within a given origin and radius |
// Find an entity within a given origin and radius |
132 |
stock find_entity_sphere(ent, Float:Orig[3], Float:Rad) |
stock find_entity_sphere(ent, Float:Orig[3], Float:Rad) |