View Single Post
Author Message
Visual77
Veteran Member
Join Date: Jan 2009
Old 03-28-2018 , 17:33   SMAC null cmd explanation.
Reply With Quote #1

Hi.

I'm interested to know what the reason is behind blocking null cmd input in OnClientRunCmd. Does anyone from the smac team remember why this code is in here. Is it possibly just a typo and it's ment to return Plugin_Continue ?

smac_eyetest.sp ->

This;
Code:
	// NULL commands
	if (cmdnum <= 0)
		return Plugin_Handled;

Last edited by Visual77; 03-28-2018 at 17:37.
Visual77 is offline