Raised This Month: $32 Target: $400
 8% 

[INC] Tools X v0.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SAMURAI16
BANNED
Join Date: Sep 2006
Old 04-07-2007 , 03:53   [INC] Tools X v0.1
Reply With Quote #1

Tools X is a new library with functions who may help you on coding. Required Fakemeta Module

PHP Code:
bool:is_aiming_at_hostage(index)
bool:is_aiming_at_sky(index)
bool:is_aiming_at_water(index)
bool:is_nothing_above_index(index)
bool:is_nothing_solid_abv_index(index)
Float:tlx_distance_to_sky(id
tlx_create_explosion(Float:origin[3], destTypemsgTypespritescaleframerateflags )
fade_units_to_seconds(num)
tlx_flash_player(indexdestTypeiDurationiHoldTimeiFlagsrgbalpha)
shake_player_screen(indexdestTypeiAmplitudeiDurationiFrequency)
tlx_VectorInverse(Float:vector[3])
tlx_VectorScale(const Float:in[3], Float:scaleFloat:out[3])
Float:tlx_VectorNormalize(Float:vector[3])
tlx_VectorMA(Float:vecA[3], Float:scaleFloat:vecB[3], Float:vecC[3])
tlx_GetHullBounds(hullnumberFloat:mins[3], Float:maxs[3] )
Float:tlx_fvectorProduct(Float:Vec1[3],Float:Vec2[3])
tlx_vectorProduct(Vec1[3], Vec2[3])
tlx_VectorAvga[], num )
bool:tlx_EV_IsPlayer(index)
tlx_VectorCompare(const Float:v1[3], const Float:v2[3])
Float:tlx_VectorClear(Float:a[3])
tlx_CrossProduct(const Float:v1[3], const Float:v2[3], Float:cross[3])
tlx_ConcatTransforms(Float:in1[3][4], Float:in2[3][4], Float:out[3][4])
tlx_AddVectors(Float:vec1[3] ,Float:vec2[3], Float:ret[3])
tlx_SubtractVectors(Float:vec1[3], Float:vec2[3], Float:ret[3])
Float:tlx_AngleDiff(Float:destAngleFloat:srcAngle )
Float:tlx_StudioFrameAdvance(ent,Float:flInterval)
tlx_EntitiesInBox(pList[],listMax,Float:mins[3],Float:maxs[3],flagMask)
tlx_MonstersInSphere(pList[], listMaxFloat:center[3], Float:radius)
Float:tlx_Approach(Float:targetFloat:valueFloat:speed)
Float:tlx_AngleDistance(Float:nextFloat:cur)
Float:tlx_SplineFraction(Float:valueFloat:scale)
tlx_CLadder(ent)
tlx_clear_pathidFloat:fDistFloat:fZOffset 
tlx_VectorAvg was done by Emp`
Float:tlx_StudioFrameAdvance was done by Avalanche
tlx_EntitiesInBox was done by Avalanche
tlx_clear_path by P34nut / Wilson [29th ID]
fm_trace_line from fakemeta util by VEN, was necessary for tlx_clear_path

Attached Files
File Type: inc toolsx.inc (17.8 KB, 652 views)

Last edited by SAMURAI16; 04-07-2007 at 03:55.
SAMURAI16 is offline
Send a message via MSN to SAMURAI16
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 04-07-2007 , 11:51   Re: [INC] Tools X v0.1
Reply With Quote #2

this is a very nice inc, thank you SAMURAI !
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
Dark Kingdom
BANNED
Join Date: Apr 2007
Location: VT
Old 04-16-2007 , 16:11   Re: [INC] Tools X v0.1
Reply With Quote #3

Thanks Samurai.
Dark Kingdom is offline
PHP.CFG
New Member
Join Date: Apr 2007
Old 04-18-2007 , 01:11   Re: [INC] Tools X v0.1
Reply With Quote #4

THX
PHP.CFG is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 06-01-2008 , 13:11   Re: [INC] Tools X v0.1
Reply With Quote #5

Nice...gj
__________________

anakin_cstrike is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 06-01-2008 , 16:08   Re: [INC] Tools X v0.1
Reply With Quote #6

Have another look at is_nothing_above_index() and is_nothing_solid_abv_index().

fade_units_to_seconds() is named incorrectly.

Code:
doubleInteger(integer)     return ((1 * 2) * (integer)); //a little verbose, no?

Edit:
anakin_cstrike, it's considered bad form to post in long-forgotten threads. I can't understand why that is if you have something to add to the thread or if you require more information, but you of course did neither.

Last edited by Lee; 06-01-2008 at 21:28.
Lee is offline
steve139
Senior Member
Join Date: May 2007
Location: here
Old 06-09-2008 , 06:50   Re: [INC] Tools X v0.1
Reply With Quote #7

w00t sexy include
great job
steve139 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-09-2008 , 14:17   Re: [INC] Tools X v0.1
Reply With Quote #8

Quote:
Originally Posted by Lee View Post
Have another look at is_nothing_above_index() and is_nothing_solid_abv_index().
Quote:
Originally Posted by Lee View Post
Have another look at is_nothing_above_index() and is_nothing_solid_abv_index().
Quote:
Originally Posted by Lee View Post
Have another look at is_nothing_above_index() and is_nothing_solid_abv_index().
Not sexy at all.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 21:24.


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