kalabasa Posted February 9, 2022 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Share Posted February 9, 2022 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. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted March 5, 2022 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 5, 2022 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. 1 Quote Link to comment Share on other sites More sharing options...
0 Fabre01 Posted May 3, 2022 Group: Members Topic Count: 7 Topics Per Day: 0.01 Content Count: 21 Reputation: 0 Joined: 12/12/21 Last Seen: December 28, 2023 Share Posted May 3, 2022 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. Quote Link to comment Share on other sites More sharing options...
Question
kalabasa
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.