Requesting help with Entrance
#5

first do,
PHP код:
new pickup;//you can rename it to what you want) 
then:
PHP код:
//under OnGameModeinit
pickup(or whaterver you named it above) = CreatePickup(typeXYZ9.0);//set it to your need 
then do
PHP код:
public OnPlayerPickUpPickup(playeridpickupid)
{
    if(
pickupid == pickup)
    {
        
SetPlayerPos(playeridXYZ);//the coords of the interior
        
SetPlayerInterior(playerid0);
    }
    return 
1;

Reply


Messages In This Thread
Requesting help with Entrance - by zohartrejx - 29.04.2014, 14:05
Re: Requesting help with Entrance - by JeaSon - 29.04.2014, 14:08
Re: Requesting help with Entrance - by Raaf - 29.04.2014, 14:11
Re: Requesting help with Entrance - by zohartrejx - 29.04.2014, 14:19
Re: Requesting help with Entrance - by Xenforox - 29.04.2014, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)