Pickups
#1

how do you make a pickup teleporte you to a interior ? im a noob so a premade skriped would be nice
thankz
XxJoexX
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)