Raised This Month: $ Target: $400
 0% 

[INC] Fakemeta Utilities [last update: 2007/01/08]


Post New Thread Reply   
 
Thread Tools Display Modes
VEN
Veteran Member
Join Date: Jan 2005
Old 05-18-2006 , 14:39  
Reply With Quote #31

I've implemented macros + few other optimizations and minor changes, also added fm_playback_event.

Note: If you going to use FMU before 1.75 release, get hlsdk_const.inc from the CVS.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-19-2006 , 03:33  
Reply With Quote #32

I've found and reported a bug in the original get_entity_visibility function so FMU updated with the fixed fm_get_entity_visibility now. :-/
VEN is offline
diamond-optic
Veteran Member
Join Date: May 2005
Old 05-22-2006 , 21:46  
Reply With Quote #33

im getting:

Quote:
// D:\DoD Server\dod gameserver\dod\addons\amxmodx\scripting\inclu de\fakemeta_util.inc(240) : warning 201: redefinition of constant/macro (symbol "M_PI")
and i did get the hlsdk_const.inc Revision 1.4 off the cvs...
__________________
diamond-optic is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-23-2006 , 02:12  
Reply With Quote #34

Comment M_PI in the FMU to avoid this warning. However it's not necessary. Compiler just warn you that you trying to redefine M_PI constant. Since in FMU M_PI declared properly you can leave it as is.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-26-2006 , 06:32  
Reply With Quote #35

Added function
Code:
bool:fm_transfer_user_gun(index1, index2, wid = 0, const wname[] = "")
which also supports CSW_C4 ("weapon_c4").

Function allows to transfer given weapon from player1 to player2.
Returns true on success, false on failure.
It's possible to specify only one of two weapon parameters.
If not specified, weapon to transfer is the player1's active weapon.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-26-2006 , 13:53  
Reply With Quote #36

EDIT: i've decided that fm_cs_get_user_bombtarget too specific, excluded
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 06-03-2006 , 11:42  
Reply With Quote #37

Added new function
Code:
Float:fm_distance_to_floor(index) // originally by P34nut, improved

Also separated FMU into two files: for AMXX <1.75 and for AMXX 1.75+
The second will be removed after AMXX 1.75 release.
VEN is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-03-2006 , 14:29  
Reply With Quote #38

Use the edit button instead of making quadruple posts.

Do not reply to this, as it is not necessary.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 06-03-2006 , 14:46  
Reply With Quote #39

Ow i like that!
btw VEN nice improvement of that stock!
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 06-03-2006 , 15:34  
Reply With Quote #40

P34nut: Thanks

v3x: But then no one will know that here is an update because only new post can update the time of the last post. I could delete old post and then make mixed post but then some users may be confused, anyway, thanks for the recommendation
VEN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode