Jump to content
Billy

Simple VIP

Recommended Posts

8 minutes ago, yosf said:

where iput this to work it Billy

You require:

Hook & Serialize Add-ons (Not sure about Hook)

 

create a folder named "extension" on your script folder,put this system there and then load it from skilleffect.lua preferably

 

example:

dofile(GetResPath("script\\extension\\BillyVIP\\start.lua"))

Share this post


Link to post
Share on other sites
On 16/6/2016 at 10:00 AM, Billy said:

Simple VIP system.

Items to add admin defined time to VIP.

Using an item when already a VIP extends your time.

 

VIP.lua

could you explain how to install it, I am not very expert in this and I do not know where some things are going

Share this post


Link to post
Share on other sites
3 hours ago, J0k3r said:

@AsusBlack i think he explained everything in the lua file (VIP.lua)

i

On 16/6/2016 at 10:00 AM, Billy said:

Simple VIP system.

Items to add admin defined time to VIP.

Using an item when already a VIP extends your time.

 

VIP.lua

could you explain how to install it, I am not very expert in this and I do not know where some things are going

Share this post


Link to post
Share on other sites
20 hours ago, AsusBlack said:

i

could you explain how to install it, I am not very expert in this and I do not know where some things are going

inside Vip.lua are the following instructions.

	Installation:
		1) Change VIP.SavePath to your desired save path.
		2) Change VIP.State to the state you wish to add to a VIP player
		3) Add lines to iteminfo
			eg:
				8967	VIP 10 Seconds	n1216	10130016	0	0	0	0	0	0	31	0	0	0	0	0	1	1	1	1	1	0	200	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,0	0,0	0	0	0	0	0	0	0	0	0	AddVIP	0	0	0	0,0	0	0	Use to get VIP
				8968	VIP 1 Day	n1216	10130016	0	0	0	0	0	0	31	0	0	0	0	0	1	1	1	1	1	0	200	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,0	0,0	0	0	0	0	0	0	0	0	0	AddVIP	0	0	0	0,0	0	0	Use to get VIP
				8969	VIP 7 Days	n1216	10130016	0	0	0	0	0	0	31	0	0	0	0	0	1	1	1	1	1	0	200	-1,-2,-2,-2	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	-1,-2,-2,-2,-2,-2,-2,-2,-2,-2	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0,0	0	0,0	0,0	0	0	0	0	0	0	0	0	0	AddVIP	0	0	0	0,0	0	0	Use to get VIP
		4) Adjust VIP.Items to have the ID of the item as the index, and the time in seconds that the item will add upon use as the value
			eg : 
				[8967] = 10,
			Means item 8967 will add 10 seconds to VIP.
		5) Load this file with DoFile()

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×