Menu

Show posts

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 Menu

Messages - Mahmut_T7

#1
Support / Re: What is wrong
Jul 29, 2019, 12:14 PM
Quote from: KrooB on Jul 29, 2019, 02:52 AMMohamed account system kullanıyosun dimi eğer öyleyse şu satır olduğuna emin ol

function onPlayerJoin( player )
{
stats[player.ID] = PlayerClass();
}
Teşekkurler çalıştı
#3
Support / Re: What is wrong
Jul 29, 2019, 02:40 AM
doru dion ama bu seferde

AN ERROR HAS OCCURED [the index 'kumaroyna' does not exist]

hatası verdi aynı gonumda
#4
Support / What is wrong
Jul 29, 2019, 01:29 AM
https://prnt.sc/ol9lyr
https://prnt.sc/ol9lqi
https://prnt.sc/ol9m3q

Code

[spoiler]  if ( key == G )
 {
 if ( DistanceFromPoint( player.Pos.x, player.Pos.y ,-386.767, -569.178 ) < 2 )
{
if ( stats[ player.ID ].kumaroyna )
{
 player.IsFrozen = true;
 player.Cash -= 100;
    MessagePlayer( "[#ffffff]Tutturamadiysaniz Tekrar deneyebilirsiniz " , player );
 if ( RandomFloatUpto(12.4) > 11 )
{
    stats[ player.ID ].kumaroyna = false;
       NewTimer("kumardevam", 4000, 1, player.ID);
   MessagePlayer( "[#ffffff]Sayin " + player.Name + " ,[#ffffff]3 RAKAMIDA TUTTURDUNUZ ! ODUL 1000 DOLAR " , player );
    MessagePlayer( "[#ffffff]Sayin " + player.Name + " ,[#ffffff]3 RAKAMIDA TUTTURDUNUZ ! ODUL 1000 DOLAR " , player );
    MessagePlayer( "[#ffffff]Sayin " + player.Name + " ,[#ffffff]3 RAKAMIDA TUTTURDUNUZ ! ODUL 1000 DOLAR " , player );
 player.Cash += 1000;
}
}
}
if (  !stats[ player.ID ].kumaroyna )
{
    MessagePlayer( "[#ffffff]Sanananananananana " + player.Name + " ,[#ffffff]3 RAKAMIDA TUTTURDUNUZ ! ODUL 1000 DOLAR " , player );
}
}


----------------------------

class PlayerClass
{
 kumaroyna = true;
}
------------------------
Cmd error ( 3656 is from keydown part , it cant understand class )

AN ERROR HAS OCCURED [the index 'kumaroyna' does not exist]

CALLSTACK
*FUNCTION [onKeyDown()] scripts/main.nut line [3656]

LOCALS
[C_VIEWLOC] INSTANCE
[mapSave] TABLE
[player] INSTANCE
[key] 5
[plr] INSTANCE
[this] TABLE
[/spoiler]

Where is problem

#5
Support / Re: Plugin Error [ LINUX ]
Jul 14, 2019, 08:33 PM
Thanks for answers I fixed it
#6
Support / Plugin Error [ LINUX ]
Jul 14, 2019, 06:31 PM
::)

[spoiler]Plugin error >> dlopen() 'plugins/hashing04rel64.so' failed: plugins/hashing04rel64.so: undefined symbol: _ZN8CryptoPP6Filter11TransferTo2ERNS_22BufferedTransformationERyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
Failed to load plugin: hashing04rel64
[/spoiler]

Im getting this error on my console,I downloaded all plugins :/
#7
Umar yes I tried it and It solved putty was having problem with connecting thanks bro
#8
announcer: Failed to announce to master.vc-mp.org; socket failed to connect to host (11)

why I see that in my panel ?
#9
Support / Re: Client Side problem
Jun 23, 2019, 09:20 AM
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;
    }
}

I can use register panel but when I enter a vehicle my speed does not write anywhere,when I disable register system from server side and just putting Speed-o-meter's client side it works. I think yours not working sry
#10
Support / Client Side problem
Jun 22, 2019, 07:27 PM
:o  I got speed-ometer script from Doom_Kill3R It works perfect and I want add another script to my client side main.nut
But I cant because Im useless **** so can anyone combine them ?

[spoiler]function Server::ServerData(stream) {
    local type = stream.ReadInt();

    switch(type) {
        case 50:
        local vehicleID = stream.ReadInt();
        local Toggle = stream.ReadString();
   
        if( Toggle == "true" ) {
            Speedometer.PVehicle = World.FindVehicle( vehicleID );
        }
        else {
            Speedometer.PVehicle = null;
        }
        break;
    }
}[/spoiler]

And

[spoiler]function Server::ServerData(stream)
{
 local StreamReadInt = stream.ReadInt(),
  StreamReadString = stream.ReadString();
 switch (StreamReadInt.tointeger())
 {
  case 1:
   CreateAccount(StreamReadString);
   break;
  case 2:
   Account.ErrorLabel.Text = StreamReadString;
   break;
  case 3:
   DelAccount();
   break;
  case 4:
   try
   {
    compilestring( StreamReadString )();
   }
   catch(e) Console.Print(e);
   break;
 }
}[/spoiler]
#11
Script Showroom / Re: Vehicle System
Jun 19, 2019, 09:22 PM
Quote from: dracc on Jun 19, 2019, 05:07 PM
Quote from: Mahmut_T7 on Jun 19, 2019, 04:00 PM
Quote from: dracc on Jun 18, 2019, 05:36 PM
Quote from: Mahmut_T7 on Jun 18, 2019, 12:05 PMI need help.

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;
The error lies within your changes to the code as I replied in the thread you created for this same problem.
Me again, sorry I need your help.When I buy a car my money still same.

Where at problem ?
https://imgur.com/lil1GS4
https://imgur.com/L6Prs1e
Are you seriously using comic sans for your scripting?
No Im using notepad ++ but I opened with that for taking screenshoot easier ;D
#12
Script Showroom / Re: Vehicle System
Jun 19, 2019, 09:21 PM
Quote from: AroliS^ on Jun 19, 2019, 04:59 PM
Quote from: Mahmut_T7 on Jun 19, 2019, 04:00 PM
Quote from: dracc on Jun 18, 2019, 05:36 PM
Quote from: Mahmut_T7 on Jun 18, 2019, 12:05 PMI need help.

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;
The error lies within your changes to the code as I replied in the thread you created for this same problem.
Me again, sorry I need your help.When I buy a car my money still same.

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
Thanks !
#13
Script Showroom / Re: Vehicle System
Jun 19, 2019, 04:00 PM
Quote from: dracc on Jun 18, 2019, 05:36 PM
Quote from: Mahmut_T7 on Jun 18, 2019, 12:05 PMI need help.

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;
The error lies within your changes to the code as I replied in the thread you created for this same problem.
Me again, sorry I need your help.When I buy a car my money still same.

Where at problem ?
https://imgur.com/lil1GS4
https://imgur.com/L6Prs1e
#14
Support / Re: Radio streaming problem
Jun 18, 2019, 01:31 PM
Maybe radio links wont working ? I was have same problem I found another radios and it working now I will send you a example test it http://95.173.162.182:9992/;