[Help] Enter / Exit
#9

Quote:
Originally Posted by _Saif_
Quote:
Originally Posted by The Voice Of Britain!
I have the single player enters and exits disabled. I have a system now that when you stand on the Icon it puts you inside the building... I would like to make it so that there is a timer, that way when the player steps on the icon it will have a 5 to 10 second timer before putting them inside. Sorry about the way I put this, I'm not the best at describing something so simple.

Basically just make it so there is a timer for when the player enters and exits buildings so that the player doesn't get sucked out/in over and over again.
use

pawn Код:
forward teleporting();//Global Variable
pawn Код:
//where you checks player is in checkpoint or not
SetTimer("teleporting",5000, false);//5000 = 5 seconds
pawn Код:
public teleporting()
{
for(new i=0 ; i<MAX_PLAYERS; i++)
{
SetPlayerPos(i , x, y, z);
}
Alright but I'm not trying to do it with checkpoints, I'm trying to do it with Pickups / Icons. How can I make that possible?
Reply


Messages In This Thread
[Help] Enter / Exit - by Oi! - 06.01.2010, 07:49
Re: [Help] Enter / Exit - by Deat_Itself - 06.01.2010, 08:23
Re: [Help] Enter / Exit - by Oi! - 06.01.2010, 09:33
Re: [Help] Enter / Exit - by Deat_Itself - 06.01.2010, 10:07
Re: [Help] Enter / Exit - by Oi! - 06.01.2010, 10:17
Re: [Help] Enter / Exit - by Deat_Itself - 06.01.2010, 10:27
Re: [Help] Enter / Exit - by Oi! - 08.01.2010, 08:34
Re: [Help] Enter / Exit - by Oi! - 09.01.2010, 09:18
Re: [Help] Enter / Exit - by Oi! - 15.01.2010, 16:20

Forum Jump:


Users browsing this thread: 3 Guest(s)