Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[forums.alliedmods.net] [Any] Prevent Fast Ladder Climb


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 06.04.2012 07:16

<p>

Prevent Fast Ladder Climb



v. 1.0.0

Features :
  • Prevent players from climbing ladders quickly (using two directions movement to climb faster; i.e. 'wa', 'wd', 'as' or 'sd'). This is done by disabling left (a) and right (d) keys when people are climbing a ladder while using UP (w)and DOWN (s).
Why I made this plugin :
  • Just saw that other plugin here which adressed that problem, but was for L4D only and aimed at other different fixes. So this one is for any mod that has ladders. It uses almost the same method (mine corrected a bug that I'm reporting as I write these lines).
  • It can be annoying when people climb at different speed (like when you move too quickly, and you are blocked by a noob who doesn't know how to climb quickly; or when you climb a ladder too quickly and do a little jump in the air and get stuck on someone's head). I believe this solve (ungracefully :/) the problem.
CVars :
  • preventfastladderclimbversion: Gives version -_-'
  • ----------
  • preventfastladderclimb : Is the plugin enabled ? 1=Yes (Default), 0=No.
--------------

Changelog :
  • 1.0.0 Initial release. (06-04-2012)
Notes :
  • Tested only in CS: Source, but code is taken from a L4D plugin (and I see no reason to not work in a Source game that has ladders).
  • Credits to "disawar1" for the way to prevent people from climbing quickly the ladders.

Attached Files Dołączona grafika Get Plugin or Get Source (preventfastladderclimb.sp - 1.3 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych