23 lines
370 B
SourcePawn
23 lines
370 B
SourcePawn
#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);
|
|
}
|