SA-MP Forums Archive
Script problem - 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)
+--- Thread: Script problem (/showthread.php?tid=583282)



Script problem - ognyanov - 27.07.2015

Hello i use https://sampforum.blast.hk/showthread.php?tid=430334 script.
When i log in game then i log out to make me admin.But there is only file with my clothing,no with the .ini file.
What to do,help !


Re: Script problem - Erno. - 27.07.2015

Maybe you turn off server before you loging out?


Re: Script problem - ognyanov - 27.07.2015

It's no working.The same problem.


Re: Script problem - ognyanov - 27.07.2015

Anyone know how to fix that.


Re: Script problem - SoFahim - 27.07.2015

Quote:
Originally Posted by ognyanov
Посмотреть сообщение
Anyone know how to fix that.
You need SQlite editor for edit user database. The Database locate as accounts.db


Re: Script problem - ognyanov - 27.07.2015

Ok,from where i can get sqlite editor ? and how to edit the file ? thanks


Re: Script problem - ognyanov - 27.07.2015

Ok i find sqlite editor what to do now ? i opened the file and there is
Tables
Views
Triggers
Indexes ? what to do now ?


Re: Script problem - SoFahim - 27.07.2015

Browse the database, then select the Adminlevel field, and edit it ( on your own named table )


Re: Script problem - ognyanov - 27.07.2015

What named table ? i can't understand you.Shit i wan't when someone register to the server,create a file with his name and ext .ini this is not happened to me.There are files with other names in the script but they are default.


Re: Script problem - Sc0pion - 27.07.2015

Quote:
Originally Posted by ognyanov
Посмотреть сообщение
What named table ? i can't understand you.Shit i wan't when someone register to the server,create a file with his name and ext .ini this is not happened to me.There are files with other names in the script but they are default.
Bro can you understand what he says? The server doesn't use Dini save format, it uses SQlite, you can find every accounts registered inside the accounts.db as he said, use the editor to open it, you will see all accounts registered. And it is very easy to manage since it is just one file, also it is better than Dini.

EDIT: You need to read some tutorials about SA-MP before you try to edit an existing gamemode.