08.04.2011, 21:25
well... I never worked on these kind of tp's before. You can try this:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(IsPlayerInAnyVehicle(playerid)) {
if(IsPlayerInRangeOfPoint(playerid, 10.0, 79.8441, -1531.5741, 2413.0000)) {
new vid = GetPlayerVehicleID(playerid);
SetVehiclePos(vid, 383.7876, -1602.9878, 2553.0000);
SetPlayerPos(playerid, 383.7876, -1602.9878, 2553.0000);
PutPlayerInVehicle(playerid, vid, 1);
}
}
return 1;
}