SA-MP Forums Archive
[FilterScript] K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] (/showthread.php?tid=608308)



K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - iKevin - 30.05.2016

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.
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
How to install?
Includes & Plugins
Downloads
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
You can suggest something for the future development and please, if you find any bugs report them on the thread.


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - Slaughters - 30.05.2016

Good stuff.


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - iKevin - 30.05.2016

Quote:
Originally Posted by Slaughters
Посмотреть сообщение
Good stuff.
Thanks


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - GoldenLion - 30.05.2016

Good job mate.


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - Shady - 30.05.2016

Good job, my partner.


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - Amunra - 31.05.2016

Nice ...
Good Job !!


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - SyS - 31.05.2016

i would suggest u to change the "k" from ur scripts 'cause there r lot of other "k"
ot:good work


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - iKevin - 31.05.2016

Thanks a lot everyone


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - Konstantinos - 31.05.2016

You call LoadChar in OnPlayerConnect and you never execute a query with "LoadChar" as the specified callback to select the data from the database before. This will only lead to no active cache warnings and load nothing.

PS: In the pastebin version.


Re: K-VIP | Simple VIP System [MySQL/ZCMD/SSCANF/FOREACH] - iKevin - 31.05.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
You call LoadChar in OnPlayerConnect and you never execute a query with "LoadChar" as the specified callback to select the data from the database before. This will only lead to no active cache warnings and load nothing.

PS: In the pastebin version.
I don't get you, I'm loading the data from the database in the callback and storing it into the player's variables.. Can you explain more, since I didn't get you right I suppose.