08.02.2018, 17:58
the code seems to be well, but give a little bit timer for a sync and than attach.
for example
for example
PHP код:
SetTimerEx("AttachVehicleTimer",350,0,"ii",TrailerID[playerid],VJob[playerid]); // put this instead of AttachTrailerToVehicle
forward AttachVehicleTimer(veh1,veh2);
public AttachVehicleTimer(veh1,veh2)
{
AttachTrailerToVehicle(veh1,veh2);
return 1;
}