Jump to content
  • 0

Lagg 3 secunde cand intra cineva pe server...


Deejaybwg

Question

Inainte cu 1 secunda ca un player sa intre pe server, apare mesajul '... join the server.', si exact atunci se face lagg vreo 3 secunde.

M-am uitat la OnPlayerConnect, nu am vazut nimic ciudat.

Am scos Connect Messages sa vad daca este ceva stricat la ele, nu este, tot la fel face.

Care ar putea fi cauza ?

nm2b6.jpg

5REH8.png

www.youtube.com/thebwgg

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

ce valoare are ping_max_exceeds?

#define PING_MAX_EXCEEDS 4

[pawn]public BuridgeConnect(playerid)

{

    GetPlayerName(playerid, pname12, sizeof(pname12));

    format(BurridgeScore, sizeof(BurridgeScore), "/Saver/%s.ini",pname12);

    if(!dini_Exists(BurridgeScore)) {

        dini_Create(BurridgeScore);

        dini_IntSet(BurridgeScore, "Score", 0);

        dini_IntSet(BurridgeScore, "Money", 0);

        SetPlayerScore(playerid, dini_Int(BurridgeScore, "Score"));

        SetPlayerMoney(playerid, dini_Int(BurridgeScore, "Money"));

    }

    else {

        SetPlayerScore(playerid, dini_Int(BurridgeScore, "Score"));

        SetPlayerMoney(playerid, dini_Int(BurridgeScore, "Money"));

    }

    return 1;

}[/pawn]

www.youtube.com/thebwgg

Link to comment
Share on other sites

Ai LuxAdminul in GM no? Atunci de ce mai folosesti:

public BuridgeConnect(playerid)
{
    GetPlayerName(playerid, pname12, sizeof(pname12));
    format(BurridgeScore, sizeof(BurridgeScore), "/Saver/%s.ini",pname12);
    if(!dini_Exists(BurridgeScore)) {
        dini_Create(BurridgeScore);
        dini_IntSet(BurridgeScore, "Score", 0);
        dini_IntSet(BurridgeScore, "Money", 0);
        SetPlayerScore(playerid, dini_Int(BurridgeScore, "Score"));
        SetPlayerMoney(playerid, dini_Int(BurridgeScore, "Money"));
    }
    else {
        SetPlayerScore(playerid, dini_Int(BurridgeScore, "Score"));
        SetPlayerMoney(playerid, dini_Int(BurridgeScore, "Money"));
    }
    return 1;
}

? ...

Incearca sa postezi pe .com ... poate ei stiu ... sau :-??

PS. - OnPlayerConnect mi se pare in regula ...

Fara reclama in semnatura!

Link to comment
Share on other sites

Ai LuxAdminul in GM no? Atunci de ce mai folosesti:

public BuridgeConnect(playerid)
{
    GetPlayerName(playerid, pname12, sizeof(pname12));
    format(BurridgeScore, sizeof(BurridgeScore), "/Saver/%s.ini",pname12);
    if(!dini_Exists(BurridgeScore)) {
        dini_Create(BurridgeScore);
        dini_IntSet(BurridgeScore, "Score", 0);
        dini_IntSet(BurridgeScore, "Money", 0);
        SetPlayerScore(playerid, dini_Int(BurridgeScore, "Score"));
        SetPlayerMoney(playerid, dini_Int(BurridgeScore, "Money"));
    }
    else {
        SetPlayerScore(playerid, dini_Int(BurridgeScore, "Score"));
        SetPlayerMoney(playerid, dini_Int(BurridgeScore, "Money"));
    }
    return 1;
}

? ...

Incearca sa postezi pe .com ... poate ei stiu ... sau :-??

PS. - OnPlayerConnect mi se pare in regula ...

Nu il am in GM.

www.youtube.com/thebwgg

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.