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

[Dev] Client Prop Explorer


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

Napisano 07.09.2012 08:38

Recently a friend asked me if it was possible to add more teams to CS:S (Something which I had done in previous versions, but not the most recent one), so I whipped up a little plugin to set the player's m_iTeamNum. Once I did that I realized that it would be even easier to just make something that gets/sets almost all of a player's properties..Using it is as simple as typing set_prop_int m_iTeamNum 4 (to set your team number to a previously unused fourth team).Full list of commands:
  • set_prop_int
  • set_prop_string
  • set_prop_vector
  • set_prop_float
  • set_prop_ent
  • get_prop_int
  • get_prop_string
  • get_prop_vector
  • get_prop_float
  • get_prop_ent
  • prop_set_target //This function sets your prop modification target. Note: it is not checked in ANY way.
It will work on any platform that sourcemod does. Use sm_dump_netprops_xml to create a file that lists all properties.Note: The commands provided by this plugin are NOT admin commands. This plugin should NEVER be run on anything other than a protected test server (as a single mistake could cause a server crash...this is a plugin solely for ease of development!). I may be persuaded to modify them to be admin commands if necessary for use on testing servers. Attached Files Dołączona grafika Get Plugin or Get Source (proptest.sp - 5.1 KB)

Wyświetl pełny artykuł




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

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