kalabasa Posted February 9, 2022 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
0 Emistry Posted March 5, 2022 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
0 Fabre01 Posted May 3, 2022 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
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.
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.