Me Again Needing Help with Pickups teleporting
#1

I am embarrassing myself again.... But i tell you what i need in this video

If you use IE (web browser) Click the icon with the hot-air balloon and open it, other wise you will have to download it only 10mb i dont whant to get banned from samp so its definitely not a virus its just quicker than Fucking "*******"

Video

Thank's for any help you can give XxJoexX


Bin locations
CreateStreamObject(1337, 1972.9859619141, -1559.9599609375, 13.288646697998, 0.000000, 0.000000, 45.880004882813, 250.0); //out-side bin
CreateStreamObject(1337, 1971.3880615234, -1558.5076904297, 13.459463119507, 0.000000, 0.000000, 228.40417480469, 250.0); //in-side bin

Reply
#2

looks... different...
Reply
#3

Alright, here it is... (You just gotta edit the coords...)

Код:
new OutSideBin;
new InSideBin;

public OnGameModeInit()
{
	//Create outside pickup
	OutSideBin = CreatePickup(1337, 23, 1972.9859619141, -1559.9599609375, 13.288646697998);
	//Create inside pickup
	InSideBin = CreatePickup(1337, 23, 1971.3880615234, -1558.5076904297, 13.459463119507);
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
  	if(pickupid == OutSideBin) { //If player picks up outside marker...
  	  //Set position inside.
		SetPlayerPos(playerid, 1971.3880615234, -1558.5076904297, 13.45946311950);
	}
	else if(pickupid == InSideBin) {//if pick up inside marker...
  	  //Set position outside.
		SetPlayerPos(playerid, 1972.9859619141, -1559.9599609375, 13.288646697998);
	}
	return 1;
}
Reply
#4

Quote:
Originally Posted by [___
PotH3Ad ]
Alright, here it is... (You just gotta edit the coords...)

Код:
new OutSideBin;
new InSideBin;

public OnGameModeInit()
{
	//Create outside pickup
	OutSideBin = CreatePickup(1337, 23, 1972.9859619141, -1559.9599609375, 13.288646697998);
	//Create inside pickup
	InSideBin = CreatePickup(1337, 23, 1971.3880615234, -1558.5076904297, 13.459463119507);
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
 	if(pickupid == OutSideBin) { //If player picks up outside marker...
 	  //Set position inside.
		SetPlayerPos(playerid, 1971.3880615234, -1558.5076904297, 13.45946311950);
	}
	else if(pickupid == InSideBin) {//if pick up inside marker...
 	  //Set position outside.
		SetPlayerPos(playerid, 1972.9859619141, -1559.9599609375, 13.288646697998);
	}
	return 1;
}
Is pickup 1337 a marker?
Reply
#5

No, but try ID 1559, its a yellow marker.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)