Just read i cant explain....... -
Bulgaria - 06.04.2016
Ok soooo i'll try to explain............ I want when someone join systme to play with only one skin (ill put only one character...) but when i put to someone skin when he leave the server and join again i want to skin save and this player play again with latest used skin..... sorry for my bad english i hope you understand what i want....
THx in advance...
Re: Just read i cant explain....... -
Sew_Sumi - 06.04.2016
This isn't script requests, but this is doable.
You just need an account system that includes a load function, that covers the skins.
Re: Just read i cant explain....... -
AndySedeyn - 06.04.2016
Read this:
https://sampforum.blast.hk/showthread.php?tid=574725
You save the player's skin upon disconnection, and you load it upon connection and you set it upon spawning. Saving methods range from files to databases:
Y_INI:
https://sampforum.blast.hk/showthread.php?tid=570957 and
https://sampforum.blast.hk/showthread.php?tid=570912
SQLite:
https://sampforum.blast.hk/showthread.php?tid=449536
MySQL:
https://sampforum.blast.hk/showthread.php?tid=56564
Don't expect SQL to be a plug-and-play thing though. It's a language on its own and requires you to learn its syntax, conventions and errors/warnings.
Re: Just read i cant explain....... -
SyS - 06.04.2016
you can use y ini or sqllite or mysql i prefer mysql 'cause its easy and faster
Re: Just read i cant explain....... -
Bulgaria - 06.04.2016
ok i install mysql but still same.... when server connect they send me in player choose menu......... ?
Re: Just read i cant explain....... -
Crystallize - 06.04.2016
You can't just install mysql , you'll have to create a saving system USING mysql and a database.
I prefer you go with y_ini since mysql is really advanced stuff for beginners.
Re: Just read i cant explain....... -
AndySedeyn - 06.04.2016
I'll quote myself:
Quote:
Originally Posted by AndySedeyn
Don't expect SQL to be a plug-and-play thing though. It's a language on its own and requires you to learn its syntax, conventions and errors/warnings.
|
I was typing a too long of a post to only realize that it's better to just give you a bunch of tutorials and informative pages instead.
Here are a few tutorials which you SHOULD read if you're going to stick with SQL:
https://sampforum.blast.hk/showthread.php?pid=3463865#pid3463865
https://sampforum.blast.hk/showthread.php?tid=129183
https://sampforum.blast.hk/showthread.php?tid=391920
https://sampforum.blast.hk/showthread.php?tid=290257
https://sampforum.blast.hk/showthread.php?tid=159785
Many of these have outdated syntax, so I recommend using the first link for syntax reference and of course the wiki page:
https://sampwiki.blast.hk/wiki/MySQL/R33
If you don't want to depend on a server for MySQL, then read a tutorial about SQLite:
https://sampforum.blast.hk/showthread.php?tid=449536
The wiki page:
https://sampwiki.blast.hk/wiki/SQLite
For general SQL support, read the documentation:
https://dev.mysql.com/doc/
https://www.sqlite.org/docs.html
Re: Just read i cant explain....... -
Bulgaria - 06.04.2016
i dont understand nothing of these and my english is bad so that im here and search someone to help me ..... im a noob and i just start learn create this things.... :/ even tutorial is hard for me because i dont know what to do .....
Re: Just read i cant explain....... -
Darkwood17 - 06.04.2016
If you just started to learn scripting, MySQL is not recommended for newbies.
The Scripting Help section is made for when you need help or have errors/warning in your code.
Post here instead:
https://sampforum.blast.hk/showthread.php?tid=447813