Qeshion
#1

-Thanks-
Reply
#2

https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
https://sampwiki.blast.hk/wiki/InteriorIDs


pawn Код:
new Pickup_BSmoke;

public OnGameModeInit()
{
    Pickup_BSmoke = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);         // Big smoke
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Pickup_BSmoke)
    {
        SetPlayerInterior(playerid, 2);
        SetPlayerPos(playerid,      2567.52,    -1294.59,   1063.25);
        return 1;
    }
}
Reply
#3

I know that i adde interiour id but when i PickUp pickup i am falling from the sky!
Reply
#4

You need to set their universe ID properly. For Big Smokes Crack House it would be ID 2, to my belief.

https://sampwiki.blast.hk/wiki/SetPlayerInterior
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)