| changeset 922 | 980941c525fa |
| parent 921 | e07dad9724f5 |
| child 923 | 346e4c60fc32 |
1.1 --- a/plugins/basecommands.sp Fri Jun 08 01:01:44 2007 +0000 1.2 +++ b/plugins/basecommands.sp Fri Jun 08 01:09:17 2007 +0000 1.3 @@ -224,6 +224,8 @@ 1.4 } else if (numClients > 1) { 1.5 ReplyToCommand(client, "[SM] %t", "More than one client matches", arg); 1.6 return Plugin_Handled; 1.7 + } else if (!CanUserTarget(client, clients[0])) { 1.8 + ReplyToCommand(client, "[SM] %t", "Unable to target"); 1.9 } 1.10 1.11 new userid = GetClientUserId(clients[0]);