Quote from: KrooB on Jul 29, 2019, 02:52 AMMohamed account system kullanıyosun dimi eğer öyleyse şu satır olduğuna emin olTeşekkurler çalıştıCode Selectfunction onPlayerJoin( player )
{
stats[player.ID] = PlayerClass();
}
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: KrooB on Jul 29, 2019, 02:52 AMMohamed account system kullanıyosun dimi eğer öyleyse şu satır olduğuna emin olTeşekkurler çalıştıfunction onPlayerJoin( player )
{
stats[player.ID] = PlayerClass();
}
Quotefunction Server::ServerData(stream) {
local iType = stream.ReadInt();
local pString = stream.ReadString();
switch( iType ) {
case 1:
CreateAccount( pString );
break;
case 2:
Account.ErrorLabel.Text = pString;
break;
case 3:
DelAccount();
break;
case 4: try {
local script = compilestring( pString); script();
}
catch(e) Console.Print( "error: "+e );
break;
case 50:
local vehicleID = stream.ReadInt();
local Toggle = pString;
if( Toggle == "true" ) {
Speedometer.PVehicle = World.FindVehicle( vehicleID );
}
else {
Speedometer.PVehicle = null;
}
break;
}
}
Quote from: dracc on Jun 19, 2019, 05:07 PMNo Im using notepad ++ but I opened with that for taking screenshoot easierQuote from: Mahmut_T7 on Jun 19, 2019, 04:00 PMAre you seriously using comic sans for your scripting?Quote from: dracc on Jun 18, 2019, 05:36 PMMe again, sorry I need your help.When I buy a car my money still same.Quote from: Mahmut_T7 on Jun 18, 2019, 12:05 PMI need help.The error lies within your changes to the code as I replied in the thread you created for this same problem.
https://imgur.com/7pM7oJm
When I add your commands in function they wont work I think there is problem in here
:
local cmd = command.tolower();
local cmd = text;
cmd = command.tolower();
text = arguments;
local params;
Where at problem ?
https://imgur.com/lil1GS4
https://imgur.com/L6Prs1e
Quote from: AroliS^ on Jun 19, 2019, 04:59 PMThanks !Quote from: Mahmut_T7 on Jun 19, 2019, 04:00 PMQuote from: dracc on Jun 18, 2019, 05:36 PMMe again, sorry I need your help.When I buy a car my money still same.Quote from: Mahmut_T7 on Jun 18, 2019, 12:05 PMI need help.The error lies within your changes to the code as I replied in the thread you created for this same problem.
https://imgur.com/7pM7oJm
When I add your commands in function they wont work I think there is problem in here
:
local cmd = command.tolower();
local cmd = text;
cmd = command.tolower();
text = arguments;
local params;
Where at problem ?
https://imgur.com/lil1GS4
https://imgur.com/L6Prs1e/*
DecCash( player, Cost );
*/
->
DecCash( player, Cost );
i guess you already gave the IncCash function
Quote from: dracc on Jun 18, 2019, 05:36 PMMe again, sorry I need your help.When I buy a car my money still same.Quote from: Mahmut_T7 on Jun 18, 2019, 12:05 PMI need help.The error lies within your changes to the code as I replied in the thread you created for this same problem.
https://imgur.com/7pM7oJm
When I add your commands in function they wont work I think there is problem in here
:
local cmd = command.tolower();
local cmd = text;
cmd = command.tolower();
text = arguments;
local params;