Enter/Leave
#1

Hey Guys.

How can i script that:

Reply
#2

SetPlayerInterior all interiors have there own checkpoints.
Reply
#3

Those "Enters & Exits" are called pickups
use
pawn Код:
new MyFirstPickup
pawn Код:
public OnGameModeInit()
{
     MyFirstPickup = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
     Return1;
}
pawn Код:
public OnPlayerPickUpPickup(playerid,pickupid)
{

 if(pickupid == MyFirstPickup) SetPlayerInterior(playerid,interiorid);
    return1;
}
Reply
#4

Explain bit more,
Well you need to make a pickup or checkpoint for exiting the house and entering to house? This is what you want ?
Reply
#5

I think, he mean the kind of leaving/entering
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)