Vice City: Multiplayer

Server Development => Scripting and Server Management => Script and Content Requests => Topic started by: Retard on Jan 06, 2018, 10:44 AM

Title: Save cash in database
Post by: Retard on Jan 06, 2018, 10:44 AM
Hi I need a function to save cash in database
please help me
Title: Re: Save cash in database
Post by: =RK=MarineForce on Jan 07, 2018, 03:06 PM
Hi I need a function to save stats  in database
please help me
Title: Re: Save cash in database
Post by: Zone_Killer on Jan 08, 2018, 04:17 PM
Use Fuzzie's Account System!!!!!
Title: Re: Save cash in database
Post by: Retard on Jan 09, 2018, 07:49 AM
Quote from: Zone_Killer on Jan 08, 2018, 04:17 PMUse Fuzzie's Account System!!!!!
I use anik's GUI registration system and i have made a database but i dont know how to update it and make the server read it.
Title: Re: Save cash in database
Post by: ! on Jan 09, 2018, 09:09 AM
If you have little knowledge about your topic/squirrel&sql you can do it with the help of these topics.

http://forum.vc-mp.org/?topic=5144.msg37031#msg37031

http://forum.vc-mp.org/?topic=5144.msg37035#msg37035
Title: Re: Save cash in database
Post by: Retard on Jan 09, 2018, 10:00 AM
Quote from: ! on Jan 09, 2018, 09:09 AMIf you have little knowledge about your topic/squirrel&sql you can do it with the help of these topics.

http://forum.vc-mp.org/?topic=5144.msg37031#msg37031

http://forum.vc-mp.org/?topic=5144.msg37035#msg37035

I wanna ask that when i save the cash in database then it will automatically load in playerclass and I will just have to make something like stats[ player.ID ].Cash = player.Cash
Title: Re: Save cash in database
Post by: Mohamed Boubekri on Jan 09, 2018, 10:54 AM
Quote from: Ali Ahmed on Jan 09, 2018, 10:00 AM
Quote from: ! on Jan 09, 2018, 09:09 AMIf you have little knowledge about your topic/squirrel&sql you can do it with the help of these topics.

http://forum.vc-mp.org/?topic=5144.msg37031#msg37031

http://forum.vc-mp.org/?topic=5144.msg37035#msg37035

I wanna ask that when i save the cash in database then it will automatically load in playerclass and I will just have to make something like stats[ player.ID ].Cash = player.Cash
Ya After Save Cash INTO The DataBase Then The Line WIll Work Like:-
pstats[ player.ID ].Cash = player.Cash