SA-MP Forums Archive
[HELP] Player Info - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Player Info (/showthread.php?tid=199870)



[HELP] Player Info - Larsey123IsMe - 16.12.2010

Hello im trying to make an #Register system" but i failed i got like 19 different errors =/

and now ill ask you to make it for me (sorry but i really need this)

-------------------------------------------------------------------------------------------------
~Register (Dialog)
~Login (Dialog)

What should it save:

~PlayerName
~Admin Level
~Score
~Money
~Kills
~Deaths


Re: [HELP] Player Info - blackwave - 16.12.2010

Click here



PS: already tried and works sucessfully


Re: [HELP] Player Info - Larsey123IsMe - 16.12.2010

Quote:
Originally Posted by blackwave
Посмотреть сообщение
Click here



PS: already tried and works sucessfully
I have tried that too, but it wont work for me the info dont saves anywhere. I did it like this:

PasteBin


Re: [HELP] Player Info - Haydz - 16.12.2010

Go to the script request thread.


Re: [HELP] Player Info - Larsey123IsMe - 16.12.2010

..........

Ill made THIS once, but that save my password as "1156452165465(random numbers)"

and it wont save the

Score
Money
Kills
Deaths


Like This:
pawn Код:
Password=69206317
AdminLevel=5
Score=0 //I get 1 score for killing someone, but still say 0
Money=0 //Money i get for kill someone dont get saved
Deaths=0 //After i have been killed 2 times it still say 0
Kills=0 //After i have killed 5 persons it still say 0



Re: [HELP] Player Info - Retardedwolf - 16.12.2010

You're still using Dini? Use something else such as y_ini, MySQL, SQLite, djson


Re: [HELP] Player Info - Larsey123IsMe - 16.12.2010

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
You're still using Dini? Use something else such as y_ini, MySQL, SQLite, djson
Yes =/ I dont know how to use: y_ini, MySQL, SQLite, djson


Re: [HELP] Player Info - Scenario - 16.12.2010

Quote:
Originally Posted by Larsey123IsMe
Посмотреть сообщение
Yes =/ I dont know how to use: y_ini, MySQL, SQLite, djson
Yeah, there is a little thing called learning; most of us here went through the same (or similar) process as you are now.


Re: [HELP] Player Info - Souvlaki - 17.12.2010

Try Djson.If you know how to use Dini in max 3 min you would learn how to use Djson.There are pretty similar in syntax.


Re: [HELP] Player Info - Scenario - 17.12.2010

I tried using a file based saving system but it was just a trip from hell and back! I wouldn't bother with file based if I were you; they all have their slight issues.