04.01.2011, 01:40
You have IsAtEvent[playerid] = 0. Well then when you have on playerdeath you do this
Now tell me if this works or not ..
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
}
};