sm-plugins/gospec.sp

28 lines
540 B
SourcePawn

/* Plugin Template generated by Pawn Studio */
#include <sourcemod>
public Plugin:myinfo =
{
name = "L4D2 Spec",
author = "Chefe",
description = "<- Description ->",
version = "1.0",
url = "<- URL ->"
}
public OnPluginStart()
{
RegAdminCmd("admin_gospec", Command_GoSpec, ADMFLAG_CHEATS, "go to spec");
RegAdminCmd("admin_goua", Command_GoUA, ADMFLAG_CHEATS, "go to spec");
}
public Action:Command_GoSpec(client, args)
{
ChangeClientTeam(client, 1);
}
public Action:Command_GoUA(client, args)
{
ChangeClientTeam(client, 0);
}