Jump to content
  • 0

Problema masini !


narcys.

Question

Problema intalnita (descriere): Nu pot sa spawnez mai multe masini, pot numai una.
Ero(area / rile) / warning-(ul / urile): -  nici una
Liniile de cod / sursa / script-ul(obligatoriu): - E la sistemul de spawnare la masini personale !
Imagini / Video (optional): nu am !
Ati incercat sa rezolvati singur?:  da , dar degeaba ...

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

    if(dialogid == DIALOG_VEHSPAWN4)
    {
        if(response)
        {
            if(listitem == 0)
            {
                if(CarInfo[personalcar[playerid]][cID] == PlayerInfo[playerid][pprcarkey2]) return SCM(playerid,COLOR_WHITE,"{FFB870}You already have premium car 2 spawned.");
                new cacat212;
                cacat212 = GetPlayerVehicleID(playerid);
                if(personalcar[playerid] == 0 || cacat212 == personalcar[playerid])
                {
                    new carid = PlayerInfo[playerid][pprcarkey2];
                    new car = CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz],CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],500000);
                    SetVehicleNumberPlate(car, CarInfo[carid][cLicense]);
                    new engine,lights,alarm,doors,bonnet,boot,objective;
                    if(CarInfo[carid][cLock] == 1)
                    {
                        GetVehicleParamsEx(car,engine,lights,alarm,doors,bonnet,boot,objective);
                        SetVehicleParamsEx(car,engine,lights,alarm,1,bonnet,boot,objective);
                    }
                    if(CarInfo[carid][cLock] == 0)
                    {
                        GetVehicleParamsEx(car,engine,lights,alarm,doors,bonnet,boot,objective);
                        SetVehicleParamsEx(car,engine,lights,alarm,0,bonnet,boot,objective);
                    }
                    OwnedVeh(car) = carid;
                    personalcar[playerid] = car;
                    format(string,sizeof(string),"{FFB870}You spawned your %s.",CarInfo[carid][cDescription]);
                    SCM(playerid,COLOR_WHITE,string);
                    SwitchKey[playerid] = 1;
                    ModVehicle(car);
                    return 1;
                }
            }
        }
        return 1;
    }

asta?

 

daca nu e , ai skype?

 

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.