« VIP
is its ok
Array »

:P

  • Full Member
  • Posts: 155
Re: is its ok
« Reply #15, on September 19th, 2015, 11:23 AM »
fas_v3_sqlite.nut thats doesnt exists anywhere itf
SLC is a good scripter but he always use bad words for abusing players :P

FinchDon

  • Sr. Member
  • Posts: 252
Re: is its ok
« Reply #16, on September 19th, 2015, 11:45 AM »
then where is register function ? paste it
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

:P

  • Full Member
  • Posts: 155
Re: is its ok
« Reply #17, on September 19th, 2015, 11:47 AM »
Code: [Select]
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 );
}
SLC is a good scripter but he always use bad words for abusing players :P

FinchDon

  • Sr. Member
  • Posts: 252
Re: is its ok
« Reply #18, on September 19th, 2015, 12:18 PM »
post Login and consturctor functions
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

KAKAN

  • Wiki Contributor
  • Posts: 3,343
Re: is its ok
« Reply #19, on September 19th, 2015, 12:58 PM »
LOL, nothing to worry add a ';' after LoadCars() :P
oh no

:P

  • Full Member
  • Posts: 155
Re: is its ok
« Reply #20, on September 19th, 2015, 01:15 PM »Last edited on September 19th, 2015, 01:17 PM
@KAKAN       when i add this saying does not exists PlayerStats
Code: [Select]
stats[player.ID] = PlayerStats();
@Kusanagi
SLC is a good scripter but he always use bad words for abusing players :P

KAKAN

  • Wiki Contributor
  • Posts: 3,343
Re: is its ok
« Reply #21, on September 19th, 2015, 01: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
oh no

:P

  • Full Member
  • Posts: 155
Re: is its ok
« Reply #22, on September 19th, 2015, 01:26 PM »
atlast kusnagi system sucessfull added topic locked
SLC is a good scripter but he always use bad words for abusing players :P

« VIP
Array »