Teleporting vehicle to interior - player not synced
#3

Quote:
Originally Posted by Antonio144
Посмотреть сообщение
Hi guys. So here's my problem: When I teleport a player in vehicle to an interior he is paused for other players. (Same problem as here). Player can move around but he is not synced with other players. When a player exits the vehicle he is synced for all players. This is on a GL gamemode with no filterscripts nor plugins loaded.

pawn Код:
//command
new vehicleid = GetPlayerVehicleID(playerid);
//RemovePlayerFromVehicle(playerid);
//ClearAnimations(playerid);
//SetTimerEx("TeleTimer", 3000, false, "dd", playerid, vehicleid);
LinkVehicleToInterior(vehicleid, 15);
SetVehiclePos(vehicleid, -1488.8818,950.7721,1036.4448);
SetPlayerInterior(playerid,15);
//PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
Image : /imageshack/img827/5907/32da.png
- Don't forget to teleport the player into those cords aswell. && Why did you comment out the rest i.e ''PutPlayerInVehicle''.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)