[HELP]AGAIN: Making teleport command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]AGAIN: Making teleport command (
/showthread.php?tid=169090)
[HELP]AGAIN: Making teleport command -
Thebest96 - 18.08.2010
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
Re: [HELP]AGAIN: Making teleport command -
Thebest96 - 18.08.2010
Please fast
Re: [HELP]AGAIN: Making teleport command -
Retardedwolf - 18.08.2010
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.
Re: [HELP]AGAIN: Making teleport command -
Thebest96 - 18.08.2010
I still can do /enter when im not in pickup
Re: [HELP]AGAIN: Making teleport command -
Thebest96 - 18.08.2010
Quote:
Originally Posted by zZz0mbieX
Simple way.
|
I have interior.