AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   fakemeta function... (https://forums.alliedmods.net/showthread.php?t=60318)

Exolent[jNr] 08-31-2007 20:29

fakemeta function...
 
how would i use the "set_user_hitzones()" function in fakemeta?

Arkshine 08-31-2007 21:29

Re: fakemeta function...
 
Using traceline forward, get_tr2().

See http://forums.alliedmods.net/showthread.php?p=489668

Exolent[jNr] 08-31-2007 23:06

Re: fakemeta function...
 
thanx :up:

EDIT: and this still allows knives and nades to still hit?

Alka 09-01-2007 03:50

Re: fakemeta function...
 
Knives dunno, but nades will affect the player...

Exolent[jNr] 09-02-2007 15:36

Re: fakemeta function...
 
there is one issue with knives.

anytime you knife someone, it still hits.
but its random between hurting them and not.

sometimes they will get an actual stab, get hurt, and slow down
other times, they will get stabbed, and keep running without losing hp

is there a way to detect if a knife is being used?

Alka 09-02-2007 15:39

Re: fakemeta function...
 
Take a look here, you will find what you'r looking for... http://forums.alliedmods.net/showthread.php?p=486451

Exolent[jNr] 09-02-2007 15:50

Re: fakemeta function...
 
no no no, im trying to block gunfire but still allow knife hits.

the one that arkshine provided is almost there, except for the knife bug

Arkshine 09-02-2007 15:54

Re: fakemeta function...
 
For knife, as Alka said, take a look at this plugin.

You have to use FM_TraceHull forward for that.


All times are GMT -4. The time now is 16:08.

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