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.
 
 

38 lines
590 B

/* Plugin Template generated by Pawn Studio */
#include <sourcemod>
public Plugin:myinfo =
{
name = "Fakeclients",
author = "Chefe",
description = "",
version = "1.0",
url = "<- URL ->"
}
public OnPluginStart()
{
RegAdminCmd("sm_fakeclient",
Command_Fakeclient,
ADMFLAG_KICK,
"Add a Fakeclient.")
}
public Action:Command_Fakeclient(client_at, args)
{
if (args < 1)
{
PrintToConsole(client_at, "Usage: sm_fakeclient <name>");
return Plugin_Handled;
}
new String:name[256]
GetCmdArg(1, name, sizeof(name));
CreateFakeClient(name);
return Plugin_Handled;
}