View Single Post
Otokiru
Senior Member
Join Date: Apr 2012
Old 07-13-2012 , 04:55   Re: [Any] LAZERRRRSSSS!!
Reply With Quote #13

Quote:
Originally Posted by Groger View Post
Yeah I asked for flag support, but overrides are just fine Also, how does this exactly work, i'm at work so can't test.

Is it a premade shape? or can you draw shapes?
[IMG]http://img294.**************/img294/2213/magicmarkerwj0.gif[/IMG]
*Taken from here

//Edited
Anyway, I manage to fix my problem by doing so:
Code:
public OnPluginStart()
{
	CreateConVar("sm_lazer_version", VERSION, "LAZERRRRSSSS! plugin. derp.", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
	RegAdminCmd("+sm_laser", CMD_laser_p, ADMFLAG_BAN);
	RegAdminCmd("-sm_laser", CMD_laser_m, ADMFLAG_BAN);
}
public OnMapStart()
{
	g_sprite = PrecacheModel("materials/sprites/xbeam2.vmt");
	CreateTimer(0.1, Timer_Pay, _, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
}

Last edited by Otokiru; 07-13-2012 at 06:04.
Otokiru is offline