Need assistant with my login and register script
#1

okey i have created same kind of a system like LARP

PlayerInfo[playerid][pBanana] = 1; etc....

but i have a problem with this system

when i create a new account and register and then login then it gives me the same stats what i had in my other account
could anyone tell me what the problem could be?
Reply
#2

Can you explain the problem a bit more? I don't understand what you mean by when you register it gives you the same stats as your "old account".

Also please post your code. It's most likely not reading correctly from the file.
Reply
#3

Solved it had to add under Public OnPlayerConnect(playerid)

PlayerInfo[playerid][pDrugs] = 0;
PlayerInfo[playerid][pFood] = 0;
PlayerInfo[playerid][pMoney] = 0;

etc...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)