Jump to content

Recommended Posts

Posted

Salut. Am o problema. Cand serverul pica sau este restart din gamepanel, playerii nu primesc Status 0, adica offline, iar pe panel, ei apar ca fiind online pe server, dar defapt ei nu se afla pe server. Ma puteti ajuta? Multumesc anticipat.

Posted

Pe langa asta, mai am o problema. Am un sistem dinamic de vehicule personale, iar cand player-ul iese de pe server, nu ii distuge masinile.

stock DestroyPVehs(playerid)
{
    new x = 1;
    for(new c=0;c<MAX_VEH_PERS;c++)
    {
           if(strmatch(CarInfo[c][cOwner], PlayerInfo[playerid][pNormalName]))
        {
            if(OwnedVeh(GetIdOwn(GetSlot(playerid,x-1))))
            {
                OwnedVeh(c) = 0;
                DestroyVehicle(c);
                foreach(Player,i)
                {
                    if(HireCar == c)
                    {
                        HireCar = -1;
                        SwitchKey = 2;
                    }
                }
                x++;
            }
        }
    }
    return 1;
}

Script.

Destropvehs este pus la OnPlayerDisconnect.

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.