TF2P/sourcepawn/tf2p-network-control.sp

24 lines
370 B
SourcePawn
Raw Permalink Normal View History

2020-04-03 20:00:28 +02:00
#include <sourcemod>
#include <tf2p>
public Plugin:myinfo = {
name = "rust listen",
author = "Daniel Mowitz",
description = "Observes.",
version = "1.1.0"
};
ConVar ip;
ConVar s_port;
public OnPluginStart() {
char buf [20];
ip = FindConVar("ip");
ip.GetString(buf, 20);
s_port = FindConVar("hostport");
Rust_Start_Manager(buf, s_port.IntValue);
}