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;
}
}
I know that i adde interiour id but when i PickUp pickup i am falling from the sky!
You need to set their universe ID properly. For Big Smokes Crack House it would be ID 2, to my belief.