06.09.2009, 01:35
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 |
Код:
new BurgerShot;
Код:
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 } }
__________________________________________________ _______________________________________
Source:
https://sampwiki.blast.hk/wiki/Category:Scripting_Functions
http://weedarr.wikidot.com/interior