function heading differs from prototype OnUnoccupiedVehicleUpdate
#3

Код:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)
{
    if(GetVehicleDistanceFromPoint(vehicleid, new_x, new_y, new_z) > 20)
    {
        new Float:ATPX, Float:ATPY, Float:ATPZ;
        GetVehiclePos(vehicleid, ATPX, ATPY, ATPZ);
        SetVehiclePos(vehicleid, ATPX, ATPY, ATPZ);
        return 0;
    }

    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)