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

Buy VIP With Points - Last Update 13/05/2013


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-10-2013 , 11:54   Buy VIP With Points - Last Update 13/05/2013
Reply With Quote #1

[DESCRIPTION]
With this plugin, people can buy VIP with Points.
You get points killing enemies.
You can control amount of points via Cvar.
It have: Normal Kill and Hs Kill

[HOW THIS WORKS]

By default:
- Doesnt Uses SQL (You Can Use SQL. Just Remove // from the SQL define
- Cost Of VIP is 500 Points
- VIP Flag is t (You can change in DEFINE, and it supports multiple flags)
- Points save/load with nvault (i dont think that iam gonna make it save/load by sql)

[REQUIREMENTS]

- Using the last Version of AMXX (Of oficial versions) . Currently it is 1.8.2
- Dont use amxbans or other admin manager that disables admin.amxx or adminsql.amxx

[CREDITS]
- AMX MOD X Development Team
- ConnorMcLeod For Optimize Player Menu

[COMMANDS ADMINS]
- say /addvip -> Menu For Add Someone As VIP
- amx_givepoints -> Gives Someone Points
- amx_removepoints -> Removes Someone Points

[COMMANDS USERS]
- Say /points or /mypoints to check how many points have
- Say /buyvip to buy vip or check how many more points need to can buy VIP

[IMPORTANT]
If you using this plugin and you see a new oficial version of AMX MOD X and you install that new version, you should update also this plugin.
(Everytime AMX MOD X gonna do update, i will come here to update this one too. Why? Because i use one function from admin.sma, so if it is updated and modify something, i will need to do the same)

[EXTRA INFO]
- If user is admin (have some flag) you cant add him and he cant buy vip. It needs to be edited in users.ini

[CURRENT AMX MOD X COMPATIBLE VERSION]
> 1.8.2 <

I think it is all.
I tested, it seems works perfectly

Some Bug? Report Here.


Attached Files
File Type: sma Get Plugin or Get Source (buy_vip_with_points.sma - 3882 views - 12.2 KB)
__________________

Last edited by Jhob94; 05-13-2013 at 17:48. Reason: update
Jhob94 is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 05-10-2013 , 12:28   Re: Buy VIP With Points
Reply With Quote #2

Ooo, gj man, nice plugin
__________________
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-10-2013 , 12:47   Re: Buy VIP With Points
Reply With Quote #3

Thanks
Btw i dont know if it gonna get approved... I did it really fast and wasnt hard
__________________
Jhob94 is offline
alicx
BANNED
Join Date: Mar 2013
Location: Tunisia
Old 05-10-2013 , 14:05   Re: Buy VIP With Points
Reply With Quote #4

gj man it's good :p
alicx is offline
Send a message via MSN to alicx Send a message via Skype™ to alicx
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-10-2013 , 15:19   Re: Buy VIP With Points
Reply With Quote #5

if i understood right, you use ONLY sql for saving admins not points right??
btw you can add to save points by name or steamid(selected by cvar) to sql on another table...
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-10-2013 , 16:10   Re: Buy VIP With Points
Reply With Quote #6

Quote:
Originally Posted by oxygen935 View Post
if i understood right, you use ONLY sql for saving admins not points right??
btw you can add to save points by name or steamid(selected by cvar) to sql on another table...
For add/load admin via sql, you should use adminsql.amxx and ofc, uncomment the Define of sql in this plugin.

It doesnt saves points via sql. As i said, i dont know if gonna make it load sql. It is basic point system, i dont think people will need sql just for it. And the principal objective of points isnt have lot of points, but have enought points for be VIP.

About save by nick i wont do it. It saves by Steam ID, and will be only that. Non-Steam = No Support
__________________
Jhob94 is offline
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 05-10-2013 , 17:30   Re: Buy VIP With Points
Reply With Quote #7

How many time vip? So when you buy vip what you do with the rest of the points?
__________________

piepie is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-10-2013 , 19:07   Re: Buy VIP With Points
Reply With Quote #8

Quote:
Originally Posted by piepie View Post
How many time vip? So when you buy vip what you do with the rest of the points?
VIP is perm, you should remove it manually if you want temporary. It is like amx_addadmin

About points. Iam thinking on add something in next version, or simply remove vip system to who is vip. Opened to suggestions
__________________
Jhob94 is offline
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 05-10-2013 , 19:32   Re: Buy VIP With Points
Reply With Quote #9

Maybe make a shop to buy vip privileges like grenades at roundstart, etc, etc. something like that
__________________

piepie is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 05-10-2013 , 20:32   Re: Buy VIP With Points
Reply With Quote #10

Recent things I saw.

Every time one suicides himself you get a point.

Also if you stop the plugin and the map changes. All points get erased.
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
Reply



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 09:07.


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