Skip to content

Instantly share code, notes, and snippets.

#include <sourcemod>
#include <sdktools>
#define VERSION "0.1"
new Float:g_pos[3];
public Plugin:myinfo =
{
name = "[TF2] test",
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#define VERSION "0.1"
new Float:g_pos[3];
new prophealth[MAXPLAYERS+1][70];
public Plugin:myinfo =
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#define VERSION "0.1"
new Float:g_pos[3];
new prophealth[MAXPLAYERS+1][70];
new propindex[MAXPLAYERS+1][70000];
new propowner[70000];
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#define VERSION "0.1"
new Float:g_pos[3];
new prophealth[MAXPLAYERS+1][70];
new propindex[MAXPLAYERS+1][70];
new bool:fwmap;
public Action:MainMenu(clientId)
{
new Handle:menu = CreateMenu(MainMenuH);
SetMenuTitle(menu, "<titel>");
AddMenuItem(menu, "option1", "<option>");
AddMenuItem(menu, "option2", "<option>");
AddMenuItem(menu, "option3", "<option>");
AddMenuItem(menu, "option4", "<option>");
SetMenuExitButton(menu, true);
public Action:MainMenu(clientId)
{
if (g_MainMenu != INVALID_HANDLE)
{
CloseHandle(g_MainMenu);
g_MainMenu = INVALID_HANDLE;
}
g_MainMenu = CreateMenu(MainMenuH);
SetMenuTitle(g_MainMenu, "FortWars");
AddMenuItem(g_MainMenu, "option1", "Create Prop");
public boolean save(Puzzel p)
{
String insertPuzzel = "insert into Orders values(" + p.getNr() + p.getAantalKolommen() + p.getAantalRijen() + ")";
String insertWoord;
Iterator<Woord> WoordenHorizontaal = p.getHorizontaleWoorden();
Iterator<Woord> WoordenVertikaal = p.getVertikaleWoorden();
// excetute puzzel query
public boolean save(Puzzel p)
{
String insertPuzzel = "insert into Orders values(" + p.getNr() + p.getAantalKolommen() + p.getAantalRijen() + ")";
String insertWoord;
Iterator<Woord> WoordenHorizontaal = p.getHorizontaleWoorden();
Iterator<Woord> WoordenVertikaal = p.getVertikaleWoorden();
// excetute puzzel query
@icequeenzz
icequeenzz / gist:845406
Created February 26, 2011 17:32
Laser Sentry
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <tf2_stocks>
#include <sdkhooks>
#define TEAM_RED 2
#define TEAM_BLU 3
#define MP 33
#define VERSION "1.0"