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

Vip Information Menu [TF2]


  • 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 19.12.2014 02:15

**VIP Information Menu** V0.9


About the plugin

This plugin is a direct edit to Chundo's Help menu plugin for Team Fortress 2. I have changed the code and the configuration around to my needs and changed this plugin into a VIP Information Menu. I am uploading this today as both my first upload, and my first ever attempt to change source code. I have little to no knowledge of this language and worked to the fullest of my potential.

Description

This plugin allows for any user to access a VIP Information Menu by simply doing !vip in the chat. The menu has sub menus for different sections. Such sections are:

~Payment
~Perks
~Rules
~Map rotation (I didn't know how to remove this feature in the code. Any help would be great)
~Current online admins (doesn't display owners. Please help with that)

Cvars

sm_vipmenu_version (Don't Touch this)
sm_vipmenu_welcome "1" //Show welcome message to newly connected users
sm_vipmenu_admins "0" //Show a list of online admins in the menu

Commands

!vip
/vip
!sm_vip
/sm_vip

Configuration

The configuration file needs to be put in your tf/Addons/sourcemod/configs folder. this is how it looks:

PHP Code:


"VIP MENU"
{
"Payment"
{
"title" "VIP COSTS"
"type" "list"
"items"
{
"" "VIP is currently 1 key per month"
"" "You can donate to either Volume, or Snowie"
"" "WARNING: DO NOT DONATE FOR VIP TO ANYONE ELSE"
}
}
"Perks"
{
"title" "VIP perks"
"type" "list"
"items"
{
"" "Toggle VIP tag"
"" "Ride in a bumper kart"
"" "Activate Explosive arrows"
"" "Turn into a robot"
"" "Colorize your character"
"" "Warp into exclusive VIP room"
"" "Have unusual effects on weapons"
"" "Actviate killstreak effects without killing"
}
}
"Rules"
{
"title" "VIP Rules"
"type" "list"
"items"
{
"" "No using commands on others"
"" "No bumper kart and friendly at the same time"
"" "You may lose your VIP if you break a rule"
"" "Once you have paid for VIP, you can not receive a refund"
}
}
}

NOTE:
I take no original ownership of the plugin I have edited. This is simply an edit from an already made plugin. found here: https://forums.allie...576&page=16

-Snowie ;D

Attached Files Dołączona grafikaGet Plugin or Get Source (vipmenu.sp - 8.9 KB) Dołączona grafikavipmenu.cfg (924 Bytes)

Wyświetl pełny artykuł




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

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