Qeshion
#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


Messages In This Thread
Question - by Hoss - 18.12.2010, 17:36
Re: Qeshion - by iFriSki - 18.12.2010, 17:42
Re: Qeshion - by Hoss - 18.12.2010, 17:43
Re: Qeshion - by iFriSki - 18.12.2010, 17:47

Forum Jump:


Users browsing this thread: 2 Guest(s)