mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 05:23:20 +00:00
Remove dissolvetype effect
This commit is contained in:
parent
634089a857
commit
2a9a34eb08
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -392,7 +392,7 @@ stock int CreateLaser(const float origin[3], const char[] targetName, float colo
|
||||||
DispatchKeyValue(laser, "targetname", "sm_laser");
|
DispatchKeyValue(laser, "targetname", "sm_laser");
|
||||||
DispatchKeyValue(laser, "LaserTarget", targetName);
|
DispatchKeyValue(laser, "LaserTarget", targetName);
|
||||||
DispatchKeyValue(laser, "spawnflags", "1");
|
DispatchKeyValue(laser, "spawnflags", "1");
|
||||||
DispatchKeyValue(laser, "dissolvetype", "2");
|
// DispatchKeyValue(laser, "dissolvetype", "2");
|
||||||
DispatchKeyValue(laser, "NoiseAmplitude", "1");
|
DispatchKeyValue(laser, "NoiseAmplitude", "1");
|
||||||
DispatchKeyValueFloat(laser, "damage", damage);
|
DispatchKeyValueFloat(laser, "damage", damage);
|
||||||
DispatchKeyValueFloat(laser, "life", duration);
|
DispatchKeyValueFloat(laser, "life", duration);
|
||||||
|
@ -420,7 +420,7 @@ stock int CreateBeam(const char[] beginTarget, const float center[3], const char
|
||||||
if(endTarget[0] != '\0')
|
if(endTarget[0] != '\0')
|
||||||
DispatchKeyValue(laser, "LightningEnd", endTarget);
|
DispatchKeyValue(laser, "LightningEnd", endTarget);
|
||||||
DispatchKeyValue(laser, "spawnflags", "1");
|
DispatchKeyValue(laser, "spawnflags", "1");
|
||||||
DispatchKeyValue(laser, "dissolvetype", "2");
|
// DispatchKeyValue(laser, "dissolvetype", "2");
|
||||||
DispatchKeyValue(laser, "NoiseAmplitude", "1");
|
DispatchKeyValue(laser, "NoiseAmplitude", "1");
|
||||||
DispatchKeyValueFloat(laser, "damage", damage);
|
DispatchKeyValueFloat(laser, "damage", damage);
|
||||||
DispatchKeyValueFloat(laser, "life", duration);
|
DispatchKeyValueFloat(laser, "life", duration);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue