kalabasa Posted February 9 Share Posted February 9 if (countitem(.vip_item[[email protected]]) > 0) delitem .vip_item[[email protected]],1; vip_time ( .vip_day[[email protected]] * 1440 ); mes .npc$; mes "You are now ^FF0000VIP^000000 for "+.vip_day[[email protected]]+" 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 Share Posted March 5 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. Quote Link to comment Share on other sites More sharing options...
0 Fabre01 Posted May 3 Share Posted May 3 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...
if (countitem(.vip_item[[email protected]]) > 0)
delitem .vip_item[[email protected]],1;
vip_time ( .vip_day[[email protected]] * 1440 );
mes .npc$;
mes "You are now ^FF0000VIP^000000 for "+.vip_day[[email protected]]+" Day(s)!";
close;
this part makes the character vip on whole account.
Link to comment
Share on other sites