All variables and Functions in player.blahblah

Started by Remu, Jul 03, 2016, 02:49 AM

Previous topic - Next topic

Remu

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


Remu

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?

EK.IceFlake

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

Remu

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

King


KAKAN

#6
@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
oh no

Remu

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 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...
.