How to tele pickup i??
#1


How to tele pickup icon I?
please help me !
Bad English
Reply
#2

teleport pickup icon ?!
explain you question more...
you can destroy pickup and make it in new position...
if you mean something else, explain more...
Reply
#3

pawn Код:
new pickup1;

public OnGameModeInit()
{
    pickup1 = CreatePickup(1239, 2, -423.699341, 2201.723145, 42.926292); //place of the pick up
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if (pickupid == pickup1) //If they piccked up pickup 1
    {
       SetPlayerPos(playerid,3935.8965,-1096.5420,3.2836); //nPositio to teleport to this x,y,z,
    }
    return 1;
}
Reply
#4

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;
}
Reply
#5

You will need to edit SetPlayerPos to the coordinates you want
Reply
#6

Tks All !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)