Raised This Month: $12 Target: $400
 3% 

VIP System ( SQL Support )


Post New Thread Reply   
 
Thread Tools Display Modes
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 12-14-2021 , 07:28   Re: VIP System
Reply With Quote #11

  • Create the connect message from VIPSetting.ini, if the message is empty, will not show.
  • Added fields %name% , %authid% , %flag% for connect message.
  • Control the time of task's from VIPSetting.ini.
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 12-28-2021 at 11:27.
Supremache is offline
Fraggor
Junior Member
Join Date: Jun 2020
Old 12-21-2021 , 02:32   Re: VIP System
Reply With Quote #12

Hi @Supremache, thanks for the effort, but as @Napoleon_be said, it's not really that unique, so what i would like to suggest first is a sub-plugin for weapon menu with ability to configure & customize:

- the guns to add + armor + equipment + their order + color
- round to start allowing usage of the menu
eg. awp 3ed round - ak-47 2nd round etc...

- config maps prefix to disable the plug-in eg. de_* fy_*

- on/off checking for buyzone + a count down after each round start for ability to use a menu (to prevent abuse) + show in menu the count down like here (it just looks nice )

- vampire integration + screen fade on kill + configuration
- multi lang

ability to use Re-api
Fraggor is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 12-21-2021 , 02:58   Re: VIP System
Reply With Quote #13

Quote:
Originally Posted by Fraggor View Post
Hi @Supremache, thanks for the effort, but as @Napoleon_be said, it's not really that unique, so what i would like to suggest first is a sub-plugin for weapon menu with ability to configure & customize:

- the guns to add + armor + equipment + their order + color
- round to start allowing usage of the menu
eg. awp 3ed round - ak-47 2nd round etc...

- config maps prefix to disable the plug-in eg. de_* fy_*

- on/off checking for buyzone + a count down after each round start for ability to use a menu (to prevent abuse) + show in menu the count down like here (it just looks nice )

- vampire integration + screen fade on kill + configuration
- multi lang

ability to use Re-api
I know it is not unique but has more optimized, I have 10 days before back to the university i will create the sub plugins but there are some things i didn't understand i want more details about them so i will create the plugin and you can ask for addtions

About Re-api i used it but i don't like it i want the plugin be simple and optimized using original modules of amxmodx because if there are some one doesn't have idea about it will ask alot for how to complie the plugin.
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 12-21-2021 , 07:22   Re: VIP System
Reply With Quote #14

@Fraggor;
You need this include file to complie this plugin

How this work ? it's like Weapons Menu Creator that created by @HamletEagle but with more features and optimizing the code.
1. You can edit the weapon name that show in the menu from the confing file with colors ex: "\rAK 47 \yKLASHINKOFE"
2. Make the weapon show only for X team
3. Add armor reward when geting the weapon
4. Access weapon: work for admin system and vip system, Cvar control cw_access_type " " ( 1 = vip system | 0 = admin system )

How to create the weapon ?
Example: "Weapon name" "weapon_id" "Weapon Bullet" "Armor reward" "Weapon Team" "Weapon Access"
- You can create the weapon without TEAM - ACCESS - Armor position
"XM1014 Shot-gun" "weapon_xm1014" "255" "300" "0" "a"
Attached Files
File Type: sma Get Plugin or Get Source (WeaponMenu.sma - 185 views - 5.6 KB)
File Type: ini CustomWeapons.ini (209 Bytes, 111 views)
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 12-22-2021 at 05:53. Reason: Tested and fixed small wrongs
Supremache is offline
Fraggor
Junior Member
Join Date: Jun 2020
Old 12-22-2021 , 06:37   Re: VIP System
Reply With Quote #15

thanks, i like the result so far, the config is pretty customizable, can you add in the "CustomWeapons.ini" something like:

- ability to change weapon giving method eg. GT_DROP_AND_REPLACE
- ability to change armor with or without helmet
- ability to give multiple weapons in one menu eg. weapon_xm1014;weapon_deagle img

a new category called something like auto give on spawn with ability to :
- customize auto give weapon/utilities/armor on spawn eg. always give deagle after spawn

btw there's no check for vip flag, menu will open regardless, not sure if that's intentional (though it's only for the weapon menu)
also, i've tried to set a password in "VIPAccount.ini" but i got "you have no access", am not sure about the way to set the password on the client, because the command setinfo "password"
is a wrong syntax, so for now i've set that field to empty

are you planing on implementing any of the suggestions that i mentioned ?

*Edit:
Quote:
i didn't understand i want more details about them
sorry i am not the best at expressing what i want, Please feel free to Quote me on anything the you didn't understand, i will gladly try to rephrase my sentences.

Last edited by Fraggor; 12-22-2021 at 07:00.
Fraggor is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 12-22-2021 , 11:40   Re: VIP System
Reply With Quote #16

Quote:
Originally Posted by Fraggor View Post
- ability to change weapon giving method eg. GT_DROP_AND_REPLACE
I dont understand !!

Quote:
Originally Posted by Fraggor View Post
- ability to change armor with or without helmet.
Well, i gonna make it like "Armor Enable vest|helm" ex: "100 1" = 100 armor with vest and helmet

Quote:
Originally Posted by Fraggor View Post
- ability to give multiple weapons in one menu eg. weapon_xm1014;weapon_deagle img
This mean i should do remake for the plugin with less options

Quote:
Originally Posted by Fraggor View Post
a new category called something like auto give on spawn with ability to :
- customize auto give weapon/utilities/armor on spawn eg. always give deagle after spawn
if you want this addition then why you asked for the weapon menu !, actually the menu open automatic per spawn

Quote:
Originally Posted by Fraggor View Post
btw there's no check for vip flag, menu will open regardless, not sure if that's intentional (though it's only for the weapon menu)
It's work like: if user doesn't have the weapon access will see it but can't get it and will show this message "Unavailable weapon."

Quote:
Originally Posted by Fraggor View Post
also, i've tried to set a password in "VIPAccount.ini" but i got "you have no access", am not sure about the way to set the password on the client, because the command setinfo "password"
is a wrong syntax, so for now i've set that field to empty
Huh ?
There's no issues in the plugin.
Sure you have the same password of admin, sure you put the fourth sections of user, check error logs,
Method: setinfo_ pw "The password"
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Fraggor
Junior Member
Join Date: Jun 2020
Old 12-23-2021 , 03:14   Re: VIP System
Reply With Quote #17

Quote:
Originally Posted by Fraggor View Post
- ability to change weapon giving method eg. GT_DROP_AND_REPLACE
Quote:
Originally Posted by Supremache View Post
I dont understand !!
sorry that's a reapi parameter for the function rg_give_item link

Quote:
Originally Posted by Fraggor View Post
- ability to give multiple weapons in one menu eg. weapon_xm1014;weapon_deagle img
Quote:
Originally Posted by Supremache
This mean i should do remake for the plugin with less options
idk it would be just faster/easier if you just pressed one button instead of 2 menues, for example like in this menu img, i would say that's pretty customizable.

Quote:
Originally Posted by Fraggor
a new category called something like auto give on spawn with ability to :
- customize auto give weapon/utilities/armor on spawn eg. always give deagle after spawn
Quote:
Originally Posted by Supremache
if you want this addition then why you asked for the weapon menu !, actually the menu open automatic per spawn
you are correct, but remember about the time limit for menu's items access ?
maybe someone is afk for the first (10 secounds), so if they spawn with deagle/armor/grenades it would be a bit less painful for them to play that round, thats what i was thinking about

Quote:
Originally Posted by Fraggor
btw there's no check for vip flag, menu will open regardless, not sure if that's intentional (though it's only for the weapon menu)
Quote:
Originally Posted by Supremache
It's work like: if user doesn't have the weapon access will see it but can't get it and will show this message "Unavailable weapon."
Yes you're correct, i was testing the old sma file in my initial post, it's working fine now

Quote:
Originally Posted by Supremache
Huh ?
There's no issues in the plugin.
Sure you have the same password of admin, sure you put the fourth sections of user, check error logs,
Method: setinfo_ pw "The password"
i see, u mean there's "_passwordkey" "password"
you might want to add it to the "VIPAccount.ini" to avoid confusion
Code:
"Name|AuthID" "_pw" "Password" "Flags" "Expire Date"
after testing the new sma here, unless the the field "Weapon Access" in "CustomWeapons.ini" is empty the menu won't give me the weapon
Fraggor is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 12-23-2021 , 03:38   Re: VIP System
Reply With Quote #18

I created it like that for who using zp/ze/.. mod would be better but it's okay i will remake it to which style you want.
P.s: the menu is checking if player has get the weapon or not, if he has the weapon and tried to get open the menu will show this msg "You have already chosen your weapons."
How to create an account:
// Name or steamid // Pw // flags //Expiredate ( 0 = permanent )
"Pro" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2022 00:00:00"
"STEAM_:0:1 99999999" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2022 00:00:00"


How to sign in : type in the console setinfo _pw "Your password"
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 12-23-2021 at 03:42.
Supremache is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 12-24-2021 , 05:49   Re: VIP System
Reply With Quote #19

The menu has three features:
1. Pistols type when i select this option the pistols do switch
2. Armor type when i select this option the armor type do switch between "Vest and helm or nothing"
3. Nade type etc...

Something similar:



All info in the configuration file:
Attached Files
File Type: ini CustomWeapons.ini (466 Bytes, 102 views)
File Type: sma Get Plugin or Get Source (Weapon Menu v2.sma - 154 views - 7.5 KB)
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 12-24-2021 at 17:17.
Supremache is offline
Fraggor
Junior Member
Join Date: Jun 2020
Old 01-02-2022 , 21:37   Re: VIP System
Reply With Quote #20

Many Thanks @Supremache,appreciate the effort, Sorry for the late Reply, was a bit busy lately.
Fraggor is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode