[plz help me]no respawn after death.
#1

how can i make a no respawn after death? and the people alive at the end of 5 mins should get some money?
Reply
#2

The easiest way is to put them in spectation mode. Otherwise you can also just set them somewhere and freeze them or something.
Reply
#3

how would i do this?
Reply
#4

Will I have to use TogglePlayerSpectating? How would i make the people alive to get some money at the end of 5 mins?
Reply
#5

Use a timer
Reply
#6

You can also do something like this :

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
      SetPlayerPos(playerid, coords);
      SetPlayerInterior(playerid, interiorid);
      TogglePlayerControllable(playerid, 0);
      return 1;
   }
Simple command but useful, but dunno what u want really
Reply
#7

Ok, thnx. What about making people get money if they survive?
Reply
#8

GivePlayerMoney(playerid,amount)?
Reply
#9

But would i need a check to see if the player is still alive?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)