public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == the name of the pickup you created) { SetPlayerPos(playerid, coordinates to enter the place); } return 1; }