oxe1 Posted May 21, 2018 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 03/03/18 Last Seen: June 6, 2018 Share Posted May 21, 2018 Hi everyone, good afternoon, well, I'm here to ask for your help, How do I get all accounts to come with 7 days vips automatically? Example: When creating the account it already comes with 7 days vips automatically without needing a ticket. I have seen this system on several servers and would like to learn, to apply to mine and I count with your help, Thanks Quote Link to comment Share on other sites More sharing options...
0 TheDerpySupport Posted May 21, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.01 Content Count: 208 Reputation: 60 Joined: 09/23/17 Last Seen: July 28, 2021 Share Posted May 21, 2018 51 minutes ago, oxe1 said: Hi everyone, good afternoon, well, I'm here to ask for your help, How do I get all accounts to come with 7 days vips automatically? Example: When creating the account it already comes with 7 days vips automatically without needing a ticket. I have seen this system on several servers and would like to learn, to apply to mine and I count with your help, Thanks They do this using an OnPcLogin script that checks for an account variable to see if they got their free VIP status or not; If not it changes the account variable and give it to them, if they have the variable, the script ends Quote Link to comment Share on other sites More sharing options...
0 oxe1 Posted May 21, 2018 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 03/03/18 Last Seen: June 6, 2018 Author Share Posted May 21, 2018 3 hours ago, TheDerpySupport said: Eles fazem isso usando um script OnPcLogin que verifica uma variável de conta para ver se eles obtiveram seu status VIP gratuito ou não; Se não mudar a variável da conta e dar a eles, se eles tiverem a variável, o script termina Could you get me this script? Quote Link to comment Share on other sites More sharing options...
1 Tyrfing Posted May 22, 2018 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 86 Reputation: 21 Joined: 10/02/13 Last Seen: August 7, 2023 Share Posted May 22, 2018 (edited) prontera,147,175,5 script Vip Giver 52,{ OnInit: hideonnpc "Vip Giver"; OnPCLoginEvent: if (#freeviptime == 0) { vip_time 60*24*7, strcharinfo(0); set #freeviptime,1; } end; } As TheDerpySupport said, it's pretty straightforward. Spoiler Please note that you must have compiled your emulator with VIP support (src/config/core.h) /// Uncomment to enable VIP system. //#define VIP_ENABLE Edited May 22, 2018 by Tyrfing 1 Quote Link to comment Share on other sites More sharing options...
Question
oxe1
Hi everyone, good afternoon, well, I'm here to ask for your help,
How do I get all accounts to come with 7 days vips automatically?
Example: When creating the account it already comes with 7 days vips automatically without needing a ticket.
I have seen this system on several servers and would like to learn, to apply to mine and I count with your help, Thanks
Link to comment
Share on other sites
3 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.