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

[ANY] Time Point System


  • 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 26.10.2012 22:38

This doesn't use any Cvars, if its installed its enabled.

  • Every 5 minutes points go up by 1
  • To edit the amount of times to increase a point edit this line:
Code: ClientTimer[client] = CreateTimer(300.0, TimerAddPoints, client, TIMER_REPEAT);
  • If you change that I also suggest you change the message that appears every ten minutes:
Code: ClientTimer[client] = CreateTimer(600.0, TenMinutes, client, TIMER_REPEAT);

And... Code: PrintToChat(client, "x03You've been on for x06tenx03 minutes and earned x06%dx03 more points!", 2);

  • Users can type !points or sm_points in console to view the amount of points they have.
  • This plugin also comes with an announcement to, well, announce when someone joins the server and how many times they've joined before.

  • This Plugin creates a file when loaded in "cstrike/addons/sourcemod/data/stats/playerinfo.txt" where all the points and connect times are saved.

Screen Shots:Dołączona grafika

Dołączona grafika

Dołączona grafika

Attached Files Dołączona grafika TimePoints.smx (4.0 KB) Dołączona grafika Get Plugin or Get Source (TimeRanks.sp - 2.6 KB)

Wyświetl pełny artykuł




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

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