Jump to content
  • 0

VIP Ticket ITEM_DB


ahdsf

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  11/19/13
  • Last Seen:  

I'm trying to create 3 VIP Tickets. VIP Ticket 1 day, VIP Ticket 15 Days and VIP ticket 30 days. You're all set. Just need to configure in item_db.txt how do I put it there?
I wanted the item to pull itself function. Or it can be normal anyway. Can someone help me?
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  11
  • Reputation:   2
  • Joined:  03/15/14
  • Last Seen:  

like this

//===================================================================
// More Usable Items
//===================================================================
42011,VIP_3D,VIP Ticket 3D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 4320; },{},{}
42012,VIP_7D,VIP Ticket 7D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 10080; },{},{}
42013,VIP_30D,VIP Ticket 30D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 43200; },{},{}
42014,VIP_60D,VIP Ticket 60D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 86400; },{},{}
//===================================================================
 

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  218
  • Reputation:   152
  • Joined:  11/28/11
  • Last Seen:  

try it..
3001,VIP Pass 1,VIP Pass 1,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time(60*24*7); },{},{} //VIP Active for seven days

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   30
  • Joined:  04/03/17
  • Last Seen:  

make a custom usable item.

item script

atcommand "@vip +24h "+strcharinfo(0)+""; // 1 day

atcommand "@vip +15d "+strcharinfo(0)+""; // 15 day

atcommand "@vip +1m"+strcharinfo(0)+""; // 1 day

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  11/19/13
  • Last Seen:  

8 hours ago, Kinx said:

make a custom usable item.

item script

atcommand "@vip +24h "+strcharinfo(0)+""; // 1 day

atcommand "@vip +15d "+strcharinfo(0)+""; // 15 day

atcommand "@vip +1m"+strcharinfo(0)+""; // 1 day


Like this? Did not catch!
31366,Ticket VIP 1 Day,Ticket VIP 1 Day,2,1000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{atcommand "@vip +24h "+strcharinfo(0)+"";},{},{}

 

Edited by ahdsf
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  07/01/12
  • Last Seen:  

On 05/06/2017 at 3:25 PM, ahdsf said:

Like this? Did not catch!
31366,Ticket VIP 1 Day,Ticket VIP 1 Day,2,1000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{atcommand "@vip +24h "+strcharinfo(0)+"";},{},{}

 

if you find the solution, share with us please.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  03/21/21
  • Last Seen:  

On 1/26/2021 at 9:20 AM, hytsuya123 said:

like this

//===================================================================
// More Usable Items
//===================================================================
42011,VIP_3D,VIP Ticket 3D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 4320; },{},{}
42012,VIP_7D,VIP Ticket 7D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 10080; },{},{}
42013,VIP_30D,VIP Ticket 30D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 43200; },{},{}
42014,VIP_60D,VIP Ticket 60D,0,2,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ vip_time 86400; },{},{}
//===================================================================
 

where do you put this?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...