OK thanks. This worked:
Code:
public Action:Command_spawn(Client,args)
{
if(args < 1)
{
ShowMOTDPanel(Client, "FunBox Help - Prop Names", "http://www.thechaoscrewclan.com/104/hl2mp/propnames.html", MOTDPANEL_TYPE_URL);
return Plugin_Handled;
}
decl String:prop[32];
decl String:isfroxxed[255];
GetCmdArg(1,prop,32);
GetCmdArg(2,isfroxxed,255);
ClientCommand(Client, "e_spawnprop %s", prop);
if (strcmp(isfroxxed, "frozen", false) == 0)
{
ClientCommand(Client, "sm_freeze");
}
return Plugin_Handled;
}
__________________