Jump to content

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

Posted Image Posted Image

Guest Message by DevFuse
 

Photo

[ANY] Time Point System


  • You cannot start a new topic
  • Please log in to reply
No replies to this topic

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7,509
  • Lokalizacja:AMXX.PL
Offline

Posted 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:Posted Image

Posted Image

Posted Image

Attached Files Posted Image TimePoints.smx (4.0 KB) Posted Image Get Plugin or Get Source (TimeRanks.sp - 2.6 KB)

Wyświetl pełny artykuł




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users