View Single Post
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 03-15-2016 , 06:57   Re: New Feature: Watchdog Timer
Reply With Quote #13

Quote:
Originally Posted by Indarello View Post
Code:
public OnPluginStart ()
{
    RegAdminCmd ("sm_evil", ClientExec, ADMFLAG_RCON);
}

public Action:ClientExec (client, args)
{
	new abc = 0;
	while (abc < 10)
	{
		new gfh = 1232144650;
		new rtv = gfh*23845243;
		abc++;
	}	
	ServerCommand("sm_evil");
	return Plugin_Handled;
}
watchdog dont stop it
That's because the plugin is technically running and not holding up the server.
WildCard65 is offline