Adding Ammunations, Burger Shots etc.
#1

How do i add those kind of shops what are in the title?

(REP If i get any help)
Reply
#2

Quote:
Originally Posted by LegendGangsta
Посмотреть сообщение
How do i add those kind of shops what are in the title?

(REP If i get any help)
I'll explain in words, too lazy to script it.

You check if a player is at a certain spot (e.g. business entrance) and if he's, you teleport him inside the business.
And if he's inside at the exit, you tp him outside, more or less. The rest is up to you.

EDIT: My explanation is really, really, really not detailed. Lol. That's pretty much, in general what you do.
Reply
#3

pawn Код:
new BurgerPickup;

BurgerPickup = CreatePickup(1559, 1, XPOS, YPOS, ZPOS, 0);

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == BurgerPickup)
    {
         SetPlayerVirtualWorld(playerid, 10);
         SetPlayerPos(playerid, 363.4129, -74.5786, 1001.5078);
         SetCameraBehindPlayer(playerid);
         return 1;
    }
    return 1;
}
it should work
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)