How to set respawn time?
#1

How to set respawn time + showing how much time left on screen
Reply
#2

Use timers and textdraws
Reply
#3

I need help somebody?
Reply
#4

When do you want that respawn time and how long do you want it to be?
Reply
#5

If player dies Respawn in 1 minute
Reply
#6

pawn Код:
forward DeathTimer(playerid); // Put at the top of your script
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  SetTimer("DeathTimer", 60000, 0); // If a player dies it sets a timer, 60000 is 1 minute.
  return 1;
}
pawn Код:
public DeathTimer(playerid) // The timer will read this after 1 minute
{
   SpawnPlayer(playerid); // To spawn the player
   return 1;
}
Untested Script
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)