Jump to content
  • 0

make vip per character


kalabasa

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

if (countitem(.vip_item[.@i]) > 0)
                        delitem .vip_item[.@i],1;
                        vip_time ( .vip_day[.@i] * 1440 );
                        mes .npc$;
                        mes "You are now ^FF0000VIP^000000 for "+.vip_day[.@i]+" Day(s)!";
                        close;

this part makes the character vip on whole account.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

instead of using the built-in vip system, you probably have to use a different approach.

Give the item to player as rental items (may use rentitem(...) script commands)

then make the item not tradable/storeable, need to be character bound.

then every time check if the item exists in player inventory before proceed to access VIP features.

However, you lost all the benefits of using the built-in VIP system that come with EXP bonus etc.

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.01
  • Content Count:  21
  • Reputation:   0
  • Joined:  12/12/21
  • Last Seen:  

Hello, I have read many posts in the forum, but I still have not been able to make the item-based vip system. I even opened a thread about it. Can you give me information about this? Also, what do you mean when you say "You have lost the VIP advantages"? Finally, to activate the vip system, do I need to activate the DB database from the inter? Thanks in advance.

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...