Posts: 284
Threads: 78
Joined: May 2016
Reputation:
0
What is a good way to add money, level after player registration. At login he gives, but after registration he does not. How to make? I'm doing RolePlay gamemode.
Player[playerid][Money]
Player[playerid][Level]
Posts: 284
Threads: 78
Joined: May 2016
Reputation:
0
I think I have misinterpreted. I wanted so that after registration, I login in to my account without entering a login password, get money = 5000, level = 1, skinid, adminlvl = 0. I have OnAccountCheck, CreateAccount,OnAccountCreate, AssignPlayerData, SaveAccount, ResetPlayerData
Posts: 1,071
Threads: 24
Joined: Aug 2014
Reputation:
0
Nice rep hunting tho.
Anyway,
Okay, So I understand you want to give players some default money and level when they register for the first time right?
What you can do is, Under OnDialogResponse -> Register Dialog, under if(response) you can set the values for those variables what ever you want and when a player spawns, he will have that much money.