View Single Post
Author Message
Kumlaserver
Junior Member
Join Date: Jul 2011
Old 05-08-2012 , 10:25   First plugin simple need help :)
Reply With Quote #1

Hey im REALLY new to scripting in sourcepawn this is actually my first script that i try to do.

So i want the plugin to slay all players after xx minutes.

this is what i have so far..
i am stuck at how i can slay all players.

Code:
#include <sourcemod>
#include <sdktools>
 
public Plugin:myinfo =
{
	name = "Slay All",
	author = "Hannes",
	description = "Kills all players after xx minutes",
	version = "1.0.0.0",
	url = "http://www.kumlaonline.se/"
};

public OnPluginStart()
{
	CreateTimer(5.0, kill)
}
 
public Action:kill(Handle:timer)
{

}

Last edited by Kumlaserver; 05-08-2012 at 10:26.
Kumlaserver is offline