27.04.2017, 12:52
Use this: https://sampwiki.blast.hk/wiki/CreatePickup to create the pickup at the location that you want.
And use this: https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange to TP him when he presses F, again do a check using https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint to see if he is at the position that you placed the Pickup.
And use this: https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange to TP him when he presses F, again do a check using https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint to see if he is at the position that you placed the Pickup.