public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == *YourPickUpName*) // Your pickup name . P.S: Remove "*" { SetPlayerPos(playerid, X,Y,Z); // Replace X,Y,Z with your coordinates. } return 1;}