22.11.2014, 16:03
new pickup1;
public OnGameModeInit()
{
pickup1 = CreatePickup(1239, 2, -423.699341, 2201.723145, 42.926292); //place pick up
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == pickup1) //If they picked up pickup 1
{
SetPlayerPos(playerid, Your Coordinates); //nPositio to teleport to the Coordinates
}
return 1;
}
public OnGameModeInit()
{
pickup1 = CreatePickup(1239, 2, -423.699341, 2201.723145, 42.926292); //place pick up
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == pickup1) //If they picked up pickup 1
{
SetPlayerPos(playerid, Your Coordinates); //nPositio to teleport to the Coordinates
}
return 1;
}