MRThinker Posted April 26, 2018 Share Posted April 26, 2018 Hello to all Please help me build a referral system I want to make sure that each player sends another player to the server with a referral and receives a prize And have commands like / myref. For example Server: Your Referral Number is 10 my referral is 10 Quick thanks for help. Thank you all Link to comment
Master_MTA Posted April 27, 2018 Share Posted April 27, 2018 (edited) 58 minutes ago, MRThinker said: my referral is 10 you should use sql functions like executeSQLQuery dbConnect dbQuery dbPoll dbExec dbFree and link the referral id with account name and use addCommandHandler to check if player have any prizes +_+ etc Edited April 27, 2018 by Master_MTA Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now