AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   alternative to cmd_start (https://forums.alliedmods.net/showthread.php?t=232327)

ezio_auditore 12-29-2013 04:02

alternative to cmd_start
 
is there any other way than fw_cnd_start to detect whether the user pressed attack 1 key?

fysiks 12-29-2013 04:38

Re: alternative to cmd_start
 
Why? What is wrong with hooking FM_CmdStart?

ezio_auditore 12-29-2013 06:21

Re: alternative to cmd_start
 
Quote:

Originally Posted by fysiks (Post 2077871)
Why? What is wrong with hooking FM_CmdStart?


i am making a superweapon ([FXM]FlameShooting XM1014)...
When I launch its projectile, it launches that more than one making exessive damage to a player and useless explosions made by the projectile is very irritating ...

meTaLiCroSS 12-29-2013 10:17

Re: alternative to cmd_start
 
Quote:

Originally Posted by ezio_auditore (Post 2077912)
i am making a superweapon ([FXM]FlameShooting XM1014)...
When I launch its projectile, it launches that more than one making exessive damage to a player and useless explosions made by the projectile is very irritating ...

And that's your fault, not CmdStart's one lol

fysiks 12-29-2013 18:36

Re: alternative to cmd_start
 
You need to program it such that that doesn't happen.

DavidJr 12-30-2013 14:21

Re: alternative to cmd_start
 
I already told you to use Ham_Weapon_PrimaryAttack :facepalm

ezio_auditore 12-30-2013 22:56

Re: alternative to cmd_start
 
Quote:

Originally Posted by DavidJr (Post 2078638)
I already told you to use Ham_Weapon_PrimaryAttack :facepalm

but i tried that...

problem continues...
:facepalm:

DavidJr 12-30-2013 23:00

Re: alternative to cmd_start
 
Quote:

Originally Posted by ezio_auditore (Post 2078817)
but i tried that...

problem continues...
:facepalm:

I tried your code with that and works fine.

fysiks 12-30-2013 23:06

Re: alternative to cmd_start
 
Probably still need to check for when it goes from inactive to active.

ezio_auditore 12-30-2013 23:08

Re: alternative to cmd_start
 
and how to do that??


All times are GMT -4. The time now is 10:15.

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