inital commit
This commit is contained in:
28
gospec.sp
Normal file
28
gospec.sp
Normal file
@@ -0,0 +1,28 @@
|
||||
/* 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);
|
||||
}
|
Reference in New Issue
Block a user