Unmovable vehicle [REP++]
#1

Hi guys , i made a showroom for my server with a lot of cars but my next problem is that players can move them away.
So i tried to make a timer who checks if vehicle pos coresponds with the vehicle pos from database but it's not working.
pawn Код:
public DealerCars()
{
        new Float:x, Float:y, Float:z;
        new vehpos = GetVehiclePos(320, x, y, z);
        if(1043.8596,1586.1318,-17.1108 != vehpos)
        {
            SetVehicleToRespawnEx(320);
        }
}
320 - vehicle id from my sql db, and the coordinates are the 320 car's coordinates.
Reply


Messages In This Thread
Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 17:07
Re: Unmovable vehicle [REP++] - by Sawalha - 07.12.2014, 17:13
Re : Unmovable vehicle [REP++] - by ManuelNeuer - 07.12.2014, 17:16
Re: Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 17:20
Re: Unmovable vehicle [REP++] - by Sawalha - 07.12.2014, 17:33
Re: Unmovable vehicle [REP++] - by M4D - 07.12.2014, 17:35
Re: Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 17:55
Re: Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 18:17
Re: Unmovable vehicle [REP++] - by buburuzu19 - 08.12.2014, 09:58
Re: Unmovable vehicle [REP++] - by buburuzu19 - 08.12.2014, 10:03

Forum Jump:


Users browsing this thread: 2 Guest(s)