Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Remu on Jul 03, 2016, 02:49 AM

Title: All variables and Functions in player.blahblah
Post by: Remu on Jul 03, 2016, 02:49 AM
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
Title: Re: All variables and Functions in player.blahblah
Post by: vito on Jul 03, 2016, 03:31 AM
Both here http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions
Title: Re: All variables and Functions in player.blahblah
Post by: Remu on Jul 03, 2016, 06:25 AM
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?
Title: Re: All variables and Functions in player.blahblah
Post by: EK.IceFlake on Jul 03, 2016, 08:12 AM
Quote from: Remu on Jul 03, 2016, 06:25 AM
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?
You have to use the QuerySQL function
Title: Re: All variables and Functions in player.blahblah
Post by: Remu on Jul 03, 2016, 11:44 AM
Quote from: ext-d.CrystalBlue on Jul 03, 2016, 08:12 AM
Quote from: Remu on Jul 03, 2016, 06:25 AM
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?
You have to use the QuerySQL function
IDK even a thing about SQL. Can you guys help me how to do it. Thanks :D
Title: Re: All variables and Functions in player.blahblah
Post by: King on Jul 03, 2016, 12:34 PM
you seem like a newbie , i can help you get started ,  join this irc https://kiwiirc.com/client/irc.liberty-unleashed.co.uk/#Razborka
Title: Re: All variables and Functions in player.blahblah
Post by: 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
Title: Re: All variables and Functions in player.blahblah
Post by: Remu on Jul 04, 2016, 12:07 PM
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
Title: Re: All variables and Functions in player.blahblah
Post by: . on Jul 04, 2016, 12:15 PM
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...