[HELP]Teleport pickup that player AND car
#8

pawn Код:
// TOP
new garageoutside, garage, garageoutsiden, garagen;

// OnGameModeInit
garageoutside = CreatePickup (1273, 14, 2196.8542,2412.0093,10.8203);
garage = CreatePickup (1272, 14, 2172.7998,2416.6609,10.8203, 0);
garageoutsiden = CreatePickup (1273, 1, 2196.8542,2412.0093,10.8203);
garagen = CreatePickup (1272, 1, 2172.7998,2416.6609,10.8203, 0);

// OnPlayerPickupPickUp    
if(pickupid == garageoutside)
{
   SetPlayerPos (playerid, 2165.5825,2416.3362,10.8203);
   if(IsPlayerInAnyVehicle(playerid)) {
      new pveh = GetPlayerVehicleID(playerid);
      SetVehiclePos(pveh, 2165.5825,2416.3362,10.8203);
      PutPlayerInVehicle(pveh, 0);
   }
}
if(pickupid == garage)
{
   SetPlayerPos (playerid, 2219.7261,2414.9763,10.8125);
   if(IsPlayerInAnyVehicle(playerid)) {
      new pveh = GetPlayerVehicleID(playerid);
      SetVehiclePos(pveh, 2219.7261,2414.9763,10.8125);
      PutPlayerInVehicle(pveh, 0);
   }
}
if(pickupid == garagen)
{
   SetPlayerPos (playerid, 2219.7261,2414.9763,10.8125);
}
if(pickupid == garageoutsiden)
{
   SetPlayerPos (playerid, 2165.5825,2416.3362,10.8203);
}
WATCH It's changed
Reply


Messages In This Thread
[HELP]Teleport pickup that player AND car - by RedFusion - 06.07.2010, 23:14
Re: [HELP]Teleport pickup that player AND car - by Mystique - 07.07.2010, 09:41
Re: [HELP]Teleport pickup that player AND car - by Tr1viUm - 07.07.2010, 09:53
Re: [HELP]Teleport pickup that player AND car - by Hiddos - 07.07.2010, 09:57
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 10:39
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 11:11
Re: [HELP]Teleport pickup that player AND car - by dice7 - 07.07.2010, 11:16
Re: [HELP]Teleport pickup that player AND car - by CAR - 07.07.2010, 11:18
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 11:20
Re: [HELP]Teleport pickup that player AND car - by dice7 - 07.07.2010, 11:23
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 11:55
Re: [HELP]Teleport pickup that player AND car - by CAR - 07.07.2010, 12:18
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 12:33
Re: [HELP]Teleport pickup that player AND car - by Hiddos - 07.07.2010, 12:45
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 14:23
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 18:10
Re: [HELP]Teleport pickup that player AND car - by CAR - 07.07.2010, 18:13
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 07.07.2010, 21:57
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 08.07.2010, 13:10
Re: [HELP]Teleport pickup that player AND car - by CAR - 08.07.2010, 14:45
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 08.07.2010, 15:39
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 13.07.2010, 12:25
Re: [HELP]Teleport pickup that player AND car - by RedFusion - 13.07.2010, 21:56

Forum Jump:


Users browsing this thread: 2 Guest(s)