AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   FM_TraceLine or how it called... (https://forums.alliedmods.net/showthread.php?t=94347)

xbatista 06-10-2009 06:17

FM_TraceLine or how it called...
 
So if I'll block damage in FM_TraceLine,it would block really? like in Ham_takedamage?

Arkshine 06-10-2009 06:21

Re: FM_TraceLine or how it called...
 
What do you want to do exactly ?

xbatista 06-10-2009 07:14

Re: FM_TraceLine or how it called...
 
EDIT:Sorry stupid question..

ohh forget to say, sethamparamfloat will work in there?

Arkshine 06-10-2009 10:24

Re: FM_TraceLine or how it called...
 
If you want to block damage, register this forward as pre and return HAM_SUPERCEDE. That's all.

xbatista 06-10-2009 10:40

Re: FM_TraceLine or how it called...
 
Okey :mrgreen:
But how about sethamparamfloat, it will work on TraceLine?

Bugsy 06-10-2009 10:45

Re: FM_TraceLine or how it called...
 
Explain what you are trying to do and we can tell you the best way.

xbatista 06-10-2009 11:10

Re: FM_TraceLine or how it called...
 
I'm just asking now, will this work in TraceLine ?
PHP Code:

SetHamParamFloat(4damage 4.0)
return 
FMRES_HANDLED

EDIT: Holy shit, I have a headache, ham will not work in FM lol

Arkshine 06-10-2009 11:12

Re: FM_TraceLine or how it called...
 
Go to your bed and sleep 24h. ^^

xbatista 06-10-2009 11:14

Re: FM_TraceLine or how it called...
 
Yea I think too

ConnorMcLeod 06-10-2009 13:23

Re: FM_TraceLine or how it called...
 
Quote:

Originally Posted by arkshine (Post 845618)
Go to your bed and sleep 24h. ^^

I'm affraid it won't be enough.


All times are GMT -4. The time now is 13:54.

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