and its a bit more advanced.
Cvars:
*ls_enabled 1 - Toggle plugin
*ls_line 1 - If 0 it's a dot, if 1 - a line
*ls_pvis 0 - If 1 only you can see your laser
*ls_wpns "0;4;6;9;25;29;" - Weapon ID's that doesn't have a laser. After
changing this you must enter ls_refresh in console! (I attached a list of
CS weapon ID's)
*ls_rgb "255 0 0;" - Color of laser (red green blue) If you want different
team colors see example below. After changing this you must enter
ls_refresh in console!
Commands:
*ls_refresh - Refreshes weapons and rgb (ADMIN_KICK)
*ls_getteam - Gets your current team's id (ADMIN_KICK)
*ls_getwpn - Gets your current weapon's id (ADMIN_KICK)
In CS T's would have red lasers,but CT's - bluels_rgb "255 0 0; 0 0 255;"
In CS this removes laser from:ls_wpns "0;4;6;9;25;29;"
[no weapon], HE nade, C4, Smoke nade, flashbang & knife
PLUGIN