[SOLVED] Using Pickups to enter a building
#1

Alright I have this

Код:
new tostudio;
new fromstudio;


public OnGameModeInit()

tostudio = CreatePickup(1239, 1, X, Y, Z);
fromstudio = CreatePickup(1239 , 1, X, Y, Z);


public OnPlayerPickupPickup()

if(pickupid == tostudio)
SetPlayerPos(playerid, X, Y, Z);
SetPlayerInterior(playerid, 5);

if(pickupid == from studio)
SetPlayerPos(playerid, X, Y, Z);
And when I go to test it,,, I can get into the building just fine... But when i go to exit the building,,, I run into the pickup,, and everything just goes gray 0_o like im running in some blank space..

Could someone tell me what im doing wrong
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)