Pickups
#2

Quote:
Originally Posted by XxJoexX
how do you make a pickup teleporte you to a interior ? im a noob so a premade skriped would be nice
thankz
XxJoexX
On Top of Script
Код:
new BurgerShot;
Under On Gamemodeint
Код:
BurgerShot = CreatePickup(1242, 2, x , y , z , -1);
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if (pickupid == BurgerShot)
  {
    SetPlayerPos(playerid,375.962463,-65.816848,1001.507812); // Burger Shot
    SetPlayerInterior(playerid, 10); // Burger Shots Interior
  }
}
Change it to whatever you like:
__________________________________________________ _______________________________________
Source:

https://sampwiki.blast.hk/wiki/Category:Scripting_Functions
http://weedarr.wikidot.com/interior
Reply


Messages In This Thread
Pickups - by XxJoexX - 06.09.2009, 01:24
Re: Pickups - by Eazy_Efolife - 06.09.2009, 01:35

Forum Jump:


Users browsing this thread: 1 Guest(s)