Buenas, tengo una duda.
#1

Buenas, e estado dandole vueltas a este script, y bueno no logro entender porque solo entra el dueсo al negocio, los usuarios no pueden si no son dueсos del negocio.

pawn Код:
new NegocioID, BusType;
    for (new BusSlot; BusSlot < MAXIMO_NEGOCIOSJUGADOR; BusSlot++)
    {
        NegocioID = APlayerData[playerid][Business][BusSlot];
        if (NegocioID != 0){
            if (IsPlayerInRangeOfPoint(playerid, 5.0, NegocioInfo[NegocioID][NegocioX], NegocioInfo[NegocioID][NegocioY], NegocioInfo[NegocioID][NegocioZ]))
            {
                BusType = NegocioInfo[NegocioID][TipoNegocio];
                SetPlayerVirtualWorld(playerid, 2000 + NegocioID);
                SetPlayerInterior(playerid, ABusinessInteriors[BusType][InteriorID]);
                SetPlayerPos(playerid, ABusinessInteriors[BusType][IntX], ABusinessInteriors[BusType][IntY], ABusinessInteriors[BusType][IntZ]);
                APlayerData[playerid][CurrentBusiness] = NegocioID;
                return 1;
            }
        }
    }
їalguna soluciуn?
Reply
#2

Solucionado
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)