Pickup in interior
#1

Yo
I have:
Quote:

new jamesinterior;

Quote:

jamesinterior = Createpickup...blablabla

Quote:

public OnPlayerPickUpPickup(playerid, pickupid)
{


if (pickupid == jamesinterior)
{
//... }
return 1

How to make the pickup appear inside an interior, teleporting the player to an exterior xDD?
Reply
#2

Pickups aren't constrained to interiors or virtualworlds, so just place it at the coordinates of the interior.
Reply
#3

Thanks
Reply
#4

Nope dont work. It teles back, but..... it appear everything gray, the floor n stuff.
There must be something opposite to SetPlayerInterior.
If you tele a player to an interior, without SetPlayerInterior not work too
Add me xfire for detailed help please
xfire:zomg2
Reply
#5

Sorry bump ..
I wanted to edit but it didnt save after edit.
Well here is what i was gonna edit:
Please its urgent


=)
Reply
#6

What interior are you trying to set? And if it's to set it back to the outside interior (no interior) set it to 0.

This may also help: https://sampwiki.blast.hk/wiki/InteriorIDs
Reply
#7

Quote:
Originally Posted by argon
Nope dont work. It teles back, but..... it appear everything gray, the floor n stuff.
There must be something opposite to SetPlayerInterior.
If you tele a player to an interior, without SetPlayerInterior not work too
Add me xfire for detailed help please
xfire:zomg2
You have to set the player interior to the correct id...
Reply
#8

OMG THANKS BURRDIGE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)