Page 1 of 1

[CS:GO] Lasermines 1.5.1

Posted: Thu Jan 23, 2020 8:02 pm
by Andreeas
Name: Lasermines

Description: Plants a laser mine to the wall to kill players.
This plugin is a modification of the plugin [CS:S, ZRiot & ZReloaded] Lasermines by Despirator.

Since the plugin is written under SourceMod 1.6 and now with the CSGO is only compatible version 1.7+, then I do not advise to use this plugin on the server until will be made the rewritten version of this plugin (if it will be made).


Requirements: Needed csgocolors.inc (by klexen) and lasermines.inc to compile.

Installation: Place compiled plugin (csgo_lasermines.smx) into the plugins folder (../addons/sourcemod/plugins/).
Place the translation file (csgo_lasermines.phrases.txt) into the translation sfolder (../addons/sourcemod/translations/).
Place the folders from the archive Lasermine model (tplug).zip into the server folder (../%your_dedicated_server%/csgo/).

Console Commands: sm_bm <amount or nothing> to buy or sm_lm to plant the laser mines.

Console Variables:
sm_lasermines_enable - On/off switcher
sm_lasermines_welcome_message - Message at the beginning of each round
sm_lasermines_amount - The amount to give laser mines to a player each spawn (only if buy mode is disabled, -1 = Infinity)
sm_lasermines_maxamount - The maximum amount of laser mines a player can carry. (0-Unlimited)
sm_lasermines_damage - The damage to deal to a player by the laser
sm_lasermines_explode_damage - The damage to deal to a player when a laser mine breaks
sm_lasermines_explode_radius - The radius of the explosion
sm_lasermines_health - The laser mines health. 0 = never breaked
sm_lasermines_activatetime - The delay of laser mines' activation
sm_lasermines_buymode - Enables buy mode. In this mode you will have to buy mines
sm_lasermines_buyzone - Whether a player have to stay in buy zone to buy mines
sm_lasermines_price - The price of the laser mines
sm_lasermines_color_t - Terrorist's color. Set by RGB
sm_lasermines_color_ct - Counter-Terrorist's color. Set by RGB
sm_lasermines_allow_pickup - Allow players to pickup their planted lasermines
sm_lasermines_allow_friendly_pickup - Allow players to pickup allies planted lasermines
sm_lasermines_allow_enemy_pickup - Allow players to pickup enemys planted lasermines
sm_lasermines_wpn - Enemy has died from this weapon. (Def. 'taser')
sm_lasermines_hs - Headshot On/Off

Code: Select all

List of available weapons:
Spoiler 
knife
knife_gut
knife_flip
knife_karambit
bayonet
knife_m9_bayonet
knife_tactical
knife_butterfly
knifegg

glock
hkp2000
usp_silencer
p250
deagle
elite
fiveseven
tec9
cz75a

nova
xm1014
mag7
sawedoff

bizon
mac10
mp9
mp7
ump45
p90

galilar
famas
ak47
m4a1
m4a1_silencer
sg556
aug

ssg08
awp
g3sg1
scar20

m249
negev

taser
hegrenade
flashbang
smokegrenade
incgrenade
molotov
decoy
asermine model (tplug).zip
Plugin / Source