You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
sm-plugins/gospec.sp

28 lines
540 B

/* 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);
}