07.11.2014, 12:56
I want to make teleport from a place to place, I've already got pickups, the place I want to teleport to, and to get teleported to. I just need help on how to do it.. Giving rep + to the dude that helps me
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;
}