View Single Post
VEN
Veteran Member
Join Date: Jan 2005
Old 05-12-2006 , 12:24  
Reply With Quote #15

Update.

Code:
fm_find_ent_by_model(index, const class[], const model[]) fm_find_ent_in_sphere(index, const Float:origin[3], Float:radius) fm_find_ent_by_edict(index, value, type = pev_owner) fm_get_user_weapon_entity(index, weapon = 0) fm_kill_entity(index) bool:fm_strip_user_gun(index, wid = 0, const wname[] = "")

fm_strip_user_gun is a port of my strip_user_gun function (slightly modified) which uses some other fm_* functions from the list above.
You can test this and other functions using fakemeta_util_test.sma plugin which can be found at the first post of this thread.

Also i've added a fm_is_in_viewcone note and made insignificant change in this function.


Now replies.

v3x: Yes, fm_find_ent_by_* functions works not exactly but in very similar way as in engine module. And thanks for the contributions, will add that in next edition.

Greenberet: :)

Cheap_Suit: thanks!

organizedKaoS: Not only. Currently we have 2 HLSDK functions, 4 my custom functions and 4 engine-like functions.
VEN is offline