/* Plugin Template generated by Pawn Studio */
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
public Plugin:myinfo =
{
name = "Premium rpg",
author = "Knopers",
description = "Plugin dla johna",
version = "1.0",
url = "heavycraft.pl"
}
public OnPluginStart()
{
PrintToServer("[KNOPERS]Plugin gotowy do pracy");
HookEvent("round_start", RoundStart, EventHookMode_Post)
}
public Action:RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
CreateTimer(1.00, GivePoint, _, TIMER_REPEAT);
}
public Action:GivePoint(Handle:timer, any:client)
{
new frag = GetClientFrags(client);
if ( (IsClientInGame(client)) && (IsPlayerAlive(client) && GetClientTeam(client) >= 1) && frag != 0 )
{
GivePlayerItem(client, "weapon_hegrenade");
}
else
{
PrintToServer("");
}
}
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse


Dodatki SourceMod




Moja zawartość
Mężczyzna