[SOLVED] Function client_impulse
What the purpose of the function client_impulse?
I don't understand that: http://www.amxmodx.org/funcwiki.php?...ulse&go=search And I did not find any documentation talking about it :( Thanks for help... EDIT: Thanks guys I understand :) |
Re: Function client_impulse
Its a forward for when player types in console "impulse <number>"
Like for example flashlight.I know theres some impulse for nightvision idk how does this optimise the game engine by having impulses but it has its purpouse and with that forward u can hook them. You can hook ur own impulse numbers there so say if a player enters impulse 1337 he gets 100% hp back u can do that like this: PHP Code:
|
Re: Function client_impulse
Thanks now I understand :D
|
Re: Function client_impulse
Just FYI: I think flashlight using is impulse 100, which is probably what most people use this to detect. :)
|
Re: Function client_impulse
Yes, that's right! I don't use this command, but talk with my friend now, and he confirmed this "feature"
|
Re: Function client_impulse
impulse 201 is a spray decal (in DOD).
|
Re: Function client_impulse
Quote:
|
Re: Function client_impulse
"impulse 201" is in any HL mod (including HL) that supports spraypaints, unless it's altered to use a different command.
|
Re: Function client_impulse
Quote:
|
Re: Function client_impulse
Better to use register_impulse.
|
| All times are GMT -4. The time now is 10:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.