Arena
#2

The death message will either show up for everybody, or it won't, there's no optionality for that one.

As for the +1 -1 deal, I'll lay it out for you.

Code:
Top of script:

new arena[MAX_PLAYERS];
in your arena teleport command:
Code:
arena[playerid] = 1;
And then last of all, OnPlayerDeath:

Code:
if (arena[playerid] == 1)
{
Here put whatever you want to happen while you die in the arena

Then makes sure you put: arena[playerid] = 0;
That'll make it so the game doesn't think you're still in the arena after you die while in it.
}
else
{
Here do whatever happens when you die outside of the arena
}
Reply


Messages In This Thread
Arena - by Ananisiki - 02.03.2014, 21:22
Re: Arena - by GrassHopper101 - 02.03.2014, 21:45
Re: Arena - by GrassHopper101 - 02.03.2014, 21:48
Re: Arena - by Ananisiki - 02.03.2014, 22:09
Re: Arena - by Ananisiki - 03.03.2014, 17:24
Re: Arena - by CutX - 03.03.2014, 17:33
Re: Arena - by Ananisiki - 03.03.2014, 22:40

Forum Jump:


Users browsing this thread: 3 Guest(s)