Since you have provided ZERO information, I'm going to assume you are using y_commands and y_groups (because why wouldn't you?)
pawn Код:
new
Group:g_groupLSPD,
Group:g_groupFBI;
YCMD:whatever(playerid, params[], help)
{
}
public OnGameModeInit()
{
// Set up the groups.
g_groupLSPD = Group_Create("LSPD");
g_groupFBI = Group_Create("FBI");
// Disable the command by default.
Group_SetGlobalCommand(YCMD:whatever, false);
// Enable the command for these groups.
Group_SetCommand(g_groupLSPD, YCMD:whatever, true);
Group_SetCommand(g_groupFBI, YCMD:whatever, true);
}