Jump to content
  • 0

cresh - banned


InceMan

Question

Problema intalnita (descriere):am o mica problema cu crash-ul la uni care au netul mai slab ii da mai des sresh, am incercat sa o rezolv problema asta de unul singur si nu am reusito, sau am gresit eu pe undeva!
Ero(area / rile) / warning-(ul / urile): nu sunt 
Liniile de cod / sursa / script-ul(obligatoriu):

        if(IsACop(playerid))
        {
            if(caser[playerid] == i)
            {
                cased --;
                caser[playerid] = 1001;
            }
        }
    }
    cased[playerid] = 0;
    caser[playerid] = 1001;

    if(PlayerInfo[playerid][pMember] > 0)
    {
        new namex[25],disc[84];
        GetPlayerName(playerid,namex,sizeof(namex));
        if(serverrestart2 == -1)
        {
            switch(reason)
            {
                case 0: format(disc,sizeof(disc),"%s from your group has disconnected (crash).",namex);
                case 1: format(disc,sizeof(disc),"%s from your group has disconnected (quit).",namex);
                case 2: format(disc,sizeof(disc),"%s from your group has disconnected (banned/kicked).",namex);
            }
            SendFamilyMessage(PlayerInfo[playerid][pMember], COLOR_GENANNOUNCE, disc);
        }
    }
    if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pHelper] > 0)
    {
        //new string2[128];
        new namee[30];
        GetPlayerName(playerid, namee, sizeof(namee));
        if(serverrestart2 == -1)
        {
            switch(reason)
            {
                case 0: format(string2, sizeof(string2), "Quitbot: %s left the game (crash).",namee);
                case 1: format(string2, sizeof(string2), "Quitbot: %s left the game (quit).",namee);
                case 2: format(string2, sizeof(string2), "Quitbot: %s left the game (banned/kicked).",namee);
            }
            ABroadCast(COLOR_ADMCHAT, string2,1);
            HLChat(COLOR_ADMCHAT,string2);
        }
    }


Imagini / Video (optional):
Ati incercat sa rezolvati singur?:da 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Acum 9 minute, DanielMayson a spus:

Stergetiva modurile cleo si totul va fi fain!

problema este ca nu folosesc niciun mod  cleo , acum depinde si la ce te referi

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.