Players go to the hospital when they die in a event
#2

You have IsAtEvent[playerid] = 0. Well then when you have on playerdeath you do this
pawn Код:
public OnPlayerDeath
{
     if(IsAtEvent[playerid] == 0)
     {
          SetPlayerPos(); //Use your coords for event
          //Also but all the script that you want to happen when they spawn at the event
      }
     else(IsAtEvent[playerid] == 1)
     {
          SetPlayerPos(); //Use your outside event spawn positions here
     }
};
Now tell me if this works or not ..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)