Quote:
Originally Posted by ORdli
I have a plugin that plays 3 random sounds when falling, but it doesn't work, the sounds can't be heard, the plugin source itself will be lower, what do I need to edit to make the plugin work in Pvkii?
|
It would help a lot if you tell us more specific how you got that plugin at first place.
This ?
Random sounds when taking fall damage "ZPS"
Because in that ZPS game, there was no event for player hurt when damaged by fall, plugin use SDKHooks OnTakeDamage to look that.
When look this another game
Pirates, Vikings, & Knights II,
game pass gibberish damagetype from SDKHook OnTakeDamage while event player_hurt pass right damagetype bit.
Here is version, what use event player_hurt, not OnTakeDamage.
*PS
OnConfigsExecuted() works fine. Unless I have missed something.
And we always use
SRCDS, not in-game listen server.
Code:
meta version
Metamod:Source Version Information
Metamod:Source version 1.11.0-dev+1148
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: Valve Server Plugin
Compiled on: Jun 24 2022 14:27:03
Built from: https://github.com/alliedmodders/metamod-source/commit/4bdc218
Build ID: 1148:4bdc218
http://www.metamodsource.net/
sm version
SourceMod Version Information:
SourceMod Version: 1.11.0.6906
SourcePawn Engine: 1.11.0.6906, jit-x86 (build 1.11.0.6906)
SourcePawn API: v1 = 5, v2 = 16
Compiled on: Jul 8 2022 14:44:49
Built from: https://github.com/alliedmodders/sourcemod/commit/aa4145c7
Build ID: 6906:aa4145c7
http://www.sourcemod.net/