30.05.2016, 14:32
(
Последний раз редактировалось iKevin; 02.06.2016 в 10:18.
)
K-VIP | Simple VIP System
Version 1.0.1 (2/6/2016)
Today, I am proud to release my first VIP system which I've been working on for the past few days when I was on vacation. K-VIP is a VIP system with some simple commands and some features which will be either improved or new will be added in the future development. K-VIP is saving and loading via MySQL, which is the fastest way I could make it load and save, it's also using the fastest command processor - ZCMD.
Version 1.0.1 (2/6/2016)
Today, I am proud to release my first VIP system which I've been working on for the past few days when I was on vacation. K-VIP is a VIP system with some simple commands and some features which will be either improved or new will be added in the future development. K-VIP is saving and loading via MySQL, which is the fastest way I could make it load and save, it's also using the fastest command processor - ZCMD.
Features
- 4 VIP levels - Bronze VIP, Silver VIP, Gold VIP and VIP Moderator.
- MySQL saving and loading - you don't have to worry about the MySQL tables, because the script will add the tables itself.
- A bunch of commands for VIPs and Moderators.
- When 30 days are around, the VIP will appear as expired and VIP Moderator can check the expired VIPs via /vips which he can then remove the VIP.
- A player can restore his VIP when the 30 days are gone by typing /restorevip, but when he quits the game and rejoins he can't restore the VIP anymore.
- VIP Blackmarket is a place where VIPs can purchase weapons.
- Some vehicles spawned for VIPs around the blackmarket - NOTE: only VIPs can enter these vehicles.
- VIP menu for VIPs where VIPs can do different things like, get health, armor, repair their vehicle, get a gift (every 5 hours), set their name color to the purple one etc.
- ...
Commands
- /makevip | requires VIP level 4 (Moderator) | Promote someone to a VIP
- /enter | requires VIP level 1+ (Bronze+) | Enter the VIP Blackmarket at the entry point
- /exit | requires VIP level 1+ (Bronze+) | Exit the VIP Blackmarket at the exit point
- /vip | requires VIP level 1+ (Bronze+) | Display the VIP menu
- /blackmarket | requires VIP level 1+ (Bronze+) | Get a checkpoint that leads you to the VIP Blackmarket
- /vipchat | requires VIP level 1+ (Bronze+) | Chat with other VIPs
- /togvipchat | requires VIP level 1+ (Bronze+) | Toggle the VIP chat ON/OFF
- /buy | requires VIP level 1+ (Bronze+) | Buy weapons in the VIP Blackmarket
- /vipdate | requires VIP level 1+ (Bronze+) | Display when you joined VIP and when your VIP expires
- /vips | requires VIP level 4 (Moderator) | Display all VIPs online with their join & expire date
- /restorevip | requires old VIP level 1+ (Bronze+) | Restore your VIP with your VIP Tokens
- /mytokens | requires VIP level 1+ (Bronze+) or old VIP level 1+ (Bronze+) | Check how many VIP Tokens you currently have
How to install?
- Download the files from Solidfiles.
- Put vip.pwn and vip.amx into your filterscripts folder, and the rest of the files to the folders which are provided in the .rar
- Open your server.cfg file, and into the filterscripts add vip, so it'll look like filterscripts vip
- Open vip.pwn and find the MySQL configuration, adjust it to your MySQL details and re-compile the script.
- If you use a host, re-upload the files and you're good to go!
Includes & Plugins
- foreach | https://sampforum.blast.hk/showthread.php?tid=570884 | Thanks to ******
- MySQL | https://sampforum.blast.hk/showthread.php?tid=56564 | Thanks to BlueG & Kyeman
- sscanf2 | https://sampforum.blast.hk/showthread.php?tid=602923 | Thanks to ******, Emmet_, maddinat0r
- zcmd | Thanks to Zeex
Downloads
- Full Package | https://www.solidfiles.com/v/Y2BgQB74BLV8B | Solidfiles
- vip.pwn | http://pastebin.com/6HqL32d5 | Pastebin
Future Development
Код:
version 1.0.1 known bugs -VACANT
Код:
version 1.0.2 suggestions -VACANT
Код:
version 1.0.0 changelog -Initial release version 1.0.1 changelog -Fixed the cutten query in the SaveChar callback