I started scripting my server. But I don't know What are the variables and functions . I have to do many things in my server
So I need A list of all Variables (player.cash) and functions (player.Spawn();)
Please help me
Both here http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions
Quote from: vito on Jul 03, 2016, 03:31 AMBoth here http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions
Thanks. But If I increment cash by a cmd /increasecash and it will do player.cash += 1000; but If I reconnect My Cash is again set to zero. How to Set a Database for mys erver?
Quote from: Remu on Jul 03, 2016, 06:25 AMQuote from: vito on Jul 03, 2016, 03:31 AMBoth here http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions
Thanks. But If I increment cash by a cmd /increasecash and it will do player.cash += 1000; but If I reconnect My Cash is again set to zero. How to Set a Database for mys erver?
You have to use the QuerySQL function
Quote from: ext-d.CrystalBlue on Jul 03, 2016, 08:12 AMQuote from: Remu on Jul 03, 2016, 06:25 AMQuote from: vito on Jul 03, 2016, 03:31 AMBoth here http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions
Thanks. But If I increment cash by a cmd /increasecash and it will do player.cash += 1000; but If I reconnect My Cash is again set to zero. How to Set a Database for mys erver?
You have to use the QuerySQL function
IDK even a thing about SQL. Can you guys help me how to do it. Thanks :D
you seem like a newbie , i can help you get started , join this irc https://kiwiirc.com/client/irc.liberty-unleashed.co.uk/#Razborka
@Remu , if you need a basic tutorial with less time, read this:- http://tutorialzine.com/2016/01/learn-sql-in-20-minutes/
Or, if you want a complete course, you can see this:- https://www.codecademy.com/learn/learn-sql
Quote from: King on Jul 03, 2016, 12:34 PMyou seem like a newbie , i can help you get started , join this irc https://kiwiirc.com/client/irc.liberty-unleashed.co.uk/#Razborka
Can't Connect to that channel . Keeps on loading
Quote from: KAKAN on Jul 03, 2016, 01:24 PM@Remu , if you need a basic tutorial with less time, read this:- http://tutorialzine.com/2016/01/learn-sql-in-20-minutes/
Or, if you want a complete course, you can see this:- https://www.codecademy.com/learn/learn-sql
Thanks I am Learning this
This topic wen't from all the members of the player class (http://forum.vc-mp.org/?topic=1742.msg12465#msg12465) to how do I store data to what is SQL to where can I learn SQL to joining IRC and I predict that will continue as what is SQLite to where I can download SQLite to where do I place the SQLite files to can anyone help me script now that I have all the plugins? and so on...