Question
#1

How do I make it if someone is on the pickup for an PlayerToPoint they teleport automatically without typing /enter or /exit to get out?
Reply
#2

Something like this, bear in mind you'll need to set the pickup position and teleport co-ordinates yourself (and the model):

pawn Код:
//top of script
new exitpickup;

//on Gamemode/Filterscript Init
exitpickup = CreatePickup(Model,23,X,Y,Z);

//OnPlayerPickupPickup
if(pickupid == exitpickup)
{
    SetPlayerPos(playerid, X, Y, Z);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)