21.05.2010, 22:13
Alright I have this
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
Код:
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);
Could someone tell me what im doing wrong