[Help] How to auto add premium in new account?

Results 1 to 7 of 7
  1. #1
    Apprentice kiybla1qz is offline
    MemberRank
    Nov 2014 Join Date
    11Posts

    [Help] How to auto add premium in new account?

    Everyone Good

    I want to Auto Add premium in new account please help me

    thank


  2. #2
    Yuri-BR#1559 Yuri-BR is offline
    DeveloperRank
    Apr 2013 Join Date
    ☣️❤️Location
    1,040Posts

    Re: [Help] How to auto add premium in new account?

    Try it

    in WZ_ACCOUNT_CREATE

    Add

    Code:
    update UsersData set IsPremium = 1 where CustomerID=@CustomerID

  3. #3
    Apprentice kiybla1qz is offline
    MemberRank
    Nov 2014 Join Date
    11Posts

    Re: [Help] How to auto add premium in new account?

    Quote Originally Posted by Yuri-BR View Post
    Try it

    in WZ_ACCOUNT_CREATE

    Add



    Code:
    update UsersData set IsPremium = 1 where CustomerID=@CustomerID
    thank you for help, I will set a date to?




    For example, the premium 3 days in new account.

  4. #4
    Yuri-BR#1559 Yuri-BR is offline
    DeveloperRank
    Apr 2013 Join Date
    ☣️❤️Location
    1,040Posts

    Re: [Help] How to auto add premium in new account?

    Quote Originally Posted by kiybla1qz View Post
    thank you for help, I will set a date to?




    For example, the premium 3 days in new account.
    PremiumExpireDate = '2014-16-11 00:00:00.000'

  5. #5
    Apprentice kiybla1qz is offline
    MemberRank
    Nov 2014 Join Date
    11Posts

    Re: [Help] How to auto add premium in new account?

    this?


    update UsersData set IsPremium = 1 PremiumExpireDate = '2014-16-11 00:00:00.000' where CustomerID=@CustomerID

  6. #6
    Valued Member erickstyle is offline
    MemberRank
    Sep 2008 Join Date
    Santo André, BLocation
    104Posts

    Re: [Help] How to auto add premium in new account?

    update UsersData set isPremium=1 WHERE CustomerID=@CustomerID
    update UsersData set PremiumExpireDate=DATEADD(DAY, 3, GETDATE()) WHERE CustomerID=@CustomerID


    3 days Premium

  7. #7
    Valued Member Noobly is offline
    MemberRank
    Aug 2014 Join Date
    101Posts

    Re: [Help] How to auto add premium in new account?

    You could just do this if your server is using account types

    Open WZ_ACCOUNT_CREATE then you will see this.

    declare @KeyserialType int = 0

    0 = Legend acc
    2 = Normal acc



Advertisement