Hi, I'm am Member for 20minutes and It's my 3Plugin
CSS Throwing Knives
Features
Primary attack throws a knife
Obeys mp_friendlyfire
Headshot detection
Steal other player's knives (optional)
Trail effect (optional)
CVars *Auto generated config (cfg/sourcemod folder)
PHP Code:
// Amount of knives players spawn with.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "100.000000"
sm_throwingknives_count "3"
// Damage adjustment.
// -
// Default: "57"
// Minimum: "10.000000"
// Maximum: "200.000000"
sm_throwingknives_damage "57"
// Enable/disable dev. mode.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_dev "0"
// Knives remaining display location. 1 = Hint | 2 = Key Hint
// -
// Default: "1"
// Minimum: "1.000000"
// Maximum: "2.000000"
sm_throwingknives_display "1"
// Enable/disable plugin.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_enable "1"
// Headshot damage adjustment.
// -
// Default: "127"
// Minimum: "20.000000"
// Maximum: "200.000000"
sm_throwingknives_hsdamage "127"
// Set to "1" if using noblock for players.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_noblock "0"
// If enabled, knife kills get the victims remaining knives. 0 = Disabled | 1 = Melee kills only | 2 = All knife kills
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_throwingknives_steal "1"
// Enable/disable trail effect.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_throwingknives_trail "0"
// Velocity (speed) adjustment.
// -
// Default: "5"
// Minimum: "1.000000"
// Maximum: "10.000000"
sm_throwingknives_velocity "5"
Natives
PHP Code:
SetClientThrowingKnives(client, num);
GetClientThrowingKnives(client);
Global Forwards *Enabled with sm_throwingknives_dev
PHP Code:
Action:OnKnifeThrow(client)
Action:OnKnifeHit(victim, attacker, bool:headshot)
OnPostKnifeKill(victim, attacker, bool:headshot)
UAU!
HOPE YOU LIKE
Attached Files Throwing Knives.zip (15.5 KB)
Wyświetl pełny artykuł
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
[forums.alliedmods.net] [Server] Throwing Knives [New Plugin]
Temat rozp. Adminek AMXX.PL, 23.03.2012 23:36
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych