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