Posts: 1,071
Threads: 24
Joined: Aug 2014
Reputation:
0
No. You can not directly pass Pawn variable into HTML. That is why people use MySQL or SQLite Database. A same database is accessible by Pawn and your HTML pages.
Posts: 166
Threads: 39
Joined: May 2016
Reputation:
0
Hmm, how about a value from a .ini or text file, is it possible?
Posts: 455
Threads: 29
Joined: Apr 2014
you have to add mysql database, what is used by gamemode and your webpage.
and user logs in and sees his stats
Posts: 777
Threads: 25
Joined: Jul 2010
Reputation:
0
You can read out ini files with Javascript, search on a search engine how to read out files with JavaScript and maybe you find what you need.
Posts: 455
Threads: 29
Joined: Apr 2014
thats stupid thing to do when you want to make good server
Posts: 455
Threads: 29
Joined: Apr 2014
well its possible, because you can send http request with samp the sameway as webpage does and then you can save it to ini file, but its very slow way to save anything.