Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: :P on Sep 19, 2015, 08:51 AM

Title: is its ok
Post by: :P on Sep 19, 2015, 08:51 AM
i added kusnangi function create vehicles but give me error LoadCars does not exists  from LoadCars(); i convert it to (" loadcars(); ") and its stop giving error
Title: Re: is its ok
Post by: KAKAN on Sep 19, 2015, 08:54 AM
I got no idea what you are talking about.
Title: Re: is its ok
Post by: FinchDon on Sep 19, 2015, 08:55 AM
LoadCars(); Do you have LoadCars Function
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 08:58 AM
yes kusnangi give in his script
Title: Re: is its ok
Post by: MacTavish on Sep 19, 2015, 08:59 AM
He is talking about this (http://forum.vc-mp.org/?topic=1177.0) This system is fine copy paste everything to right place to get it worked
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 09:01 AM
i dided every thing ok but its bugged my reg system too i checked now
Title: Re: is its ok
Post by: FinchDon on Sep 19, 2015, 09:04 AM
:\ Then You have Add LoadCars(); on Wrong Place Is you paste that on ScriptLoad if yes then you can see anyother Thing with (); on scriptload? if yes post that LoadCars(); there
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 09:09 AM
LoadCars()
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 09:10 AM
and tell me that thaty bugg register system
Title: Re: is its ok
Post by: FinchDon on Sep 19, 2015, 09:16 AM
What bug in it and show function Register
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 09:26 AM
its bugged every thing anyother function like it if exist please tell me
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 09:27 AM
reg system fuuzie account  system register again and again
Title: Re: is its ok
Post by: FinchDon on Sep 19, 2015, 09:54 AM
show me your full fas_sqlite Of Fuzzie in Code
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 10:13 AM
its bugged my full script......... anyone have null function
Title: Re: is its ok
Post by: FinchDon on Sep 19, 2015, 10:18 AM
Wtf I am saying? DaFUq Post your fas_v3_sqlite.nut in code
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 10:23 AM
fas_v3_sqlite.nut thats doesnt exists anywhere itf
Title: Re: is its ok
Post by: FinchDon on Sep 19, 2015, 10:45 AM
then where is register function ? paste it
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 10:47 AM
function Register( player, password, dbGlobal ){
::QuerySQL( dbGlobal, "INSERT INTO Accounts VALUES('" + player.Name + "', '" + player.Name.tolower() + "', '" + ::SHA256( password ) + "', 0, 0, 0, 0, 1, '" + player.IP + "')" );
::QuerySQL( dbGlobal, "INSERT INTO LMS VALUES('" + player.Name.tolower() + "', 0, 0, 0)" );
Level = 1;
LastUsedIP = player.IP;
Logged = true;
player.Cash += 2000;
::MessagePlayer( "Successfully registered.", player );
::MessagePlayer( "Don't forget your password. [" + password + "]", player );
}
Title: Re: is its ok
Post by: FinchDon on Sep 19, 2015, 11:18 AM
post Login and consturctor functions
Title: Re: is its ok
Post by: KAKAN on Sep 19, 2015, 11:58 AM
LOL, nothing to worry add a ';' after LoadCars() :P
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 12:15 PM
@KAKAN       when i add this saying does not exists PlayerStats
stats[player.ID] = PlayerStats(); @Kusanagi
Title: Re: is its ok
Post by: KAKAN on Sep 19, 2015, 12:20 PM
Post your array and the playerstats
If u don't tell for what you are going to use, we too can't do anything
Title: Re: is its ok
Post by: :P on Sep 19, 2015, 12:26 PM
atlast kusnagi system sucessfull added topic locked