[SOLVED] Using Pickups to enter a building
#5

here is what i have exactly

Код:
new towlvi;
new fromwlvi;

public OnGameModeInit()
{

towlvi = CreatePickup(1239, 1, 2462.7932,2244.4746,10.8203);//ICON OUTSIDE BUILDING
fromwlvi = CreatePickup(1239, 1, 1298.8892,-796.4041,1084.0078);//ICON INSIDE BUILDING

return 1;
}


public OnPlayerPickupPickup(playerid, pickupid)
{

if(pickupid == towlvi)
SetPlayerPos(playerid, 1299.1359,-794.6379,1084.0078);
SetPlayerInterior(playerid, 5);

if(pickupid == fromwlvi)
SetPlayerPos(playerid, 2462.8064,2240.8918,10.8203);

return 1;
}
Reply


Messages In This Thread
[SOLVED] Using Pickups to enter a building - by Awall86 - 21.05.2010, 22:13
Re: [HELP] Using Pickups to enter a building - by [HiC]TheKiller - 21.05.2010, 22:16
Re: [HELP] Using Pickups to enter a building - by Awall86 - 21.05.2010, 22:27
Re: [HELP] Using Pickups to enter a building - by [HiC]TheKiller - 21.05.2010, 22:29
Re: [HELP] Using Pickups to enter a building - by Awall86 - 21.05.2010, 22:34
Re: [HELP] Using Pickups to enter a building - by [HiC]TheKiller - 21.05.2010, 22:37
Re: [SOLVED] Using Pickups to enter a building - by Awall86 - 21.05.2010, 22:41

Forum Jump:


Users browsing this thread: 1 Guest(s)