Pickup in interior - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickup in interior (
/showthread.php?tid=86643)
Pickup in interior -
argon - 15.07.2009
Yo
I have:
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?
Re: Pickup in interior -
Joe Staff - 15.07.2009
Pickups aren't constrained to interiors or virtualworlds, so just place it at the coordinates of the interior.
Re: Pickup in interior -
argon - 15.07.2009
Thanks
Re: Pickup in interior -
argon - 15.07.2009
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
Re: Pickup in interior -
argon - 15.07.2009
Sorry bump ..
I wanted to edit but it didnt save after edit.
Well here is what i was gonna edit:
Please its urgent
=)
Re: Pickup in interior -
Burridge - 15.07.2009
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
Re: Pickup in interior -
-eXo - 15.07.2009
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...
Re: Pickup in interior -
argon - 15.07.2009
OMG THANKS BURRDIGE