Teleport pickups
#1

i have 1 error with teleport pickup who can help me

pawn Код:
new teleportpickup;
new teleportpickup1;
pawn Код:
teleportpickup = CreatePickup(1276,1, 318.30764770508, -2247.7016601563, 19.656326293945);
   
teleportpickup1 = CreatePickup(1210,1,967.01745605469, -53.267635345459, 1000.6781005859);

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == teleportpickup)
    {
    SetPlayerPos(playerid,964.76715087891,-53.326801300049,1000.6781005859);
    }
    if(pickupid == teleportpickup1)
    {
    SetPlayerPos(playerid,319.6847,-2247.5776,23.1755);
    return 1;
}
What is the probblem who can help me
Reply
#2

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == teleportpickup)
    {
         SetPlayerPos(playerid,964.76715087891,-53.326801300049,1000.6781005859);
    }
    if(pickupid == teleportpickup1)
    {
         SetPlayerPos(playerid,319.6847,-2247.5776,23.1755);
    }
    return 1;
}
Reply
#3

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == teleportpickup)
    {
         SetPlayerPos(playerid,964.76715087891,-53.326801300049,1000.6781005859);
    }
    if(pickupid == teleportpickup1)
    {
         SetPlayerPos(playerid,319.6847,-2247.5776,23.1755);
    }
    return 1;
}
Thanks!!!
Reply
#4

You're welcome.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)