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

[INC] CHR Engine v1.1b


Post New Thread Reply   
 
Thread Tools Display Modes
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 09-23-2007 , 03:21   Re: [INC] CHR Engine v1.1
Reply With Quote #31

you don't need this. only scripters need this.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
thehappyman
Junior Member
Join Date: Feb 2008
Old 02-09-2008 , 06:56   Re: [INC] CHR Engine v1.1
Reply With Quote #32

Hi
i have a questien whit this engine
where do i put it thats all






----------------------------------------
|Sry for my bad english im from Denmark|
----------------------------------------
thehappyman is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-09-2008 , 11:32   Re: [INC] CHR Engine v1.1
Reply With Quote #33

you don't have to put it anywhere. If you are using it in the process of making a plugin then you need to put it in your includes folder. I think you are simply trying to install a plugin though and don't know how. Read the last section on .inc files here.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-11-2008 , 03:25   Re: [INC] CHR Engine v1.1
Reply With Quote #34

*Update*
-added distance_from_line function (see main post for more details)
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Dr. Jan Itor
Veteran Member
Join Date: Mar 2008
Location: there.
Old 06-15-2008 , 15:56   Re: [INC] CHR Engine v1.1
Reply With Quote #35

iedit: yeah promethus does use it
__________________

Last edited by Dr. Jan Itor; 06-26-2008 at 16:44.
Dr. Jan Itor is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 06-15-2008 , 16:19   Re: [INC] CHR Engine v1.1
Reply With Quote #36

From prometheus.sma
Code:
/*  *  *  Determines velocity (new_velocity) that  *  you would set an entity to in order for  *  it to go at "speed" from "origin1" to  *  "origin2".  *  *  By GHW_Chronic  *  */  stock get_speed_vector(const Float:origin1[3],const Float:origin2[3],Float:speed, Float:new_velocity[3])  {     new_velocity[0] = origin2[0] - origin1[0];     new_velocity[1] = origin2[1] - origin1[1];     new_velocity[2] = origin2[2] - origin1[2];     new Float:num = floatsqroot(speed*speed / (new_velocity[0]*new_velocity[0] + new_velocity[1]*new_velocity[1] + new_velocity[2]*new_velocity[2]));     new_velocity[0] *= num;     new_velocity[1] *= num;     new_velocity[2] *= num;     return 1;  }
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
durkeeez
BANNED
Join Date: Jun 2009
Old 08-25-2009 , 17:20   Re: [INC] CHR Engine v1.1b
Reply With Quote #37

i got ghr engine in addons/amxmox/scripting/include , and when i compile your plugin : Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/phpRwTOD1.sma(40) : fatal error 100: cannot read from file: "chr_engine"

Compilation aborted.
1 Error.


I dont know why...
durkeeez is offline
Old 08-25-2009, 20:30
fezh
This message has been deleted by fezh. Reason: Fucking internet connection.
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 08-25-2009 , 20:31   Re: [INC] CHR Engine v1.1b
Reply With Quote #38

Quote:
Originally Posted by durkeeez View Post
i got ghr engine in addons/amxmox/scripting/include , and when i compile your plugin : Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/phpRwTOD1.sma(40) : fatal error 100: cannot read from file: "chr_engine"

Compilation aborted.
1 Error.


I dont know why...
are you sure you downloaded the .inc file? if not, you should download chr_engine.inc and put it in amxmodx/scripting/include.
if the problem persists (i guess it won't) you should try download the .amxx file (it should be attached cuz the inc file is a need).
__________________
"There is no knowledge, that is not power"
fezh is offline
Lulu the hero
Senior Member
Join Date: Oct 2009
Location: Budapest, Hungary
Old 02-08-2011 , 21:53   Re: [INC] CHR Engine v1.1b
Reply With Quote #39

Small optimalization...

PHP Code:
stock bool:is_user_crouching(entignoreplayer=0)
{
    if(!
is_user_alive(ent) && !ignoreplayer) return false;

    new 
Float:minsize[3];
    
pev(ent,pev_mins,minsize);

    return 
minsize[2] == -18;

Lulu the hero is offline
34384339
Junior Member
Join Date: Oct 2009
Old 01-16-2012 , 15:29   Re: [INC] CHR Engine v1.1b
Reply With Quote #40

if ESP Enabled...the choke is 100% ...
34384339 is offline
Old 07-18-2013, 02:10
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
Reply


Thread Tools
Display Modes

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 00:13.


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