Try different beam materials...
or quick try this.
Haven't tested now because using another computer
Spoiler
PHP Code:
#include <sdktools>
new mdlindx;
public OnPluginStart()
{
RegAdminCmd("sm_beam", beam, ADMFLAG_GENERIC);
}
public OnMapStart()
{
mdlindx = PrecacheModel("materials/sprites/purplelaser1.vmt");
}
public Action:beam(client, args)
{
new target;
if((target = GetClientAimTarget(client, false)) > 0) // && target <= MaxClients)
{
new colour[4];
colour[0] = 255;
colour[1] = 0;
colour[2] = 0;
colour[3] = 255;
TE_SetupBeamLaser( target, // StartEntity Entity index from where the beam starts.
client, // EndEntity Entity index from where the beam ends.
mdlindx, // ModelIndex Precached model index.
0, // HaloIndex Precached model index.
0, // StartFrame Initital frame to render.
0, // FrameRate Beam frame rate.
20.0, // Life Time duration of the beam.
1.0, // Width Initial beam width.
1.0, // EndWidth Final beam width.
0, // FadeLength Beam fade time duration.
0.0, // Amplitude Beam amplitude.
colour, // color Color array (r, g, b, a).
0); // Speed Speed of the beam.
TE_SendToAll(0.5);
}
return Plugin_Handled;
}
Just aim someone human player and use command sm_beam
Have read that it could make beam but you see it from up to down or vice versa.
But not show better from sides... Assuming now.