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

[TF2] Ghostz


  • 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 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 23.05.2012 08:24

Ghostz

Change Player Transperency Values (Ghostzzzz)This is very similar to FlaminSarge's Ghost Mode plugin in which you become a ghost after death. The main difference however is this just lets players become a ghost while alive and in-game.I started to write this plugin with the lack of knowledge that a plugin already offered this. At the moment, the plugin is incomplete, but in a stable condition in which I can release it to the public. I understand that FunCommandsx allows this feature in sm_alpha command, however in my opinion this offers much more functionality (at least it will in the future).For example, this plugin:
  • Uses ClientPrefs to remember if ghostz mode is active.
  • Uses game checks to keep hats/weapons from rendering normal again.
  • Allows players to toggle on or off (will add a CVar later).
  • Let's admins toggle it on others.
CVar's (Defaults):
Code: - sm_ghostz_version "1.0.0"Plugin Versionsm_ghostz_enabled "1"Enable Pluginsm_ghostz_transperency "55"Ghostz Transperency ValueCVar Overrides: Code: admin_overrides.cfg { "ghostz_flag" "b" //Required flag to target other players.}Commands: Code: sm_ghostzon | !ghostzonToggle Ghostz Mode Onsm_ghostzon <#userid|name> | !ghostzon <#userid|name>Toggle Ghostz Mode On On Targetsm_ghostzoff | !ghostzoffToggle Ghostz Mode Offsm_ghostzoff <#userid|name> | !ghostzoff <#userid|name>Toggle Ghostz Mode Off On TargetConfig file will be automatically created at cfgsourcemodplugin.ghostz.cfg Version Log: Spoiler Code: Version 1.0.0* Initial Release. Known Bugs:* None yet, you tell me :) Thanks to:FlaminSarge| Checking code and giving suggestions.MasterOfTheXP| Combining code together and answering many question I had.To Do:* Add admin menu support.* Add admin only CVar.* Add conditions on CVar changes.Download ghostzadmin.smx if you want commands to be for admins only. (Generic Admin) See my other plugins. Attached Files Dołączona grafika Get Plugin or Get Source (ghostz.sp - 6.9 KB) Dołączona grafika Get Plugin or Get Source (ghostzadmin.sp - 6.9 KB)

Wyświetl pełny artykuł




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

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