16.05.2010, 20:12
need tele that can tele vehicle + player... pls help ive been trying for 4 days now
new pvehicleid = GetPlayerVehicleID(playerid);
SetPlayerPos(playerid, Float:x, Float:y, Float:z);
SetVehiclePos(vehicleid, Float:x, Float:y, Float:z);
SetVehicleZAngle(vehicleid, Float:a);
PutPlayerInVehicle(playerid, vehicleid, seatid);
{
new pvehicleid = GetPlayerVehicleID(playerid);
SetPlayerPos(playerid, x, y, z); // You change the X, Y, Z with what you want
SetVehiclePos(pvehicleid, x, y, z); // You change the X, Y, Z with what you want
SetVehicleZAngle(pvehicleid, a); // You change the A with what you want
PutPlayerInVehicle(playerid, pvehicleid, 0); // This makes him the driver
}