[HELP]AGAIN: Making teleport command
#1

Hello AGAIN .
I have a teleport command. (/enter)
And a pickup
But i can type /enter in all places.
I wan't know how to use this only when im on Pickup


Sry for bad english
Reply
#2

Please fast
Reply
#3

pawn Код:
new IsPlayerInPickUp[MAX_PLAYERS];

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == (PutYourPickUpIdHere) ) IsPlayerInPickUp[playerid] = 1;
    return 1;
}
Maybe you can add a timer to set the IsPlayerInPickUp to 0.
Reply
#4

I still can do /enter when im not in pickup
Reply
#5

Quote:
Originally Posted by zZz0mbieX
Посмотреть сообщение
Simple way.

I have interior.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)