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?