aaaaa I can't compile what I'm made now >.>
PHP Code:
#include <sourcemod>
#include <sdktools>
#pragma semicolon 1
#define PLUGIN_VERSION "1.0"
public Plugin myinfo =
{
name = "Cap and Command",
author = "Nightfall",
description = "Run commands on point capture",
version = PLUGIN_VERSION,
url = "notapplicable"
}
public OnPluginStart()
{
HookEvent("teamplay_point_captured", TeamplayPointCaptured);
}
public TeamplayPointCaptured(Handle event, char[] name, bool dontBroadcast);
{
ServerCommand("sm_addtime 600")
}
With your help on how to hook onto the point being captured, I at least have more done than before. Compiler insists that I need a semicolon on that last line, or did I not need to include
pragma?
So dang used to brackets that now that they're useless I feel like I wasted time in college on java courses ;_;
Ah, I answered my own question double checking my work. Now the compiler won't actually spit out the spx though. Complains it has no ability to write to (...sourcemod-1.10.0\compiled\<filename>)