[HELP]Teleport pickup that player AND car
#18

Код:
if(pickupid == garageoutsidecars)
{
	SetPlayerPos (playerid, 2165.5825,2416.3362,10.8203);
	if(IsPlayerInAnyVehicle(playerid))
	{
		new pveh = GetPlayerVehicleID(playerid);
		SetVehiclePos(pveh, 2165.5825,2416.3362,10.8203);
		PutPlayerInVehicle(playerid,pveh, 0);
	}
	CreatePickup (1273, 14, 2196.8542,2412.0093,10.8203);//creates a new one.
}
if(pickupid == garagecars)
{
	SetPlayerPos (playerid, 2219.7261,2414.9763,10.8125);
	if(IsPlayerInAnyVehicle(playerid))
	{
		new pveh = GetPlayerVehicleID(playerid);
		SetVehiclePos(pveh, 2219.7261,2414.9763,10.8125);
		PutPlayerInVehicle(playerid,pveh, 0);
	}
	CreatePickup (1272, 14, 2172.7998,2416.6609,10.8203, 0);//creates a new one
}
It has no effect.
What did i do wrong?
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: 4 Guest(s)