More teleports from Interior
#1

Hello,I got an Admins team.Players in admins team spawn in interior(house).So I made a checkpoint,that when they get in it they teleports to world(interior 0).

I decited to make that other players will spawn in interior,but I don't know how to make more checkpoints.
I tried to make picups,but when they teleports from interior it not makes interior 0 .

So I tried make picup,that from interior they tele,Like:

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == mypickup)
    {
        SetPlayerPos(playerid, mycordinates);
        SetPlayerInterior(playerid, 0);
    }
    return 1;
}
But it not makes interior 0 .
Any help?
Reply
#2

Don't they also teleport? If that, the pickupid is wrong.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)