Quote:
Originally Posted by klevron
pls any one edit me this source code without sound file
i dont want to add sound file it cause download for clients
|
The plugin will only try to download the sound file if "Sound" is included as the punishment per the
bad_camper_punish CVAR (it is by default) and if the
bad_camper_sound CVAR is set to
1 (it is by default).
Code:
badcamper_punish <iFlags>
Specifies how a player is to be punished when they camp too long. A value of 0 will disable this plugin.
The flags are additive.
1: Slap
2: Health Reduction
4: Sound (set sound via badcamper_sound)
8: Blind
16: Money Reduction (requires CSTRIKE module)
32: Snark Attack (requires Monster Mod with Snarks enabled)
The default is 12 (snore and blind).
Code:
badcamper_sound <iFlag>
Specifies the sound to use as a punishment when the badcamper_punish flag includes the "sound" punishment.
1: Snore
2: Heartbeat
The default is 1 (snore).
__________________